(activity: androidx.appcompat.app.AppCompatActivity, frameId: number)
| 707 | } |
| 708 | |
| 709 | function startActivity(activity: androidx.appcompat.app.AppCompatActivity, frameId: number) { |
| 710 | // TODO: Implicitly, we will open the same activity type as the current one |
| 711 | const intent = new android.content.Intent(activity, activity.getClass()); |
| 712 | intent.setAction(android.content.Intent.ACTION_DEFAULT); |
| 713 | intent.putExtra(INTENT_EXTRA, frameId); |
| 714 | |
| 715 | // TODO: Put the navigation context (if any) in the intent |
| 716 | activity.startActivity(intent); |
| 717 | } |
| 718 | |
| 719 | let OnBackPressedCallback; |
| 720 |
no test coverage detected