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

Commit 68b15e34 authored by Svetoslav's avatar Svetoslav Committed by Android Git Automerger
Browse files

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

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

* commit 'afdb34199c9d6e8eb05df4032c59bee7c5c07e4d':
  Keep existing API behavior that regressed.
parents ca280c3f 86d07089
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) {