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

Commit 86d07089 authored by Svetoslav's avatar Svetoslav Committed by Android Git Automerger
Browse files

am b38e8d02: am f2345ebc: am 61052dec: am 35abe50d: Merge "Keep existing API...

am b38e8d02: am f2345ebc: am 61052dec: am 35abe50d: Merge "Keep existing API behavior that regressed." into lmp-dev

* commit 'b38e8d02bc75eb13f9cb78bea6ae6102f594b587':
  Keep existing API behavior that regressed.
parents 5f950269 9430598f
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -1807,7 +1807,7 @@ public class RemoteViews implements Parcelable, Filter {
    }

    public String getPackage() {
        return mApplication.packageName;
        return (mApplication != null) ? mApplication.packageName : null;
    }

    /**
@@ -2663,6 +2663,10 @@ public class RemoteViews implements Parcelable, Filter {
    }

    private static ApplicationInfo getApplicationInfo(String packageName, int userId) {
        if (packageName == null) {
            return null;
        }

        // Get the application for the passed in package and user.
        Application application = ActivityThread.currentApplication();
        if (application == null) {