Loading services/autofill/java/com/android/server/autofill/AutofillManagerServiceImpl.java +20 −14 Original line number Diff line number Diff line Loading @@ -216,9 +216,12 @@ final class AutofillManagerServiceImpl { serviceComponent = ComponentName.unflattenFromString(componentName); serviceInfo = AppGlobals.getPackageManager().getServiceInfo(serviceComponent, 0, mUserId); if (serviceInfo == null) { Slog.e(TAG, "Bad AutofillService name: " + componentName); } } catch (RuntimeException | RemoteException e) { Slog.e(TAG, "Bad autofill service name " + componentName + ": " + e); return; Slog.e(TAG, "Error getting service info for '" + componentName + "': " + e); serviceInfo = null; } } try { Loading @@ -228,7 +231,13 @@ final class AutofillManagerServiceImpl { if (sDebug) Slog.d(TAG, "Set component for user " + mUserId + " as " + mInfo); } else { mInfo = null; if (sDebug) Slog.d(TAG, "Reset component for user " + mUserId); if (sDebug) { Slog.d(TAG, "Reset component for user " + mUserId + " (" + componentName + ")"); } } } catch (Exception e) { Slog.e(TAG, "Bad AutofillServiceInfo for '" + componentName + "': " + e); mInfo = null; } final boolean isEnabled = isEnabled(); if (wasEnabled != isEnabled) { Loading @@ -241,9 +250,6 @@ final class AutofillManagerServiceImpl { } sendStateToClients(false); } } catch (Exception e) { Slog.e(TAG, "Bad AutofillService '" + componentName + "': " + e); } } boolean addClientLocked(IAutoFillManagerClient client) { Loading Loading
services/autofill/java/com/android/server/autofill/AutofillManagerServiceImpl.java +20 −14 Original line number Diff line number Diff line Loading @@ -216,9 +216,12 @@ final class AutofillManagerServiceImpl { serviceComponent = ComponentName.unflattenFromString(componentName); serviceInfo = AppGlobals.getPackageManager().getServiceInfo(serviceComponent, 0, mUserId); if (serviceInfo == null) { Slog.e(TAG, "Bad AutofillService name: " + componentName); } } catch (RuntimeException | RemoteException e) { Slog.e(TAG, "Bad autofill service name " + componentName + ": " + e); return; Slog.e(TAG, "Error getting service info for '" + componentName + "': " + e); serviceInfo = null; } } try { Loading @@ -228,7 +231,13 @@ final class AutofillManagerServiceImpl { if (sDebug) Slog.d(TAG, "Set component for user " + mUserId + " as " + mInfo); } else { mInfo = null; if (sDebug) Slog.d(TAG, "Reset component for user " + mUserId); if (sDebug) { Slog.d(TAG, "Reset component for user " + mUserId + " (" + componentName + ")"); } } } catch (Exception e) { Slog.e(TAG, "Bad AutofillServiceInfo for '" + componentName + "': " + e); mInfo = null; } final boolean isEnabled = isEnabled(); if (wasEnabled != isEnabled) { Loading @@ -241,9 +250,6 @@ final class AutofillManagerServiceImpl { } sendStateToClients(false); } } catch (Exception e) { Slog.e(TAG, "Bad AutofillService '" + componentName + "': " + e); } } boolean addClientLocked(IAutoFillManagerClient client) { Loading