diff options
author | Jeff Brown <jeffbrown@google.com> | 2012-08-19 20:05:02 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2012-08-19 21:15:46 -0700 |
commit | 22b1a3096cdb66ba2fbc540e1a8cacce701c6d82 (patch) | |
tree | 186c0ad3ec15d33901db2d88ece9d8d03e027550 /src/com/android/nfc | |
parent | 34a9f499db13223c1a55a61f7b624fe821574742 (diff) | |
download | packages_apps_nfc-22b1a3096cdb66ba2fbc540e1a8cacce701c6d82.zip packages_apps_nfc-22b1a3096cdb66ba2fbc540e1a8cacce701c6d82.tar.gz packages_apps_nfc-22b1a3096cdb66ba2fbc540e1a8cacce701c6d82.tar.bz2 |
Use new display manager API.
Change-Id: I4d40a33bf11379845464f4072471c168f9dccf75
Diffstat (limited to 'src/com/android/nfc')
-rw-r--r-- | src/com/android/nfc/SendUi.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/nfc/SendUi.java b/src/com/android/nfc/SendUi.java index 23602c9..c54f54e 100644 --- a/src/com/android/nfc/SendUi.java +++ b/src/com/android/nfc/SendUi.java @@ -183,7 +183,7 @@ public class SendUi implements Animator.AnimatorListener, View.OnTouchListener, // We're only allowed to use hardware acceleration if // isHighEndGfx() returns true - otherwise, we're too limited // on resources to do it. - mHardwareAccelerated = ActivityManager.isHighEndGfx(mDisplay); + mHardwareAccelerated = ActivityManager.isHighEndGfx(); int hwAccelerationFlags = mHardwareAccelerated ? WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED : 0; |