Last active
November 9, 2015 08:54
-
-
Save sangcomz/754c43016618fe4e9045 to your computer and use it in GitHub Desktop.
android package restart
This file contains 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
Intent intent = new Intent(getApplicationContext(), SplashActivity.class); | |
ComponentName cn = intent.getComponent(); | |
Intent mainIntent = IntentCompat.makeRestartActivityTask(cn);startActivity(mainIntent); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment