Skip to content

Commit 3c85cca

Browse files
committed
Bump 0.8.2
1 parent e783122 commit 3c85cca

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ script:
1919
- mvn -f java/pom.xml clean install
2020
before_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"
2525
deploy:
2626
overwrite: true

java/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
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"

java/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
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>

java/src/main/java/org/astonbitecode/rustkeylock/utils/Defs.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
package org.astonbitecode.rustkeylock.utils;
1717

1818
public 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";

rust/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rustkeylockandroid"
3-
version = "0.8.0"
3+
version = "0.8.2"
44
authors = ["aston <[email protected]>"]
55
edition = "2018"
66

@@ -9,7 +9,7 @@ name = "rustkeylockandroid"
99
crate-type = ["cdylib"]
1010

1111
[dependencies]
12-
rust_keylock = "0.8"
12+
rust_keylock = {git = "https://github.com/rust-keylock/rust-keylock-lib"}
1313
j4rs = "0.5"
1414
libc = "0.2"
1515
jni-sys = "0.3"

rust/src/android_editor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ pub fn new(jvm: Jvm,
5555
impl 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",

rust/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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")

0 commit comments

Comments
 (0)