Guest User

Untitled

a guest
Sep 23rd, 2016
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. if (isSettingBlocked (PTTP_SETTINGS_SECURITY_PASSWORD_ENABLED)) {
  2. mEnablePassword.disableCheckBox ();
  3. } else {
  4. mEnablePassword.enableCheckBox ();
  5. }
  6.  
  7. if (isSettingBlocked (PTTP_SETTINGS_SECURITY_MANAGE_CONTACTS)) {
  8. mManageContacts.disableCheckBox ();
  9. } else {
  10. mManageContacts.enableCheckBox ();
  11. }
  12.  
  13. if (isSettingBlocked (PTTP_SETTINGS_SECURITY_MANAGE_GROUPS)) {
  14. mManageGroups.disableCheckBox ();
  15. } else {
  16. mManageGroups.enableCheckBox ();
  17. }
  18.  
  19. if (isSettingBlocked (PTTP_SETTINGS_SECURITY_EXIT_APP)) {
  20. mExitApp.disableCheckBox ();
  21. } else {
  22. mExitApp.enableCheckBox ();
  23. }
Add Comment
Please, Sign In to add comment