summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/3/changes
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2011-05-20 15:29:23 -0700
committerJeff Sharkey <jsharkey@android.com>2011-05-23 18:39:56 -0700
commita4620793038b9a9163b26c6ece882cb454fcbf87 (patch)
tree450e8f355658bcc56bf19dc00f8c63d3464cb69f /docs/html/sdk/api_diff/3/changes
parent442fa21e98835ceb966f196906907eb236d38d65 (diff)
Observe screen on/off events in NetworkPolicy.
The POLICY_REJECT_BACKGROUND policy requires that network traffic be blocked when a UID goes into the background. Even if the UID has an activity in the foreground, it's considered "background" if the screen is turned off. This changes watches for SCREEN_ON/OFF broadcasts, and rule generation now observes screen state. It also introduces an observer pattern so that ActivityManager doesn't directly know about NetworkPolicy, and moves the service management into SystemServer. Change-Id: Ie7a84929d3ca60ae4578d47e19d5a8da10fd8d58
Diffstat (limited to 'docs/html/sdk/api_diff/3/changes')
0 files changed, 0 insertions, 0 deletions