[WIP] Add Quick Settings Tile - Logic Updated and Crash Fix Applied#3155
[WIP] Add Quick Settings Tile - Logic Updated and Crash Fix Applied#3155JNavas2 wants to merge 10 commits intoPhilippC:mainfrom
Conversation
This service allows users to quickly access their password database from the Android notification shade.
|
While I'm working on getting a local environment set up for full validation, would you mind triggering the automated build (CI) for this PR? That would help me confirm the compilation and repository structure are correct in the meantime. Update: I would have tested it immediately if it were written in JavaScript or Kotlin, but setting up a full Xamarin/MAUI environment is a heavy lift for a single contribution. That is why I am asking for the automated build validation and testing at this stage. Thanks! |
Required to support Quick Settings Tile
Required for Quick Settings Tile
Required for Quick Settings Tile
|
I’ve raised the minSdkVersion from 21 to 24 as part of the Quick Settings Tile implementation. |
|
you can of course start testing with the increased api level. But even if API levels 21..23 covers only 1-2% of devices, this is still more than 10.000 affected installations which wouldn't get any update more. Therefore, the production code should use Target API and Check the Version SDK as is done in other places as well. |
You're the boss, so I will revert the API level for production, |
|
Please approve the workflow for testing. Thank you. |
|
Thank you for the build, which failed due to the project API version requirement. |
[WIP] Add Quick Settings Tile - Implementation Updated
This PR adds a System Quick Settings Tile to the Android notification shade to allow users to quickly launch the application.
Technical Changes
SelectCurrentDbActivity, resolving the previous compilation error.ActivityFlags.NewTaskto the Intent. This is mandatory when starting an Activity from a Service context and fixes theCallingContextExceptionreported earlier.android:tint="?android:attr/colorControlNormal"to the vector asset to ensure the icon is visible across various system themes (Light/Dark mode).graphics/andsrc/).Status
I am submitting this as a Draft to provide the updated files and logic for initial review. Due to the time required for environment setup, I have not yet performed local compilation and functional testing on this specific branch. I intend to complete local validation soon, but wanted to share the logic improvements in the meantime.
Files Modified:
graphics/quick_settings/ic_quick_settings_tile.svgsrc/keepass2android-app/Resources/drawable/ic_quick_settings_tile.xmlsrc/keepass2android-app/QuickSettingsTileService.cssrc/keepass2android-app/Manifests/AndroidManifest_debug.xmlsrc/keepass2android-app/Manifests/AndroidManifest_net.xmlsrc/keepass2android-app/Manifests/AndroidManifest_nonet.xml