diff --git a/java/AndroidManifest.xml b/java/AndroidManifest.xml
index ea4d29be78b26cf1b0f04782a28fc048c3557030..9bb16c7ff4ee31b2c454f5cf2d1fca84b479bd0a 100644
--- a/java/AndroidManifest.xml
+++ b/java/AndroidManifest.xml
@@ -39,8 +39,8 @@
             android:icon="@drawable/ic_launcher_keyboard"
             android:supportsRtl="true"
             android:allowBackup="true"
-            android:forceDeviceEncrypted="true"
-            android:encryptionAware="true">
+            android:defaultToDeviceProtectedStorage="true"
+            android:directBootAware="true">
 
         <!-- Services -->
         <service android:name="LatinIME"