Skip to content

Commit

Permalink
AudioHeadQuarter: Android 14 support
Browse files Browse the repository at this point in the history
Signed-off-by: Alcatraz323 <[email protected]>
  • Loading branch information
Alcatraz323 committed Oct 18, 2023
1 parent 6d7a935 commit 8446f4b
Show file tree
Hide file tree
Showing 14 changed files with 25 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ android {
applicationId "io.alcatraz.audiohq"
minSdkVersion 26
targetSdkVersion 31
versionCode 30
versionName "0.8_2022_09_16_stable_8_a13"
versionCode 31
versionName "0.8_2023_10_18_stable_8_a14"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand All @@ -25,18 +25,19 @@ android {
abortOnError false
}
}
namespace 'io.alcatraz.audiohq'
}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.4.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
implementation 'androidx.preference:preference:1.2.0'
implementation 'androidx.fragment:fragment:1.4.0'
implementation 'androidx.fragment:fragment:1.4.1'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'com.google.android.material:material:1.6.0-alpha02'
implementation 'com.google.android.material:material:1.6.0'
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
}
Binary file modified app/release/app-release.apk
Binary file not shown.
4 changes: 2 additions & 2 deletions app/release/output-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"type": "SINGLE",
"filters": [],
"attributes": [],
"versionCode": 30,
"versionName": "0.8_2022_09_16_stable_8_a13",
"versionCode": 31,
"versionName": "0.8_2023_10_18_stable_8_a14",
"outputFile": "app-release.apk"
}
],
Expand Down
3 changes: 1 addition & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="io.alcatraz.audiohq">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/io/alcatraz/audiohq/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

public class Constants {
public static String[] SUPPORT_ABIS = {"armeabi", "armeabi-v7a", "arm64-v8a"};
public static int[] SUPPORT_APIS = {26, 27, 28, 29, 30, 31, 32, 33}; //Android 8.0 - Android 12L
public static int[] SUPPORT_APIS = {26, 27, 28, 29, 30, 31, 32, 33, 34}; //Android 8.0 - Android 12L
public static String MATCHED_MODULE_VERSION = "0.91";
public static boolean ANNIVERSARY_1ST = true;
public static boolean ANNIVERSARY_2ND = false;
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/values-ja/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<resources>
<!-- 更新修改部分 -->
<string name="support_lib_version">&current_match_version;</string>
<string name="update_date">20220916</string>
<string name="update_title">20220916 stable_8_a13</string>
<string name="update_date">20231018</string>
<string name="update_title">20231018 stable_8_a14</string>
<string name="update_info">
1.Android 13をサポート\n
2.よくある質問にお答えします\n
Expand Down
6 changes: 3 additions & 3 deletions app/src/main/res/values-zh-rCN/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
<resources>
<!-- 更新修改部分 -->
<string name="support_lib_version">&current_match_version;</string>
<string name="update_date">20220916</string>
<string name="update_title">20220916 stable_8_a13</string>
<string name="update_date">20231018</string>
<string name="update_title">20231018 stable_8_a14</string>
<string name="update_info">
1.支持Android 13\n
1.支持Android 14\n
2.回答几个常见问题\n
a.软件是否需要后台\n
只有悬浮窗功能需要保留apk 后台,底层服务不需要apk后台\n
Expand Down
6 changes: 3 additions & 3 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
<string name="support_lib_version">&current_match_version;</string>
<string name="setup_module_download_url_github" translatable="false">https://github.com/Alcatraz323/audiohq_module/releases</string>
<string name="setup_module_download_url_fastgit" translatable="false">https://hub.fastgit.org/Alcatraz323/audiohq_module/releases</string>
<string name="update_date">20220916</string>
<string name="update_title">20220916 stable_8_a13</string>
<string name="update_date">20231018</string>
<string name="update_title">20231018 stable_8_a14</string>
<string name="update_info">
1.Android 13 support\n
1.Android 14 support\n
</string>

<!-- Common -->
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.0.4'
classpath 'com.android.tools.build:gradle:8.0.2'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
3 changes: 3 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@ org.gradle.jvmargs=-Xmx1536m
android.useAndroidX=true
# Automatically convert third-party libraries to use AndroidX
android.enableJetifier=true
android.defaults.buildfeatures.buildconfig=true
android.nonTransitiveRClass=false
android.nonFinalResIds=false

2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-all.zip

0 comments on commit 8446f4b

Please sign in to comment.