()
| 344 | } |
| 345 | |
| 346 | public onBackPressed(): boolean { |
| 347 | if (this.canGoBack()) { |
| 348 | this.goBack(); |
| 349 | |
| 350 | return true; |
| 351 | } |
| 352 | |
| 353 | if (!this.navigationQueueIsEmpty()) { |
| 354 | const manager = this._getFragmentManager(); |
| 355 | if (manager) { |
| 356 | manager.executePendingTransactions(); |
| 357 | |
| 358 | return true; |
| 359 | } |
| 360 | } |
| 361 | |
| 362 | return false; |
| 363 | } |
| 364 | |
| 365 | // HACK: This @profile decorator creates a circular dependency |
| 366 | // HACK: because the function parameter type is evaluated with 'typeof' |
nothing calls this directly
no test coverage detected