Ensure AppStartInfo Intent does not contain large objects
The current strip for history solution does not remove extras if data is not parcelled.
Update to:
- use strip for history if that's available
- if extras is not null, use more aggressive clonefilter
- if extras is null, still clone it to avoid leaking it
- always remove the original intent if present
Note: a better long term solution may be to address the existing todo in maybeStripForHistory, will look at this for future version.
Bug: 344851030
Test: presubmit
Flag: EXEMPT - day-to-day bugfix
Change-Id: Ic659d0567fc6c0129e1c01ed584de0f03863789f
1 file changed