diff options
author | Mehdi Alizadeh <mett@google.com> | 2020-08-01 22:46:27 -0700 |
---|---|---|
committer | Mehdi Alizadeh <mett@google.com> | 2020-08-03 16:57:29 -0700 |
commit | 339b79f5d24f2d373328ba13e8bacd1b8078e9cb (patch) | |
tree | 8a7c491295d823f6c2d9ae1557faa8ec8e11a24f /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 5b8ad7d173498a7b5522321dfc7740f3fa6a40b6 (diff) |
Fixes the incorrect component enabled check in ShortcutService
ag/10755817 checks the enabled state of activities, but due to
b/38267327, ActivityInfo.enabled may not reflect the current state of
the component if the enabled state is changed after app is installed,
which was the root cause of cts failures. This CL checks the enabled
state via PackageManager.getComponentEnabledSetting, to cover such
cases.
Bug: 161657919
Test: atest CtsShortcutHostTestCases
Test: atest CtsShortcutManagerTestCases
Change-Id: Ide998a0fbc2c1e9fe1e77daeecc3a8c98d0425ab
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions