diff options
author | Dianne Hackborn <hackbod@google.com> | 2011-04-21 17:26:39 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2011-05-16 12:57:38 -0700 |
commit | 29735689cea7bf52998c1911542dcfdd1c1d9628 (patch) | |
tree | 82fcde88be0860b040c0ce43deedbc61db5ce1a0 /core/java | |
parent | ac8dea12c17aa047e03a358110aeb60401d36aa2 (diff) | |
download | frameworks_base-29735689cea7bf52998c1911542dcfdd1c1d9628.zip frameworks_base-29735689cea7bf52998c1911542dcfdd1c1d9628.tar.gz frameworks_base-29735689cea7bf52998c1911542dcfdd1c1d9628.tar.bz2 |
DO NOT MERGE: From master -- Fix bug in deciding which rotation to use for an orientation.
Change-Id: Ie271123271a662f3f753f381ce4c43ad7904dc4a
Diffstat (limited to 'core/java')
-rw-r--r-- | core/java/android/content/res/Configuration.java | 4 | ||||
-rw-r--r-- | core/java/android/view/WindowManagerPolicy.java | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/core/java/android/content/res/Configuration.java b/core/java/android/content/res/Configuration.java index 4ac72fd..0de08f2 100644 --- a/core/java/android/content/res/Configuration.java +++ b/core/java/android/content/res/Configuration.java @@ -303,9 +303,9 @@ public final class Configuration implements Parcelable, Comparable<Configuration public String toString() { StringBuilder sb = new StringBuilder(128); - sb.append("{ fnt="); + sb.append("{"); sb.append(fontScale); - sb.append(" imsi="); + sb.append("x imsi="); sb.append(mcc); sb.append("/"); sb.append(mnc); diff --git a/core/java/android/view/WindowManagerPolicy.java b/core/java/android/view/WindowManagerPolicy.java index 2058991..03b3553 100644 --- a/core/java/android/view/WindowManagerPolicy.java +++ b/core/java/android/view/WindowManagerPolicy.java @@ -394,6 +394,12 @@ public interface WindowManagerPolicy { LocalPowerManager powerManager); /** + * Called by window manager once it has the initial, default native + * display dimensions. + */ + public void setInitialDisplaySize(int width, int height); + + /** * Check permissions when adding a window. * * @param attrs The window's LayoutParams. |