Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 339b79f5 authored by Mehdi Alizadeh's avatar Mehdi Alizadeh
Browse files

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
parent 5b8ad7d1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment