OSDN Git Service

b/2157070 Fixed the Calendar event reminder alert.
authorMichael Chan <mchan@android.com>
Wed, 30 Sep 2009 18:44:16 +0000 (11:44 -0700)
committerMichael Chan <mchan@android.com>
Wed, 30 Sep 2009 18:44:16 +0000 (11:44 -0700)
Change-Id: I161a5026307717209f98e3e14394e13ab6a592cf

src/com/android/calendar/AlertService.java

index f285950..3719f6b 100644 (file)
@@ -113,7 +113,7 @@ public class AlertService extends Service {
         }
 
         if (alertUri != null) {
-            if (Calendar.AUTHORITY.equals(alertUri.getAuthority())) {
+            if (!Calendar.AUTHORITY.equals(alertUri.getAuthority())) {
                 Log.w(TAG, "Invalid AUTHORITY uri: " + alertUri);
                 return;
             }