OSDN Git Service

An intent forwarded from a chooser intent will be a chooser too.
authorNicolas Prevot <nprevot@google.com>
Mon, 27 Oct 2014 10:06:11 +0000 (10:06 +0000)
committerNicolas Prevot <nprevot@google.com>
Mon, 3 Nov 2014 14:36:11 +0000 (14:36 +0000)
commit0e2b73f6858479ca963bd53c49f8955d98f14869
tree7a5f2c4104bbf85ee44967615a59c1ea5985e911
parent5b820a8aa1a200824e44aede6bc1e381a6d69dd5
An intent forwarded from a chooser intent will be a chooser too.

If a chooser intent is fired:
If the user picks "work" or "personal apps":
send a chooser intent to the other profile instead of sending a normal intent.

Also using a userId instead of a userHandle for the target user.

BUG:16514027

Change-Id: I2e45cd57ad72e9b7280e772b31fc10938642ba59
core/java/com/android/internal/app/ChooserActivity.java
core/java/com/android/internal/app/IntentForwarderActivity.java
core/java/com/android/internal/app/ResolverActivity.java