summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRyan Mitchell <rtmitchell@google.com>2021-02-10 11:27:29 -0800
committerRyan Mitchell <rtmitchell@google.com>2021-02-10 11:58:27 -0800
commitb49cb5eceaf426644da85ff9ab250d9c9aa7c510 (patch)
tree604d7c5ff462e48180467b93674c0f848930a074 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent17e971d53101bf5cc4223beb16c79820b3ad5200 (diff)
Always delete old idmap in createIdmap
If the target package updates its policies, and the overlay fails to successfully overlay any resources, the overlay should no longer work anymore. By deleting the old idmap file at the beginning of Idmap2Service::createIdmap, the overlay state will change to STATE_NO_IDMAP if the new idmap cannot be successfully generated. Bug: 173032050 Test: manual Change-Id: I1915e65feeb801d8602c12cc7df0f90da4c9b5c5
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions