Skip to content

Commit 15d35cc

Browse files
authored
v1.4.3
1 parent fd72d72 commit 15d35cc

File tree

11 files changed

+88
-20
lines changed

11 files changed

+88
-20
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ jobs:
4040
cp -f app/build/outputs/apk/debug/app-debug.apk ${{ env.repo }}-${{ env.version }}@${{ env.commit }}.apk
4141
cp -f app/build/outputs/bundle/debug/app-debug.aab ${{ env.repo }}-${{ env.version }}@${{ env.commit }}.aab
4242

43+
- name: Make App Bundle
44+
run: |
45+
#curl $(echo $(curl -s https://api.github.com/repos/google/bundletool/releases/latest) | jq -r ".assets | .[].browser_download_url") -4 -sL -o 'bundletool.jar'
46+
java -jar bundletool.jar build-apks --ks app/android.jks --ks-pass pass:android --ks-key-alias android --bundle ${{ env.repo }}-${{ env.version }}@${{ env.commit }}.aab --output ${{ env.repo }}-${{ env.version }}@${{ env.commit }}.apks
47+
4348
- name: Attest
4449
uses: actions/attest-build-provenance@v1
4550
with:

PRIVACY.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
# プライバシーポリシー
22

3-
<!--
4-
ChatGPT 3.5 より生成
5-
-->
6-
73
このアプリは利用者の個人情報を一切収集いたしません。プライバシーとデータの保護に関して取り決めが不要です。
84

95

@@ -19,4 +15,4 @@
1915
4. **セキュリティ**:
2016
利用者のプライバシーとセキュリティを重視し、当アプリは利用者データの収集や蓄積を行わないため、セキュリティ上の懸念は発生しません。
2117

22-
何かご不明点や質問がございましたら、[**Issues**](https://github.com/s1204IT/DchaServiceTester/issues)からお問い合わせください。
18+
何かご不明点や質問がございましたら、[**Issues**](https://github.com/s1204IT/DchaServiceTester/issues)からお問い合わせください。

app/build.gradle

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ android {
99
defaultConfig {
1010
minSdk = 22
1111
targetSdk = 35
12-
versionCode = 10
13-
versionName = "1.4.1"
12+
versionCode = 12
13+
versionName = "1.4.3"
1414
proguardFiles += 'proguard-rules.pro'
1515
multiDexEnabled = false
1616
}
@@ -34,6 +34,18 @@ android {
3434
}
3535
}
3636

37+
bundle {
38+
language {
39+
enableSplit = true
40+
}
41+
density {
42+
enableSplit = true
43+
}
44+
abi {
45+
enableSplit = true
46+
}
47+
}
48+
3749
compileOptions {
3850
sourceCompatibility JavaVersion.VERSION_21
3951
targetCompatibility JavaVersion.VERSION_21

app/src/main/AndroidManifest.xml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,27 @@
4949
</intent-filter>
5050
</activity>
5151

52+
<activity
53+
android:name=".About"
54+
android:exported="true"
55+
android:label="About DchaService"
56+
android:launchMode="singleInstance">
57+
<intent-filter>
58+
<action android:name="android.intent.action.VIEW" />
59+
</intent-filter>
60+
</activity>
61+
62+
<activity
63+
android:name=".AboutUtil"
64+
android:exported="true"
65+
android:icon="@mipmap/ic_launcher_util"
66+
android:label="About UtilService"
67+
android:launchMode="singleInstance">
68+
<intent-filter>
69+
<action android:name="android.intent.action.VIEW" />
70+
</intent-filter>
71+
</activity>
72+
5273
</application>
5374

5475
</manifest>
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package me.s1204.benesse.dcha.test;
2+
3+
import android.app.Activity;
4+
import android.os.Bundle;
5+
6+
public class About extends Activity {
7+
@Override
8+
public void onCreate(Bundle savedInstanceState) {
9+
super.onCreate(savedInstanceState);
10+
setContentView(R.layout.about_dcha);
11+
}
12+
@Override
13+
@Deprecated
14+
public void onBackPressed() {
15+
finish();
16+
}
17+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package me.s1204.benesse.dcha.test;
2+
3+
import android.app.Activity;
4+
import android.os.Bundle;
5+
6+
public class AboutUtil extends Activity {
7+
@Override
8+
public void onCreate(Bundle savedInstanceState) {
9+
super.onCreate(savedInstanceState);
10+
setContentView(R.layout.about_util);
11+
}
12+
@Override
13+
@Deprecated
14+
public void onBackPressed() {
15+
finish();
16+
}
17+
}

app/src/main/res/layout/about_dcha.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@
248248
android:layout_height="wrap_content"
249249
android:layout_marginTop="8dp"
250250
android:layout_marginBottom="8dp"
251-
android:text="ADB = USB デバッグを無効化します。\nSecure 変数テーブルの adb_enabled の値を 0 にします。"
251+
android:text="ADB = USB デバッグを無効化します。\nSecure ネームスペースの adb_enabled の値を 0 にします。"
252252
android:textColor="#000000"
253253
android:textSize="16sp" />
254254
</LinearLayout>
@@ -318,7 +318,7 @@
318318
android:layout_height="wrap_content"
319319
android:layout_marginTop="8dp"
320320
android:layout_marginBottom="8dp"
321-
android:text="DchaService の SharedPreference 内の DigichalizedStatus の値を返します。\n通常は System 変数テーブルの dcha_state の値と同じです。"
321+
android:text="DchaService の SharedPreference 内の DigichalizedStatus の値を返します。\n通常は System ネームスペースの dcha_state の値と同じです。"
322322
android:textColor="#000000"
323323
android:textSize="16sp" />
324324
</LinearLayout>
@@ -668,7 +668,7 @@
668668
android:layout_height="wrap_content"
669669
android:layout_marginTop="8dp"
670670
android:layout_marginBottom="8dp"
671-
android:text="DchaService の SharedPreference 内の DigichalizedStatus の値を設定します。\n同時に、System 変数テーブルの dcha_state の値も設定します。\n値の詳細は次の通りです:\n・0: DIGICHALIZE_STATUS_UNDIGICHALIZE:学習環境のセットアップが行われていない状態\n・1: DIGICHALIZE_STATUS_DIGICHARIZING:セットアップが開始された状態\n・2: DIGICHALIZE_STATUS_DIGICHARIZING_DL_COMPLETE:セットアップ中だが、学習環境に必要なアプリ等がダウンロードされた状態\n・3: DIGICHALIZE_STATUS_DIGICHALIZED:学習環境にセットアップされた状態"
671+
android:text="DchaService の SharedPreference 内の DigichalizedStatus の値を設定します。\n同時に、System ネームスペースの dcha_state の値も設定します。\n値の詳細は次の通りです:\n・0: DIGICHALIZE_STATUS_UNDIGICHALIZE:学習環境のセットアップが行われていない状態\n・1: DIGICHALIZE_STATUS_DIGICHARIZING:セットアップが開始された状態\n・2: DIGICHALIZE_STATUS_DIGICHARIZING_DL_COMPLETE:セットアップ中だが、学習環境に必要なアプリ等がダウンロードされた状態\n・3: DIGICHALIZE_STATUS_DIGICHALIZED:学習環境にセットアップされた状態"
672672
android:textColor="#000000"
673673
android:textSize="16sp" />
674674
</LinearLayout>
@@ -784,4 +784,4 @@
784784
android:background="@android:color/darker_gray" />
785785

786786
</LinearLayout>
787-
</ScrollView>
787+
</ScrollView>

app/src/main/res/layout/about_util.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
android:layout_height="wrap_content"
7474
android:layout_marginTop="8dp"
7575
android:layout_marginBottom="8dp"
76-
android:text="SDカード内でのファイルのコピーを行います。\n引数は両方ともフルパスです。\nコピー先のみディレクトリでも可能。\n内部ストレージには使用できません。\nファイルモードとしては、Readable, Writable, Executable を全て許可しているのですが、Android システムの制約上、Other の RW は昇格されません。"
76+
android:text="SDカード内でのファイルのコピーを行います。\nコピー先のみディレクトリでも可能。\n内部ストレージには使用できません。\nファイルモードとしては、Readable, Writable, Executable を全て許可しているのですが、Android システムの制約上、Other の RW は昇格されません。"
7777
android:textColor="#000000"
7878
android:textSize="16sp" />
7979
</LinearLayout>
@@ -108,7 +108,7 @@
108108
android:layout_height="wrap_content"
109109
android:layout_marginTop="8dp"
110110
android:layout_marginBottom="8dp"
111-
android:text="SDカード内でのディレクトリ直下のファイルのコピーを行います。\n引数は両方ともフルパスです。\n内部ストレージには使用できません。\nmakeTopDir を true にすると、フォルダごとコピーします。\nファイルモードとしては、Readable, Writable, Executable を全て許可しているのですが、Android システムの制約上、Other の RW は昇格されません。"
111+
android:text="SDカード内でのディレクトリ直下のファイルのコピーを行います。\n内部ストレージには使用できません。\nmakeTopDir を true にすると、フォルダごとコピーします。\nファイルモードとしては、Readable, Writable, Executable を全て許可しているのですが、Android システムの制約上、Other の RW は昇格されません。"
112112
android:textColor="#000000"
113113
android:textSize="16sp" />
114114
</LinearLayout>
@@ -143,7 +143,7 @@
143143
android:layout_height="wrap_content"
144144
android:layout_marginTop="8dp"
145145
android:layout_marginBottom="8dp"
146-
android:text="SDカード内でのファイルの削除ーを行います。\n引数はフルパスです。\nディレクトリでも可能。\n内部ストレージには使用できません。"
146+
android:text="SDカード内でのファイルの削除を行います。\nディレクトリでも可能。\n内部ストレージには使用できません。"
147147
android:textColor="#000000"
148148
android:textSize="16sp" />
149149
</LinearLayout>
@@ -178,7 +178,7 @@
178178
android:layout_height="wrap_content"
179179
android:layout_marginTop="8dp"
180180
android:layout_marginBottom="8dp"
181-
android:text="SDカード内でファイルが存在するかどうかの確認を行います。\n引数はフルパスです。\nディレクトリでも可能。\n内部ストレージには使用できません。"
181+
android:text="SDカード内でファイルが存在するかどうかの確認を行います。\nディレクトリでも可能。\n内部ストレージには使用できません。"
182182
android:textColor="#000000"
183183
android:textSize="16sp" />
184184
</LinearLayout>
@@ -493,7 +493,7 @@
493493
android:layout_height="wrap_content"
494494
android:layout_marginTop="8dp"
495495
android:layout_marginBottom="8dp"
496-
android:text="画面の解像度を強制的に設定します。\n ただし、bc:compatscreen で許可されている値しか設定できません:\n・[1920, 1200]: 0\n・[1024, 768]: 1\n・[1280, 800]: 2"
496+
android:text="画面の解像度を強制的に設定します。\nただし、bc:compatscreen で許可されている値しか設定できません:\n・[1920, 1200]: 0\n・[1024, 768]: 1\n・[1280, 800]: 2"
497497
android:textColor="#000000"
498498
android:textSize="16sp" />
499499
</LinearLayout>
@@ -504,4 +504,4 @@
504504
android:background="@android:color/darker_gray" />
505505

506506
</LinearLayout>
507-
</ScrollView>
507+
</ScrollView>

bundletool.jar

31 MB
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionSha256Sum=7a00d51fb93147819aab76024feece20b6b84e420694101f276be952e08bef03
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
3+
distributionSha256Sum=8d97a97984f6cbd2b85fe4c60a743440a347544bf18818048e611f5288d46c94
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12.1-bin.zip
55
networkTimeout=10000
66
validateDistributionUrl=true
77
zipStoreBase=GRADLE_USER_HOME

0 commit comments

Comments
 (0)