Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf3f0a11 authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Update direct boot related documentation.

Also hide a few APIs as requested by council.  Add a method to
easily determine if a given File would already be encrypted at rest
by the OS.

Bug: 27531029
Change-Id: Icad5f1cd56411ad3ac707db85fd7449acdcc4b94
parent 62b5ec76
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -8019,8 +8019,6 @@ package android.content {
    method public abstract java.lang.String getPackageResourcePath();
    method public abstract android.content.res.Resources getResources();
    method public abstract android.content.SharedPreferences getSharedPreferences(java.lang.String, int);
    method public abstract android.content.SharedPreferences getSharedPreferences(java.io.File, int);
    method public abstract java.io.File getSharedPreferencesPath(java.lang.String);
    method public final java.lang.String getString(int);
    method public final java.lang.String getString(int, java.lang.Object...);
    method public abstract java.lang.Object getSystemService(java.lang.String);
@@ -29598,6 +29596,7 @@ package android.os.storage {
    method public java.lang.String getMountedObbPath(java.lang.String);
    method public android.os.storage.StorageVolume getPrimaryVolume();
    method public android.os.storage.StorageVolume[] getVolumeList();
    method public boolean isEncrypted(java.io.File);
    method public boolean isObbMounted(java.lang.String);
    method public boolean mountObb(java.lang.String, java.lang.String, android.os.storage.OnObbStateChangeListener);
    method public boolean unmountObb(java.lang.String, boolean, android.os.storage.OnObbStateChangeListener);
+2 −0
Original line number Diff line number Diff line
@@ -22,6 +22,8 @@ package android.content {
  public abstract class Context {
    method public deprecated android.content.Context createCredentialEncryptedStorageContext();
    method public deprecated android.content.Context createDeviceEncryptedStorageContext();
    method public abstract android.content.SharedPreferences getSharedPreferences(java.io.File, int);
    method public abstract java.io.File getSharedPreferencesPath(java.lang.String);
    method public deprecated boolean isCredentialEncryptedStorage();
    method public deprecated boolean isDeviceEncryptedStorage();
    method public deprecated boolean migrateDatabaseFrom(android.content.Context, java.lang.String);
+1 −2
Original line number Diff line number Diff line
@@ -8318,8 +8318,6 @@ package android.content {
    method public abstract java.lang.String getPackageResourcePath();
    method public abstract android.content.res.Resources getResources();
    method public abstract android.content.SharedPreferences getSharedPreferences(java.lang.String, int);
    method public abstract android.content.SharedPreferences getSharedPreferences(java.io.File, int);
    method public abstract java.io.File getSharedPreferencesPath(java.lang.String);
    method public final java.lang.String getString(int);
    method public final java.lang.String getString(int, java.lang.Object...);
    method public abstract java.lang.Object getSystemService(java.lang.String);
@@ -31910,6 +31908,7 @@ package android.os.storage {
    method public java.lang.String getMountedObbPath(java.lang.String);
    method public android.os.storage.StorageVolume getPrimaryVolume();
    method public android.os.storage.StorageVolume[] getVolumeList();
    method public boolean isEncrypted(java.io.File);
    method public boolean isObbMounted(java.lang.String);
    method public boolean mountObb(java.lang.String, java.lang.String, android.os.storage.OnObbStateChangeListener);
    method public boolean unmountObb(java.lang.String, boolean, android.os.storage.OnObbStateChangeListener);
+2 −0
Original line number Diff line number Diff line
@@ -20,6 +20,8 @@ package android.content {
  public abstract class Context {
    method public deprecated android.content.Context createCredentialEncryptedStorageContext();
    method public deprecated android.content.Context createDeviceEncryptedStorageContext();
    method public abstract android.content.SharedPreferences getSharedPreferences(java.io.File, int);
    method public abstract java.io.File getSharedPreferencesPath(java.lang.String);
    method public deprecated boolean isCredentialEncryptedStorage();
    method public deprecated boolean isDeviceEncryptedStorage();
    method public deprecated boolean migrateDatabaseFrom(android.content.Context, java.lang.String);
+1 −2
Original line number Diff line number Diff line
@@ -8024,8 +8024,6 @@ package android.content {
    method public abstract java.lang.String getPackageResourcePath();
    method public abstract android.content.res.Resources getResources();
    method public abstract android.content.SharedPreferences getSharedPreferences(java.lang.String, int);
    method public abstract android.content.SharedPreferences getSharedPreferences(java.io.File, int);
    method public abstract java.io.File getSharedPreferencesPath(java.lang.String);
    method public final java.lang.String getString(int);
    method public final java.lang.String getString(int, java.lang.Object...);
    method public abstract java.lang.Object getSystemService(java.lang.String);
@@ -29664,6 +29662,7 @@ package android.os.storage {
    method public java.lang.String getMountedObbPath(java.lang.String);
    method public android.os.storage.StorageVolume getPrimaryVolume();
    method public android.os.storage.StorageVolume[] getVolumeList();
    method public boolean isEncrypted(java.io.File);
    method public boolean isObbMounted(java.lang.String);
    method public boolean mountObb(java.lang.String, java.lang.String, android.os.storage.OnObbStateChangeListener);
    method public boolean unmountObb(java.lang.String, boolean, android.os.storage.OnObbStateChangeListener);
Loading