• About Us
  • Privacy Policy
Real Mi Central
  • Home
  • News
    • Apple
    • ASUS
    • Black Shark
    • Google
    • Huawei
    • Mi
    • OnePlus
    • OPPO
    • Poco
    • Realme
    • Redmi
    • Samsung
    • Vivo
    • Xiaomi
  • Software Updates
    • Android
    • ColorOS
    • EMUI
    • FuntouchOS
    • Hydrogen OS
    • iOS
    • iPad OS
    • Magic UI
    • MIUI
    • One UI
    • Origin OS
    • OxygenOS
    • Realme UI
    • watchOS
    • Windows
  • Entertainment
    • Games
    • Games
  • Auto Mobile
    • Apple Auto
    • Ferrari
    • BMW
    • Ford
    • Mercedes
  • About Us
  • Privacy Policy
No Result
View All Result
  • Home
  • News
    • Apple
    • ASUS
    • Black Shark
    • Google
    • Huawei
    • Mi
    • OnePlus
    • OPPO
    • Poco
    • Realme
    • Redmi
    • Samsung
    • Vivo
    • Xiaomi
  • Software Updates
    • Android
    • ColorOS
    • EMUI
    • FuntouchOS
    • Hydrogen OS
    • iOS
    • iPad OS
    • Magic UI
    • MIUI
    • One UI
    • Origin OS
    • OxygenOS
    • Realme UI
    • watchOS
    • Windows
  • Entertainment
    • Games
    • Games
  • Auto Mobile
    • Apple Auto
    • Ferrari
    • BMW
    • Ford
    • Mercedes
  • About Us
  • Privacy Policy
No Result
View All Result
Real Mi Central
No Result
View All Result
Home Software Update Android

Android 13 added a standard API for controlling the flashlight brightness

RMCTeam by RMCTeam
December 20, 2022
in Android, Google, News
141 3
0
Android 13
164
SHARES
2.1k
VIEWS
Share ArticleShare ArticleShare ArticleShare Article

Now that Android 13 added a standard API for controlling the flashlight brightness, we’d love to see the Quick Setting tile be updated to become a slider rather than just a toggle, as shown in this GIF. Would be a nice quality-of-life enhancement IMO!

For some context, Android 13 added an API that apps can call to programmatically set the brightness of the flashlight. Apps used to need root to do this on some devices (eg. writing to /sys/class/leds) or use an API only available on some OEM forks.

In the new camera HAL version introduced with Android 13, there’s a method to turn on the torch at a certain strength level. If this isn’t implemented, the corresponding Android API won’t work.

Join Us On Telegram & Add RMC to your Google News feed

Few devices have shipped an updated camera HAL when upgrading to Android 13, though, as Google Requirements Freeze (GRF) makes it so the chipset’s vendor implementation doesn’t need to be updated with each Android release. Eg. the Zenfone 9 and Nothing Phone 1 don’t support this feature.

You can check for yourself with the “Flashlight Tiramisu” app on GitHub/F-Droid. Alternatively, you can also check the VINTF manifest on your device (under /vendor/etc/vintf). The Zenfone 9 implements the legacy HIDL HAL, for example.

Google has implemented this feature, at least on the Pixel 6 and later. The camera HAL on Pixels is part of an APEX module in /vendor. (Ignore the filename of the Pixel’s camera HAL because I can assure you it’s not the legacy HIDL HAL – the manifest file says it’s named that way for compatibility purposes.)

A custom ROM called StatiXOS implemented this feature in their latest build, and an Xposed module called AOSPMods also implements it if you’re on Pixel. We’d love to see this in a future Android 13 QPR on supported Pixels!

https://www.realmicentral.com/wp-content/uploads/2022/12/Torch-strength-QS-tile.mp4
Tags: Android 13GoogleNews
RMCTeam

RMCTeam

Real Mi Central (RMC) Team covers in-depth technology news, software updates as well as tips and tricks.

Related Posts

Samsung Galaxy Note 10
Android

[U: India, Europe] The Galaxy Note 10 series getting January 2023 patch update

February 6, 2023
Pixel 7 Pro
Android

Google released Android 13 February 2023 patch update

February 6, 2023
Redmi Note 12 trio certifield with 3C certification, support 210W charging
Android

Redmi Note 12 Pro/Pro+/Discovery Edition getting January 2023 patch update

February 6, 2023
POCO X5 Pro 5G
Android

POCO X5 Pro 5G grabbed Stable MIUI 14 update

February 6, 2023
Samsung Galaxy Note 20 Ultra
Android

[U: US] The Galaxy Note 20 lineup getting February 2023 patch update

February 6, 2023
POCO X5 Pro 5G
News

POCO X5 Pro 5G launched officially

February 6, 2023
No Result
View All Result

Popular News

  • Pixel 6 Wallpaper

    Pixel 6: The disaster ends with the factory reset

    8235 shares
    Share 3294 Tweet 2059
  • Tesla Model 3 seat bulge, official believes that it is a non-manufacturing defect

    6625 shares
    Share 2650 Tweet 1656
  • Comparison: MIUI 13 (Android 12) vs MIUI 12.5 (Android 11)

    6888 shares
    Share 2755 Tweet 1722
  • Google Home app updates and removes a much appreciated feature

    6140 shares
    Share 2456 Tweet 1535
  • These 19 Xiaomi Devices will get MIUI 13 in January 2022 globally

    4626 shares
    Share 1850 Tweet 1157

About RMC

Real Mi Central

At RealMi Central you will get instant information regarding smartphone news, updates and more.

Top Articles

  • Trending
  • Comments
  • Latest
Nothing Phone (1)

Check the Nothing Phone (1) secret codes

February 3, 2023
Nothing Phone (1)

Nothing Phone (1) users facing some issues, check here if you facing these types of issues

February 5, 2023
Android Auto

Android Auto v8.8.6304 update released

February 2, 2023
Nothing Phone (2)

Nothing Phone (2) will be advanced version of Phone 1 – Carl Pei

February 5, 2023
Nothing Ear (2) Renders

Nothing Ear (2) high-quality renders appeared online

January 31, 2023
Samsung Galaxy Note 10

[U: India, Europe] The Galaxy Note 10 series getting January 2023 patch update

February 6, 2023
Pixel 7 Pro

Google released Android 13 February 2023 patch update

February 6, 2023
WhatsApp

WhatsApp getting a new Beta V2.23.3.71 and Stable V2.23.1.76 update

February 6, 2023
Redmi Note 12 trio certifield with 3C certification, support 210W charging

Redmi Note 12 Pro/Pro+/Discovery Edition getting January 2023 patch update

February 6, 2023
POCO X5 Pro 5G

POCO X5 Pro 5G grabbed Stable MIUI 14 update

February 6, 2023

Popular Tags

Android Android 11 Android 12 Android 13 Apple Battlefield 2042 Blizzard CDPR Chrome Cyberpunk 2077 Edge Elden Ring Facebook Game Games Google Google Pixel GTA Honor Huawei iOS March 2021 Update Microsoft MIUI 12 MIUI 12.5 MIUI 13 News OnePlus OPPO Pixel 6 Pixel 6 Pro PS5 Realme Samsung Samsung Galaxy S22 Sony Steam Tesla Twitter Update Whatsapp Windows 10 Windows 11 Xbox Xiaomi
  • About Us
  • Privacy Policy
  • Sitemap

Copyright @2022 RMC

No Result
View All Result
  • Home
  • News
    • Apple
    • ASUS
    • Black Shark
    • Google
    • Huawei
    • Mi
    • OnePlus
    • OPPO
    • Poco
    • Realme
    • Redmi
    • Samsung
    • Vivo
    • Xiaomi
  • Software Updates
    • Android
    • ColorOS
    • EMUI
    • FuntouchOS
    • Hydrogen OS
    • iOS
    • iPad OS
    • Magic UI
    • MIUI
    • One UI
    • Origin OS
    • OxygenOS
    • Realme UI
    • watchOS
    • Windows
  • Entertainment
    • Games
    • Games
  • Auto Mobile
    • Apple Auto
    • Ferrari
    • BMW
    • Ford
    • Mercedes
  • About Us
  • Privacy Policy

Copyright @2022 RMC

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In