[Android] License: fix code style
Diego Fernando Nieto
git at videolan.org
Sun Jun 28 10:40:17 CEST 2020
vlc-android | branch: master | Diego Fernando Nieto <diegofn at me.com> | Sat Jun 20 09:21:02 2020 -0500| [97f15cc748aca8fee15653484da1c2a357541f93] | committer: Diego Fernando Nieto
License: fix code style
> https://code.videolan.org/videolan/vlc-android/commit/97f15cc748aca8fee15653484da1c2a357541f93
---
.../src/main/java/org/videolan/television/ui/LicenceActivity.kt | 4 ++--
application/vlc-android/src/org/videolan/vlc/gui/AboutFragment.kt | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/application/television/src/main/java/org/videolan/television/ui/LicenceActivity.kt b/application/television/src/main/java/org/videolan/television/ui/LicenceActivity.kt
index eca3f445a..2ca8731df 100644
--- a/application/television/src/main/java/org/videolan/television/ui/LicenceActivity.kt
+++ b/application/television/src/main/java/org/videolan/television/ui/LicenceActivity.kt
@@ -41,8 +41,8 @@ class LicenceActivity : FragmentActivity() {
if (url.contains("file://")) {
view.loadUrl(url)
} else {
- val i = Intent(Intent.ACTION_VIEW, Uri.parse(url))
- startActivity(i)
+ val intent = Intent(Intent.ACTION_VIEW, Uri.parse(url))
+ startActivity(intent)
}
return true
}
diff --git a/application/vlc-android/src/org/videolan/vlc/gui/AboutFragment.kt b/application/vlc-android/src/org/videolan/vlc/gui/AboutFragment.kt
index f06313c1e..623b18f5f 100644
--- a/application/vlc-android/src/org/videolan/vlc/gui/AboutFragment.kt
+++ b/application/vlc-android/src/org/videolan/vlc/gui/AboutFragment.kt
@@ -108,8 +108,8 @@ class AboutFragment : Fragment() {
if (url.contains("file://")) {
view.loadUrl(url)
} else {
- val i = Intent(Intent.ACTION_VIEW, Uri.parse(url))
- startActivity(i)
+ val intent = Intent(Intent.ACTION_VIEW, Uri.parse(url))
+ startActivity(intent)
}
return true
}
More information about the Android
mailing list