getCurrentInterruptionFilter should return the filter value, not the hints.
Bug: 17641218 Change-Id: I4a6ff073c04a3d3624916293824faba40f6226aa
This commit is contained in:
@@ -478,7 +478,7 @@ public abstract class NotificationListenerService extends Service {
|
||||
public final int getCurrentInterruptionFilter() {
|
||||
if (!isBound()) return 0;
|
||||
try {
|
||||
return getNotificationInterface().getHintsFromListener(mWrapper);
|
||||
return getNotificationInterface().getInterruptionFilterFromListener(mWrapper);
|
||||
} catch (android.os.RemoteException ex) {
|
||||
Log.v(TAG, "Unable to contact notification manager", ex);
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user