Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
platform_frameworks_base-old
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Farzin Kazemzadeh
platform_frameworks_base-old
Commits
33aae316
Commit
33aae316
authored
8 years ago
by
Adarsh Fernando
Browse files
Options
Downloads
Patches
Plain Diff
Docs: Clarified certain restrictions to whitelisted apps
Bug:30133512 Change-Id: I4494f85090b384831bc2534cbc813f28a62a29cf
parent
78747a11
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/html/training/monitoring-device-state/doze-standby.jd
+8
-11
8 additions, 11 deletions
docs/html/training/monitoring-device-state/doze-standby.jd
with
8 additions
and
11 deletions
docs/html/training/monitoring-device-state/doze-standby.jd
+
8
−
11
View file @
33aae316
...
...
@@ -306,25 +306,22 @@ Standby</a>
</p>
<p>
An app that is whitelisted can use the network and hold
<a href="{@docRoot}reference/android/os/PowerManager.html#PARTIAL_WAKE_LOCK">
partial wake locks</a> during Doze and
App Standby. However, <strong>other restrictions still apply</strong> to the
whitelisted app, just as they do to other apps. For example, the whitelisted
app’s jobs and syncs are deferred, and its regular {@link android.app.AlarmManager} alarms do not
fire. An app can check whether it is currently on the exemption whitelist by
calling {@link
An app that is whitelisted can use the network and hold <a href=
"{@docRoot}reference/android/os/PowerManager.html#PARTIAL_WAKE_LOCK">partial
wake locks</a> during Doze and App Standby. However, <strong>other
restrictions still apply</strong> to the whitelisted app, just as they do to
other apps. For example, the whitelisted app’s jobs and syncs are deferred
(on API level 23 and below), and its regular {@link android.app.AlarmManager}
alarms do not fire. An app can check whether it is currently on the exemption
whitelist by calling {@link
android.os.PowerManager#isIgnoringBatteryOptimizations(java.lang.String)
isIgnoringBatteryOptimizations()}.
</li>
</p>
<p>
Users can manually configure the whitelist in <strong>Settings > Battery
> Battery Optimization.</strong> Alternatively, the system provides
ways for apps to ask users to whitelist them.
</p>
<ul>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment