- Update copyright year to 2023-2025
- Add version information
- Implement proper error handling for device operations
- Add status output for better diagnostics
- Add comments for improved readability
- Return appropriate error codes on failure
Signed-off-by: Abdulwahab Isam <abdoi94.iq@gmail.com>
- Add standard LineageOS license header
- Add SPDX identifier
- Match copyright format with Java files (2023-2025)
- No functional changes to implementation
Signed-off-by: Abdulwahab Isam <abdoi94.iq@gmail.com>
- Update copyright year to 2023-2025 to match other components
- Standardize license header format to SPDX
- No functional changes to build definitionspipa:
Signed-off-by: Abdulwahab Isam <abdoi94.iq@gmail.com>
- Update copyright year to 2023-2025
- Standardize license header format to SPDX
- Add robust exception handling for fragment lifecycle
- Implement consistent logging with timestamps
- Add debug flag via system property
- Align TAG values with other components
- Fix null pointer access for preference switching
Signed-off-by: Abdulwahab Isam <abdoi94.iq@gmail.com>
- Update copyright year to 2023-2025
- Standardize license header format to SPDX
- Add class documentation with JavaDoc
- Add basic logging for activity creation
- Standardize TAG naming convention
Signed-off-by: Abdulwahab Isam <abdoi94.iq@gmail.com>
- Add robust exception handling for device operations
- Implement consistent logging with timestamps
- Use system properties for debug flag configuration
- Standardize naming conventions for constants
- Improve documentation with JavaDoc comments
- Update copyright year to 2023-2025
Signed-off-by: Abdulwahab Isam <abdoi94.iq@gmail.com>
- Add configurable debug flag via system property
- Implement consistent logging with timestamps
- Add exception handling for individual services
- Improve logging details for better diagnostics
- Update copyright year to match other components
Signed-off-by: Abdulwahab Isam <abdoi94.iq@gmail.com>
- Reduce resource usage with smaller buffers and optimized code
- Add watchdog thread for automatic recovery from hangs
- Implement configuration file support for runtime settings
- Add dynamic keyboard detection with fallback path
- Improve connection handling with debouncing and backoff
- Enhance power management with proper sleep/wake handling
- Add proper signal handling and resource cleanup
Signed-off-by: Abdulwahab Isam <abdoi94.iq@gmail.com>
* Pen only works on 60/120 Hz.
* Set Refresh rate to 120 Hz if the refresh rate in use is 90/144 Hz.
Change-Id: Ie7c5697b6f2a6da33cfcb94378499cbf6b3983bd
Signed-off-by: Francescodario Cuzzocrea <bosconovic@gmail.com>
* xiaomi-keyboard handles keyboard and tablet angle calculation
* This allows to correctly turn off the keyboard when flipped back.
Change-Id: I9287d2d4c2b0b3fc2ab40d4daf7577521ec8662a
* With our kernel implementation, this gets considered
as the mode we want to write into, instead of the
touch id like it's supposed to be
Change-Id: I7fdd89779f6daa1c75ec70599f5dea7ee2ff9fe8