aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Epstein <depstein@google.com>2021-02-03 16:22:20 -0800
committerDanny Epstein <depstein@google.com>2021-02-03 16:22:20 -0800
commitbaac9b6883340723c569fa86c2ec834f36c648bd (patch)
tree0f7ccbd2ac4542c7a350cdb88877d7d01f0d5f75
parent3d8d9d74393b8afd78f1aa6f5406aa868a799dbf (diff)
downloadtests-baac9b6883340723c569fa86c2ec834f36c648bd.tar.gz
Customize off-screen nudges
Test: nudge up, down, and left from Rotary Playground Bug: 174877801 Change-Id: I6fcf3f0a020e174c527aff116e0e466c037add52
-rw-r--r--RotaryPlayground/AndroidManifest.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/RotaryPlayground/AndroidManifest.xml b/RotaryPlayground/AndroidManifest.xml
index 4e68c67..8877af4 100644
--- a/RotaryPlayground/AndroidManifest.xml
+++ b/RotaryPlayground/AndroidManifest.xml
@@ -29,6 +29,15 @@
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
+ <!-- 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 -->
+ <meta-data android:name="nudge.left.keyCode" android:value="4"/>
+ <!-- Define app-specific custom off-screen nudge down action: launch Settings -->
+ <meta-data
+ android:name="nudge.down.intent"
+ android:value="intent:#Intent;action=android.settings.SETTINGS;category=android.intent.category.DEFAULT;end"/>
</activity>
</application>
</manifest> \ No newline at end of file