Loading core/java/com/android/internal/app/ChooserActivity.java +9 −2 Original line number Diff line number Diff line Loading @@ -815,12 +815,19 @@ public class ChooserActivity extends ResolverActivity { return new PackageMonitor() { @Override public void onSomePackagesChanged() { mAdapter.handlePackagesChanged(); bindProfileView(); handlePackagesChanged(); } }; } /** * Update UI to reflect changes in data. */ public void handlePackagesChanged() { mAdapter.handlePackagesChanged(); bindProfileView(); } private void onCopyButtonClicked(View v) { Intent targetIntent = getTargetIntent(); if (targetIntent == null) { Loading core/java/com/android/internal/app/ResolverTargetActionsDialogFragment.java +1 −1 Original line number Diff line number Diff line Loading @@ -84,7 +84,7 @@ public class ResolverTargetActionsDialogFragment extends DialogFragment } // Force the chooser to requery and resort things getActivity().recreate(); ((ChooserActivity) getActivity()).handlePackagesChanged(); break; case APP_INFO_INDEX: Intent in = new Intent().setAction(Settings.ACTION_APPLICATION_DETAILS_SETTINGS) Loading Loading
core/java/com/android/internal/app/ChooserActivity.java +9 −2 Original line number Diff line number Diff line Loading @@ -815,12 +815,19 @@ public class ChooserActivity extends ResolverActivity { return new PackageMonitor() { @Override public void onSomePackagesChanged() { mAdapter.handlePackagesChanged(); bindProfileView(); handlePackagesChanged(); } }; } /** * Update UI to reflect changes in data. */ public void handlePackagesChanged() { mAdapter.handlePackagesChanged(); bindProfileView(); } private void onCopyButtonClicked(View v) { Intent targetIntent = getTargetIntent(); if (targetIntent == null) { Loading
core/java/com/android/internal/app/ResolverTargetActionsDialogFragment.java +1 −1 Original line number Diff line number Diff line Loading @@ -84,7 +84,7 @@ public class ResolverTargetActionsDialogFragment extends DialogFragment } // Force the chooser to requery and resort things getActivity().recreate(); ((ChooserActivity) getActivity()).handlePackagesChanged(); break; case APP_INFO_INDEX: Intent in = new Intent().setAction(Settings.ACTION_APPLICATION_DETAILS_SETTINGS) Loading