Settings: Update to follow NotificationManager aidl change.

Depends on frameworks/base:
  I1d8269a4e6fe170ce776bf932dbbdfb29dd25dd7

Change-Id: I4015b60d84541a1f3d9e9c506ab8f44f1d18f71f
diff --git a/src/com/android/settings/notification/ZenModeConditionSelection.java b/src/com/android/settings/notification/ZenModeConditionSelection.java
index 4b1c229..610baba 100644
--- a/src/com/android/settings/notification/ZenModeConditionSelection.java
+++ b/src/com/android/settings/notification/ZenModeConditionSelection.java
@@ -54,14 +54,14 @@
         b.setChecked(true);
     }
 
-    private RadioButton newRadioButton(Object tag) {
+    private RadioButton newRadioButton(Condition condition) {
         final RadioButton button = new RadioButton(mContext);
-        button.setTag(tag);
+        button.setTag(condition);
         button.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
             @Override
             public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
                 if (isChecked) {
-                    handleSubscribe((Uri)button.getTag());
+                    handleSubscribe((Condition) button.getTag());
                 }
             }
         });
@@ -95,7 +95,7 @@
             RadioButton v = (RadioButton) findViewWithTag(c.id);
             if (c.state == Condition.STATE_TRUE || c.state == Condition.STATE_UNKNOWN) {
                 if (v == null) {
-                    v = newRadioButton(c.id);
+                    v = newRadioButton(c);
                 }
             }
             if (v != null) {
@@ -105,10 +105,10 @@
         }
     }
 
-    protected void handleSubscribe(Uri id) {
-        if (DEBUG) Log.d(TAG, "handleSubscribe " + id);
+    protected void handleSubscribe(Condition c) {
+        if (DEBUG) Log.d(TAG, "handleSubscribe " + c);
         try {
-            mNoMan.setZenModeCondition(id);
+            mNoMan.setZenModeCondition(c);
         } catch (RemoteException e) {
             // noop
         }