Last active
February 19, 2017 20:11
-
-
Save kostovtd/1b11cd79609d074eaf64b3aea50db8d2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// GET DEVICE PROTECTED CONTEXT | |
Context applicationContext = getApplicationContext(); | |
Context safeContext = ContextCompat.createDeviceProtectedStorageContext(appicationContext); | |
// MOVE DATA FROM CREDENTIAL TO DEVICE STORAGE | |
Context.moveSharedPreferencesFrom(); | |
Context.moveDatabaseFrom(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment