diff options
author | Philip Junker <philipjunker@google.com> | 2021-02-10 18:47:07 +0100 |
---|---|---|
committer | Philip Junker <philipjunker@google.com> | 2021-03-24 11:38:31 +0100 |
commit | f3c1ab4455ef84ddccc11572d4fcb36906214cb0 (patch) | |
tree | 58a752004afa57701d4e33713cdbb1e3771cd5fd /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 0b6eaf12b1593816b83c545ecdff5f917359d57c (diff) |
Check if package matches home package and allow exceptions.
This avoids playing the sound effect if other launcher activities come
to front and the user navigates back to home.
Exceptions are allowed for activity types dream and assistant and system
apps can set the manifest flag FLAG_NO_HOME_SOUND to avoid the home
sound effect from being played when the home app moves to front next.
Test: manual
Test: atest HomeSoundEffectControllerTest
Bug: 167946828
Bug: 157407957
Change-Id: I9a448e7ed769c48cc0d0448fa7b49cb95d2b7470
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions