Created
January 11, 2015 09:05
-
-
Save seabornlee/569c4a43c73ff6304343 to your computer and use it in GitHub Desktop.
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
@Override | |
protected void onResume() { | |
super.onResume(); | |
WallpaperInfo wallpaperInfo = WallpaperManager.getInstance(MainActivity.this).getWallpaperInfo(); | |
if (wallpaperInfo.getServiceName().equals(SnowflakesWallpaperService.class.getName())) { | |
Toast.makeText(this, "Successful!", Toast.LENGTH_LONG).show(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment