A typical loop delivering a broadcast looks like this:
*
*
<<<<<<< HEAD
* final int N = callbacks.beginBroadcast();
* for (int i=0; i<N; i++) {
=======
* int i = callbacks.beginBroadcast();
* while (i > 0) {
* i--;
>>>>>>> b06ea706530e6d19eb2a1a9a7ae6c5dd77d80af0
* try {
* callbacks.getBroadcastItem(i).somethingHappened();
* } catch (RemoteException e) {
Solution content
*
A typical loop delivering a broadcast looks like this:
*
*
* int i = callbacks.beginBroadcast();
* while (i > 0) {
* i--;
* try {
* callbacks.getBroadcastItem(i).somethingHappened();
* } catch (RemoteException e) {