diff options
author | Ram Periathiruvadi <ramperry@google.com> | 2018-01-26 18:02:10 -0800 |
---|---|---|
committer | Ram Periathiruvadi <ramperry@google.com> | 2018-01-31 09:50:37 -0800 |
commit | 2da6d0efdd5676ba5c48b00a7f3bb04a113eeafa (patch) | |
tree | c49fa54a171df1bf9b33cab421dbd436211af12f /car_product/overlay | |
parent | ce77e3a7a3c8df87255405bda7759a127d7c3b33 (diff) | |
download | Car-2da6d0efdd5676ba5c48b00a7f3bb04a113eeafa.tar.gz |
Make CarPackageManager listen to UX restrictions.
CarPackageManager used to subscribe to CarSensorManager's DRIVING_STATUS
to enforce activity blocking. Changing that to listen to the new
CarUxRestrictionsManagerService.
Add the Home App to the white list.
No change to the current restriction behavior yet, only changing the
source to the new Restriction Manager.
Bug: b/72570830
Test: Compile and boot. CarPackageManager can receive Ux Restriction
events.
Change-Id: I3b96a004cafa2813b7d1855e68cea53c9ffb5f40
Diffstat (limited to 'car_product/overlay')
-rw-r--r-- | car_product/overlay/packages/services/Car/service/res/values/Config.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/car_product/overlay/packages/services/Car/service/res/values/Config.xml b/car_product/overlay/packages/services/Car/service/res/values/Config.xml index 96e18934f0..a90401f3b4 100644 --- a/car_product/overlay/packages/services/Car/service/res/values/Config.xml +++ b/car_product/overlay/packages/services/Car/service/res/values/Config.xml @@ -1,6 +1,6 @@ <resources> <!-- default activity whitelist which are allowed while driving --> - <string name="defauiltActivityWhitelist">com.android.systemui,com.android.car.dialer,com.android.car.hvac,com.android.car.media,com.android.car.radio,com.android.support.car.lenspicker,com.google.android.setupwizard</string> + <string name="defauiltActivityWhitelist">com.android.systemui,com.android.car.dialer,com.android.car.hvac,com.android.car.media,com.android.car.radio,com.android.support.car.lenspicker,com.google.android.setupwizard,com.android.car.home</string> <integer name="ioStatsNumSamplesToStore">15</integer> <integer name="maxExcessiveIoSamplesInWindow">11</integer> |