Created
April 21, 2016 10:35
-
-
Save kennyk/2061ef8382b323134397d44805ba04e6 to your computer and use it in GitHub Desktop.
Clear Intent flag
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
public static void unsetFlag(Intent intent, int flag) { | |
intent.setFlags(intent.getFlags() & (~flag)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment