File tree Expand file tree Collapse file tree 7 files changed +9
-9
lines changed
src/main/java/org/astonbitecode/rustkeylock/utils Expand file tree Collapse file tree 7 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ script:
1919- mvn -f java/pom.xml clean install
2020before_deploy :
2121- jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore ks/rkl.jks -storepass
22- $storepass -keypass $keypass java/target/rust-keylock-android-0.8.0 -unsigned.apk rustkeylock
23- - " ${ANDROID_HOME}/build-tools/26.0.2/zipalign -v 4 java/target/rust-keylock-android-0.8.0 -unsigned.apk
22+ $storepass -keypass $keypass java/target/rust-keylock-android-0.8.2 -unsigned.apk rustkeylock
23+ - " ${ANDROID_HOME}/build-tools/26.0.2/zipalign -v 4 java/target/rust-keylock-android-0.8.2 -unsigned.apk
2424 java/target/rust-keylock-android.apk"
2525deploy :
2626 overwrite : true
Original file line number Diff line number Diff line change 22<manifest xmlns : android =" http://schemas.android.com/apk/res/android"
33 package =" org.astonbitecode.rustkeylock"
44 android : versionCode =" 1"
5- android : versionName =" 0.8.0 " >
5+ android : versionName =" 0.8.2 " >
66
77 <uses-sdk
88 android : minSdkVersion =" 16"
Original file line number Diff line number Diff line change 44
55 <groupId >org.astonbitecode.rustkeylock</groupId >
66 <artifactId >rust-keylock-android</artifactId >
7- <version >0.8.0 </version >
7+ <version >0.8.2 </version >
88 <packaging >apk</packaging >
99
1010 <name >rust-keylock-android</name >
Original file line number Diff line number Diff line change 1616package org .astonbitecode .rustkeylock .utils ;
1717
1818public class Defs {
19- public static final String MENU_TRY_PASS = "TryPass" ;
19+ public static final String MENU_TRY_PASS = "TryPass(false) " ;
2020 public static final String MENU_CHANGE_PASS = "ChangePass" ;
2121 public static final String MENU_MAIN = "Main" ;
2222 public static final String MENU_ENTRIES_LIST = "EntriesList" ;
Original file line number Diff line number Diff line change 11[package ]
22name = " rustkeylockandroid"
3- version = " 0.8.0 "
3+ version = " 0.8.2 "
44authors = [" aston <astonbitecode@gmail.com>" ]
55edition = " 2018"
66
@@ -9,7 +9,7 @@ name = "rustkeylockandroid"
99crate-type = [" cdylib" ]
1010
1111[dependencies ]
12- rust_keylock = " 0.8 "
12+ rust_keylock = { git = " https://github.com/rust-keylock/rust-keylock-lib " }
1313j4rs = " 0.5"
1414libc = " 0.2"
1515jni-sys = " 0.3"
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ pub fn new(jvm: Jvm,
5555impl AsyncEditor for AndroidImpl {
5656 fn show_password_enter ( & self ) -> Receiver < UserSelection > {
5757 debug ! ( "Opening the password fragment" ) ;
58- let try_pass_menu_name = Menu :: TryPass . get_name ( ) ;
58+ let try_pass_menu_name = Menu :: TryPass ( false ) . get_name ( ) ;
5959 let instance_receiver = self . jvm . invoke_to_channel (
6060 & self . show_menu_cb ,
6161 "apply" ,
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ pub extern fn Java_org_astonbitecode_rustkeylock_api_InterfaceWithRust_execute(
7575 show_message_cb,
7676 edit_configuration_cb) ;
7777 debug ! ( "Executing native rust_keylock!" ) ;
78- rust_keylock:: execute_async ( & editor)
78+ rust_keylock:: execute_async ( Box :: new ( editor) )
7979 }
8080 ( _, _, _, _, _) => {
8181 error ! ( "Could not instantiate the Java World callbacks" )
You can’t perform that action at this time.
0 commit comments