Fix compile error in test cases from 3ddf435fb4
Change-Id: I83bb44505938e8a969b8c123d0947b6c35e12f8c
This commit is contained in:
parent
4a964c508e
commit
efb527473e
@ -89,7 +89,7 @@ import java.util.Map;
|
|||||||
final int expectedKeyboardBrightness = 4;
|
final int expectedKeyboardBrightness = 4;
|
||||||
Settings.Secure.putIntForUser(mContentResolver,
|
Settings.Secure.putIntForUser(mContentResolver,
|
||||||
CMSettingsProvider.LegacyCMSettings.KEYBOARD_BRIGHTNESS,
|
CMSettingsProvider.LegacyCMSettings.KEYBOARD_BRIGHTNESS,
|
||||||
expectedKeyboardBrightness, userId);*/
|
expectedKeyboardBrightness, userId);
|
||||||
|
|
||||||
Bundle arg = new Bundle();
|
Bundle arg = new Bundle();
|
||||||
arg.putInt(CMSettings.CALL_METHOD_USER_KEY, userId);
|
arg.putInt(CMSettings.CALL_METHOD_USER_KEY, userId);
|
||||||
@ -111,7 +111,7 @@ import java.util.Map;
|
|||||||
|
|
||||||
final int actualKeyboardBrightness = CMSettings.Secure.getIntForUser(mContentResolver,
|
final int actualKeyboardBrightness = CMSettings.Secure.getIntForUser(mContentResolver,
|
||||||
CMSettings.Secure.KEYBOARD_BRIGHTNESS, -1, userId);
|
CMSettings.Secure.KEYBOARD_BRIGHTNESS, -1, userId);
|
||||||
assertEquals(expectedKeyboardBrightness, actualKeyboardBrightness);
|
assertEquals(expectedKeyboardBrightness, actualKeyboardBrightness);*/
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean findUser(UserManager userManager, int userHandle) {
|
private boolean findUser(UserManager userManager, int userHandle) {
|
||||||
|
Loading…
Reference in New Issue
Block a user