-
Notifications
You must be signed in to change notification settings - Fork 450
Feature/quick settings tile #3135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
* Module: QuickSettingsTileService * Description: Provides a system-wide Quick Settings Tile to launch the application. * This service allows users to quickly access their password database from the * Android notification shade.
Quick Settings Tile image per Android standards.
Added XML declaration and license information to the AndroidManifest_nonet.xml file. Updated intent filters and permissions for better functionality.
Removed duplicate XML declaration and license comments from the AndroidManifest_net.xml file. Updated the service declaration for QuickSettingsTileService.
Removed duplicate XML declaration and license comments from AndroidManifest_nonet.xml. Adjusted permissions and service declarations.
|
Any thoughts? |
PhilippC
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry for the delayed feedback.
- this PR doesn't compile. Instead of LaunchActivity, you probably mean SelectCurrentDbActivity?
- even when this is changed, starting the app with the intent crashes.
please fix the error and test your PR before submitting. Please confirm that you tested it when requesting another review. Thanks!
|
Closing this PR to perform a clean reset of the branch. I will re-submit with a polished version that addresses the compilation error by targeting SelectCurrentDbActivity and resolves the background launch crash using ActivityFlags.NewTask. Thanks for your patience while I clean this up. |
Pull Request: Add Android Quick Settings Tile
Description
This PR implements a Quick Settings Tile for KeePass2Android, allowing users to quickly launch the application or initiate the unlock process directly from the Android notification shade.
Technical Changes
keepass2android-app/QuickSettingsTileService.csTileServiceto handle clicks and secure app launching viaLaunchActivity.keepass2android-app/Resources/drawable/ic_quick_settings_tile.xmlgraphics/quick_settings/ic_quick_settings_tile.svgkeepass2android-app/Manifests/AndroidManifest_*.xmlBIND_QUICK_SETTINGS_TILEpermissions innet,nonet, anddebugflavors.Implementation Notes
UnlockAndRunto ensure that the device must be authenticated before the app opens if the phone is locked..csprojmodifications were required for file inclusion.