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
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user