Skip to content

Commit

Permalink
v3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
s1204IT authored Jan 5, 2025
1 parent 79c4581 commit 43e8287
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ android {
minSdk = 24
//noinspection ExpiredTargetSdkVersion
targetSdk = 22
versionCode = 6
versionName = "3.0"
versionCode = 7
versionName = "3.0.1"
proguardFiles += 'proguard-rules.pro'
multiDexEnabled = false
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<uses-permission android:name="jp.co.benesse.dcha.permission.ACCESS_SYSTEM" />

<application
android:icon="@android:mipmap/sym_def_app_icon"
android:icon="@android:drawable/ic_lock_lock"
android:label="EasyBLU"
android:theme="@android:style/Theme.Black.NoTitleBar">

Expand Down
7 changes: 4 additions & 3 deletions app/src/main/java/com/saradabar/easyblu/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,10 @@ public void onServiceConnected(ComponentName componentName, IBinder iBinder) {
IDchaService mDchaService = IDchaService.Stub.asInterface(iBinder);
MainActivity.this.notify(src + " を " + dst + " にコピーしています。");
try {
mDchaService.copyUpdateImage(src, DCHA_SYSTEM_COPY + dst);
if (mDchaService.copyUpdateImage(src, DCHA_SYSTEM_COPY + dst)) {
MainActivity.this.notify(src + " を削除しています。");
new File(src).delete();
}
} catch (Exception e) {
error(e);
}
Expand All @@ -329,8 +332,6 @@ private void overwriteFrp() {
copyAssets(FRP);
try {
copyFile(FRP_COPY, FRP_BLOCK); // 修正済み FRP を適用
notify(FRP_COPY + " を削除しています。");
new File(FRP_COPY).delete();
} catch (Exception e) {
error(e);
}
Expand Down

0 comments on commit 43e8287

Please sign in to comment.