commit | 3017fe4f517e88e35022648d5b4fa3ddc0d9eabc | [log] [tgz] |
---|---|---|
author | Suprabh Shukla <suprabh@google.com> | Thu Nov 08 19:00:01 2018 -0800 |
committer | Suprabh Shukla <suprabh@google.com> | Thu Nov 08 19:40:13 2018 -0800 |
tree | fa898ddec4a4890e1ab4a91c5dec3916af882418 | |
parent | 787ff0fa2d2003ae45f221bfa69ad6a40d1731fd [diff] |
Calling opChanged on package suspend / unsuspend checkAudioOperation returned MODE_IGNORED when a package was suspended, but any AppOpsWatcher registered for audio operation did not callback when a package got suspended. This lead to inconsistent state for services that were watching for app op changes. Test: atest FrameworksServicesTests:SuspendPackagesTest Bug: 112486945 Bug: 110077884 Change-Id: Ibfc378dd4ea8dd38ef002c1ac668c479afa8fd47