summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorlucaslin <lucaslin@google.com>2020-10-05 20:00:07 +0800
committerandroid-build-team Robot <android-build-team-robot@google.com>2020-11-12 18:34:06 +0000
commitd00f1feb806128dd4a97b63a384bcacfbc1bee72 (patch)
tree97996bae7141ee1bcfd4c7c238642b0da410cd88 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent85c451343c156e74fa78e4b5c1fd914078185b07 (diff)
Fix storing the wrong value of mLockdown in setting
When user is stopped, the Vpn#onUserStopped() will be called and the value of mLockdown will be set to false then store into setting. This is a wrong behavior because user doesn't change it, so for this kind of case, there is no need to store the value of mLockdown in setting. In fact, there is no need to call Vpn#saveAlwaysOnPackage() when user is stopped because there is nothing changed. Bug: 168500792 Test: atest FrameworksNetTests Change-Id: Ie85a347216614b7873bfdf199165d89527ada3a8 (cherry picked from commit 9226fc3723a477751705011cd7eecf063b1c3707)
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions