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 666e8ac6) Merged-In: Ie817aa0993e9046cb313a750d2323cadc8c1ef15
Loading
Please register or sign in to comment