Advertisement
techmik

Untitled

Jun 26th, 2012
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. public void onTrigger(View v, int target) {
  2. if (mStoredTargets == null) {
  3. if (target == 0 || target == 1) { // 0 = unlock/portrait, 1 = unlock/landscape
  4. mCallback.goToUnlockScreen();
  5. } else if (target == 2 || target == 3) { // 2 = alt/portrait, 3 = alt/landscape
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement