Remove java generated files

Remove improper import and make the flag a constant
with the read only option

Bug: 191777960
Test: m keystore2
Change-Id: I34bd2d0d891686c93a167456e8d50eec75374244
diff --git a/keystore2/Android.bp b/keystore2/Android.bp
index 4792e8a..af5f117 100644
--- a/keystore2/Android.bp
+++ b/keystore2/Android.bp
@@ -28,7 +28,6 @@
     defaults: [
         "keymint_use_latest_hal_aidl_rust",
         "keystore2_use_latest_aidl_rust",
-        "framework-minus-apex-aconfig-libraries",
     ],
 
     rustlibs: [
diff --git a/keystore2/aconfig/flags.aconfig b/keystore2/aconfig/flags.aconfig
index 04bbddc..eb636bb 100644
--- a/keystore2/aconfig/flags.aconfig
+++ b/keystore2/aconfig/flags.aconfig
@@ -5,4 +5,5 @@
   namespace: "hardware_backed_security"
   description: "This flag controls changing journalmode to wal"
   bug: "191777960"
+  is_fixed_read_only: true
 }