Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
217 commits
Select commit Hold shift + click to select a range
380d013
GameSpace: Remove unnecessary assert
neobuddy89 May 16, 2022
e6d2d32
GameSpace: Clean up strings for translations
neobuddy89 May 16, 2022
2c417ed
GameSpace: Do not hardcode font to sans-serif
neobuddy89 May 16, 2022
8bf3a49
GameSpace: Improve panel view
neobuddy89 May 16, 2022
63e816e
GameSpace: Add setting helper preferences
neobuddy89 May 16, 2022
c146375
GameSpace: Do not hardcode in-game pref category title
neobuddy89 May 16, 2022
794cc35
GameSpace: Add option to customize overlay opacity
neobuddy89 May 16, 2022
d9a6675
GameSpace: Use settings helper for suppress fullscreen intent
neobuddy89 May 16, 2022
b89d9dc
GameSpace: Add toggle to turn off adb debugging
neobuddy89 May 16, 2022
a6a8a59
Update Crowdin configuration file
gwolf2u May 18, 2022
4bed2a8
New Crowdin updates (#1)
gwolf2u May 19, 2022
d1bd86b
New Crowdin updates (#2)
gwolf2u May 23, 2022
696fe0d
New translations (#3)
gwolf2u May 29, 2022
078a978
GameSpace: Clean up strings
neobuddy89 May 31, 2022
86b397c
GameSpace: Rearrange preferences
neobuddy89 May 31, 2022
4be3ccc
GameSpace: Add lock gesture tile
neobuddy89 May 31, 2022
38fe62c
New Crowdin updates (#4)
gwolf2u Jun 4, 2022
871d4cd
New Crowdin updates (#5)
gwolf2u Jun 5, 2022
4851714
GameSpace: Add time/date in panel view
neobuddy89 Jun 5, 2022
7f37279
GameSpace: Fix per game configure icon on light theme
neobuddy89 Jun 5, 2022
ad924d5
New Crowdin updates (#6)
gwolf2u Jun 6, 2022
7f30630
GameSpace: Set default panel view opacity to 100%
neobuddy89 Jun 6, 2022
161799a
GameSpace: Redesign layout with time/date views
neobuddy89 Jun 6, 2022
ccc0395
GameSpace: Add battery remaining text
neobuddy89 Jun 6, 2022
cdd2406
GameSpace: Redesign overlay with battery text and time views
neobuddy89 Jun 7, 2022
5b8e1f3
GameSpace: Add memory info in game overlay
neobuddy89 Jun 10, 2022
1827689
New Crowdin updates (#8)
gwolf2u Jun 13, 2022
b22c6ee
GameSpace: Add tiles layour for portrait mode
neobuddy89 Jun 14, 2022
7e6e3ad
New Crowdin updates (#9)
gwolf2u Jun 20, 2022
ac39a41
New translations (#10)
gwolf2u Jun 22, 2022
4ec4b86
GameSpace: Improve strings
neobuddy89 Jun 24, 2022
521fcf1
New Crowdin updates (#11)
gwolf2u Jun 26, 2022
c7c4ccc
New Crowdin updates (#12)
gwolf2u Jun 27, 2022
233f3cf
New Crowdin updates (#13)
gwolf2u Jul 6, 2022
2a2c4bb
New Crowdin updates (#14)
gwolf2u Jul 14, 2022
559907a
GameSpace: Add do not change option to ringer mode
cjh1249131356 Jun 2, 2022
9afc445
GameSpace: Fix default ringer mode value
neobuddy89 Jul 17, 2022
ed80343
GameSpace: Fix panel view not losing focus when touching outside
cjh1249131356 Jun 4, 2022
564bc4b
GameSpace: Expose icon in launcher
cjh1249131356 Jul 7, 2022
2764f18
GameSpace: Drop disable heads up option
cjh1249131356 Jun 2, 2022
6a6d4b9
GameSpace: Adjust views to avoid overlap
neobuddy89 Jul 17, 2022
896f675
GameSpace: Rearrange strings
neobuddy89 Jul 17, 2022
9d452ca
GameSpace: Let's take advantage of reTicker
cjh1249131356 Jun 9, 2022
700b54c
GameSpace: Port in-game danmaku feature
cjybyjk Jun 21, 2022
543a489
GameSpace: Properly filter duplicated notification
cjh1249131356 Jun 21, 2022
44a2269
GameSpace: Remove unimplemented method from Danmaku service
neobuddy89 Jul 17, 2022
03d7aaa
GameSpace: Re-sort ringer mode
neobuddy89 Jul 17, 2022
b005836
GameSpace: Change tile enabled/disabled case for consistency
neobuddy89 Jul 17, 2022
029c8ed
New Crowdin updates (#15)
gwolf2u Jul 19, 2022
94ef747
New Crowdin updates (#16)
gwolf2u Jul 23, 2022
9c144f6
GameSpace: Fix inconsistencies for multi-user usage
neobuddy89 Jul 24, 2022
05387a2
New Crowdin updates (#17)
gwolf2u Aug 4, 2022
4146765
GameSpace: Fix crash when "Device & app notifications" access is allowed
timjosten Aug 2, 2022
02fd489
New Crowdin updates (#18)
gwolf2u Aug 9, 2022
3563974
New Crowdin updates (#20)
gwolf2u Aug 13, 2022
319b676
New Crowdin updates (#21)
gwolf2u Aug 21, 2022
32f26e9
New Crowdin updates (#22)
gwolf2u Aug 25, 2022
7bfc574
New Crowdin updates (#23)
gwolf2u Aug 31, 2022
66a9646
New translations (#24)
gwolf2u Sep 10, 2022
88132e0
New translations (#25)
gwolf2u Sep 15, 2022
10725bc
New Crowdin updates (#26)
gwolf2u Sep 22, 2022
fd2d345
New translations (#27)
gwolf2u Oct 8, 2022
8323e75
GameSpace: migrate to the new and shiny registerTaskFpsCallback()
nullxception Aug 28, 2022
b11b56e
GameSpace: add proper permission to the receiver
nullxception Aug 28, 2022
f1f29d7
GameSpace: update links to 13/gamespace branches
nullxception Aug 28, 2022
8e02cce
GameSpace: Whitelist android.permission.MANAGE_GAME_MODE
Genkzsz11 Aug 29, 2022
3701f96
GameSpace: Update for preferences
neobuddy89 Oct 12, 2022
04d764e
New translations (#28)
gwolf2u Oct 30, 2022
b442cde
GameSpace: Update takeScreenshot API in ScreenUtils
neobuddy89 Dec 11, 2022
7aa9333
New Crowdin updates (#30)
gwolf2u Dec 17, 2022
8848891
New translations (#31)
gwolf2u Dec 25, 2022
0b8340e
New translations (#32)
gwolf2u Jan 8, 2023
5ae0f12
New Crowdin updates (#33)
gwolf2u Jan 21, 2023
33ba47d
GameSpace: Remove dim layer from the panel view
minaripenguin Nov 23, 2022
c972b96
fixup! GameSpace: Update takeScreenshot API in ScreenUtils
iKeramat Jan 23, 2023
6f1cc82
GameSpace: Long click Settings icon to open Settings Dashboard
cjh1249131356 Jun 2, 2022
7c10a18
GameSpace: Port auto answer/reject calls feature
cjybyjk Jun 9, 2022
7f50b30
GameSpace: Notify in-coming call number when receiving/rejecting call
cjh1249131356 Jun 20, 2022
6089481
New Crowdin updates (#34)
gwolf2u Feb 19, 2023
f191e92
New Crowdin updates (#35)
gwolf2u Feb 23, 2023
94207ee
New Crowdin updates (#36)
gwolf2u Mar 3, 2023
9072b03
New Crowdin updates (#37)
gwolf2u Mar 5, 2023
73d0fb3
New translations (#39)
gwolf2u Mar 9, 2023
211cc39
New Crowdin updates (#40)
gwolf2u Apr 5, 2023
e4dc0fb
GameSpace: use relative-location on landscape as well
nullxception Mar 2, 2023
2652e66
GameSpace: trim expand button width
nullxception Mar 2, 2023
c5cb469
GameSpace: update gradle config and dependencies
nullxception Mar 4, 2023
f2ac1a4
GameSpace: update deprecated API usages
nullxception Mar 4, 2023
b73b5c1
GameSpace: Fix layout jumps after dragging the bar
nullxception Mar 3, 2023
0e4b0a8
GameSpace: remove duplicate drawables
nullxception Mar 4, 2023
7acabe9
GameSpace: Switch Xuse-experimental flags into opt-in
MocaRafee Mar 17, 2023
7620456
GameSpace: safely update rootBarView's LayoutParam
nullxception Apr 6, 2023
626074c
New Crowdin updates (#43)
gwolf2u Apr 10, 2023
d669b77
New Crowdin updates (#44)
gwolf2u May 13, 2023
47e4317
New Crowdin updates (#45)
gwolf2u May 24, 2023
aaada76
New Crowdin updates (#46)
gwolf2u Jun 1, 2023
9f41658
New translations (#47)
gwolf2u Jun 15, 2023
6fef568
Revert "GameSpace: Remove unimplemented method from Danmaku service"
neobuddy89 Apr 19, 2023
2b14818
New translations (#48)
gwolf2u Jul 4, 2023
5bed258
New Crowdin updates (#50)
gwolf2u Jul 21, 2023
853b0f3
GameSpace: Add missing permission usage for Danmaku service
minaripenguin Aug 20, 2023
411f9f3
GameSpace: Import new game illustration from motorola
minaripenguin May 29, 2023
f708e21
GameSpace: Fix notification listener service
minaripenguin Aug 20, 2023
93b399e
Gamespace: Cleanup notification modes
minaripenguin Aug 22, 2023
37d8868
New Crowdin updates (#52)
gwolf2u Oct 8, 2023
3714251
New Crowdin updates (#53)
gwolf2u Oct 20, 2023
618a946
GameSpace: Replace gson-prebuilt-jar to gson
someone5678 Oct 6, 2023
947b4d7
Remove unimplemented notification function
neobuddy89 Oct 29, 2023
00fcbde
New Crowdin updates (#56)
gwolf2u Nov 25, 2023
f572423
New translations (#60)
gwolf2u Dec 1, 2023
7fa19cb
GameSpace: Fix NPE in PanelView
neobuddy89 Dec 2, 2023
33242de
New Crowdin updates (#61)
gwolf2u Dec 10, 2023
fe8c8ea
New translations (#63)
gwolf2u Dec 20, 2023
2da26a5
New Crowdin updates (#65)
gwolf2u Dec 31, 2023
c8d31e3
Revert "Remove unimplemented notification function"
neobuddy89 Jan 1, 2024
ceec4fa
GameSpace: Update icon
mukesh22584 Jan 2, 2024
e38e08c
GameSpace: Use same illustration for dark theme too
mukesh22584 Jan 5, 2024
7254ce5
Merge pull request #66 from mukesh22584/14.0
gwolf2u Jan 7, 2024
4b81092
New translations (#68)
gwolf2u Jan 20, 2024
d547042
New Crowdin updates (#69)
gwolf2u Feb 21, 2024
c53e94d
Revert "Revert "Remove unimplemented notification function""
neobuddy89 Mar 23, 2024
ee7f52b
GameSpace: Fix A14 QPR2 compile issues
neobuddy89 Mar 23, 2024
7018364
GameSpace: Update preferences to meet latest spec
neobuddy89 Mar 25, 2024
fdc8bd7
GameSpace: Fix up cast error for list preference
neobuddy89 Mar 31, 2024
b1481c0
New translations (#71)
gwolf2u Apr 3, 2024
e2dde42
New translations (#72)
gwolf2u Apr 5, 2024
5e77e3f
GameSpace: Switch to FPS sysfs node
neobuddy89 Apr 9, 2024
eb3f0d2
Revert "Revert "Revert "Remove unimplemented notification function"""
neobuddy89 Apr 14, 2024
ea4717a
GameSpace: Update gson prebuilt namespace to gson-prebuilt-jar-2.9.1
minaripenguin Nov 11, 2023
fb6e01c
GameSpace: Don't set device_config property directly
Dhina17 Sep 15, 2023
2cf4e9a
GameSpace: Update deprecated telephony APIs
minaripenguin Nov 26, 2023
d7e0aff
GameSpace: Update game illustration from motorola
minaripenguin May 29, 2023
8f8f889
GameSpace: Add light/dark support to Gamebar window utils
Nov 23, 2022
e7af59b
GameSpace: Match menu switcher tint with other buttons
neobuddy89 Apr 25, 2024
0b36ee4
GameSpace: Apply opacity settings to menu switcher and game bar
neobuddy89 Apr 25, 2024
37e89fe
GameSpace: Skip starting game bar if already connected
neobuddy89 May 1, 2024
68ccf65
New translations (#73)
gwolf2u May 19, 2024
d04cd66
New Crowdin updates (#74)
gwolf2u Jun 16, 2024
51b8a64
New Crowdin updates (#77)
gwolf2u Jul 5, 2024
b0647df
Revert "GameSpace: Switch to FPS sysfs node"
neobuddy89 Jul 5, 2024
d963272
GameSpace: Update fps once menu switcher attached to window
Dhina17 Jun 14, 2024
56830db
GameSpace: Fix stopping session service in secondary users
Dhina17 Jun 14, 2024
d6b81b2
New translations (#79)
gwolf2u Jul 26, 2024
56e2c5b
New Crowdin updates (#81)
gwolf2u Aug 14, 2024
5ba0abb
GameSpace: Enable enableOnBackInvokedCallback
someone5678 Jul 21, 2024
807baa0
GameSpace: Don't add floating action if game closed too quickly
Dhina17 Jul 26, 2024
df6296d
GameSpace: Show correct default settings
Dhina17 Jul 25, 2024
afb93dc
GameSpace: Update for three fingers gesture
neobuddy89 Aug 21, 2024
7428498
New Crowdin updates (#85)
gwolf2u Aug 23, 2024
85cd48e
GameSpace: Remove default action for three finger swipe
neobuddy89 Aug 26, 2024
f51d89f
New Crowdin updates (#86)
gwolf2u Aug 29, 2024
a3775dd
New Crowdin updates (#87)
gwolf2u Sep 9, 2024
bdf4c13
New translations (#88)
gwolf2u Oct 1, 2024
c06c82d
New Crowdin updates (#90)
gwolf2u Oct 6, 2024
f53a39a
GameSpace: Introduce Quick Start app feature
YiQiuYes Aug 20, 2024
5969530
GameSpace: Fix the limit of only four widget apps
YiQiuYes Aug 20, 2024
f7828ca
New Crowdin updates (#91)
gwolf2u Oct 30, 2024
a59f498
Merge pull request #84 from YiQiuYes/14.0
neobuddy89 Nov 1, 2024
bec39c2
New Crowdin updates (#94)
gwolf2u Nov 4, 2024
e41011b
New translations (#96)
gwolf2u Nov 8, 2024
3e8a2ba
New Crowdin updates (#97)
gwolf2u Nov 10, 2024
b88b734
New Crowdin updates (#98)
gwolf2u Nov 14, 2024
d88d425
GameSpace: Prevent duplicate instances of gamebar
neobuddy89 Nov 17, 2024
6f840ac
GameSpace: Reduce text size for title and clock
ShevT Nov 18, 2024
dc76540
GameSpace: Adapt with base lock gesture change
cjh1249131356 Jun 3, 2022
f365259
GameSpace: Fix lock gesture not working for secondary users
neobuddy89 Dec 2, 2024
b7b8ac7
GameSpace: Replace get/setPendingIntentBackgroundActivityLaunchAllowe…
neobuddy89 Dec 27, 2024
9c01b1e
New Crowdin updates (#104)
gwolf2u Feb 8, 2025
1e297c0
New Crowdin updates (#106)
gwolf2u Feb 23, 2025
c0256ee
GameSpace: Adapt for QPR2
rmp22 Mar 12, 2025
edb475a
GameBarService: fixes and improvements
rmp22 Apr 24, 2025
8f6a83d
GameBarService: Remove notification
neobuddy89 May 5, 2025
579faa3
New translations (#108)
gwolf2u Apr 27, 2025
33fa1f3
DanmakuService: Fix ClassCastException during onNotificationPosted
minaripenguin Jul 9, 2024
0813dd2
DanmakuService: Fix notification handling
rmp22 May 1, 2025
da5bab4
DanmakuService: Cleanup and improvements
rmp22 May 1, 2025
e0b3f5c
GameBarService: improve panel animation
rmp22 May 5, 2025
bd98311
GameSpace: fix and animate panel view translation
rmp22 May 5, 2025
8a4949d
New Crowdin updates (#110)
gwolf2u May 13, 2025
a3e6025
New Crowdin updates (#111)
gwolf2u May 29, 2025
39f5e21
New translations (#112)
gwolf2u Jun 17, 2025
6d8a731
New translations (#114)
gwolf2u Jul 4, 2025
9aa4619
New translations strings.xml (Portuguese, Brazilian) (#115)
gwolf2u Jul 20, 2025
3dd7475
GameSpace: Update CustomSeekBarPreference to use material expressive …
neobuddy89 Aug 31, 2025
9f27afb
GameSpace: Setup material expressive design for preferences
neobuddy89 Sep 2, 2025
8ba2d5f
GameSpace: Add slider increment guard for CustomSeekBarPreference
neobuddy89 Sep 3, 2025
9b5bdf7
GameSpace: Fix per-app header layout
neobuddy89 Sep 5, 2025
08f9fdb
GameSpace: Update view for Quick start apps dialog
neobuddy89 Sep 10, 2025
3c01f53
GameSpace: Add callChangeListener() for all changes in CustomSeekBarP…
neobuddy89 Sep 10, 2025
8c83fdc
New Crowdin updates (#119)
gwolf2u Oct 5, 2025
05880b5
GameSpace: Fix reset icon in CustomSeekBarPreference in RTL layout
neobuddy89 Oct 10, 2025
b68fe22
New translations (#121)
gwolf2u Nov 20, 2025
38360c3
GameSpace: Do not exclude activity from recents
neobuddy89 Dec 7, 2025
4642307
GameSpace: adjust panel position on screen based on available space
gwolf2u Dec 26, 2025
9b2c741
GameSpace: Adding immersive call overlay feature
rmp22 Nov 11, 2025
83f38c2
GameSpace: adding dismiss button
rmp22 Dec 28, 2025
d7179bd
New Crowdin updates (#123)
gwolf2u Dec 30, 2025
724cdce
New Crowdin updates (#124)
gwolf2u Dec 31, 2025
5621c82
GameSpace: Migrate app icons to mipmap and add multi-density assets
mukesh22584 Jan 2, 2026
f5d398f
Merge pull request #126 from mukesh22584/16.0
neobuddy89 Jan 10, 2026
71d5687
New Crowdin updates (#125)
gwolf2u Jan 11, 2026
331c9f9
New Crowdin updates (#128)
gwolf2u Jan 21, 2026
4fdf72d
New Crowdin updates (#129)
gwolf2u Jan 31, 2026
ba39539
New translations (#130)
gwolf2u Feb 8, 2026
1c0bfdd
New Crowdin updates (#131)
gwolf2u Feb 15, 2026
e8f014d
New translations (#132)
gwolf2u Mar 4, 2026
c80114a
New Crowdin updates (#133)
gwolf2u Mar 15, 2026
baa4538
New translations (#135)
gwolf2u Mar 18, 2026
6703301
GameSpace: Fix NPE in CallListener
neobuddy89 Mar 27, 2026
8bd1d77
Revert "GameSpace: adjust panel position on screen based on available…
ChrisCatto Feb 22, 2026
cf8ab36
GameSpace: Fix panel layout issues
priiii08918 Sep 14, 2025
d86ad59
GameSpace: Add game optimization settings
NurKeinNeid Jan 29, 2025
9388adf
GameBarService: prevent multiple game bar views
rmp22 May 11, 2025
a0b35a1
GameSpace: Import qs_tile_background ripple resource for tile
someone5678 Jul 22, 2024
5de2cb2
GameSpace: Integrate LMOFreeform to quick start apps
minaripenguin Dec 4, 2024
0eda348
New Crowdin updates (#137)
gwolf2u Mar 29, 2026
d7e9dd6
GameSpace: Fix the crash issue when incomingNumber was empty
Pzqqt Mar 31, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ local.properties
/app/release
/magisk*
/prebuilts
/SettingsLibParts
/SettingsLib
/gradlew.bat
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
chaldeaprjkt's GameSpace is an alternative to the Google's proprietary implementation of the Game Dashboard with a goals of providing basic user-interface for the [Android Game Mode API](https://developer.android.com/games/gamemode/gamemode-api).

Gamespace requires several patches to be applied on the AOSP's SystemUI and Settings :
- [frameworks/base](https://github.com/chaldeaprjkt/chaldea_frameworks_base/commits/12L/gamespace)
- [packages/apps/Settings](https://github.com/chaldeaprjkt/chaldea_packages_apps_Settings/commits/12L/gamespace)
- [frameworks/base](https://github.com/chaldeaprjkt/chaldea_frameworks_base/commits/13/gamespace)
- [packages/apps/Settings](https://github.com/chaldeaprjkt/chaldea_packages_apps_Settings/commits/13/gamespace)

## License

Expand Down
64 changes: 24 additions & 40 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
id 'kotlin-kapt'
}

android {
compileSdk 31
compileSdk 33

defaultConfig {
applicationId "io.chaldeaprjkt.gamespace"
minSdk 31
targetSdk 31
versionCode 99
versionName "0.1-beta"
minSdk 33
targetSdk 33
versionCode 100
versionName "0.2"
}
signingConfigs {
platform {
Expand All @@ -34,54 +37,35 @@ android {
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'

tasks.withType(KotlinCompile).configureEach {
compilerOptions.jvmTarget = JvmTarget.JVM_1_8
}

sourceSets {
main {
aidl.srcDirs = ['src/main/java']
}
}
lintOptions {
disable 'ContentDescription'
disable 'QueryAllPackagesPermission'
disable 'ProtectedPermissions'
disable 'OldTargetApi'
disable 'UseCompatLoadingForDrawables'
disable 'UnsafeProtectedBroadcastReceiver'
disable 'AppCompatCustomView'
lint {
disable 'ContentDescription', 'QueryAllPackagesPermission', 'ProtectedPermissions', 'OldTargetApi', 'UseCompatLoadingForDrawables', 'UnsafeProtectedBroadcastReceiver', 'AppCompatCustomView'
}
}

def androidPath = "${rootDir}/../../../"
def frameworkClassesJar = "${androidPath}/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar"

dependencies {
kapt 'com.google.dagger:hilt-compiler:2.40.5'
compileOnly files(frameworkJar)
implementation project(path: ':SettingsLib')

compileOnly files(frameworkClassesJar)

implementation 'androidx.core:core-ktx:1.7.0'
implementation 'androidx.appcompat:appcompat:1.4.1'
implementation 'androidx.preference:preference-ktx:1.1.1'
implementation 'com.google.android.material:material:1.5.0'
implementation 'com.google.code.gson:gson:2.8.6'
implementation 'com.google.dagger:hilt-android:2.40.5'
implementation project(path: ':SettingsLibParts')
implementation 'androidx.core:core-ktx:1.9.0'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.preference:preference-ktx:1.2.0'
implementation 'com.google.android.material:material:1.8.0'
implementation 'com.google.code.gson:gson:2.10.1'
implementation 'com.google.dagger:hilt-android:2.45'
implementation 'androidx.recyclerview:recyclerview:1.1.0'
kapt 'com.google.dagger:hilt-compiler:2.45'
}

kapt {
correctErrorTypes true
}

allprojects {
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs.add("-Xbootclasspath/p:$frameworkClassesJar")
}
}
}
24 changes: 21 additions & 3 deletions app/src/main/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,33 @@ android_app {
"com.google.android.material_material",
"kotlin-stdlib",
"kotlinx-coroutines-android",
"gson-prebuilt-jar",
"gson-prebuilt-jar-2.9.1",
"hilt_android",
"org.lineageos.platform.internal",
"LineagePreferenceLib",
"androidx.activity_activity-compose",
"androidx.compose.animation_animation-core",
"androidx.compose.animation_animation-graphics",
"androidx.compose.foundation_foundation",
"androidx.compose.material3_material3",
"androidx.compose.material3_material3-window-size-class",
"androidx.compose.material_material-icons-core",
"androidx.compose.material_material-icons-extended",
"androidx.compose.runtime_runtime",
"androidx.compose.ui_ui",
"kotlinx-coroutines-core",
"androidx.lifecycle_lifecycle-runtime-compose",
],
kotlincflags: [
"-Xuse-experimental=kotlin.Experimental",
"-Xuse-experimental=kotlin.ExperimentalStdlibApi",
"-Xjvm-default=all",
"-opt-in=kotlin.Experimental",
"-opt-in=kotlin.ExperimentalStdlibApi",
"-Xopt-in=kotlin.RequiresOptIn",
"-P plugin:androidx.compose.compiler.plugins.kotlin:sourceInformation=true",
],
plugins: [
"dagger2-compiler",
"androidx.room_room-compiler-plugin",
],

required: [
Expand Down
36 changes: 29 additions & 7 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,28 +26,40 @@
<uses-permission android:name="android.permission.READ_DEVICE_CONFIG" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<uses-permission android:name="android.permission.WRITE_DEVICE_CONFIG" />
<uses-permission android:name="com.android.systemui.permission.SCREEN_RECORDING" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.ACCESS_FPS_COUNTER" />
<uses-permission android:name="android.permission.ANSWER_PHONE_CALLS" />
<uses-permission android:name="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE" />
<!-- Required to write Settings.Secure -->
<uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
<!-- Required for Telephony callbacks -->
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE" />

<application
android:name=".GameSpace"
android:icon="@mipmap/ic_launcher"
android:label="@string/settings_title"
android:supportsRtl="true"
android:theme="@style/GameSpaceTheme">
android:theme="@style/GameSpaceTheme"
android:enableOnBackInvokedCallback="true">
<activity
android:name=".settings.SettingsActivity"
android:excludeFromRecents="true"
android:exported="true" />
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>

<activity
android:name=".settings.PerAppSettingsActivity"
android:excludeFromRecents="true"
android:exported="false" />

<activity
android:name=".preferences.appselector.AppSelectorActivity"
android:excludeFromRecents="true"
android:exported="false"
android:label="@string/app_selector_label" />

Expand All @@ -57,12 +69,22 @@

<service
android:name=".gamebar.GameBarService"
android:foregroundServiceType="specialUse"
android:exported="false" />

<service
android:name="io.chaldeaprjkt.gamespace.gamebar.DanmakuServiceListener"
android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE"
android:exported="true">
<intent-filter>
<action android:name="android.service.notification.NotificationListenerService" />
</intent-filter>
</service>

<receiver
android:name=".gamebar.GameBroadcastReceiver"
android:exported="true"
tools:ignore="ExportedReceiver">
android:permission="android.permission.MANAGE_GAME_MODE">
<intent-filter>
<action android:name="io.chaldeaprjkt.gamespace.action.GAME_START" />
<action android:name="io.chaldeaprjkt.gamespace.action.GAME_STOP" />
Expand Down
Loading