diff options
author | Dianne Hackborn <hackbod@google.com> | 2011-05-26 17:12:36 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2011-05-26 17:12:36 -0700 |
commit | 5c2e4d20df934728f39312741ef3390fd87795ce (patch) | |
tree | 04662b3fcdc339cea95feee8d14b445c8992dfaf /tests | |
parent | 0f667ff5e57e171311c2b4ec19d29832ffbcd3f7 (diff) | |
parent | 8fcbfb52607263754b6d3895a112f792c5c3a12e (diff) | |
download | frameworks_base-5c2e4d20df934728f39312741ef3390fd87795ce.zip frameworks_base-5c2e4d20df934728f39312741ef3390fd87795ce.tar.gz frameworks_base-5c2e4d20df934728f39312741ef3390fd87795ce.tar.bz2 |
am 8fcbfb52: am 94250ac6: Merge "Add new supports-screens attributes for declaring the compatible screens." into honeycomb-mr2
* commit '8fcbfb52607263754b6d3895a112f792c5c3a12e':
Add new supports-screens attributes for declaring the compatible screens.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/DpiTest/src/com/google/android/test/dpi/DpiTestActivity.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/DpiTest/src/com/google/android/test/dpi/DpiTestActivity.java b/tests/DpiTest/src/com/google/android/test/dpi/DpiTestActivity.java index 2a40c57..01c1c70 100644 --- a/tests/DpiTest/src/com/google/android/test/dpi/DpiTestActivity.java +++ b/tests/DpiTest/src/com/google/android/test/dpi/DpiTestActivity.java @@ -63,7 +63,8 @@ public class DpiTestActivity extends Activity { | ApplicationInfo.FLAG_RESIZEABLE_FOR_SCREENS | ApplicationInfo.FLAG_SUPPORTS_SCREEN_DENSITIES; app.getResources().setCompatibilityInfo(new CompatibilityInfo(ai, - getResources().getConfiguration().screenLayout, false)); + getResources().getConfiguration().screenLayout, + getResources().getConfiguration().smallestScreenWidthDp, false)); } } catch (PackageManager.NameNotFoundException e) { throw new RuntimeException("ouch", e); |