diff options
author | Yo Chiang <yochiang@google.com> | 2021-01-06 15:20:49 +0800 |
---|---|---|
committer | Yo Chiang <yochiang@google.com> | 2021-01-06 15:59:37 +0800 |
commit | a5c6f7fd6f7bf7c8fc133851b146618aa3692748 (patch) | |
tree | ae60c591cf005ae447ba295c0f7fc372d8e3fc96 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | d15cbc37d5694f35568ab0aa5fa3ed5f260efee6 (diff) |
Fix DynamicSystemClient.start() exceptions
* Remove calls to featureFlagEnabled() as they are causing avc denials,
plus the feature flag is already deprecated.
* Add Intent flag FLAG_ACTIVITY_NEW_TASK to fix the
AndroidRuntimeException, as the Context object used to startActivity()
may not be an Activity object instance.
* Check the nullness of mListener before using it to fix the
NullPointerException.
Bug: 176795908
Test: atest \
cts/tests/tests/os/src/android/os/image/cts/DynamicSystemClientTest.java
Change-Id: I265d9912e76c39406e0adeacd2490b62873c94e4
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions