Advertisement
joder

Untitled

Sep 17th, 2013
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. package com.google.android.apps.wallet.util;
  2.  
  3. public enum DeviceCapabilityState
  4. {
  5. static
  6. {
  7. NOT_ENABLED = new DeviceCapabilityState("NOT_ENABLED", 1);
  8. ENABLED = new DeviceCapabilityState("ENABLED", 2);
  9. DeviceCapabilityState[] arrayOfDeviceCapabilityState = new DeviceCapabilityState[3];
  10. arrayOfDeviceCapabilityState[0] = UNSUPPORTED;
  11. arrayOfDeviceCapabilityState[1] = NOT_ENABLED;
  12. arrayOfDeviceCapabilityState[2] = ENABLED;
  13. }
  14.  
  15. public boolean isSupported()
  16. {
  17. return this != UNSUPPORTED;
  18. }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement