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

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -