diff options
author | Keun young Park <keunyoung@google.com> | 2020-08-18 17:25:19 -0700 |
---|---|---|
committer | Keun young Park <keunyoung@google.com> | 2020-08-28 17:36:02 -0700 |
commit | 4e9ce69d066d29bf9af582f3760cfc668fee502d (patch) | |
tree | 36780fe885087c55a521ce83280cd2b8c34f5b10 /rs/java/android/renderscript/ProgramStore.java | |
parent | b9a7e3ae9409520fa24b4d4481d6ec156a056dd2 (diff) |
Do not update nightmode from settings for car
- Storing is disabled, so restoration should be disabled as well.
- The old behavior is problematic in device like car as car should
stay in night mode even if there is a user switching.
- Add check for both mCarModeEnabled and mCar as mCarModeEnabled
actually means car dock which is not enabled in car env (mCar=true)
Bug: 155167849
Test: run user switching and confirm no night mode change in car
Change-Id: I03a4649ef0848d14b2af3da43178c0dfe3f26a32
Merged-In: I03a4649ef0848d14b2af3da43178c0dfe3f26a32
(cherry picked from commit 1a6875361138391e09759af1b0641aa3114ad47d)
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions