diff options
author | Brian Attwell <brianattwell@google.com> | 2015-05-28 19:25:21 -0700 |
---|---|---|
committer | Brian Attwell <brianattwell@google.com> | 2015-06-02 20:56:27 +0000 |
commit | b36ad5dc6bb6218aeabca17197001ac0a942219a (patch) | |
tree | 519170f43b73fe6d54fbb2006ebc8c8a6a153a33 /core/java/android/provider | |
parent | 56dbe3ee4bea8fce11a2698a44778e264e9ec2db (diff) | |
download | frameworks_base-b36ad5dc6bb6218aeabca17197001ac0a942219a.zip frameworks_base-b36ad5dc6bb6218aeabca17197001ac0a942219a.tar.gz frameworks_base-b36ad5dc6bb6218aeabca17197001ac0a942219a.tar.bz2 |
Decouple ProviderStatus & internal provider state
Bug: 21090207
Change-Id: I7e93e36ad0c0d667ac56983c76acb1b97bd8755c
Diffstat (limited to 'core/java/android/provider')
-rw-r--r-- | core/java/android/provider/ContactsContract.java | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/core/java/android/provider/ContactsContract.java b/core/java/android/provider/ContactsContract.java index 76a5f967..df2e5f9 100644 --- a/core/java/android/provider/ContactsContract.java +++ b/core/java/android/provider/ContactsContract.java @@ -7930,8 +7930,6 @@ public final class ContactsContract { /** * API for inquiring about the general status of the provider. - * - * @hide */ public static final class ProviderStatus { @@ -7965,21 +7963,16 @@ public final class ContactsContract { public static final int STATUS_NORMAL = 0; /** - * The status used when the provider is in the process of upgrading. Contacts - * are temporarily unaccessible. - */ - public static final int STATUS_UPGRADING = 1; - - /** - * The status used during a locale change. + * The provider won't respond to queries. It is in the middle of a long running task, such + * as a database upgrade or locale change. */ - public static final int STATUS_CHANGING_LOCALE = 3; + public static final int STATUS_BUSY = 1; /** * The status that indicates that there are no accounts and no contacts * on the device. */ - public static final int STATUS_NO_ACCOUNTS_NO_CONTACTS = 4; + public static final int STATUS_EMPTY = 2; } /** |