Increase test coverage for NotificationChannel am: 8cfe3433f9 am: 578273355b
Change-Id: Ia9df8444c92b5649184049b154a7f9128c59cda7
This commit is contained in:
@@ -429,6 +429,7 @@ package android.app {
|
||||
method public boolean isBlockableSystem();
|
||||
method public boolean isImportanceLockedByCriticalDeviceFunction();
|
||||
method public boolean isImportanceLockedByOEM();
|
||||
method public void lockFields(int);
|
||||
method public void setBlockableSystem(boolean);
|
||||
method public void setDeleted(boolean);
|
||||
method public void setFgServiceShown(boolean);
|
||||
@@ -436,6 +437,7 @@ package android.app {
|
||||
method public void setImportanceLockedByOEM(boolean);
|
||||
method public void setImportantConversation(boolean);
|
||||
method public void setOriginalImportance(int);
|
||||
field public static final int USER_LOCKED_SOUND = 32; // 0x20
|
||||
}
|
||||
|
||||
public final class NotificationChannelGroup implements android.os.Parcelable {
|
||||
|
||||
@@ -134,6 +134,7 @@ public final class NotificationChannel implements Parcelable {
|
||||
* @hide
|
||||
*/
|
||||
@SystemApi
|
||||
@TestApi
|
||||
public static final int USER_LOCKED_SOUND = 0x00000020;
|
||||
|
||||
/**
|
||||
@@ -331,6 +332,7 @@ public final class NotificationChannel implements Parcelable {
|
||||
/**
|
||||
* @hide
|
||||
*/
|
||||
@TestApi
|
||||
public void lockFields(int field) {
|
||||
mUserLockedFields |= field;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user