diff options
| author | 2024-06-11 14:49:54 -0400 | |
|---|---|---|
| committer | 2024-06-11 14:49:54 -0400 | |
| commit | c996f37829fbe06a9f700b3bd1cc797ff1fda6c7 (patch) | |
| tree | 818c61a7178cbdd643b5b1f5645e658f7c4564e7 /java/src | |
| parent | 466184452d186a4838564d97f518ac4c2fa9288a (diff) | |
Do not auto-dismiss on package change with no targets
This behavior is obsolete and confusing, removing this
path. Package changes will still reload the resultsm, but
no dismiss will happen when there are no results.
Bug: 334179669
Flag: EXEMPT bugfix
Test: Manually by sending an intent with no matches and
installing a package while the Share UI is open.
Change-Id: Ic654794baf14d039a6155e37b9d3ef0b61b10f71
Diffstat (limited to 'java/src')
| -rw-r--r-- | java/src/com/android/intentresolver/ChooserActivity.java | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/java/src/com/android/intentresolver/ChooserActivity.java b/java/src/com/android/intentresolver/ChooserActivity.java index 670512ac..a5516fde 100644 --- a/java/src/com/android/intentresolver/ChooserActivity.java +++ b/java/src/com/android/intentresolver/ChooserActivity.java @@ -1196,13 +1196,9 @@ public class ChooserActivity extends Hilt_ChooserActivity implements @Override // ResolverListCommunicator public final void onHandlePackagesChanged(ResolverListAdapter listAdapter) { - if (!mChooserMultiProfilePagerAdapter.onHandlePackagesChanged( + mChooserMultiProfilePagerAdapter.onHandlePackagesChanged( (ChooserListAdapter) listAdapter, - mProfileAvailability.getWaitingToEnableProfile())) { - // We no longer have any items... just finish the activity. - Log.d(TAG, "onHandlePackagesChanged(): returned false, finishing"); - finish(); - } + mProfileAvailability.getWaitingToEnableProfile()); } final Option optionForChooserTarget(TargetInfo target, int index) { |