Allow stopping user to access AppWidgetService API
We now have isUserRunning && isUserKeyUnlockedisUserUnlocked instead of having isUserUnlockingOrUnlocked. The difference is we now allow stopping unlocked user to access the API. Testing: Write a simple widget which keep calling AppWidgetManager API in a loop. 1. In non-FBE mode, place the widget to launcher. Turn off work mode. No crash is observed. 2. Repeat 1 in FBE mode with separated work challenge. 3. Repeat 1 in FBE mode with no separated work challenge 4. Repeat 2 and reboot the device. Unlock work profile, widget is shown 5. Repeat 3, reboot device, widget is shown after rebot Change-Id: I2fa9f602dcb0befff41fc6b145e9855e82d8d7a8 Fix: 29264823
Loading
Please register or sign in to comment