summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRuslan Tkhakokhov <rthakohov@google.com>2020-08-05 17:15:12 +0100
committerRuslan Tkhakokhov <rthakohov@google.com>2020-08-26 22:02:03 +0000
commit0c098c47a5ec999bcdfe1659e1efa5bf927ce2ed (patch)
tree5d09618f74a9fa02df009328af2a456770d5a654 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentd72af5ff706f75f4370887878a8106912707cb40 (diff)
Don't check allowBackup in PackageManager
During restore at install, PackageManager checks the allowBackup flag for the package to determine whether or not to request a restore by calling BackupManager::restoreAtInstall(). The above check isn't needed because B&R code verifies package elibility before running backup / restore anyway. Furthermore, this check breaks device-to-device migrations where we ignore allowBackup flag: PackageManager doesn't know if the data is restored to the device from cloud or directrly transferred from another device. Remove the check altogether since it's not needed as described above. Bug: 160407842 Test: 1. atest PackageManagerServiceTest 2. Manual: Run restore at install for packages with allowBackup=true/false and verify the flag is respected. Change-Id: I6ca61869129f5fabd40c01cd314cbf0f15e1f7fc
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions