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