| 62 | void UIApplication::initiateExitIfPossible(int exitCode) {} |
| 63 | |
| 64 | void UIApplication::openURL(const std::string &url) |
| 65 | { |
| 66 | bdn::android::wrapper::Intent intent(std::string((const char *)bdn::android::wrapper::Intent::ACTION_VIEW), |
| 67 | bdn::android::wrapper::Uri::parse(url)); |
| 68 | bdn::android::wrapper::NativeRootView rootView( |
| 69 | WindowCore::getRootViewRegistryForCurrentThread().getNewestValidRootView()); |
| 70 | rootView.getContext().startActivity(intent); |
| 71 | } |
| 72 | |
| 73 | std::string UIApplication::uriToBundledFileUri(const std::string &uri) |
| 74 | { |
no test coverage detected