OSDN Git Service

Set the RemoteAugmentedAutofillService when service dies, so that system server can...
authorFeng Cao <fengcao@google.com>
Fri, 22 Feb 2019 03:35:15 +0000 (19:35 -0800)
committerFeng Cao <fengcao@google.com>
Fri, 22 Feb 2019 19:09:12 +0000 (11:09 -0800)
Fixes: 125539059
Test: atest CtsAutoFillServiceTestCases # a few failures are due to unrelated issue

Change-Id: I2e085bf0df9d0fd76a62fbdd7bfb7b8bad1259ac

services/autofill/java/com/android/server/autofill/AutofillManagerServiceImpl.java

index 15dce4a..b97cb64 100644 (file)
@@ -1084,6 +1084,7 @@ final class AutofillManagerServiceImpl
                             if (remoteService != null) {
                                 remoteService.destroy();
                             }
+                            mRemoteAugmentedAutofillService = null;
                         }
                     }, mMaster.isInstantServiceAllowed(), mMaster.verbose);
         }