Apar Amin
Apar Amin

Reputation: 673

How to set system volume to maximum in AOSP source

currently i am working on AOSP source and one of my requirement is to set system volume to max level, i go through following link and its specified file but i could't find any volume related settings How to set default properties in AOSP, is there any one who have done it, please guide me to it.

Upvotes: 1

Views: 2866

Answers (1)

Nir Duan
Nir Duan

Reputation: 6392

There are two main places I would look for:
1. /frameworks/base/core/res/res/values/config.xml
Inside you'll find the config_soundEffectVolumeDb which control the default volume.

But AOSP developing is never that easy - This file might be overwrriten by specific vendor so you will have to chek here too:
2./device/<companyname>/<productname>/overlay/frameworks/base/core/res/res/values/config.xml

Upvotes: 1

Related Questions