File tree Expand file tree Collapse file tree 3 files changed +1
-72
lines changed
app/src/main/java/com/edricchan/studybuddy/utils
kotlin/com/edricchan/studybuddy/ui/common/licenses Expand file tree Collapse file tree 3 files changed +1
-72
lines changed Original file line number Diff line number Diff line change 11package com.edricchan.studybuddy.utils
22
3- import android.content.Context
43import android.provider.Settings
54import androidx.core.net.toUri
65import com.edricchan.studybuddy.BuildConfig
76import com.edricchan.studybuddy.exts.android.buildIntent
8- import com.edricchan.studybuddy.ui.common.licenses.OssLicensesCompatActivity
97
108/* * Creates an [android.content.Intent] that opens the given [packageName]'s app details. */
119fun appDetailsIntent (packageName : String = BuildConfig .APPLICATION_ID ) = buildIntent {
@@ -18,12 +16,3 @@ fun appDetailsIntent(packageName: String = BuildConfig.APPLICATION_ID) = buildIn
1816 * @receiver The package name to use.
1917 */
2018val String .appDetailsIntent get() = appDetailsIntent(this )
21-
22- /* *
23- * Creates an [android.content.Intent] that opens the
24- * [licenses activity][OssLicensesCompatActivity].
25- */
26- @Suppress(" DeprecatedCallableAddReplaceWith" )
27- @Deprecated(" Use the LibrariesContainer composable if possible" )
28- val Context .licenseIntent
29- get() = buildIntent<OssLicensesCompatActivity >(this )
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
2- <manifest xmlns : android =" http://schemas.android.com/apk/res/android" >
3-
4- <application >
5- <activity
6- android : name =" .licenses.OssLicensesCompatActivity"
7- android : label =" @string/activity_license_title" />
8- </application >
9- </manifest >
2+ <manifest />
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments