commit | a1362f0461cee47320ceda10b648db87ff21a17b | [log] [tgz] |
---|---|---|
author | Jack Yu <jackyu@google.com> | Thu Dec 15 15:45:26 2016 -0800 |
committer | Jack Yu <jackyu@google.com> | Thu Dec 15 16:42:31 2016 -0800 |
tree | 6610f902ec286d9a45586deff5dbf9dfa1d10358 | |
parent | 618359d32c17035c8f27894292fc204eddd944f2 [diff] |
Fixed that wakelock is not released when in vibrate only mode. The cellbroadcast alert audio service is not stopped when the device is in virate-only mode until the okay button is hit. Therefore the wakelock could be potentially hold for a long time. Added a timer to stop the service when we are in vibrate-only mode. bug: 33559173 Test: manual test with the test app. Change-Id: I87574367fdb2d0f2eb52103f4d782aaa61aa62ab