Skip to content
Commit fb6e01cf authored by Dhina17's avatar Dhina17 Committed by Pranav Vashi
Browse files

GameSpace: Don't set device_config property directly



GTS don't allow any app to have the android.permission.WRITE_DEVICE_CONFIG permission
i.e we can't modify device_config property from our game space.

So write the property to our custom Settings.Secure.GAME_OVERLAY.
Then observe the value changes and set the property to the
device_config from GameManagerService.

Since GameManagerService is a part of system_server,
GTS will be happy.

Change-Id: I6e223f60608cebe974f5e4bdb863e4c0e0817fc4
Signed-off-by: default avatarminaripenguin <minaripenguin@users.noreply.github.com>
Signed-off-by: default avatarPranav Vashi <neobuddy89@gmail.com>
parent ea4717ae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment