getCurrentInterruptionFilter should return the filter value, not the hints.

Bug: 17641218
Change-Id: I4a6ff073c04a3d3624916293824faba40f6226aa
This commit is contained in:
Chris Wren
2014-09-24 18:17:36 -04:00
parent b294eac086
commit 957ed70273

View File

@@ -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;