Merge "Establish permanently unavailable settings"
This commit is contained in:
committed by
Android (Google) Code Review
commit
02ec86a17b
@@ -67,7 +67,7 @@ public class GameControllerPreferenceController extends TogglePreferenceControll
|
||||
public int getAvailabilityStatus() {
|
||||
// If device explicitly wants to hide this, return early.
|
||||
if (!mContext.getResources().getBoolean(R.bool.config_show_vibrate_input_devices)) {
|
||||
return DISABLED_UNSUPPORTED;
|
||||
return UNSUPPORTED_ON_DEVICE;
|
||||
}
|
||||
|
||||
final int[] devices = mIm.getInputDeviceIds();
|
||||
@@ -77,7 +77,7 @@ public class GameControllerPreferenceController extends TogglePreferenceControll
|
||||
return AVAILABLE;
|
||||
}
|
||||
}
|
||||
return DISABLED_UNSUPPORTED;
|
||||
return CONDITIONALLY_UNAVAILABLE;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user