appwidget: Catch IllegalStateException when retrieving providers profiles
05-17 08:35:23.004 20883 20906 E AppWidgetManager: Nofity service of inheritance info
05-17 08:35:23.004 20883 20906 E AppWidgetManager: java.lang.IllegalStateException: User 0 must be unlocked for widgets to be available
05-17 08:35:23.004 20883 20906 E AppWidgetManager: at android.os.Parcel.createExceptionOrNull(Parcel.java:3019)
05-17 08:35:23.004 20883 20906 E AppWidgetManager: at android.os.Parcel.createException(Parcel.java:2995)
05-17 08:35:23.004 20883 20906 E AppWidgetManager: at android.os.Parcel.readException(Parcel.java:2978)
05-17 08:35:23.004 20883 20906 E AppWidgetManager: at android.os.Parcel.readException(Parcel.java:2920)
05-17 08:35:23.004 20883 20906 E AppWidgetManager: at com.android.internal.appwidget.IAppWidgetService$Stub$Proxy.getInstalledProvidersForProfile(IAppWidgetService.java:990)
05-17 08:35:23.004 20883 20906 E AppWidgetManager: at android.appwidget.AppWidgetManager.getInstalledProvidersForProfile(AppWidgetManager.java:920)
05-17 08:35:23.004 20883 20906 E AppWidgetManager: at android.appwidget.AppWidgetManager.getInstalledProvidersForPackage(AppWidgetManager.java:854)
05-17 08:35:23.004 20883 20906 E AppWidgetManager: at android.appwidget.AppWidgetManager.lambda$new$3$android-appwidget-AppWidgetManager(AppWidgetManager.java:536)
05-17 08:35:23.004 20883 20906 E AppWidgetManager: at android.appwidget.AppWidgetManager$$ExternalSyntheticLambda4.run(Unknown Source:2)
Change-Id: I71eafa242246fd05efe69a2c153a6174a2fb304f
Signed-off-by: minaripenguin <minaripenguin@users.noreply.github.com>
Loading
Please register or sign in to comment