Skip to content

Commit

Permalink
Backup_senser_cmd_ID1: Disable error check for now #6
Browse files Browse the repository at this point in the history
  • Loading branch information
ma1co committed Apr 25, 2016
1 parent 88dce1b commit 983cf0d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/main/jni/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ void Java_com_github_ma1co_openmemories_tweak_Backup_nativeProtect(JNIEnv *env,
void Java_com_github_ma1co_openmemories_tweak_Backup_nativeSetId1(JNIEnv *env, jclass clazz, jint value)
{
int32_t err = Backup_senser_cmd_ID1(value);
// Disable the error check for now, this fails on android 4 since we can't write /setting/Backup.bin
if (err)
throw_exception(env, "Backup_senser_cmd_ID1 failed");
{}// throw_exception(env, "Backup_senser_cmd_ID1 failed");
}

0 comments on commit 983cf0d

Please sign in to comment.