Implement user-friendly warning when changing long press function
away from Load Preset to help users understand the impact.
Signed-off-by: kenway214 <kenway214@outlook.com>
Changed default long press gesture from 'Open Settings' to 'Load Preset'
for better user experience and quick access to preset switching.
Signed-off-by: kenway214 <kenway214@outlook.com>
Implement floating preset selector that appears on gesture trigger,
allowing quick preset loading without opening the app.
Signed-off-by: kenway214 <kenway214@outlook.com>
The background alpha slider had a minimum value of 16 hardcoded,
preventing users from achieving a fully transparent background.
Signed-off-by: kenway214 <kenway214@outlook.com>
The broadcast-based approach wasn't reliably refreshing the UI when
loading presets from PresetManagementActivity. The broadcast was sent
but the activity finished immediately, causing timing issues.
Signed-off-by: kenway214 <kenway214@outlook.com>
Implement a comprehensive preset system that allows users to save,
load, export, and manage their GameBar configurations. This enables
quick switching between different settings profiles and backup/restore
functionality.
Signed-off-by: kenway214 <kenway214@outlook.com>
Move all hardcoded user-facing strings to strings.xml resource file
to enable future multi-language support. This includes toast messages,
dialog titles, button labels, and other UI text elements.
Signed-off-by: kenway214 <kenway214@outlook.com>
- Replace static overlays with runtime detection for CPU temp sensors
- Add smart temperature format detection and caching
- Support multiple device manufacturers and kernel variants
(still need testing on older devices just was tested on 5.4(lahaina),5.10(taro),6.1(Pineapple) platforms
include more sepolicy and clean some for our project
Change-Id: Iaa0714b6df687203644a13da03ad048472c40164
Signed-off-by: klozz <carlosj@klozz.dev>
- Remove device-specific overlay dependencies for sysfs paths
- Add SysfsDetector utility with automatic path discovery
- Implement smart temperature format detection
- Detect temperature format (milli/deci/centi-Celsius) automatically
- Support OnePlus, Samsung and other manufacturers automatically
- Add performance caching for detected paths
- Update GameBarConfig to use dynamic detection
Change-Id: I45109ad728fab4108ed9a82ee74b08bb967aa1e1
Signed-off-by: klozz <carlosj@klozz.dev>
- Implement GameBarConfig for centralized hardware path management
- Replace hardcoded sysfs paths with configurable resources
- Add config.xml with device-specific overlay support
- Update CPU/GPU/RAM/Battery info classes to use config
- README guide with build/integration guide
Signed-off-by: kenway214 <kenway214@outlook.com>