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

Commit 476edc81 authored by Bryce Lee's avatar Bryce Lee
Browse files

Update documentation for Activity#onCreate.

The current description incorrectly states #onDestroy will be called
immediately when invoking #finish during #onCreate.

Change-Id: I816a54457d7aca0b40feac9a5656d94f7e712c76
Fixes: 69144863
Test: comment update.
parent d50aa525
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -995,9 +995,9 @@ public class Activity extends ContextThemeWrapper
     * cursors for data being displayed, etc.
     *
     * <p>You can call {@link #finish} from within this function, in
     * which case onDestroy() will be immediately called without any of the rest
     * of the activity lifecycle ({@link #onStart}, {@link #onResume},
     * {@link #onPause}, etc) executing.
     * which case onDestroy() will be immediately called after {@link #onCreate} without any of the
     * rest of the activity lifecycle ({@link #onStart}, {@link #onResume}, {@link #onPause}, etc)
     * executing.
     *
     * <p><em>Derived classes must call through to the super class's
     * implementation of this method.  If they do not, an exception will be