summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authorMarvin Ramin <marvinramin@google.com>2019-03-12 13:16:58 +0100
committerRobin Lee <rgl@google.com>2019-03-27 22:50:06 +0100
commit830d4e31f15ddf7f4d7929284543efd13c24c053 (patch)
treebf7e4d2fafea1c262684deb7f36e8b55a4c7df54 /rs/java/android/renderscript/RenderScript.java
parent2ed4c7574eccb788c233c5266401910e0851066f (diff)
fix issues with VoiceInteractionService start
VoiceInteractionService can get started by ActivityManager. Due to background restrictions this call to startService requires the target application to be in the foreground. If that is not the case this currently causes a crash of the current foreground application. Instead we catch the exception. To allow the VoiceInteractionService to start it is added to the whitelist for 20s. Bug: 119424643 Test: manually verified VoiceInteractionService can start even if application is not in the foreground Change-Id: I3999183dca0e894f2e42d85a364cfa93ce2ddd17
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions