Ask Your Question
2

What is the process to activate the screen time off feature in Android using AOSP customization?

asked 2021-04-30 11:00:00 +0000

nofretete gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-04-08 17:00:00 +0000

lalupa gravatar image

To activate the screen time off feature in Android using AOSP customization, follow these steps:

  1. Open the AOSP source code in your preferred IDE.

  2. Navigate to the device configuration file for the device you want to customize. This file can typically be found in /device/<manufacturer>/<device>/.

  3. Add the following line to the device configuration file:

    <bool name="config_supportAutoScreenOff">true</bool>
    
  4. Save the changes and close the file.

  5. Build and deploy the customized Android firmware to your device.

  6. Navigate to the Settings app on your device.

  7. Tap on the Display option.

  8. Look for an option labeled "Auto screen off" or "Screen timeout".

  9. Set the duration for the screen timeout as desired.

  10. Save the changes and exit the Settings app.

Now, the screen will automatically turn off after the specified duration of inactivity.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-04-30 11:00:00 +0000

Seen: 18 times

Last updated: Apr 08 '21