summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMitsuru Oshima <oshima@google.com>2009-06-03 11:19:12 -0700
committerMitsuru Oshima <oshima@google.com>2009-06-03 16:28:10 -0700
commit9189cabb0b6c6c28232fe6f412b7ba7a37352a6a (patch)
tree6ddc6a8eb0158cba32cc6139b04c6b6eb9f0ba5f /tools
parenteaeb663bcd7a82b654954b42663232cbd7bef7e7 (diff)
downloadframeworks_base-9189cabb0b6c6c28232fe6f412b7ba7a37352a6a.zip
frameworks_base-9189cabb0b6c6c28232fe6f412b7ba7a37352a6a.tar.gz
frameworks_base-9189cabb0b6c6c28232fe6f412b7ba7a37352a6a.tar.bz2
* Moved supports-density tag under manifest
* Refactored Compatibility code * Added CompatibilityInfo class * Removed getApplicationScale from Context * Added Resources#getCompatibilityInfo so that RootView can get the compatibility info w/o going through Context * Expandable support * Added expandable tag under manifest * Old application w/o expandable is given the default screen size ([320, 480] x density). * The non-expandable window is centered.
Diffstat (limited to 'tools')
-rw-r--r--tools/layoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java b/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java
index f434e14..baa3d53 100644
--- a/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java
+++ b/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/BridgeContext.java
@@ -1145,12 +1145,4 @@ public final class BridgeContext extends Context {
public Context getApplicationContext() {
throw new UnsupportedOperationException();
}
-
- /**
- * @hide
- */
- @Override
- public float getApplicationScale() {
- throw new UnsupportedOperationException();
- }
}