Merge "Lock more of the things" into qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
688224b7bd
File diff suppressed because it is too large
Load Diff
@@ -940,12 +940,12 @@ public class PreferencesHelperTest extends UiServiceTestCase {
|
||||
@Test
|
||||
public void testClearLockedFields() {
|
||||
final NotificationChannel channel = getChannel();
|
||||
mHelper.clearLockedFields(channel);
|
||||
mHelper.clearLockedFieldsLocked(channel);
|
||||
assertEquals(0, channel.getUserLockedFields());
|
||||
|
||||
channel.lockFields(NotificationChannel.USER_LOCKED_PRIORITY
|
||||
| NotificationChannel.USER_LOCKED_IMPORTANCE);
|
||||
mHelper.clearLockedFields(channel);
|
||||
mHelper.clearLockedFieldsLocked(channel);
|
||||
assertEquals(0, channel.getUserLockedFields());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user