Why don't my alerts sound? Trying to debug this issue.

pull/14/head
Tim Su 17 years ago
parent da02524fa9
commit 13a8852090

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.timsu.astrid" package="com.timsu.astrid"
android:versionCode="28" android:versionCode="29"
android:versionName="1.9.3"> android:versionName="1.9.4">
<uses-permission android:name="android.permission.VIBRATE"/> <uses-permission android:name="android.permission.VIBRATE"/>

@ -547,6 +547,7 @@ public class TaskEdit extends TaskModificationTabbedActivity<TaskModelForEdit> {
protected void onDestroy() { protected void onDestroy() {
super.onDestroy(); super.onDestroy();
tagController.close(); tagController.close();
alertController.close();
} }
/* ====================================================================== /* ======================================================================

@ -321,9 +321,12 @@ public class Notifications extends BroadcastReceiver {
appName, appName,
reminder + " " + taskName, reminder + " " + taskName,
pendingIntent); pendingIntent);
if(!quietHours) { if(quietHours) {
notification.vibrate = null; notification.vibrate = null;
notification.sound = null; notification.sound = null;
notification.defaults = Notification.DEFAULT_LIGHTS;
} else {
notification.defaults = Notification.DEFAULT_ALL;
} }
Log.w("Astrid", "Logging notification: " + reminder); Log.w("Astrid", "Logging notification: " + reminder);

Loading…
Cancel
Save