Add developer option to convert from FDE to FBE

This set of changes adds the screen that offers this conversion,
and the plumbing so the option is only available on suitable
devices.

It does not implement the conversion mechanism.

Change-Id: I3c84dd40dfcb0e00dadbab54ba0e56e1ccb11ed8
This commit is contained in:
Paul Lawrence
2015-11-02 12:42:42 -08:00
parent 77c69c5a22
commit acbac8cdfe
5 changed files with 121 additions and 0 deletions

View File

@@ -2010,6 +2010,18 @@
<string name="night_mode_yes">Always on</string>
<!-- Sound & display settings screen, theme setting value to automatically switch between a light- or dark-colored user interface [CHAR LIMIT=30] -->
<string name="night_mode_auto">Automatic</string>
<!-- Option to convert userdata to file encryption on Nexus M devices -->
<string name="convert_to_file_encryption">Convert to file encryption</string>
<string name="convert_to_file_encryption_enabled">Convert ...</string>
<string name="convert_to_file_encryption_done">Already file encrypted</string>
<string name="convert_to_fbe_warning">
Convert data partition to file based encryption.\n
!!Warning!! This will erase all your data.\n
This feature is alpha, and may not work correctly.\n
Press \'Wipe and convert...\' to continue.</string>
<string name="button_convert_fbe">Wipe and convert...</string>
<!-- Sound & display settings screen, setting option name to change screen timeout -->
<string name="screen_timeout">Sleep</string>
<!-- Sound & display settings screen, setting option name to change screen timeout [CHAR LIMIT=30] -->