Loading src/com/android/customization/model/clock/ClockManager.java +4 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ package com.android.customization.model.clock; import android.content.ContentResolver; import android.provider.Settings.Secure; import android.text.TextUtils; import com.android.customization.module.ThemesUserEventLogger; Loading Loading @@ -64,6 +65,9 @@ public class ClockManager extends BaseClockManager { @Override protected String lookUpCurrentClock() { final String value = Secure.getString(mContentResolver, CLOCK_FACE_SETTING); if (TextUtils.isEmpty(value)) { return value; } try { final JSONObject json = new JSONObject(value); return json.getString(CLOCK_FIELD); Loading Loading
src/com/android/customization/model/clock/ClockManager.java +4 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ package com.android.customization.model.clock; import android.content.ContentResolver; import android.provider.Settings.Secure; import android.text.TextUtils; import com.android.customization.module.ThemesUserEventLogger; Loading Loading @@ -64,6 +65,9 @@ public class ClockManager extends BaseClockManager { @Override protected String lookUpCurrentClock() { final String value = Secure.getString(mContentResolver, CLOCK_FACE_SETTING); if (TextUtils.isEmpty(value)) { return value; } try { final JSONObject json = new JSONObject(value); return json.getString(CLOCK_FIELD); Loading