-
Notifications
You must be signed in to change notification settings - Fork 496
Increase screen brightness to 100% when opening QR-codes #4606
Comments
Is a separate issue for this really necessary? |
I wanted to implement this feature. In order to reference it easier inside this repo, I created this issue. |
Can someone with the necessary permissions assign me this issue so I can propose a solution? |
Hi @rkw95, thanks for participating here. Are you offering code or even a PR for an implementation on Android? Just to make you aware: Usually in this project parity between iOS and Android is maintained, i.e. there might be a delay in releasing this feature until a corresponding feature for iOS has been prepared. Corona-Warn-App Open Source Team |
I'm very new to Android / Kotlin programming, (I have other coding experience), but I got it working on my personal phone. So I wanted to share my solution. I do not know if my implementation works also for iOS. |
@rkw95 ok, thanks. I suggest to share your code or PR here in this repository, and then the dev team might have a look at it. |
@dsarkar how can I push to the repo? I have a local git branch named |
I understand you have a fork of the cwa-app-android repository. Go to Next to your new feature branch press "New pull request" Then choose head repository: /YOUR_FORK/cwa-app-android |
@rkw95 If you have a standard setup you would need to execute There is a typo in your branch name. You might want to rename the branch before you push it. |
@dsarkar Thanks for your help! @MikeMcC399 Thanks for pointing out the typo. The branch was still local, I now pushed it and I will create a merge request. |
@rkw95 |
Ok, I rebased and created a pull request. :) |
Good morning @MikeMcC399, Thanks for assisting here! |
Congratulations on getting your PR accepted! It was rolled out with version 2.16. I tested it on CWA Android 2.16.2 and I confirmed it still works in 2.17.2.
Would you like to close this issue now that it is resolved and rolled out? |
Hi everyone, Usually people will just go to the certificate tab and present the QR codes already displayed there when asked for. If the brightness is insufficient, I suspect people will click through steps 4-7 (if they are even aware of this possibility), and instead just increase the brightness from the notification bar (which is faster and much more intuitive). Therefore, I propose to add a toggle action item to the toolbar in the certificates tab (as in the screenshot below). This will allow to quickly increase the screen brightness with only a single tap if required. This has several advantages:
If you want, I'd volunteer to propose an implementation and submit a PR on the matter. |
@rkw95 For clarity, the suggestion from @eltos in #4606 (comment) would more easily be tracked in a new issue. |
I agree, please see corona-warn-app/cwa-wishlist#857 @MikeMcC399 |
See corona-warn-app/cwa-wishlist#571, as I could not transfer the issue from the wishlist repo to this repo.
Internal Tracking ID: EXPOSUREAPP-8224
The text was updated successfully, but these errors were encountered: