Projects >> android-frameworks-base-with-remote-control-service >>dace230043314d6fab1c5ced4b031eaccd814c25

Chunk
Conflicting content
     * 

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) {
File
RemoteCallbackList.java
Developer's decision
Manual
Kind of conflict
Comment