Don't disable Monet by default

As it is already enabled, without this leaves upgrading users in an inconsistent state.

Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
Tad 2022-07-08 13:30:56 -04:00
parent d3632c25ce
commit 49cf5020e7
2 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ index 482a70defb3f..02c1ab5f82f6 100644
+ return Settings.Secure.getIntForUser( + return Settings.Secure.getIntForUser(
+ mContext.getContentResolver(), + mContext.getContentResolver(),
+ Settings.Secure.MONET_MODE, + Settings.Secure.MONET_MODE,
+ Settings.Secure.MONET_MODE_DISABLED, + Settings.Secure.MONET_MODE_ENABLED,
+ user + user
+ ) == Settings.Secure.MONET_MODE_ENABLED; + ) == Settings.Secure.MONET_MODE_ENABLED;
+ } + }

View File

@ -180,7 +180,7 @@ index 0000000..214d6b1
+ return Settings.Secure.getIntForUser( + return Settings.Secure.getIntForUser(
+ context.getContentResolver(), + context.getContentResolver(),
+ Settings.Secure.MONET_MODE, + Settings.Secure.MONET_MODE,
+ MONET_MODE_DISABLED, + MONET_MODE_ENABLED,
+ context.getUserId() + context.getUserId()
+ ) == MONET_MODE_ENABLED; + ) == MONET_MODE_ENABLED;
+ } + }