GrapheneOS / os-issue-tracker

Issue tracker for GrapheneOS Android Open Source Project hardening work. Standalone projects like Auditor, AttestationServer and hardened_malloc have their own dedicated trackers.
https://grapheneos.org/
361 stars 21 forks source link

Flashlight brightness customization #1430

Closed dd-dreams closed 2 years ago

dd-dreams commented 2 years ago

Android 13 now provides API's for changing the flashlight brightness. Would be nice to add a bar similar to screen brightness when pressing on flashlight quicktile. https://developer.android.com/reference/android/hardware/camera2/CameraCharacteristics#FLASH_INFO_STRENGTH_DEFAULT_LEVEL https://developer.android.com/reference/android/hardware/camera2/CameraManager#turnOnTorchWithStrengthLevel(java.lang.String,%20int)

thestinger commented 2 years ago

Not planned.

girlbossceo commented 2 years ago

This is something upstream AOSP needs to implement.

girlbossceo commented 2 years ago

And just because the APIs exist does not mean the hardware is capable of it.

dd-dreams commented 2 years ago

This is something upstream AOSP needs to implement.

@r3g-5z Currently stock OS provides this. I believe its something the OS needs to implement.

thestinger commented 2 years ago

It will be provided when it's in AOSP.

girlbossceo commented 2 years ago

There are plenty of stock OS features not in AOSP that will eventually make it into AOSP. It's not something that needs to be implemented downstream.

thestinger commented 2 years ago

Stock Pixel OS ships a newer branch of SystemUI, etc. than what ships in AOSP releases because AOSP follows along major branches and does bug fix updates. They ship a more bleeding edge branch for their Play Store builds of these kind of apps.