summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorFelipe Leme <felipeal@google.com>2016-08-10 13:00:32 -0700
committerTim Murray <timmurray@google.com>2016-08-28 02:24:42 +0000
commitb79f06a47610d87a2eb81ae83ccdaf9336229bff (patch)
treed78079e4dd0efa95905446b3ec2de20ea424d9a5 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent7c02d7adaa294c70450e0f9e1a79cff607610f16 (diff)
Removed screen on/off callbacks from NPMS.
NetworkPolicyManagerService (NPMS) used to depend on screen on/off changes to determine if a foreground activity should have network restrictions, but such check is now redundant since ActivityManager already changes the proper UID state (like going from TOP to TOP_SLEEPING) when the screen status is changed. Removing such code decreases the NPMS lock contention when the screen is turned on in about 3-5ms. Change-Id: I2853443efedbf14961ae9a5b2e72689d4d1a646c BUG: 30785671 (cherry picked from commit 88f40ad9a721ee30708be82f66fb58c64f1d36b5) (cherry picked from commit f8dd7b4e8d548274c680644a2225951b97e94a4f)
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions