Serhij Korochanskyj b8576312ca Fix BackAndroid subscriptions calls
Summary:
`BackAndroid` JS event subscriptions should be called in reverse order
(the subscription from the latest `addEventLister` should run first).

Also if listener returns true, don't call other listeners.

**Motivation**: We use `BackAndroid` listeners to prevent closing screens with user's input.
When we have two screens in stack (each screen with listener, which show alerts),
we want to show alert only from the last screen listener, not from all.
Closes https://github.com/facebook/react-native/pull/8929

Differential Revision: D3598978

Pulled By: dmmiller

fbshipit-source-id: a7b0762b36a60755a844e90fffd58887f89c9ffb
2016-07-21 08:58:24 -07:00
..
2016-04-27 19:16:32 -07:00
2016-04-29 07:35:22 -07:00
2016-06-01 13:59:16 -07:00
2016-02-27 15:58:35 -08:00
2016-02-27 15:58:35 -08:00
2016-05-17 12:43:40 -07:00
2015-08-06 20:22:24 -08:00
2015-12-15 09:09:32 -08:00
2016-01-15 05:15:31 -08:00
2016-06-03 05:43:26 -07:00
2016-06-03 05:43:26 -07:00
2016-06-13 10:13:36 -07:00