forked from MrSluffy/vendor_OnePlusLauncher
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add OOS Launcher && Recents Provider
"Port by @MrSluffy
- Loading branch information
0 parents
commit 06b6b72
Showing
8 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
include $(call first-makefiles-under,$(LOCAL_PATH)) | ||
|
||
PRODUCT_COPY_FILES += \ | ||
vendor/oplauncher/etc/permissions/privapp-permissions-op-launcher.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/privapp-permissions-op-launcher.xml \ | ||
vendor/oplauncher/etc/sysconfig/op-launcher-hiddenapi-package-whitelist.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/op-launcher-hiddenapi-package-whitelist.xml | ||
|
||
PRODUCT_PACKAGES += \ | ||
OnePlusRecentsProvider \ | ||
OPLauncher |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# OPLauncher Port for Android 11 Roms | ||
|
||
// Ported by @MrSluffy && inlined by @sherifrahim |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
This XML file declares which signature|privileged permissions should be granted to privileged | ||
applications on GMS or Google-branded devices. | ||
It allows additional grants on top of privapp-permissions-platform.xml | ||
--> | ||
<permissions> | ||
<privapp-permissions package="net.oneplus.launcher"> | ||
<permission name="android.permission.BIND_APPWIDGET"/> | ||
<permission name="android.permission.CONTROL_REMOTE_APP_TRANSITION_ANIMATIONS"/> | ||
<permission name="android.permission.DEVICE_POWER"/> | ||
<permission name="android.permission.FORCE_STOP_PACKAGES"/> | ||
<permission name="android.permission.GET_APP_OPS_STATS"/> | ||
<permission name="android.permission.INTERACT_ACROSS_USERS"/> | ||
<permission name="android.permission.MANAGE_USERS"/> | ||
<permission name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"/> | ||
<permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/> | ||
<permission name="android.permission.REQUEST_INSTALL_PACKAGES"/> | ||
<permission name="android.permission.SET_WALLPAPER_COMPONENT"/> | ||
<permission name="android.permission.STATUS_BAR"/> | ||
<permission name="android.permission.STOP_APP_SWITCHES"/> | ||
<permission name="android.permission.UPDATE_APP_OPS_STATS"/> | ||
<permission name="android.permission.USE_RESERVED_DISK"/> | ||
<permission name="android.permission.WRITE_MEDIA_STORAGE"/> | ||
<permission name="android.permission.WRITE_SECURE_SETTINGS"/> | ||
</privapp-permissions> | ||
</permissions> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
This XML file declares which platform apps that need to access internal APIs. | ||
--> | ||
<config> | ||
<hidden-api-whitelisted-app package="net.oneplus.launcher" /> | ||
</config> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
LOCAL_PATH:= $(call my-dir) | ||
include $(CLEAR_VARS) | ||
|
||
LOCAL_MODULE := OPLauncher | ||
LOCAL_MODULE_STEM := OPLauncher.apk | ||
LOCAL_SRC_FILES := OPLauncher.apk | ||
LOCAL_MODULE_TAGS := optional | ||
LOCAL_MODULE_CLASS := ETC | ||
LOCAL_MODULE_PATH := $(TARGET_OUT)/priv-app/OPLauncher | ||
LOCAL_OVERRIDES_PACKAGES := PixelLauncher TrebuchetQuickStep Launcher3 NexusLauncherPrebuilt NexusLauncherRelease ParanoidQuickStep Launcher3QuickStep | ||
|
||
include $(BUILD_PREBUILT) |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
LOCAL_PATH:= $(call my-dir) | ||
include $(CLEAR_VARS) | ||
|
||
LOCAL_MODULE := OnePlusRecentsProvider | ||
LOCAL_MODULE_STEM := OnePlusRecentsProvider.apk | ||
LOCAL_SRC_FILES := OnePlusRecentsProvider.apk | ||
LOCAL_MODULE_TAGS := optional | ||
LOCAL_MODULE_CLASS := ETC | ||
LOCAL_MODULE_PATH := $(TARGET_OUT)/product/overlay/OnePlusRecentsProvider | ||
LOCAL_OVERRIDES_PACKAGES := PixelLauncherOverlay | ||
include $(BUILD_PREBUILT) |
Binary file not shown.