eed1312a77aa5041a71e7ec27ab2e266c3be6083
The current formatPartitionLocked only sets the data length to zero and
leave the payload unchanged. If the client side ignores the header and
read the payload directly, it still has the chance to read old data.
This CL corrupts the payload explicitly in formatPartitionLocked.
Bug: 185369514
Test: \
1. Flash device, wipe
2. Go through SUW with a google account. Set a PIN.
3. Factory Reset through Settings.
4. In SUW, when setting up an account (or copy from an old device),
it should not ask for the previous PIN.
Merged-In: Ib60c68e3e91a4f0a7fd4e86b462091995bbe4fe2
Change-Id: Ib60c68e3e91a4f0a7fd4e86b462091995bbe4fe2
Merge "Fix the path of boot image profile and preloaded classes for frameworks." am:
0e52d9c6f9 am: 43927fdefc am: 1938444d6c
Merge "Remove unnecessary entries in frameworks/base/config/OWNERS" am:
a2baa71441 am: e9ec371853 am: a8329471e4
Merge "[LSC] Add LOCAL_LICENSE_KINDS to frameworks/base" am:
7226ad3729 am: a087245e03 am: 3dd40d172b
Merge "Use keymasterSwEnforcedUserAuthenticators if keymasterHwEnforcedUserAuthenticators is zero." am:
3b2decbb34 am: bc9360ea4e am: 791f088436
Merge "[LSC] Add LOCAL_LICENSE_KINDS to frameworks/base" am:
7226ad3729 am: a087245e03 am: 3dd40d172b
Merge "AudioTrack: 24 channel index masks, compressed formats" am:
e477e9686f am: dd8fa96c01 am: fde2ef0250
Merge "[LSC] Add LOCAL_LICENSE_KINDS to frameworks/base" am:
7226ad3729 am: a087245e03 am: 3dd40d172b
Merge "[LSC] Add LOCAL_LICENSE_KINDS to frameworks/base" am:
7226ad3729 am: a087245e03 am: 3dd40d172b
Merge "Use filegroups for test-{base,mock,runner} srcs" am:
af9b5f0a04 am: 06e56695cc am: 4eecbfcd41
Merge "Use filegroups for test-{base,mock,runner} srcs" am:
af9b5f0a04 am: 06e56695cc am: 4eecbfcd41
…
Merge "Apply the same filtering for docstubs and jarstubs" am:
46dff8e09f am: 8f1928f4ca am: 9e8186aaaf
…
Merge "Move hiddenapi sort preupload tools to tools/platform-compat" am:
b82853357b am: 89aedd6cb8 am: af77c134d9
Description
No description provided
Languages
Java
73.7%
Kotlin
14%
PowerBuilder
5.8%
C++
5.2%
AIDL
1%