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

Commit 50b1ddce authored by Steven Ng's avatar Steven Ng Committed by Android (Google) Code Review
Browse files

Merge "Fix calling identity ID in AppWidgetServiceImpl" into sc-dev

parents c0e75307 f9a46bc2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3705,7 +3705,7 @@ class AppWidgetServiceImpl extends IAppWidgetService.Stub implements WidgetBacku
                final String[] uidPackages = mPackageManager.getPackagesForUid(callingUid);
                if (!ArrayUtils.isEmpty(uidPackages)) {
                    return mPackageManager.isInstantApp(uidPackages[0],
                            UserHandle.getCallingUserId());
                            UserHandle.getUserId(callingUid));
                }
            } catch (RemoteException e) {
                /* ignore - same process */