Merge "getCurrentInterruptionFilter should return the filter value, not the hints." into lmp-dev

This commit is contained in:
Chris Wren
2014-09-25 17:21:31 +00:00
committed by Android (Google) Code Review

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;