|
@@ -349,14 +349,17 @@ public class DataManager extends Application {
|
|
|
}
|
|
|
|
|
|
public static int getFaceIndex() {
|
|
|
- if (Macros.DEBUG_SYSTEMPROVIDER)
|
|
|
- return 0;
|
|
|
+ if (Macros.DEBUG_SYSTEMPROVIDER) {
|
|
|
+ return mFaceIndex;
|
|
|
+ }
|
|
|
return Settings.Global.getInt(sContext.getContentResolver(), MetaData.KEY_WATCH_FACE, 0);
|
|
|
}
|
|
|
|
|
|
public static void setFaceIndex(int index) {
|
|
|
- if (Macros.DEBUG_SYSTEMPROVIDER)
|
|
|
+ if (Macros.DEBUG_SYSTEMPROVIDER) {
|
|
|
+ mFaceIndex = index;
|
|
|
return;
|
|
|
+ }
|
|
|
Settings.Global.putInt(sContext.getContentResolver(), MetaData.KEY_WATCH_FACE, index);
|
|
|
}
|
|
|
|