Skip to content
This repository was archived by the owner on Sep 21, 2019. It is now read-only.

Commit d9df79d

Browse files
npjohnsonfourkbomb
authored andcommitted
fugu: Add apps that need platform signatures
* With RemoteControlService platform signed, the in-remtoe microhone can work with libatv_audio prebuilt as well. * With GamepadPairingService platform signed, the Nexus Player remote (spike) is given precendence (if present) over other BT remotes on first boot pairing sequence. * With GlobalKeyInterceptor platform signed, the bottom button intitiates BT pairing,a nd can be used to select the device to pair to. Also: * Remove liboemcrypto to prevent false L1 reporting, and stop a constant casting crash. It seems that a bad overlay is causing the issue, though I don't curerntly have the time to track it down.
1 parent 9aeaed4 commit d9df79d

File tree

7 files changed

+46
-1
lines changed

7 files changed

+46
-1
lines changed

fugu/Android.mk

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
# This file is generated by device/asus/fugu/setup-makefiles.sh
1616

1717
LOCAL_PATH := $(call my-dir)
18+
1819
ifneq ($(filter fugu,$(TARGET_DEVICE)),)
20+
1921
include $(CLEAR_VARS)
2022
LOCAL_MODULE := libremotecontrolservice
2123
LOCAL_MODULE_OWNER := asus
@@ -38,6 +40,42 @@ LOCAL_MODULE_SUFFIX := .apk
3840
LOCAL_PRIVILEGED_MODULE := true
3941
include $(BUILD_PREBUILT)
4042

43+
include $(CLEAR_VARS)
44+
LOCAL_MODULE := GamepadPairingService
45+
LOCAL_MODULE_OWNER := asus
46+
LOCAL_SRC_FILES := proprietary/priv-app/GamepadPairingService/GamepadPairingService.apk
47+
LOCAL_CERTIFICATE := platform
48+
LOCAL_MODULE_TAGS := optional
49+
LOCAL_MODULE_CLASS := APPS
50+
LOCAL_DEX_PREOPT := false
51+
LOCAL_MODULE_SUFFIX := .apk
52+
LOCAL_PRIVILEGED_MODULE := true
53+
include $(BUILD_PREBUILT)
54+
55+
include $(CLEAR_VARS)
56+
LOCAL_MODULE := GlobalKeyInterceptor
57+
LOCAL_MODULE_OWNER := asus
58+
LOCAL_SRC_FILES := proprietary/priv-app/GlobalKeyInterceptor/GlobalKeyInterceptor.apk
59+
LOCAL_CERTIFICATE := platform
60+
LOCAL_MODULE_TAGS := optional
61+
LOCAL_MODULE_CLASS := APPS
62+
LOCAL_DEX_PREOPT := false
63+
LOCAL_MODULE_SUFFIX := .apk
64+
LOCAL_PRIVILEGED_MODULE := true
65+
include $(BUILD_PREBUILT)
66+
67+
include $(CLEAR_VARS)
68+
LOCAL_MODULE := RemoteControlService
69+
LOCAL_MODULE_OWNER := asus
70+
LOCAL_SRC_FILES := proprietary/priv-app/RemoteControlService/RemoteControlService.apk
71+
LOCAL_CERTIFICATE := platform
72+
LOCAL_MODULE_TAGS := optional
73+
LOCAL_MODULE_CLASS := APPS
74+
LOCAL_DEX_PREOPT := false
75+
LOCAL_MODULE_SUFFIX := .apk
76+
LOCAL_PRIVILEGED_MODULE := true
77+
include $(BUILD_PREBUILT)
78+
4179
include $(CLEAR_VARS)
4280
LOCAL_MODULE := TV
4381
LOCAL_MODULE_OWNER := asus

fugu/fugu-vendor.mk

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ PRODUCT_COPY_FILES += \
3838
vendor/asus/fugu/proprietary/etc/firmware/vsp.bin.0008.0002.0001:system/etc/firmware/vsp.bin.0008.0002.0001 \
3939
vendor/asus/fugu/proprietary/etc/firmware/vsp.bin.000c.0001.0001:system/etc/firmware/vsp.bin.000c.0001.0001 \
4040
vendor/asus/fugu/proprietary/etc/permissions/com.google.widevine.software.drm.xml:system/etc/permissions/com.google.widevine.software.drm.xml \
41+
vendor/asus/fugu/proprietary/etc/permissions/nrdp.modelgroup.xml:system/etc/permissions/nrdp.modelgroup.xml \
4142
vendor/asus/fugu/proprietary/etc/vp9_interpredict.binary:system/etc/vp9_interpredict.binary \
4243
vendor/asus/fugu/proprietary/etc/wifi/bcmdhd.cal:system/etc/wifi/bcmdhd.cal \
4344
vendor/asus/fugu/proprietary/etc/wifi/bcmdhd_sr2.cal:system/etc/wifi/bcmdhd_sr2.cal \
@@ -235,7 +236,6 @@ PRODUCT_COPY_FILES += \
235236
vendor/asus/fugu/proprietary/vendor/lib/libdrmdecrypt.so:system/vendor/lib/libdrmdecrypt.so \
236237
vendor/asus/fugu/proprietary/vendor/lib/libeffects.so:system/vendor/lib/libeffects.so \
237238
vendor/asus/fugu/proprietary/vendor/lib/libglslcompiler.so:system/vendor/lib/libglslcompiler.so \
238-
vendor/asus/fugu/proprietary/vendor/lib/liboemcrypto.so:system/vendor/lib/liboemcrypto.so \
239239
vendor/asus/fugu/proprietary/vendor/lib/libpvrANDROID_WSEGL.so:system/vendor/lib/libpvrANDROID_WSEGL.so \
240240
vendor/asus/fugu/proprietary/vendor/lib/libpvrcpt.so:system/vendor/lib/libpvrcpt.so \
241241
vendor/asus/fugu/proprietary/vendor/lib/libseppr_hal.so:system/vendor/lib/libseppr_hal.so \
@@ -250,5 +250,8 @@ PRODUCT_COPY_FILES += \
250250
PRODUCT_PACKAGES += \
251251
libremotecontrolservice \
252252
AtvRemoteService \
253+
GamepadPairingService \
254+
GlobalKeyInterceptor \
255+
RemoteControlService \
253256
TV \
254257
com.google.widevine.software.drm
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<permissions>
3+
<feature name="nrdp.modelgroup" />
4+
</permissions>
Binary file not shown.
Binary file not shown.
Binary file not shown.
-65.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)