Skip to content

Conversation

@danyyok
Copy link

@danyyok danyyok commented Nov 1, 2025

No description provided.

@kaffuchino233
Copy link

I will test it and squash it with cn translations,thank you!

@kaffuchino233
Copy link

kaffuchino233 commented Nov 21, 2025

I will close the pr after i pushed commits.(the same in packages/apps/Settings)

rbnj pushed a commit that referenced this pull request Dec 6, 2025
@ idoybh edits: Adapted to A11's settings backup
[jhonboy121]: adapt to A12 changes in DozeParameters. Also in the og commit DOZE_ALWAYS_ON was being read from System namespace instead of Secure, fixed it here. Make use of SettingsProxy utlity classes for settings / getting values

Change-Id: I831583fde68de15788e3d7ecab55d864726d140f

Commit message #2:

base: check whether device is charging when alwaysOnChargingEnabled is called

* Using settings for this is quite redundant. And if you toggle aod on charge after plugging in then aod won't turn on unless you unplug and plug again (since DOZE_ON_CHARGE_NOW is set only if aod on charge is enabled and device is plugged in"

Signed-off-by: jhonboy121 <alfredmathew05@gmail.com>

Commit message #3:

base: fix deadlock between activity manager and power manager

* Using the battery manager intent to query plugged in status was the root cause of deadlock,
  so inside power manager, user mIsPowered and setting value instead of using the intent based power status

Signed-off-by: jhonboy121 <alfredmathew05@gmail.com>

[jhonboy121]: adapted to A13

[ghostrider-reborn]: keep default behaviour in power manager

Change-Id: Idebd1f0922b0db5a5349f551ca0ba9e0afc15678
Signed-off-by: jhonboy121 <alfredmathew05@gmail.com>
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Co-Authored-By: jhonboy121 <alfredmathew05@gmail.com>
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.

3 participants