Handle no peeking in app info pages
Bug: 20496400 Change-Id: Icdcb997f35497c7664af948ad7ada722835e42b4
This commit is contained in:
@@ -87,4 +87,15 @@ public class AppStateNotificationBridge extends AppStateBaseBridge {
|
||||
return info.extraInfo != null && ((AppRow) info.extraInfo).sensitive;
|
||||
}
|
||||
};
|
||||
|
||||
public static final AppFilter FILTER_APP_NOTIFICATION_NO_PEEK = new AppFilter() {
|
||||
@Override
|
||||
public void init() {
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean filterApp(AppEntry info) {
|
||||
return info.extraInfo != null && !((AppRow) info.extraInfo).peekable;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user