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

Commit 1676bec2 authored by Joanne Chung's avatar Joanne Chung
Browse files

Prevent crash app when AutofillManager#startSessionLocked() is called

Bug: 141165119
Test: atest CtsAutoFillServiceTestCases
Test: manual. Install sample app in bug and make sure app does not
crash and log error after applying the fix.

Change-Id: If61553126b694a0d520691a963f728cb46cb521d
parent 7d36a8d3
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1793,6 +1793,9 @@ public final class AutofillManager {
            client.autofillClientResetableStateAvailable();
        } catch (RemoteException e) {
            throw e.rethrowFromSystemServer();
        } catch (SyncResultReceiver.TimeoutException e) {
            // no-op, just log the error message.
            Log.w(TAG, "Exception getting result from SyncResultReceiver: " + e);
        }
    }