Remove CryptKeeper
Since Android 10, new devices have been required to use FBE (File Based Encryption) instead of FDE (Full Disk Encryption). FDE support was already removed from system components such as init and vold. Therefore, the CryptKeeper activity is no longer needed. Remove it. Note: this CL only removes CryptKeeper itself, i.e. the activity which runs at boot time on devices that are using FDE or are being encrypted with FDE in-place. Later CLs will remove FDE-specific code from the Settings app. Bug: 208476087 Change-Id: I4aaf795e8cee1ff3cdd55a41c975273c8faeefa9
This commit is contained in:
@@ -2857,25 +2857,6 @@
|
||||
android:value="@string/menu_key_accounts"/>
|
||||
</activity>
|
||||
|
||||
<activity android:name=".CryptKeeper"
|
||||
androidprv:systemUserOnly="true"
|
||||
android:immersive="true"
|
||||
android:launchMode="singleTop"
|
||||
android:excludeFromRecents="true"
|
||||
android:theme="@style/Theme.CryptKeeper"
|
||||
android:configChanges="mnc|mcc|keyboard|keyboardHidden|uiMode"
|
||||
android:windowSoftInputMode="adjustResize"
|
||||
android:screenOrientation="nosensor"
|
||||
android:taskAffinity="com.android.settings.CryptKeeper"
|
||||
android:exported="true"
|
||||
android:process=":CryptKeeper">
|
||||
<intent-filter android:priority="10">
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.HOME" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<!-- Triggered when user-selected home app isn't encryption aware -->
|
||||
<activity android:name=".FallbackHome"
|
||||
android:excludeFromRecents="true"
|
||||
@@ -2891,12 +2872,6 @@
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<activity android:name=".CryptKeeper$FadeToBlack"
|
||||
android:immersive="true"
|
||||
android:launchMode="singleTop"
|
||||
android:theme="@style/CryptKeeperBlankTheme"
|
||||
/>
|
||||
|
||||
<activity android:name=".CryptKeeperConfirm$Blank"
|
||||
android:immersive="true"
|
||||
android:launchMode="singleTop"
|
||||
|
||||
Reference in New Issue
Block a user