Commit Graph

2 Commits

Author SHA1 Message Date
Chaohui Wang
2541381259 Fix references to resources for Settings
Bug: 293810334
Test: m Settings
Change-Id: Ie140278f492ef7e1c062ec1ecae2866c521a86aa
2023-08-08 01:56:05 +00:00
Marco Ballesio
cb96685c8f Developer option for the app freezer
The app freezer allows the system to suspend execution for cached apps.
Without it an app can receive CPU time even if cached, so this option
will allow developers to test their code when frozen while their apps
are cached.

The new developer option will present a list of alternatives for the
freezer operating mode:

"device default": use device/system settings to determine whether the
                  freezer is to be enabled or not. This is the current
                  behavior, and default value for the option.
"enabled": force freezer on
"disabled": force freezer off

A dialog prompting the user to reboot is presented upon freezer mode
change. The device is automatically rebooted if the user decides to
proceed.

Bug: 155465196
Change-Id: I857b77cc4fc1ad766e8d5825ada9b271d3e1ab3a
Test: manually verifued the option works as intendend when this patch is
applied with its companion CLs

Change-Id: I26450b7b7ea2b345fd3661d4869fbc74ae38c0c9
2020-05-04 11:29:10 -07:00