commit | 0b67642674520697d406d5d29b82d74186d58454 | [log] [tgz] |
---|---|---|
author | Dmitry Dementyev <dementyev@google.com> | Thu Mar 09 11:51:26 2017 -0800 |
committer | Dmitry Dementyev <dementyev@google.com> | Thu Mar 09 11:51:26 2017 -0800 |
tree | f62b57d7ac08909dd9db8a1fd813e4c56ad628d9 | |
parent | 521d92bcdfdc41e887217032c8067c8a6c4be715 [diff] [blame] |
Use correct package name in AccountManagerService ACTION_PACKAGE_REMOVED Test: manual tests. Change-Id: Iefdfbca53206e285935e85a43e49bd2bdb3e0fb3
diff --git a/services/core/java/com/android/server/accounts/AccountManagerService.java b/services/core/java/com/android/server/accounts/AccountManagerService.java index ea9b651..0d5a3e0 100644 --- a/services/core/java/com/android/server/accounts/AccountManagerService.java +++ b/services/core/java/com/android/server/accounts/AccountManagerService.java
@@ -289,7 +289,7 @@ * and then rebuild the cache. All under the cache lock. But that change is too * large at this point. */ - final String removedPackageName = intent.getData().toString(); + final String removedPackageName = intent.getData().getSchemeSpecificPart(); Runnable purgingRunnable = new Runnable() { @Override public void run() {