From c48bc45f4101226530cb149dae9b41a1adf40b45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=A8=E3=83=AA=E3=82=B9?= Date: Wed, 29 Jan 2025 17:26:33 +0900 Subject: [PATCH] refactor: formatted a todo block --- framework/src/org/apache/cordova/PluginManager.java | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/framework/src/org/apache/cordova/PluginManager.java b/framework/src/org/apache/cordova/PluginManager.java index 2bd626945..24560c2f3 100755 --- a/framework/src/org/apache/cordova/PluginManager.java +++ b/framework/src/org/apache/cordova/PluginManager.java @@ -371,12 +371,14 @@ public void onNewIntent(Intent intent) { } /** - * @todo should we move this somewhere public and accessible by all plugins? - * For now, it is placed where it is used and kept private so we can decide later and move without causing a breaking change. - * An ideal location might be in the "ConfigXmlParser" at the time it generates the "launchUrl". + * TODO: should we move this somewhere public and accessible by all plugins? * - * @todo should we be restrictive on the "file://" return? e.g. "file:///android_asset/www/" - * Would be considered as a breaking change if we apply a more granular check. + *

For now, it is placed where it is used and kept private so we can decide later and move without causing a breaking change. + * An ideal location might be in the "ConfigXmlParser" at the time it generates the "launchUrl".

+ * + * TODO: should we be restrictive on the "file://" return? e.g. "file:///android_asset/www/" + * + *

Would be considered as a breaking change if we apply a more granular check.

*/ private String getLaunchUrlPrefix() { if (!app.getPreferences().getBoolean("AndroidInsecureFileModeEnabled", false)) {