예제 #1
0
 public void unregisterForSuppServiceNotification(Handler h) {
   mSsnRegistrants.remove(h);
   if (mSsnRegistrants.size() == 0) mCM.setSuppServiceNotifications(false, null);
 }
예제 #2
0
 public void registerForSuppServiceNotification(Handler h, int what, Object obj) {
   mSsnRegistrants.addUnique(h, what, obj);
   if (mSsnRegistrants.size() == 1) mCM.setSuppServiceNotifications(true, null);
 }