diff options
author | Jeff Sharkey <jsharkey@android.com> | 2012-10-02 19:02:46 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-10-02 19:02:46 -0700 |
commit | b0e25f71a8376c6435212a3ce695f321d0ea828e (patch) | |
tree | e472d2bdc64a3daafe75adfb31c22a0dab968f90 /src | |
parent | a8f3a204d908330e31c29a11d5a83b8ba40a9610 (diff) | |
parent | be32d4b408a2fd0ec25bdd4f0e67cba2f23a4edb (diff) | |
download | packages_apps_settings-b0e25f71a8376c6435212a3ce695f321d0ea828e.zip packages_apps_settings-b0e25f71a8376c6435212a3ce695f321d0ea828e.tar.gz packages_apps_settings-b0e25f71a8376c6435212a3ce695f321d0ea828e.tar.bz2 |
Merge "Follow API changes in framework." into jb-mr1-dev
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/settings/applications/InstalledAppDetails.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/settings/applications/InstalledAppDetails.java b/src/com/android/settings/applications/InstalledAppDetails.java index 7588c1a..c5b3f8c 100644 --- a/src/com/android/settings/applications/InstalledAppDetails.java +++ b/src/com/android/settings/applications/InstalledAppDetails.java @@ -605,7 +605,7 @@ public class InstalledAppDetails extends Fragment Log.i(TAG, "Have " + prefActList.size() + " number of activities in preferred list"); boolean hasUsbDefaults = false; try { - hasUsbDefaults = mUsbManager.hasDefaults(packageName); + hasUsbDefaults = mUsbManager.hasDefaults(packageName, UserHandle.myUserId()); } catch (RemoteException e) { Log.e(TAG, "mUsbManager.hasDefaults", e); } @@ -1218,7 +1218,7 @@ public class InstalledAppDetails extends Fragment } else if(v == mActivitiesButton) { mPm.clearPackagePreferredActivities(packageName); try { - mUsbManager.clearDefaults(packageName); + mUsbManager.clearDefaults(packageName, UserHandle.myUserId()); } catch (RemoteException e) { Log.e(TAG, "mUsbManager.clearDefaults", e); } |