File tree 7 files changed +85
-0
lines changed
com/android/internal/graphics/drawable
7 files changed +85
-0
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,9 @@ repositories {
73
73
74
74
dependencies {
75
75
76
+ compileOnly(project(" :hidden-api" ))
77
+ compileOnly(" de.robv.android.xposed:api:82" )
78
+
76
79
compileOnly files(' libs/miui.jar' )
77
80
compileOnly files(" libs/miui-framework.jar" )
78
81
@@ -83,6 +86,16 @@ dependencies {
83
86
implementation " com.google.accompanist:accompanist-systemuicontroller:0.28.0"
84
87
implementation " org.lsposed.hiddenapibypass:hiddenapibypass:4.3"
85
88
89
+ implementation " androidx.appcompat:appcompat:1.6.0"
90
+ implementation " androidx.core:core:1.9.0"
91
+ implementation " androidx.collection:collection:1.2.0"
92
+ implementation " androidx.fragment:fragment:1.5.5"
93
+ implementation " androidx.lifecycle:lifecycle-common:2.5.1"
94
+ implementation " androidx.vectordrawable:vectordrawable:1.1.0"
95
+ implementation " androidx.vectordrawable:vectordrawable-animated:1.1.0"
96
+ implementation " androidx.customview:customview:1.1.0"
97
+ implementation " androidx.customview:customview-poolingcontainer:1.0.0"
98
+
86
99
implementation roots.AndroidXCore
87
100
implementation roots.AndroidXCollection
88
101
implementation roots.AndroidXRecyclerview
Original file line number Diff line number Diff line change
1
+ /build
Original file line number Diff line number Diff line change
1
+ plugins {
2
+ id(" com.android.library" )
3
+ id(" org.jetbrains.kotlin.android" )
4
+ }
5
+
6
+ android {
7
+ compileSdk = 33
8
+ namespace = " com.android.internal"
9
+ buildTypes {
10
+ release {
11
+ isMinifyEnabled = false
12
+ setProguardFiles(listOf (getDefaultProguardFile(" proguard-android-optimize.txt" ), " proguard-rules.pro" ))
13
+ }
14
+ }
15
+ compileOptions {
16
+ sourceCompatibility = JavaVersion .VERSION_11
17
+ targetCompatibility = JavaVersion .VERSION_11
18
+ }
19
+ kotlinOptions {
20
+ jvmTarget = JavaVersion .VERSION_11 .majorVersion
21
+ }
22
+ }
23
+
24
+ dependencies {
25
+ implementation(" androidx.annotation:annotation:1.5.0" )
26
+ }
Original file line number Diff line number Diff line change
1
+ # Add project specific ProGuard rules here.
2
+ # You can control the set of applied configuration files using the
3
+ # proguardFiles setting in build.gradle.
4
+ #
5
+ # For more details, see
6
+ # http://developer.android.com/guide/developing/tools/proguard.html
7
+
8
+ # If your project uses WebView with JS, uncomment the following
9
+ # and specify the fully qualified class name to the JavaScript interface
10
+ # class:
11
+ #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12
+ # public *;
13
+ #}
14
+
15
+ # Uncomment this to preserve the line number information for
16
+ # debugging stack traces.
17
+ #-keepattributes SourceFile,LineNumberTable
18
+
19
+ # If you keep the line number information, uncomment this to
20
+ # hide the original source file name.
21
+ #-renamesourcefileattribute SourceFile
Original file line number Diff line number Diff line change
1
+ package android .view ;
2
+
3
+ import android .os .Build ;
4
+
5
+ import androidx .annotation .RequiresApi ;
6
+
7
+ import com .android .internal .graphics .drawable .BackgroundBlurDrawable ;
8
+
9
+ public class ViewRootImpl {
10
+ @ RequiresApi (Build .VERSION_CODES .S )
11
+ public BackgroundBlurDrawable createBackgroundBlurDrawable () {
12
+ throw new RuntimeException ("Stub!" );
13
+ }
14
+ }
Original file line number Diff line number Diff line change
1
+ package com .android .internal .graphics .drawable ;
2
+
3
+ import android .graphics .drawable .Drawable ;
4
+ import android .os .Build ;
5
+
6
+ import androidx .annotation .RequiresApi ;
7
+
8
+ @ RequiresApi (Build .VERSION_CODES .S )
9
+ public abstract class BackgroundBlurDrawable extends Drawable { }
Original file line number Diff line number Diff line change @@ -21,3 +21,4 @@ dependencyResolutionManagement {
21
21
}
22
22
rootProject. name = " Cemiuiler"
23
23
include ' :app'
24
+ include ' :hidden-api'
You can’t perform that action at this time.
0 commit comments