summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Louis Chang <louischang@google.com> 2019-01-09 15:33:57 +0800
committer Louis Chang <louischang@google.com> 2019-01-09 16:08:29 +0800
commitc2e193a0c98ea1fb081d47e54d68861c477a40fc (patch)
tree442da89a52c9625bcc978e7544428d7028ed25dd
parentda74280f59a2040b7d5ca96f10f8859e6b45f9a5 (diff)
Updating Java doc for Activity#onUserLeaveHint()
Currently, Activity#onUserLeaveHint() may not have clear enough information descripting when it would be called. Updating document to also check Intent#FLAG_ACTIVITY_NO_USER_ACTION for reference. Bug: 121282783 Test: m -j PRODUCT-sdk_x86-sdk Change-Id: I3894efbe286575140afbbba2ed059fd0f129ef3b
-rw-r--r--core/java/android/app/Activity.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/app/Activity.java b/core/java/android/app/Activity.java
index 5b8261e38f1e..fdb71bbb93d7 100644
--- a/core/java/android/app/Activity.java
+++ b/core/java/android/app/Activity.java
@@ -2158,6 +2158,7 @@ public class Activity extends ContextThemeWrapper
* for helping activities determine the proper time to cancel a notification.
*
* @see #onUserInteraction()
+ * @see android.content.Intent#FLAG_ACTIVITY_NO_USER_ACTION
*/
protected void onUserLeaveHint() {
}