Index: base/android/java/src/org/chromium/base/ActivityState.java |
diff --git a/base/android/java/src/org/chromium/base/ActivityState.java b/base/android/java/src/org/chromium/base/ActivityState.java |
index f4e641356f13783806183b3578ec05f9bdbebfe3..b14814c1c0621a927ebe0c1c976a3f301f31e1f8 100644 |
--- a/base/android/java/src/org/chromium/base/ActivityState.java |
+++ b/base/android/java/src/org/chromium/base/ActivityState.java |
@@ -12,39 +12,37 @@ |
/** |
* A set of states that represent the last state change of an Activity. |
*/ |
-public interface ActivityState { |
- |
- @Retention(RetentionPolicy.SOURCE) |
- @IntDef({CREATED, STARTED, RESUMED, PAUSED, STOPPED, DESTROYED}) |
- public @interface ActivityStateEnum {} |
- |
+@Retention(RetentionPolicy.SOURCE) |
+@IntDef({ActivityState.CREATED, ActivityState.STARTED, ActivityState.RESUMED, ActivityState.PAUSED, |
+ ActivityState.STOPPED, ActivityState.DESTROYED}) |
+public @interface ActivityState { |
/** |
* Represents Activity#onCreate(). |
*/ |
- public final int CREATED = 1; |
+ int CREATED = 1; |
/** |
* Represents Activity#onStart(). |
*/ |
- public final int STARTED = 2; |
+ int STARTED = 2; |
/** |
* Represents Activity#onResume(). |
*/ |
- public final int RESUMED = 3; |
+ int RESUMED = 3; |
/** |
* Represents Activity#onPause(). |
*/ |
- public final int PAUSED = 4; |
+ int PAUSED = 4; |
/** |
* Represents Activity#onStop(). |
*/ |
- public final int STOPPED = 5; |
+ int STOPPED = 5; |
/** |
* Represents Activity#onDestroy(). This is also used when the state of an Activity is unknown. |
*/ |
- public final int DESTROYED = 6; |
+ int DESTROYED = 6; |
} |