commit | 40e4ea759743737958dde018f3606d778f7a53f3 | [log] [tgz] |
---|---|---|
author | Kweku Adams <kwekua@google.com> | Fri Sep 23 21:06:53 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Oct 11 22:46:59 2023 +0000 |
tree | 5d45769b4678bb564432bb2b75ffadefa763776b | |
parent | fe6fef4f9c1f75c12bffa4a1d16d9990cc3fbc35 [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 (cherry picked from commit 666e8ac60a31e2cc52b335b41004263f28a8db06) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3c5aa21b4df54c0c0fcbcf00d1b62fa771022146) Merged-In: Ie817aa0993e9046cb313a750d2323cadc8c1ef15 Change-Id: Ie817aa0993e9046cb313a750d2323cadc8c1ef15