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

Commit 3f988ad4 authored by Amith Yamasani's avatar Amith Yamasani Committed by Android Git Automerger
Browse files

am 711c40a2: Merge "Potential fix for apps disappearing in launcher on system...

am 711c40a2: Merge "Potential fix for apps disappearing in launcher on system server crash" into lmp-dev

* commit '711c40a2fe892e1db564de40ec42d0e5e44e013d':
  Potential fix for apps disappearing in launcher on system server crash
parents 627f0e79 204e8048
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -190,7 +190,7 @@ public class LauncherApps {
                return info;
            }
        } catch (RemoteException re) {
            return null;
            throw new RuntimeException("Failed to call LauncherAppsService");
        }
        return null;
    }
@@ -259,7 +259,7 @@ public class LauncherApps {
        try {
            return mService.isPackageEnabled(packageName, user);
        } catch (RemoteException re) {
            return false;
            throw new RuntimeException("Failed to call LauncherAppsService");
        }
    }

@@ -275,7 +275,7 @@ public class LauncherApps {
        try {
            return mService.isActivityEnabled(component, user);
        } catch (RemoteException re) {
            return false;
            throw new RuntimeException("Failed to call LauncherAppsService");
        }
    }