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

Commit fa650398 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Catch a rare NPE due in SuggestionController"

parents f949df10 5f3716d1
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -104,6 +104,9 @@ public class SuggestionController {
        }
        try {
            return mRemoteService.getSuggestions();
        } catch (NullPointerException e) {
            Log.w(TAG, "mRemote service detached before able to query", e);
            return null;
        } catch (RemoteException e) {
            Log.w(TAG, "Error when calling getSuggestion()", e);
            return null;