diff options
author | Allan Wang <allanwang@google.com> | 2019-08-15 16:04:14 -0700 |
---|---|---|
committer | Allan Wang <allanwang@google.com> | 2019-08-15 16:04:14 -0700 |
commit | 5aefeee08f68777dd07a16bd42a7d2392db6bbc9 (patch) | |
tree | a357e6cd419123d69ca5d2977c8ce839c56f3d87 /core/src/main/kotlin/ca/allanwang/kau/utils/PackageUtils.kt | |
parent | 85e9e1f253bb14512ae404989c45cbc199eb1eba (diff) | |
download | kau-5aefeee08f68777dd07a16bd42a7d2392db6bbc9.tar.gz kau-5aefeee08f68777dd07a16bd42a7d2392db6bbc9.tar.bz2 kau-5aefeee08f68777dd07a16bd42a7d2392db6bbc9.zip |
Apply spotless
Diffstat (limited to 'core/src/main/kotlin/ca/allanwang/kau/utils/PackageUtils.kt')
-rw-r--r-- | core/src/main/kotlin/ca/allanwang/kau/utils/PackageUtils.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/main/kotlin/ca/allanwang/kau/utils/PackageUtils.kt b/core/src/main/kotlin/ca/allanwang/kau/utils/PackageUtils.kt index 4055847..0bd534e 100644 --- a/core/src/main/kotlin/ca/allanwang/kau/utils/PackageUtils.kt +++ b/core/src/main/kotlin/ca/allanwang/kau/utils/PackageUtils.kt @@ -54,13 +54,13 @@ fun Context.isAppEnabled(packageName: String): Boolean { @KauUtils fun Context.showAppInfo(packageName: String) { try { - //Open the specific App Info page: + // Open the specific App Info page: val intent = Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS) intent.data = Uri.parse("package:$packageName") startActivity(intent) } catch (e: ActivityNotFoundException) { e.printStackTrace() - //Open the generic Apps page: + // Open the generic Apps page: val intent = Intent(Settings.ACTION_MANAGE_APPLICATIONS_SETTINGS) startActivity(intent) } |