summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authorSelim Cinek <cinek@google.com>2014-11-24 13:35:53 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-11-24 13:35:53 +0000
commit44b50ad313e827f03391ebac47f3db6308b52d42 (patch)
treed42d5fb476002f89bddc95fb38f2a131e3a83b5e /src/com
parent6ad8579262dbc059472a2cbe1ff4b675f01e4268 (diff)
parent334bd70fc7e61567443cbf25b12bbf18aa5b636d (diff)
downloadpackages_apps_Settings-44b50ad313e827f03391ebac47f3db6308b52d42.zip
packages_apps_Settings-44b50ad313e827f03391ebac47f3db6308b52d42.tar.gz
packages_apps_Settings-44b50ad313e827f03391ebac47f3db6308b52d42.tar.bz2
Merge "Fixed build breakage due to api change." into lmp-mr1-dev
Diffstat (limited to 'src/com')
-rw-r--r--src/com/android/settings/notification/ZenModeConditionSelection.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/settings/notification/ZenModeConditionSelection.java b/src/com/android/settings/notification/ZenModeConditionSelection.java
index 2f86f63..87f55a3 100644
--- a/src/com/android/settings/notification/ZenModeConditionSelection.java
+++ b/src/com/android/settings/notification/ZenModeConditionSelection.java
@@ -23,6 +23,7 @@ import android.os.Handler;
import android.os.Message;
import android.os.RemoteException;
import android.os.ServiceManager;
+import android.os.UserHandle;
import android.service.notification.Condition;
import android.service.notification.IConditionListener;
import android.service.notification.ZenModeConfig;
@@ -61,7 +62,7 @@ public class ZenModeConditionSelection extends RadioGroup {
b.setChecked(true);
for (int i = ZenModeConfig.MINUTE_BUCKETS.length - 1; i >= 0; --i) {
handleCondition(ZenModeConfig.toTimeCondition(mContext,
- ZenModeConfig.MINUTE_BUCKETS[i]));
+ ZenModeConfig.MINUTE_BUCKETS[i], UserHandle.myUserId()));
}
}