Loading src/java/com/android/internal/telephony/uicc/IccRecords.java +5 −0 Original line number Diff line number Diff line Loading @@ -211,6 +211,11 @@ public abstract class IccRecords extends Handler implements IccConstants { public void registerForRecordsEvents(Handler h, int what, Object obj) { Registrant r = new Registrant (h, what, obj); mRecordsEventsRegistrants.add(r); /* Notify registrant of all the possible events. This is to make sure registrant is notified even if event occurred in the past. */ r.notifyResult(EVENT_MWI); r.notifyResult(EVENT_CFI); } public void unregisterForRecordsEvents(Handler h) { mRecordsEventsRegistrants.remove(h); Loading Loading
src/java/com/android/internal/telephony/uicc/IccRecords.java +5 −0 Original line number Diff line number Diff line Loading @@ -211,6 +211,11 @@ public abstract class IccRecords extends Handler implements IccConstants { public void registerForRecordsEvents(Handler h, int what, Object obj) { Registrant r = new Registrant (h, what, obj); mRecordsEventsRegistrants.add(r); /* Notify registrant of all the possible events. This is to make sure registrant is notified even if event occurred in the past. */ r.notifyResult(EVENT_MWI); r.notifyResult(EVENT_CFI); } public void unregisterForRecordsEvents(Handler h) { mRecordsEventsRegistrants.remove(h); Loading