diff options
| author | Richard Uhler <ruhler@google.com> | 2019-01-24 09:56:03 +0000 |
|---|---|---|
| committer | Richard Uhler <ruhler@google.com> | 2019-01-25 14:23:27 +0000 |
| commit | dca7beb7401ee49e4863a103bfd8c1e50de11b14 (patch) | |
| tree | 7a8817c5e21f605c15b2681b5fd1f5bbae3964d8 /core/java/android | |
| parent | 65f9717b6ff48a90ae062293d7c73928165792e4 (diff) | |
Rename PACKAGE_ROLLBACK_EXECUTED to ROLLBACK_COMMITTED.
Because there's no need to distinguish between package and other kinds
of rollbacks, and for rollback of staged installs, committed is a more
appropriate name than executed.
Bug: 112431924
Test: atest RollbackTest
Change-Id: I2a409de29ba82a7a3df2fd0b17f939795caa61d5
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/content/Intent.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java index edd765b05415..aa559ba11a05 100644 --- a/core/java/android/content/Intent.java +++ b/core/java/android/content/Intent.java @@ -2375,8 +2375,7 @@ public class Intent implements Parcelable, Cloneable { public static final String ACTION_PACKAGE_ENABLE_ROLLBACK = "android.intent.action.PACKAGE_ENABLE_ROLLBACK"; /** - * Broadcast Action: An existing version of an application package has been - * rolled back to a previous version. + * Broadcast Action: A rollback has been committed. * * <p class="note">This is a protected intent that can only be sent * by the system. @@ -2385,8 +2384,8 @@ public class Intent implements Parcelable, Cloneable { */ @SystemApi @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION) - public static final String ACTION_PACKAGE_ROLLBACK_EXECUTED = - "android.intent.action.PACKAGE_ROLLBACK_EXECUTED"; + public static final String ACTION_ROLLBACK_COMMITTED = + "android.intent.action.ROLLBACK_COMMITTED"; /** * @hide * Broadcast Action: Ask system services if there is any reason to |
