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

Commit 204e8048 authored by Amith Yamasani's avatar Amith Yamasani Committed by Android (Google) Code Review
Browse files

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

parents abd9d3c5 ad97b8b9
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");
        }
    }