From 0d0c4b6804c88bb27cffb0305f03c40234f926de Mon Sep 17 00:00:00 2001
From: Dirk Dougherty
Date: Fri, 17 Jul 2015 16:48:12 -0700
Subject: Doc change: add note about not exiting on onPause().
Change-Id: Iaa5199133b34431b84622bc13579d41131a14390
---
docs/html/design/wear/structure.jd | 3 +++
1 file changed, 3 insertions(+)
(limited to 'docs')
diff --git a/docs/html/design/wear/structure.jd b/docs/html/design/wear/structure.jd
index c1d9ef9..768aa7f 100644
--- a/docs/html/design/wear/structure.jd
+++ b/docs/html/design/wear/structure.jd
@@ -166,8 +166,11 @@ href="#2DPicker">2D picker is always available.
A map that asks the user to drop a pin should exit when the pin is dropped.
A short game can exit when the game finishes.
A drawing app can finish after 5 seconds of inactivity.
+
+ An app generally should not exit in {@link android.app.Activity#onPause onPause()}. This is because events such as Heads-up Notifications can trigger the {@link android.app.Activity#onPause() onPause()} callback.
+
Manually exiting
Even with logical exit points like these, some cases may exist where the user may want to
--
cgit v1.1