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

Commit 10594f3c authored by David Friedman's avatar David Friedman
Browse files

Docs: Fixes to Behavior Changes page for N-Preview

Change-Id: I77cd81e8fd7feb559e49d3d7a7673e7febc5a5c7
parent 3b100bd9
Loading
Loading
Loading
Loading
+9 −12
Original line number Diff line number Diff line
@@ -523,24 +523,21 @@ JavaVM::AttachCurrentThread from <jni.h>.
<h2 id="other">Other important points</h2>

<ul>
<li>On Android N, apps should be able to gracefully handle an out-of-memory
condition, or they might crash when the user changes display size and then
restores the app from Recents.</li>

<li>
Apps running on Android N but targeting lower API levels must be able to
gracefully handle their process being killed; they should
not crash on subsequent launches.
<li>When an app is running on Android N, but targets a lower API level,
and the user changes display size, the app process is killed. The app
must be able to gracefully handle this scenario. Otherwise, it crashes
when the user restores it from Recents.

<p>
You can diagnose this behavior by causing an identical crash
when killing the app manually via DDMS or automatically in a low-
or out-of-memory condition.
You should test your app to ensure
that this behavior does not occur.
You can do so by causing an identical crash
when killing the app manually via DDMS.
</p>

<p>
Apps targeting N and above are not automatically killed on density changes;
however, they may still respond poorly to configuration changes
however, they may still respond poorly to configuration changes.
</p>
</li>