commit | ebc8ee266c8fa99aae5567f9da920f4a81c04c4a | [log] [tgz] |
---|---|---|
author | Philip P. Moltmann <moltmann@google.com> | Fri Mar 31 12:42:52 2017 -0700 |
committer | Philip P. Moltmann <moltmann@google.com> | Mon Apr 03 09:06:09 2017 -0700 |
tree | 96429b04a399bc63bf939adcda07ba0f9b60373e | |
parent | fb54aee325cd8c85c1220bfd7cc63b1a83310a71 [diff] |
Not send switch intents if there is no real intent When resolving activtities for the USB device/accessory connection UI a special intent that allows to switch between profiles get added. This also gets added if there is no activity in the secondary profile that can be started. Fixes: 36544815 Test: Added work profile. Add USB handling app only to personal profile and plugged in USB device -> no crash anymore Change-Id: I311ddd53b3ff0c8406e62bac57972d4b790ebddc