Bill Lin daa9a40714 Create OneHandedModeGesturalOverlay for navigation_bar_gesture_height
When one handed mode enabled, override navigation_bar_gesture_height
with larger region to get better UX on gesture

Test: atest com.android.systemui.onehanded
Test: adb shell cmd overlay list, check overlay package state
      enabled : [x] com.android.internal.systemui.onehanded.gestural
      disabled :[ ] com.android.internal.systemui.onehanded.gestural
Bug: 157103757
Change-Id: Id50cdb69e07fa344a142105cd7b85494d9d1a706
2020-05-29 14:37:26 +08:00

29 lines
1.1 KiB
XML

<!--
/**
* Copyright (c) 2020, The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.internal.systemui.onehanded.gestural"
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="android"
android:category="com.android.internal.one_handed_mode"
android:priority="2"/>
<!-- To override dimen in NavigationBarModeGesturalOverlay, priority should be higher -->
<application android:label="@string/one_handed_mode_title" android:hasCode="false"/>
</manifest>