summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2016-04-28 15:33:18 -0600
committerJeff Sharkey <jsharkey@android.com>2016-04-29 13:44:07 -0600
commit1b6519bd87a59a10e9928e5772a17976692611da (patch)
tree9756dc84c8dc77d7dffbc38e96dd0548ece274bf /tools/aapt2/diff/Diff.cpp
parentede4fcea6b4fb5950b2a4eaf34b0fa6fa2f8a696 (diff)
Flag to mark foreground jobs, fix data saver.
When a job will eventually run in the foreground, the internal scheduling needs to ignore any background network restrictions when satisfying constraints. This also means the job should ignore the current device doze state, since the requesting app could get the same behavior by starting their own foreground service. Always dispatch network policy changes to ConnectivityService first to ensure that it has up-to-date information. Fix bugs around data saver that were causing networks to not be marked as BLOCKED for background apps; before this fix apps would have been spinning in internal connectivity loops, thinking that the network was actually connected when the kernel was actually blocking their traffic. Offer new ConnectivityService method overloads to ignore the blocked state for a specific UID. Print unsatisfied job constraints to aid debugging. Bug: 26571724 Change-Id: Iaaa17933e6dc1bf6d3dff26d0bfc12222e51e241
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions