Skip to content

Commit

Permalink
Elevate to 'core/platform' app'
Browse files Browse the repository at this point in the history
Change-Id: I06333610166f5aacedbb46bf3bed65146e76dac0
Signed-off-by: Pranav Vashi <[email protected]>
Signed-off-by: LordShenron <[email protected]>
  • Loading branch information
Alex Cruz authored and LordShenron committed Jul 29, 2021
1 parent 8e26fe0 commit c93c9d9
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 12 deletions.
3 changes: 1 addition & 2 deletions Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,5 @@ java_library {

srcs: ["src_plugins/**/*.java"],

sdk_version: "current",
min_sdk_version: "28",
platform_apis: true,
}
11 changes: 7 additions & 4 deletions Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ LOCAL_PROTOC_OPTIMIZE_TYPE := nano
LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)/protos/ --proto_path=$(LOCAL_PATH)/proto_overrides/
LOCAL_PROTO_JAVA_OUTPUT_PARAMS := enum_style=java

LOCAL_SDK_VERSION := current
LOCAL_MIN_SDK_VERSION := 26
LOCAL_PRIVATE_PLATFORM_APIS := true
LOCAL_CERTIFICATE := platform
LOCAL_MODULE := Launcher3CommonDepsLib
LOCAL_PRIVILEGED_MODULE := true
LOCAL_MANIFEST_FILE := AndroidManifest-common.xml
Expand Down Expand Up @@ -89,9 +89,10 @@ LOCAL_PROGUARD_FLAG_FILES := proguard.flags
# Proguard is disable for testing. Derivarive prjects to keep proguard enabled
LOCAL_PROGUARD_ENABLED := disabled

LOCAL_SDK_VERSION := current
LOCAL_MIN_SDK_VERSION := 26
LOCAL_PACKAGE_NAME := Trebuchet
LOCAL_PRIVATE_PLATFORM_APIS := true
LOCAL_CERTIFICATE := platform
LOCAL_PRIVILEGED_MODULE := true
LOCAL_SYSTEM_EXT_MODULE := true
LOCAL_OVERRIDES_PACKAGES := Home Launcher2 Launcher3
Expand Down Expand Up @@ -120,9 +121,10 @@ LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/go/res

LOCAL_PROGUARD_FLAG_FILES := proguard.flags

LOCAL_SDK_VERSION := current
LOCAL_MIN_SDK_VERSION := 26
LOCAL_PACKAGE_NAME := TrebuchetGo
LOCAL_PRIVATE_PLATFORM_APIS := true
LOCAL_CERTIFICATE := platform
LOCAL_PRIVILEGED_MODULE := true
LOCAL_SYSTEM_EXT_MODULE := true
LOCAL_OVERRIDES_PACKAGES := Home Launcher2 Launcher3 Launcher3QuickStep Launcher3Go
Expand Down Expand Up @@ -194,6 +196,7 @@ LOCAL_PACKAGE_NAME := TrebuchetQuickStep
LOCAL_PRIVILEGED_MODULE := true
LOCAL_SYSTEM_EXT_MODULE := true
LOCAL_OVERRIDES_PACKAGES := Home Launcher2 Launcher3 Launcher3QuickStep
LOCAL_CERTIFICATE := platform
LOCAL_REQUIRED_MODULES := privapp_whitelist_com.android.launcher3

LOCAL_RESOURCE_DIR := \
Expand Down
5 changes: 4 additions & 1 deletion AndroidManifest-common.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@
-->
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.launcher3">
xmlns:tools="http://schemas.android.com/tools"
package="com.android.launcher3"
coreApp="true"
android:sharedUserId="android.uid.system">

<!--
The manifest defines the common entries that should be present in any derivative of Launcher3.
Expand Down
8 changes: 6 additions & 2 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,12 @@
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.android.launcher3">
<uses-sdk android:targetSdkVersion="29" android:minSdkVersion="26"/>
xmlns:tools="http://schemas.android.com/tools"
package="com.android.launcher3"
coreApp="true"
android:sharedUserId="android.uid.system">
<uses-sdk android:targetSdkVersion="30" android:minSdkVersion="26"/>

<!--
Manifest entries specific to Launcher3. This is merged with AndroidManifest-common.xml.
Refer comments around specific entries on how to extend individual components.
Expand Down
8 changes: 6 additions & 2 deletions quickstep/AndroidManifest-launcher.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,12 @@
-->
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.launcher3">
<uses-sdk android:targetSdkVersion="29" android:minSdkVersion="25"/>
package="com.android.launcher3"
coreApp="true"
android:sharedUserId="android.uid.system">

<uses-sdk android:targetSdkVersion="30" android:minSdkVersion="25"/>

<!--
Manifest entries specific to Launcher3. This is merged with AndroidManifest-common.xml.
Refer comments around specific entries on how to extend individual components.
Expand Down
4 changes: 3 additions & 1 deletion quickstep/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.android.launcher3" >
package="com.android.launcher3"
coreApp="true"
android:sharedUserId="android.uid.system">

<permission
android:name="${packageName}.permission.HOTSEAT_EDU"
Expand Down

0 comments on commit c93c9d9

Please sign in to comment.