diff options
author | Xin Li <delphij@google.com> | 2022-06-14 16:48:14 -0700 |
---|---|---|
committer | Xin Li <delphij@google.com> | 2022-06-14 16:48:14 -0700 |
commit | 9caeadc742ba15ad5fa76b31beadc2e7571e7c34 (patch) | |
tree | 9f2d537e2be2b366b3332830843121a9d7c79b32 | |
parent | f880c8ba63960641868bca1c803f6a0a45fe84df (diff) | |
parent | 9a963750d8bf74bf43f600d5b1ea824c95cf2ad1 (diff) | |
download | tests-main.tar.gz |
Bug: 236045730
Merged-In: I9e99af933396abf123cda13fdd400143eeeb285c
Change-Id: I971009c55c3bd714523f724a80fc5ca11d1ce7f6
-rw-r--r-- | RotaryPlayground/AndroidManifest.xml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/RotaryPlayground/AndroidManifest.xml b/RotaryPlayground/AndroidManifest.xml index 8877af4..f526657 100644 --- a/RotaryPlayground/AndroidManifest.xml +++ b/RotaryPlayground/AndroidManifest.xml @@ -20,6 +20,10 @@ android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/Theme.App"> + <!-- Define app-specific custom off-screen nudge right action: KEYCODE_BACK. This action + works only when this application is in foreground. For a given activity, this action + can be overridden by the action specified in that activity. --> + <meta-data android:name="nudge.right.keyCode" android:value="4"/> <activity android:name=".RotaryActivity" android:label="@string/app_name" @@ -32,7 +36,8 @@ <!-- Define app-specific custom off-screen nudge up action: GLOBAL_ACTION_NOTIFICATIONS --> <meta-data android:name="nudge.up.globalAction" android:value="4"/> - <!-- Define app-specific custom off-screen nudge left action: KEYCODE_BACK --> + <!-- Define app-specific custom off-screen nudge left action: KEYCODE_BACK. This action + works only when this activity is in foreground. --> <meta-data android:name="nudge.left.keyCode" android:value="4"/> <!-- Define app-specific custom off-screen nudge down action: launch Settings --> <meta-data |