|
|
|
|
664
|
WritableMap map = Arguments.createMap();
|
664
|
WritableMap map = Arguments.createMap();
|
665
|
map.putInt("uid", uid);
|
665
|
map.putInt("uid", uid);
|
666
|
map.putInt("state", state);
|
666
|
map.putInt("state", state);
|
667
|
- map.putInt("uid", reason);
|
|
|
|
|
667
|
+ map.putInt("reason", reason);
|
668
|
map.putInt("elapsed", elapsed);
|
668
|
map.putInt("elapsed", elapsed);
|
669
|
sendEvent(getReactApplicationContext(), AGRemoteAudioStateChanged, map);
|
669
|
sendEvent(getReactApplicationContext(), AGRemoteAudioStateChanged, map);
|
670
|
}
|
670
|
}
|