android - Code stops executing at mNotificationManager.notify( , ) -
although sendxxxxx booleans true code stops executing @ first notify(). if manually set first 1 false, code stops executing inside second if statement.
when .notify() called acts return statement. exits function doesn't throw errors/exceptions.
if (sendac) { mnotificationmanager.notify(xmpp_id, notificationhouse); } if (sendrefridgerator) { mnotificationmanager.notify(xmpp_idrefridgerator, notificationrefridgerator); } if (sendwater) { mnotificationmanager.notify(xmpp_idwater, notificationwater); }
okay, hours later figured out. silent exception (it didn't show in logcat). went through thread step step in debugger , showed security exception. added try catch around figure out error was. didn't have vibrate permissions in manifest getting securityexception, wasn't showing without catch.
Comments
Post a Comment