Skip to content

Commit

Permalink
Release 3.9.2
Browse files Browse the repository at this point in the history
Changes:
• Dependencies & Subs Updates
• New theme changer
• Translation Updates
  • Loading branch information
AkosPaha01 authored Feb 1, 2024
2 parents 5dbbfcf + 06012f5 commit 939c6ec
Show file tree
Hide file tree
Showing 39 changed files with 729 additions and 235 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/buildCi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,20 @@ jobs:

- uses: nttld/setup-ndk@v1
with:
ndk-version: r26
ndk-version: r26b

- name: Get Commit Message
id: commitMessage
run: IN="${{ github.event.head_commit.message }}" && echo "message=${IN%%$'\n'*}" >> $GITHUB_OUTPUT

- name: Setup JDK
uses: actions/setup-java@v3.13.0
uses: actions/setup-java@v4.0.0
with:
java-version: 20
distribution: temurin

- name: Cache Gradle dependencies
uses: actions/cache@v3.3.2
uses: actions/cache@v4.0.0
with:
path: |
~/.gradle/caches
Expand All @@ -45,7 +45,7 @@ jobs:
restore-keys: ${{ runner.os }}-gradle-

- name: Cache build cache
uses: actions/cache@v3.3.2
uses: actions/cache@v4.0.0
with:
path: |
${{ github.workspace }}/.ccache
Expand All @@ -66,7 +66,7 @@ jobs:

- name: Build apk
id: buildAllApks
uses: gradle/gradle-build-action@v2.9.0
uses: gradle/gradle-build-action@v3.0.0
with:
gradle-version: wrapper
arguments: assembleDebug
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
run: mv app/build/outputs/apk/debug/app-debug-signed.apk app/build/outputs/apk/debug/app-debug.apk

- name: Upload Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.3.0
with:
name: Debug Artifact
path: app/build/outputs/apk/debug/app-debug.apk
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/buildPro.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ jobs:
run: IN="${{ github.event.head_commit.message }}" && echo "::set-output name=message::${IN%%$'\n'*}"

- name: Setup JDK
uses: actions/setup-java@v3.13.0
uses: actions/setup-java@v4.0.0
with:
java-version: 20
distribution: temurin

- name: Cache Gradle dependencies
uses: actions/cache@v3.3.2
uses: actions/cache@v4.0.0
with:
path: |
~/.gradle/caches
Expand All @@ -34,7 +34,7 @@ jobs:
restore-keys: ${{ runner.os }}-gradle-

- name: Cache build cache
uses: actions/cache@v3.3.2
uses: actions/cache@v4.0.0
with:
path: |
${{ github.workspace }}/.ccache
Expand All @@ -47,7 +47,7 @@ jobs:

- name: Build apk
id: buildAllApks
uses: gradle/gradle-build-action@v2.9.0
uses: gradle/gradle-build-action@v3.0.0
with:
gradle-version: wrapper
arguments: assemblePro
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
run: mv app/build/outputs/apk/pro/app-pro-unsigned-signed.apk app/build/outputs/apk/pro/app-pro.apk

- name: Upload Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.3.0
with:
name: Release Artifact
path: app/build/outputs/apk/pro/app-pro.apk
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/buildRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ jobs:

- uses: nttld/setup-ndk@v1
with:
ndk-version: r26
ndk-version: r26b

- name: Get Commit Message
id: commitMessage
run: IN="${{ github.event.head_commit.message }}" && echo "::set-output name=message::${IN%%$'\n'*}"

- name: Setup JDK
uses: actions/setup-java@v3.13.0
uses: actions/setup-java@v4.0.0
with:
java-version: 20
distribution: temurin
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:

- name: Build apk
id: buildAllApks
uses: gradle/gradle-build-action@v2.9.0
uses: gradle/gradle-build-action@v3.0.0
with:
gradle-version: wrapper
arguments: assembleRelease
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
run: mv app/build/outputs/apk/release/app-release-unsigned-signed.apk app/build/outputs/apk/release/app-release.apk

- name: Upload Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.3.0
with:
name: Release Artifact
path: app/build/outputs/apk/release/app-release.apk
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
app/build/outputs/apk/release/output-metadata.json
- name: Dispatch Fdroid Repo
uses: peter-evans/repository-dispatch@v1
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.DISPATCH_GITHUB_TOKEN }}
repository: GboardThemes/Fdroid
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/deployToGoogle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@ jobs:

- uses: nttld/setup-ndk@v1
with:
ndk-version: r26
ndk-version: r26b

- name: Setup JDK
uses: actions/setup-java@v3.13.0
uses: actions/setup-java@v4.0.0
with:
java-version: 20
distribution: temurin

- name: Cache Gradle dependencies
uses: actions/cache@v3.3.2
uses: actions/cache@v4.0.0
with:
path: |
~/.gradle/caches
Expand All @@ -44,7 +44,7 @@ jobs:
restore-keys: ${{ runner.os }}-gradle-

- name: Cache build cache
uses: actions/cache@v3.3.2
uses: actions/cache@v4.0.0
with:
path: |
${{ github.workspace }}/.ccache
Expand All @@ -60,7 +60,7 @@ jobs:

- name: Build Bundle
id: buildBundle
uses: gradle/gradle-build-action@v2.9.0
uses: gradle/gradle-build-action@v3.0.0
with:
gradle-version: wrapper
arguments: bundleRelease
Expand All @@ -78,7 +78,7 @@ jobs:
BUILD_TOOLS_VERSION: 33.0.0

- name: Upload Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.3.0
with:
name: Artifact
path: app/build/outputs/bundle/release/app-release.aab
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pullRequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:

- uses: nttld/setup-ndk@v1
with:
ndk-version: r26
ndk-version: r26b

- name: Setup JDK
uses: actions/setup-java@v3.13.0
uses: actions/setup-java@v4.0.0
with:
java-version: 20
distribution: temurin
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:

- name: Build apk
id: buildAllApks
uses: gradle/gradle-build-action@v2.9.0
uses: gradle/gradle-build-action@v3.0.0
with:
gradle-version: wrapper
arguments: assembleDebug
Expand All @@ -73,13 +73,13 @@ jobs:
echo "::set-output name=json::$content"
- name: Upload Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.3.0
with:
name: Debug Artifact
path: app/build/outputs/apk/debug/app-debug.apk

- name: Check if release already exists
uses: mukunku/tag-exists-action@v1.4.0
uses: mukunku/tag-exists-action@v1.5.0
id: checkTag
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
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.

10 changes: 10 additions & 0 deletions .idea/deploymentTargetSelector.xml

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

15 changes: 15 additions & 0 deletions .idea/git_toolbox_prj.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/kotlinc.xml

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

3 changes: 2 additions & 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.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@ android {
applicationId = "de.dertyp7214.rboardthememanager"
minSdk = 31
targetSdk = 34
versionCode = 390000
versionName = "3.9.0"
versionCode = 392000
versionName = "3.9.2"

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"

resourceConfigurations += listOf(
"af", "cs", "da", "de",
"ar", "cs", "da", "de",
"el", "en", "es", "fi",
"fr", "hi", "hu", "id",
"it", "ja", "nl", "no",
"pl", "pt", "ro", "ru",
"pl", "pt-rBR", "ro", "ru",
"sv", "uk", "vi",
"zh-rCN", "zh-rTW"
)
Expand Down Expand Up @@ -114,6 +114,7 @@ dependencies {
implementation(libs.prDownloader)
implementation(libs.balloon)
implementation(libs.appcompat)
implementation(libs.dots.indicator)

testImplementation(libs.junit)
androidTestImplementation(libs.androidx.junit)
Expand Down
13 changes: 7 additions & 6 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xmlns:tools="http://schemas.android.com/tools">

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" />
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
Expand All @@ -20,6 +20,9 @@
android:theme="@style/Theme.RboardThemeManagerV3"
tools:ignore="AllowBackup"
tools:targetApi="tiramisu">
<activity
android:name=".screens.ThemeChangerActivity"
android:exported="false" />
<activity
android:name=".screens.Logs"
android:exported="false">
Expand Down Expand Up @@ -143,9 +146,9 @@

<data android:scheme="rboard" />
<data android:scheme="http" />
<data android:scheme="https"/>
<data android:host="repos.rboard.dertyp7214.de"/>
<data android:pathPrefix="/"/>
<data android:scheme="https" />
<data android:host="repos.rboard.dertyp7214.de" />
<data android:pathPrefix="/" />
</intent-filter>
</activity>
<activity
Expand All @@ -169,7 +172,6 @@
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>

<service
android:name=".services.AppThemeService"
android:enabled="true"
Expand All @@ -180,7 +182,6 @@
<action android:name="de.dertyp7214.rboard.IAppTheme" />
</intent-filter>
</service>

<service
android:name=".services.RboardService"
android:enabled="true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ package de.dertyp7214.rboardthememanager.components
import android.content.Context
import androidx.recyclerview.widget.GridLayoutManager

class LayoutManager(context: Context, spanCount: Int = 1): GridLayoutManager(context, spanCount) {
class LayoutManager(context: Context, spanCount: Int = 1) : GridLayoutManager(context, spanCount) {
override fun supportsPredictiveItemAnimations(): Boolean = true
}

class HorizontalLayoutManager(context: Context, spanCount: Int = 1) :
GridLayoutManager(context, spanCount, HORIZONTAL, false) {
override fun supportsPredictiveItemAnimations(): Boolean = true
}
Loading

0 comments on commit 939c6ec

Please sign in to comment.