Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jhenrique09 committed Aug 28, 2022
0 parents commit 8be4fc8
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 0 deletions.
50 changes: 50 additions & 0 deletions SystemUIGoogle/Android.bp
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
android_library {
name: "SystemUIGoogle-core",
srcs: [
"src/**/*.kt",
"src/**/*.java",
"src/**/*.aidl",
],
resource_dirs: [
"res",
],
static_libs: [
"SystemUI-core",
],
manifest: "AndroidManifest.xml",

kotlincflags: ["-Xjvm-default=enable"],

plugins: ["dagger2-compiler"],
lint: {
extra_check_modules: ["SystemUILintChecker"],
},
}

android_app {
name: "SystemUIGoogle",
defaults: ["platform_app_defaults"],
static_libs: [
"SystemUIGoogle-core",
],
resource_dirs: [],

platform_apis: true,
system_ext_specific: true,
certificate: "platform",
privileged: true,

optimize: {
proguard_flags_files: ["proguard.flags"],
},

kotlincflags: ["-Xjvm-default=enable"],

dxflags: ["--multi-dex"],
required: [
"privapp_whitelist_com.android.systemui",
],
overrides: [
"SystemUI",
],
}
13 changes: 13 additions & 0 deletions SystemUIGoogle/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
package="com.android.systemui"
android:sharedUserId="android.uid.systemui"
xmlns:tools="http://schemas.android.com/tools"
coreApp="true">

<original-package android:name="com.android.systemui"/>

<application>
</application>
</manifest>
1 change: 1 addition & 0 deletions SystemUIGoogle/proguard.flags
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-include ../../../frameworks/base/packages/SystemUI/proguard.flags
2 changes: 2 additions & 0 deletions config.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
PRODUCT_PACKAGES += \
SystemUIGoogle

0 comments on commit 8be4fc8

Please sign in to comment.