Merge "Avoid full unparcelling where possible in Bundle" am: 3ad4ecc296 am: 3aaf984908 am: cb329ca948 am: 7b03023777 am: 3adc4cd7ed

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1842226

Change-Id: Id9e51b93592d0f53156d49107bde60d586eecd6f
This commit is contained in:
Treehugger Robot
2021-10-07 01:27:08 +00:00
committed by Automerger Merge Worker
6 changed files with 28 additions and 73 deletions

View File

@@ -8970,16 +8970,6 @@ public class Intent implements Parcelable, Cloneable {
: null;
}
/**
* Filter extras to only basic types.
* @hide
*/
public void removeUnsafeExtras() {
if (mExtras != null) {
mExtras = mExtras.filterValues();
}
}
/**
* @return Whether {@link #maybeStripForHistory} will return an lightened intent or
* return itself as-is.