am b36ad5dc: Decouple ProviderStatus & internal provider state

* commit 'b36ad5dc6bb6218aeabca17197001ac0a942219a':
  Decouple ProviderStatus & internal provider state
This commit is contained in:
Brian Attwell
2015-06-02 21:05:13 +00:00
committed by Android Git Automerger
3 changed files with 22 additions and 11 deletions

View File

@@ -25841,6 +25841,15 @@ package android.provider {
field public static final android.net.Uri CONTENT_URI;
}
public static final class ContactsContract.ProviderStatus {
field public static final java.lang.String CONTENT_TYPE = "vnd.android.cursor.dir/provider_status";
field public static final android.net.Uri CONTENT_URI;
field public static final java.lang.String STATUS = "status";
field public static final int STATUS_BUSY = 1; // 0x1
field public static final int STATUS_EMPTY = 2; // 0x2
field public static final int STATUS_NORMAL = 0; // 0x0
}
public static final class ContactsContract.QuickContact {
ctor public ContactsContract.QuickContact();
method public static void showQuickContact(android.content.Context, android.view.View, android.net.Uri, int, java.lang.String[]);

View File

@@ -27770,6 +27770,15 @@ package android.provider {
field public static final android.net.Uri CONTENT_URI;
}
public static final class ContactsContract.ProviderStatus {
field public static final java.lang.String CONTENT_TYPE = "vnd.android.cursor.dir/provider_status";
field public static final android.net.Uri CONTENT_URI;
field public static final java.lang.String STATUS = "status";
field public static final int STATUS_BUSY = 1; // 0x1
field public static final int STATUS_EMPTY = 2; // 0x2
field public static final int STATUS_NORMAL = 0; // 0x0
}
public static final class ContactsContract.QuickContact {
ctor public ContactsContract.QuickContact();
method public static void showQuickContact(android.content.Context, android.view.View, android.net.Uri, int, java.lang.String[]);

View File

@@ -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.
* 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_UPGRADING = 1;
/**
* The status used during a 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;
}
/**