Merge "Check EXTRA_INTENT as part of leaving process."
This commit is contained in:
committed by
Android (Google) Code Review
commit
4b2f751ebf
@@ -9269,6 +9269,13 @@ public class Intent implements Parcelable, Cloneable {
|
||||
mClipData.prepareToLeaveProcess(leavingPackage, getFlags());
|
||||
}
|
||||
|
||||
if (mExtras != null && !mExtras.isParcelled()) {
|
||||
final Object intent = mExtras.get(Intent.EXTRA_INTENT);
|
||||
if (intent instanceof Intent) {
|
||||
((Intent) intent).prepareToLeaveProcess(leavingPackage);
|
||||
}
|
||||
}
|
||||
|
||||
if (mAction != null && mData != null && StrictMode.vmFileUriExposureEnabled()
|
||||
&& leavingPackage) {
|
||||
switch (mAction) {
|
||||
|
||||
Reference in New Issue
Block a user