Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(205)

Side by Side Diff: base/android/java/src/org/chromium/base/ActivityState.java

Issue 159173002: Refactor ActivityStatus to not store current activity (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 package org.chromium.base;
6
7 /**
8 * A set of states that represent the last state change of an Activity.
9 */
10 public interface ActivityState {
11 /**
12 * Represents Activity#onCreate().
13 */
14 public final int CREATED = 1;
15
16 /**
17 * Represents Activity#onStart().
18 */
19 public final int STARTED = 2;
20
21 /**
22 * Represents Activity#onResume().
23 */
24 public final int RESUMED = 3;
25
26 /**
27 * Represents Activity#onPause().
28 */
29 public final int PAUSED = 4;
30
31 /**
32 * Represents Activity#onStop().
33 */
34 public final int STOPPED = 5;
35
36 /**
37 * Represents Activity#onDestroy(). This is also used when the state of an Activity is unknown.
38 */
39 public final int DESTROYED = 6;
40 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698