Skip to content

Commit ec970ff

Browse files
author
code3-dev
committed
Fix Video Player
1 parent 6db96e3 commit ec970ff

10 files changed

Lines changed: 287 additions & 71 deletions

File tree

.github/workflows/build-appshare.yml

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@ jobs:
2727
- name: Setup Android SDK
2828
uses: android-actions/setup-android@v3
2929

30+
- name: Validate Gradle Wrapper
31+
uses: gradle/wrapper-validation-action@v1
32+
33+
- name: Setup Gradle
34+
uses: gradle/gradle-build-action@v2
35+
with:
36+
gradle-version: wrapper
37+
3038
- name: Decode Keystore
3139
run: |
3240
echo "${{ secrets.KEY_STORE }}" | base64 --decode > app/keystore.jks
@@ -49,6 +57,8 @@ jobs:
4957
run: |
5058
mkdir -p release
5159
cp app/build/outputs/apk/release/app-universal-release.apk release/CCloud-universal.apk
60+
cp app/build/outputs/apk/release/app-arm64-v8a-release.apk release/CCloud-arm64-v8a.apk
61+
cp app/build/outputs/apk/release/app-armeabi-v7a-release.apk release/CCloud-armeabi-v7a.apk
5262
5363
- name: Get tag name
5464
id: get_tag
@@ -71,13 +81,26 @@ jobs:
7181
prerelease: false
7282
files: |
7383
release/CCloud-universal.apk
84+
release/CCloud-arm64-v8a.apk
85+
release/CCloud-armeabi-v7a.apk
7486
body: |
7587
## CCloud Release ${{ env.TAG_NAME }}
7688
77-
### Download
78-
[CCloud APK](https://github.com/${{ github.repository }}/releases/download/${{ env.TAG_NAME }}/CCloud-universal.apk)
89+
### What's New
90+
- Modernized UI with enhanced user experience
91+
- Improved performance and stability
92+
- New features and bug fixes
93+
94+
### Download Options
95+
- [Universal APK (all architectures)](https://github.com/${{ github.repository }}/releases/download/${{ env.TAG_NAME }}/CCloud-universal.apk) - Larger file size, compatible with all devices
96+
- [ARM64-v8a APK](https://github.com/${{ github.repository }}/releases/download/${{ env.TAG_NAME }}/CCloud-arm64-v8a.apk) - Optimized for 64-bit ARM devices
97+
- [ARMv7a APK](https://github.com/${{ github.repository }}/releases/download/${{ env.TAG_NAME }}/CCloud-armeabi-v7a.apk) - Optimized for 32-bit ARM devices
7998
8099
### Installation
81-
1. Download the APK file
100+
1. Download the appropriate APK file for your device
82101
2. Enable "Install from unknown sources" in your device settings
83-
3. Open and install the APK
102+
3. Open and install the APK
103+
4. Launch CCloud and enjoy your movies!
104+
105+
### Changelog
106+
For a detailed changelog, please check the [commit history](https://github.com/${{ github.repository }}/commits/${{ env.TAG_NAME }}).

.idea/gradle.xml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/Project_Default.xml

Lines changed: 50 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ android {
1616
applicationId = "com.pira.ccloud"
1717
minSdk = 24
1818
targetSdk = 36
19-
versionCode = 1
20-
versionName = "1.0.0"
19+
versionCode = 2
20+
versionName = "1.0.1"
2121

2222
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
2323
}

app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
android:icon="@mipmap/ic_launcher"
1414
android:label="@string/app_name"
1515
android:roundIcon="@mipmap/ic_launcher_round"
16-
android:supportsRtl="true"
16+
android:supportsRtl="false"
1717
android:theme="@style/Theme.CCloud"
1818
android:usesCleartextTraffic="true"
1919
tools:targetApi="31">
@@ -34,7 +34,7 @@
3434
<activity
3535
android:name=".VideoPlayerActivity"
3636
android:exported="false"
37-
android:theme="@style/Theme.CCloud"
37+
android:theme="@style/Theme.CCloud.FullScreen"
3838
android:configChanges="orientation|screenSize|keyboardHidden"
3939
android:screenOrientation="landscape" />
4040
</application>

app/src/main/java/com/pira/ccloud/MainActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ fun MainScreen(onThemeSettingsChanged: (ThemeSettings) -> Unit = {}) {
127127
containerColor = androidx.compose.material3.MaterialTheme.colorScheme.surface,
128128
titleContentColor = androidx.compose.material3.MaterialTheme.colorScheme.primary,
129129
),
130-
modifier = Modifier.height(48.dp) // Reduced height for less spacing
130+
modifier = Modifier.height(38.dp) // Reduced height for less spacing
131131
)
132132
}
133133
}

0 commit comments

Comments
 (0)