base: Fix gamespace on secondary users
Change-Id: I80c23dbfe900253510d027c891b2e6f441c45132 Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Signed-off-by: Ghosuto <clash.raja10@gmail.com>
This commit is contained in:
@@ -2408,8 +2408,8 @@ public final class GameManagerService extends IGameManagerService.Stub {
|
||||
|
||||
@Override
|
||||
public void onChange(boolean selfChange, Uri uri) {
|
||||
String newValue = Settings.Secure.getString(mContentResolver,
|
||||
"game_overlay");
|
||||
String newValue = Settings.Secure.getStringForUser(mContentResolver,
|
||||
"game_overlay", UserHandle.USER_CURRENT);
|
||||
if (newValue == null) return;
|
||||
// We write key and value of the device_config property as a single string
|
||||
// from our GameSpace.
|
||||
|
||||
Reference in New Issue
Block a user