Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5d7876fd authored by Dirk Dougherty's avatar Dirk Dougherty Committed by android-build-merger
Browse files

Merge "Doc change: Clarify acceptable use cases for Doze / Standby." into mnc-docs

am: a95c52f3

* commit 'a95c52f3':
  Doc change: Clarify acceptable use cases for Doze / Standby.
parents 07e77673 a95c52f3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -238,7 +238,7 @@ page.image=/distribute/images/core-quality-guidelines.jpg

<div class="resource-widget resource-flow-layout col-13" data-query=
"collection:distribute/essentials/corequalityguidelines/visualdesign"
data-sortorder="-timestamp" data-cardsizes="9x3,9x3,6x3,6x3,6x3"
data-sortorder="-timestamp" data-cardsizes="6x3"
data-maxresults="6">
</div>

@@ -1140,7 +1140,7 @@ data-cardsizes="6x3,6x3,6x3,6x3,6x3,6x3" data-maxresults="6">
    Pay close attention to alarms, timers, notifications, syncs, and so on.
    See <a
    href="{@docRoot}training/monitoring-device-state/doze-standby.html#testing_doze_and_app_standby">Testing
    with Doze and App Standby</a>.
    with Doze and App Standby</a> for requirements and guidelines.
    </p>
  </td>
  </tr>
+12 −3
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ Standby</a>
        <li><a href="#testing_your_app_with_app_standby">Testing your app with App Standby</a></li>
      </ol>
      </li>
      <li><a href="#whitelisting-cases">Example Use Cases for Whitelisting</a></li>
      <li><a href="#whitelisting-cases">Acceptable Use Cases for Whitelisting</a></li>
    </ol>
  </div>
</div>
@@ -422,7 +422,7 @@ $ adb shell am get-inactive &lt;packageName&gt;</pre>
</ol>


<h2 id="whitelisting-cases">Example Use Cases for Whitelisting</h2>
<h2 id="whitelisting-cases">Acceptable Use Cases for Whitelisting</h2>

<p>The table below highlights the acceptable use cases for requesting or being on
   the Battery Optimizations exceptions whitelist. In general, your app should not be on the
@@ -456,13 +456,22 @@ $ adb shell am get-inactive &lt;packageName&gt;</pre>

 <tr>
    <td rowspan="1">Instant messaging, chat, or calling app;
    enterprise VOIP apps</td>
    enterprise VOIP apps.</td>
    <td>No, can not use GCM because of technical dependency on another messaging
    service or Doze and App Standby break the core function of the app.</td>
    <td style="color:green">Acceptable</td>
    <td></td>
 </tr>

  <tr>
    <td rowspan="1">Task automation app</td>
    <td>App's core function is scheduling automated actions, such as for instant
    messaging, voice calling, new photo management, or location actions.</td>
    <td>If applicable.</td>
    <td style="color:green">Acceptable</td>
    <td></td>
 </tr>

</table>