File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ SQLCipher for Android may also integrate with the Room API via the `SupportOpenH
7171System . loadLibrary(" sqlcipher" );
7272String password = " Password1!" ;
7373File databaseFile = context. getDatabasePath(" demo.db" );
74- SupportOpenHelperFactory factory = new SupportOpenHelperFactory (" password.getBytes(StandardCharsets.UTF_8));
74+ SupportOpenHelperFactory factory = new SupportOpenHelperFactory (password. getBytes(StandardCharsets . UTF_8 ));
7575db = Room . databaseBuilder(context, AppDatabase . class, databaseFile. getAbsolutePath())
7676 .openHelperFactory(factory). build();
7777```
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ SQLCipher for Android may also integrate with the Room API via the `SupportOpenH
7171System.loadLibrary("sqlcipher");
7272String password = "Password1!";
7373File databaseFile = context.getDatabasePath("demo.db");
74- SupportOpenHelperFactory factory = new SupportOpenHelperFactory(" password.getBytes(StandardCharsets.UTF_8));
74+ SupportOpenHelperFactory factory = new SupportOpenHelperFactory(password.getBytes(StandardCharsets.UTF_8));
7575db = Room.databaseBuilder(context, AppDatabase.class, databaseFile.getAbsolutePath())
7676 .openHelperFactory(factory).build();
7777```
You can’t perform that action at this time.
0 commit comments