boolean function ( Context arg0 ) { return Settings . System . getIntForUser ( arg0 . getContentResolver ( ) , Settings . System . ACCELEROMETER_ROTATION , 0 , UserHandle . USER_CURRENT ) == 0 ; }
returns true if rotation lock is enabled . concode_field_sep ContentObserver mObserver concode_elem_sep String TAG concode_field_sep boolean isRotationLockToggleVisible concode_elem_sep void setRotationLock concode_elem_sep void setRotationLockForAccessibility concode_elem_sep void onChange concode_elem_sep void onChange concode_elem_sep void unregisterRotationPolicyListener concode_elem_sep boolean isRotationLockToggleSupported concode_elem_sep void registerRotationPolicyListener concode_elem_sep void registerRotationPolicyListener