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

Commit c2e193a0 authored by Louis Chang's avatar Louis Chang
Browse files

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
parent da74280f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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() {
    }