commit | 3f570c3e1b3f72f1813c03a478f76111c0f04519 | [log] [tgz] |
---|---|---|
author | Guang Zhu <guangzhu@google.com> | Mon Jan 28 13:04:06 2013 -0800 |
committer | Guang Zhu <guangzhu@google.com> | Mon Jan 28 13:04:06 2013 -0800 |
tree | 1411ab2e17222981d10cbe5a72346cb95805ed45 | |
parent | a1c9eab767cbfad143c024d171cf9cff30acac42 [diff] |
unhide getDisplaySizeDp, also make it return real size getDisplaySizeDp used to return the display size available to apps, which could be the real size minus any system decorations like status bar. This caused some metrics to change when device is in different orientations. Since the purpose of the API is to determine the screen size class, we now return metrics based on real display sizes. Change-Id: I820f8321df941650e401adc1435e0da5a27addf8