Skip to content

Commit

Permalink
Merge pull request #22 from ZoeMeow1027/draft - v2.0-draft15 (971)
Browse files Browse the repository at this point in the history
More information can be found in CHANGELOG.md file.
  • Loading branch information
ZoeMeow1027 authored Feb 19, 2024
2 parents b1791c7 + 07003b5 commit d4058f9
Show file tree
Hide file tree
Showing 42 changed files with 3,879 additions and 3,198 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@
- This will save changelog for application. Feel free to report issues, fork or contribute this project :))
- You can also view file changed at [https://github.com/ZoeMeow1027/DutSchedule/commits](https://github.com/ZoeMeow1027/DutSchedule/commits).

## Known issues:
- `Your current wallpaper` option in app background settings will be disabled on Android 14. You can check why in `Issue` tab in repository.

## 2.0-draft15 (971)
- Others:
- NewsBackgroundUpdateService will now start if phone is booted.
- Make a solution to fix issue #18.
- Move all views in all activities to `ui\view`.
- Merge OpenLink in `utils` into BaseActivity.

## 2.0-draft14 (954)
- NewsBackgroundUpdateService:
- Fixed a issue cause news subject parsed as news global.
Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ android {
applicationId "io.zoemeow.dutschedule"
minSdk 21
targetSdkVersion 34
versionCode 953
versionName "2.0-draft14"
versionCode 971
versionName "2.0-draft15"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
Expand Down
10 changes: 9 additions & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />

<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />

<application
android:name=".MainApplication"
android:allowBackup="false"
Expand Down Expand Up @@ -83,10 +85,16 @@
android:screenOrientation="portrait"
android:theme="@style/Theme.DutSchedule"
android:windowSoftInputMode="adjustResize" />
<receiver android:name=".receiver.BootCompletedReceiver"
android:exported="false">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>
<service
android:name=".service.NewsUpdateService"
android:enabled="true"
android:exported="true"
android:exported="false"
android:foregroundServiceType="shortService"
android:label="DutSchedule - News Update Service" />
</application>
Expand Down
Loading

0 comments on commit d4058f9

Please sign in to comment.