Skip to content

Instantly share code, notes, and snippets.

@evrencoskun
evrencoskun / gist:53b23ea066b3ff37a19777c35d8be71c
Created May 18, 2020 11:02
Checking out whether the current user has completed Setup Wizard.
public static final String USER_SETUP_COMPLETE = "user_setup_complete";
/**
* Checks whether the current user has completed Setup Wizard. This is true if the current user
* has gone through Setup Wizard. The current user may or may not be the device owner and the
* device owner may have already completed setup wizard.
*
* @param context The context to retrieve the settings.
* @return true if the current user has completed Setup Wizard.
*/