summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorSander Alewijnse <salewijnse@google.com>2015-03-09 15:31:10 +0000
committerSander Alewijnse <salewijnse@google.com>2015-03-10 16:37:53 +0000
commit053d3ddd400a13838c132129a03e56dae0db93d8 (patch)
tree19b443eb1466a0f68595cc54da1b08a832d749a8 /core
parentedacf22ca132ac48207a68aa30998f5b43d893b8 (diff)
downloadframeworks_base-053d3ddd400a13838c132129a03e56dae0db93d8.zip
frameworks_base-053d3ddd400a13838c132129a03e56dae0db93d8.tar.gz
frameworks_base-053d3ddd400a13838c132129a03e56dae0db93d8.tar.bz2
Do not show toast when forwarding from resolver activity to itself.
Bug:19540802 Change-Id: I99409aab42bdbf187c07a345ca5c404e88a4c918
Diffstat (limited to 'core')
-rw-r--r--core/java/com/android/internal/app/ResolverActivity.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/java/com/android/internal/app/ResolverActivity.java b/core/java/com/android/internal/app/ResolverActivity.java
index a410e45..3ceea9d 100644
--- a/core/java/com/android/internal/app/ResolverActivity.java
+++ b/core/java/com/android/internal/app/ResolverActivity.java
@@ -342,6 +342,9 @@ public class ResolverActivity extends Activity implements AdapterView.OnItemClic
return;
}
+ // Do not show the profile switch message anymore.
+ mProfileSwitchMessageId = -1;
+
final Intent intent = intentForDisplayResolveInfo(dri);
onIntentSelected(dri.ri, intent, false);
finish();