OSDN Git Service

Sharesheet - Photos -> Sharesheet in work profile crashes
authorMatt Pietal <mpietal@google.com>
Tue, 2 Apr 2019 14:10:22 +0000 (10:10 -0400)
committerMatt Pietal <mpietal@google.com>
Tue, 2 Apr 2019 14:10:22 +0000 (10:10 -0400)
commit51ea0d68cc9646e640eba9bafe3c098662c15116
tree274576aa620235965a5adcdf111001e1076b1244
parent1241da4193d6f73c29936496ffd4492b66a42034
Sharesheet - Photos -> Sharesheet in work profile crashes

The issue stems from adding the incorrect userid when first entering
the sharesheet. The flow from Photos sendkit directly to the work
profile sharesheet was setting the incorrect userid on the content
uris. Move this logic to the correct location.

Bug: 129280812
Test: Manually retest Photos->Share->Work Profile->Chat
Change-Id: I3660684336450172852cf86bea1f3c60cf15aa87
core/java/com/android/internal/app/ChooserActivity.java
core/java/com/android/internal/app/IntentForwarderActivity.java