summaryrefslogtreecommitdiff
path: root/libs/androidfw/BackupHelpers.cpp
diff options
context:
space:
mode:
author Kweku Adams <kwekua@google.com> 2022-09-23 21:06:53 +0000
committer TYM Tsai <tymtsai@google.com> 2023-07-18 10:26:33 +0000
commit62b37ab21ce27746a79a2071deee98c61b23c8d9 (patch)
treef12e63dc9ca7af64f8b1062d649fe15e27d3973c /libs/androidfw/BackupHelpers.cpp
parentd6670385123964d3d258916f0445cec3a32a851b (diff)
RESTRICT AUTOMERGE: Drop invalid data.
Drop invalid data when writing or reading from XML. PersistableBundle does lazy unparcelling, so checking the values during unparcelling would remove the benefit of the lazy unparcelling. Checking the validity when writing to or reading from XML seems like the best alternative. Bug: 246542285 Bug: 247513680 Test: install test app with invalid job config, start app to schedule job, then check logcat and jobscheduler persisted file Change-Id: Ie817aa0993e9046cb313a750d2323cadc8c1ef15 (cherry picked from commit 666e8ac60a31e2cc52b335b41004263f28a8db06) Merged-In: Ie817aa0993e9046cb313a750d2323cadc8c1ef15
Diffstat (limited to 'libs/androidfw/BackupHelpers.cpp')
0 files changed, 0 insertions, 0 deletions