Loading services/autofill/java/com/android/server/autofill/AutofillManagerServiceImpl.java +6 −14 Original line number Diff line number Diff line Loading @@ -231,7 +231,7 @@ final class AutofillManagerServiceImpl sendStateToClients(/* resetClient= */ false); } updateRemoteAugmentedAutofillService(); updateRemoteInlineSuggestionRenderServiceLocked(); getRemoteInlineSuggestionRenderServiceLocked(); return enabledChanged; } Loading Loading @@ -685,8 +685,12 @@ final class AutofillManagerServiceImpl @GuardedBy("mLock") void resetExtServiceLocked() { if (sVerbose) Slog.v(TAG, "reset autofill service."); if (sVerbose) Slog.v(TAG, "reset autofill service in ExtServices."); mFieldClassificationStrategy.reset(); if (mRemoteInlineSuggestionRenderService != null) { mRemoteInlineSuggestionRenderService.destroy(); mRemoteInlineSuggestionRenderService = null; } } @GuardedBy("mLock") Loading Loading @@ -1583,18 +1587,6 @@ final class AutofillManagerServiceImpl return mFieldClassificationStrategy.getDefaultAlgorithm(); } private void updateRemoteInlineSuggestionRenderServiceLocked() { if (mRemoteInlineSuggestionRenderService != null) { if (sVerbose) { Slog.v(TAG, "updateRemoteInlineSuggestionRenderService(): " + "destroying old remote service"); } mRemoteInlineSuggestionRenderService = null; } mRemoteInlineSuggestionRenderService = getRemoteInlineSuggestionRenderServiceLocked(); } @Nullable RemoteInlineSuggestionRenderService getRemoteInlineSuggestionRenderServiceLocked() { if (mRemoteInlineSuggestionRenderService == null) { final ComponentName componentName = RemoteInlineSuggestionRenderService Loading Loading
services/autofill/java/com/android/server/autofill/AutofillManagerServiceImpl.java +6 −14 Original line number Diff line number Diff line Loading @@ -231,7 +231,7 @@ final class AutofillManagerServiceImpl sendStateToClients(/* resetClient= */ false); } updateRemoteAugmentedAutofillService(); updateRemoteInlineSuggestionRenderServiceLocked(); getRemoteInlineSuggestionRenderServiceLocked(); return enabledChanged; } Loading Loading @@ -685,8 +685,12 @@ final class AutofillManagerServiceImpl @GuardedBy("mLock") void resetExtServiceLocked() { if (sVerbose) Slog.v(TAG, "reset autofill service."); if (sVerbose) Slog.v(TAG, "reset autofill service in ExtServices."); mFieldClassificationStrategy.reset(); if (mRemoteInlineSuggestionRenderService != null) { mRemoteInlineSuggestionRenderService.destroy(); mRemoteInlineSuggestionRenderService = null; } } @GuardedBy("mLock") Loading Loading @@ -1583,18 +1587,6 @@ final class AutofillManagerServiceImpl return mFieldClassificationStrategy.getDefaultAlgorithm(); } private void updateRemoteInlineSuggestionRenderServiceLocked() { if (mRemoteInlineSuggestionRenderService != null) { if (sVerbose) { Slog.v(TAG, "updateRemoteInlineSuggestionRenderService(): " + "destroying old remote service"); } mRemoteInlineSuggestionRenderService = null; } mRemoteInlineSuggestionRenderService = getRemoteInlineSuggestionRenderServiceLocked(); } @Nullable RemoteInlineSuggestionRenderService getRemoteInlineSuggestionRenderServiceLocked() { if (mRemoteInlineSuggestionRenderService == null) { final ComponentName componentName = RemoteInlineSuggestionRenderService Loading