Skip to content

Commit 9423f2e

Browse files
committed
Remove OssLicensesCompatActivity
1 parent d4c86ab commit 9423f2e

File tree

3 files changed

+1
-72
lines changed

3 files changed

+1
-72
lines changed
Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
package com.edricchan.studybuddy.utils
22

3-
import android.content.Context
43
import android.provider.Settings
54
import androidx.core.net.toUri
65
import com.edricchan.studybuddy.BuildConfig
76
import 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. */
119
fun 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
*/
2018
val 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)
Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,2 @@
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 />

ui/common/src/main/kotlin/com/edricchan/studybuddy/ui/common/licenses/OssLicensesCompatActivity.kt

Lines changed: 0 additions & 53 deletions
This file was deleted.

0 commit comments

Comments
 (0)