diff options
| author | 2023-09-28 22:20:18 +0000 | |
|---|---|---|
| committer | 2023-11-21 20:23:46 +0000 | |
| commit | 98f96b7dab0454eb99d8560497f34948033d3ef3 (patch) | |
| tree | 257c4d17742b8dab89c92281e0f5dc0447f04eb5 /libs/androidfw/BackupHelpers.cpp | |
| parent | 0cb5a08bb4d32354fb438108a28a33d2cda7bde2 (diff) | |
StorageManager: remove old isFileEncrypted* methods
StorageManager#isFileEncryptedNativeOnly() and
StorageManager#isFileEncryptedNativeOrEmulated() are no longer used,
except for @UnsupportedAppUsage. However, a clear public API equivalent
exists: StorageManager#isEncrypted(File) can be used to check whether
the device is encrypted. Since Android 13, file encryption is the only
supported encryption type. Therefore, these methods can be removed.
Bug: 232458753
Test: presubmit
Change-Id: I3f3707aa54821269201b05a0cdd2a2cdf23b0c9a
Diffstat (limited to 'libs/androidfw/BackupHelpers.cpp')
0 files changed, 0 insertions, 0 deletions