From f50d55140ffe7f1a0e69d14734fa2d4af97d6fb3 Mon Sep 17 00:00:00 2001 From: Zhao Wei Liew Date: Sun, 19 Feb 2017 17:37:53 +0800 Subject: Add a proper description for CM_SETUP_WIZARD_COMPLETED deprecation Change-Id: I7bf1ee5644b178173941803fccafbbd501289acd --- .../src/org/cyanogenmod/cmsettings/tests/CMSettingsProviderTest.java | 3 ++- sdk/src/java/cyanogenmod/providers/CMSettings.java | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/CMSettingsProvider/tests/src/org/cyanogenmod/cmsettings/tests/CMSettingsProviderTest.java b/packages/CMSettingsProvider/tests/src/org/cyanogenmod/cmsettings/tests/CMSettingsProviderTest.java index d28e37b..c4db088 100644 --- a/packages/CMSettingsProvider/tests/src/org/cyanogenmod/cmsettings/tests/CMSettingsProviderTest.java +++ b/packages/CMSettingsProvider/tests/src/org/cyanogenmod/cmsettings/tests/CMSettingsProviderTest.java @@ -127,7 +127,8 @@ import java.util.Map; * * Test whether the setting was properly set and is not null. * - * @deprecated + * @deprecated Replaced by {@link Settings.Global#DEVICE_PROVISIONED} + * or {@link Settings.Secure#USER_SETUP_COMPLETE} */ @Deprecated @SmallTest diff --git a/sdk/src/java/cyanogenmod/providers/CMSettings.java b/sdk/src/java/cyanogenmod/providers/CMSettings.java index cd88ba4..cb1468c 100644 --- a/sdk/src/java/cyanogenmod/providers/CMSettings.java +++ b/sdk/src/java/cyanogenmod/providers/CMSettings.java @@ -2829,7 +2829,8 @@ public final class CMSettings { * Set to 0 when we enter the CM Setup Wizard. * Set to 1 when we exit the CM Setup Wizard. * - * @deprecated + * @deprecated Use {@link Secure#USER_SETUP_COMPLETE} or + * {@link Settings.Global#DEVICE_PROVISIONED} instead * @hide */ @Deprecated -- cgit v1.1