Skip to content

Conversation

@JNavas2
Copy link

@JNavas2 JNavas2 commented Dec 27, 2025

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

Component Path Description
Logic keepass2android-app/QuickSettingsTileService.cs Implements TileService to handle clicks and secure app launching via LaunchActivity.
Asset (Vector) keepass2android-app/Resources/drawable/ic_quick_settings_tile.xml The monochrome vector drawable used by the Android system for the tile icon.
Asset (Source) graphics/quick_settings/ic_quick_settings_tile.svg The original SVG source asset for future project maintenance.
Manifests keepass2android-app/Manifests/AndroidManifest_*.xml Registered the service with BIND_QUICK_SETTINGS_TILE permissions in net, nonet, and debug flavors.

Implementation Notes

  • Security: The service utilizes UnlockAndRun to ensure that the device must be authenticated before the app opens if the phone is locked.
  • Build System: Compatible with the modern .NET SDK project format; no manual .csproj modifications were required for file inclusion.
  • Compliance: All files include the standard project headers, module descriptions, and GPL license information.

 * 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant