diff options
author | Ram Periathiruvadi <ramperry@google.com> | 2018-02-22 16:42:49 -0800 |
---|---|---|
committer | Ram Periathiruvadi <ramperry@google.com> | 2018-03-02 18:03:26 -0800 |
commit | 3838830086d818960d556841427a2e415a7999c5 (patch) | |
tree | 55bbd3f55ba49bbf3a3a50dc72e0cbd324ebc122 /tests/UxRestrictionsSample | |
parent | ee0ef4853ee741b6cbafb64c869ec15197c031c7 (diff) | |
download | Car-3838830086d818960d556841427a2e415a7999c5.tar.gz |
Parse installed pkgs for Distraction Optimization.
1. Check the configurable whitelist for apps and activities that can run
during DO.
2. If not in whitelist, check if the apps have tagged their activities
to be DO and add them to the allowable list.
Bug: 68717481
Test: Whitelisted and DO tagged apps can run while restrictions are in
place.
Change-Id: Ic46b95dd9e4e4194c8753d26250f0dc123163908
Diffstat (limited to 'tests/UxRestrictionsSample')
-rw-r--r-- | tests/UxRestrictionsSample/AndroidManifest.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/UxRestrictionsSample/AndroidManifest.xml b/tests/UxRestrictionsSample/AndroidManifest.xml index 31127252ad..17bfd63f84 100644 --- a/tests/UxRestrictionsSample/AndroidManifest.xml +++ b/tests/UxRestrictionsSample/AndroidManifest.xml @@ -26,6 +26,7 @@ <action android:name="android.intent.action.MAIN"/> <category android:name="android.intent.category.LAUNCHER"/> </intent-filter> + <meta-data android:name="distractionOptimized" android:value="true"/> </activity> </application> </manifest> |