diff options
author | Stefan Kuhne <skuhne@google.com> | 2015-06-18 19:58:16 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-06-18 19:58:24 +0000 |
commit | 0925136b22d4fcc69ed8b13675861e2386f3a341 (patch) | |
tree | ab1f0efae4a0d9331220c8b1fd4df072710a82f0 /core/java/android/service | |
parent | 5e275f9fc0e655a273fc62ce297c9d5a069d7ed7 (diff) | |
parent | 2f280d06396d7b8234197a3b1a35d5319f7d6951 (diff) | |
download | frameworks_base-0925136b22d4fcc69ed8b13675861e2386f3a341.zip frameworks_base-0925136b22d4fcc69ed8b13675861e2386f3a341.tar.gz frameworks_base-0925136b22d4fcc69ed8b13675861e2386f3a341.tar.bz2 |
Merge "Fixing voice panel centering issues in landscape on phone" into mnc-dev
Diffstat (limited to 'core/java/android/service')
-rw-r--r-- | core/java/android/service/voice/VoiceInteractionSession.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/service/voice/VoiceInteractionSession.java b/core/java/android/service/voice/VoiceInteractionSession.java index 98c684c..39dd29b 100644 --- a/core/java/android/service/voice/VoiceInteractionSession.java +++ b/core/java/android/service/voice/VoiceInteractionSession.java @@ -1097,7 +1097,8 @@ public class VoiceInteractionSession implements KeyEvent.Callback, ComponentCall WindowManager.LayoutParams.TYPE_VOICE_INTERACTION, Gravity.BOTTOM, true); mWindow.getWindow().addFlags( WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED | - WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN); + WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN | + WindowManager.LayoutParams.FLAG_LAYOUT_INSET_DECOR); initViews(); mWindow.getWindow().setLayout(MATCH_PARENT, MATCH_PARENT); mWindow.setToken(mToken); |