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

Commit 3fb240d4 authored by Zhizhi Liu's avatar Zhizhi Liu Committed by Android (Google) Code Review
Browse files

Merge "Make SuggestionController guard RuntimeException."

parents 97969c36 df74a5b1
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -107,7 +107,7 @@ public class SuggestionController {
        } catch (NullPointerException e) {
            Log.w(TAG, "mRemote service detached before able to query", e);
            return null;
        } catch (RemoteException e) {
        } catch (RemoteException | RuntimeException e) {
            Log.w(TAG, "Error when calling getSuggestion()", e);
            return null;
        }
@@ -120,7 +120,7 @@ public class SuggestionController {
        }
        try {
            mRemoteService.dismissSuggestion(suggestion);
        } catch (RemoteException e) {
        } catch (RemoteException | RuntimeException e) {
            Log.w(TAG, "Error when calling dismissSuggestion()", e);
        }
    }
@@ -133,7 +133,7 @@ public class SuggestionController {

        try {
            mRemoteService.launchSuggestion(suggestion);
        } catch (RemoteException e) {
        } catch (RemoteException | RuntimeException e) {
            Log.w(TAG, "Error when calling launchSuggestion()", e);
        }
    }