This commit continues the work done in #2057. When hardware back button is pressed, we handle it accordingly: 1. If screen was pushed with `overrideBackPress: true`, we emit `backPress` event 2. Let `BackHandler` handle the event 3. If the event wasn't handled by `BackHandler`, pop the stack 4. let the system handle the event
|
||
172 | 172 |
|
173 | 173 |
|
174 | 174 |
|
175 |
|
|
175 |
|
|
176 |
|
|
177 |
|
|
176 | 178 |
|
177 | 179 |
|
178 | 180 |
|
179 | 181 |
|
180 |
|
|
182 |
|
|
183 |
|
|
184 |
|
|
185 |
|
|
181 | 186 |
|
187 |
|
|
188 |
|
|
182 | 189 |
|
183 | 190 |
|
184 | 191 |
|
|
||
152 | 152 |
|
153 | 153 |
|
154 | 154 |
|
155 |
|
|
155 |
|
|
156 | 156 |
|
157 | 157 |
|
158 | 158 |
|
|
||
166 | 166 |
|
167 | 167 |
|
168 | 168 |
|
169 |
|
|
170 |
|
|
171 |
|
|
172 |
|
|
173 |
|
|
169 | 174 |
|
170 | 175 |
|
171 | 176 |
|
|
||
21 | 21 |
|
22 | 22 |
|
23 | 23 |
|
24 |
|
|
25 |
|
|
24 | 26 |
|
25 | 27 |
|
26 | 28 |
|
|
||
109 | 109 |
|
110 | 110 |
|
111 | 111 |
|
112 |
|
|
112 |
|
|
113 | 113 |
|
114 | 114 |
|
115 | 115 |
|
|
||
122 | 122 |
|
123 | 123 |
|
124 | 124 |
|
125 |
|
|
126 |
|
|
127 |
|
|
128 |
|
|
129 |
|
|
125 | 130 |
|
126 | 131 |
|
127 | 132 |
|