summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorAnnie Meng <anniemeng@google.com>2018-02-27 14:48:21 +0000
committerAnnie Meng <anniemeng@google.com>2018-03-06 13:47:24 +0000
commit47f5c9c55f791fad17c1d49703811602c75a02b6 (patch)
treec436cf74464862767a1a64a5b8f2b753a7105947 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent3fbc54e6099460ce11daa8ed13462b89e44034f6 (diff)
Validate restore of NetworkPolicy settings
We want to catch potential exceptions that occur when restoring NetworkPolicy settings. Here, a DateTimeException can be thrown when we try to read the recurrence rule from the backup data and cannot parse a timezone. We also add GTS tests to validate that these catches persist and that we don't crash when given unexpected backup data to restore. Bug: 73942796 Test: gts-tradefed run gts -m GtsBackupHostTestCases -t com.google.android.gts.backup.NetworkPolicyRestoreHostSideTest Change-Id: I6f6ea09d2fff60b8d704c6160234e6f032321103 (cherry picked from commit 853097ca2c29d9bb708b6f600a7d46f2a2a77289)
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions