summaryrefslogtreecommitdiffstats
path: root/core/java/android/app/IProcessObserver.aidl
Commit message (Collapse)AuthorAgeFilesLines
* Extend process observer to be usable for media routing.Dianne Hackborn2012-05-311-0/+1
| | | | | | | | It now has a new callback to report changes in the "importance" of processes. Rewrote the dispatching code to be a bit more efficient now that we are sending more reports. Change-Id: Ie865cfd286455819f04e8c14e9b6fd54d028f8f2
* Observe screen on/off events in NetworkPolicy.Jeff Sharkey2011-05-231-0/+25
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