diff --git a/Android.bp b/Android.bp index 0802364..fa54378 100644 --- a/Android.bp +++ b/Android.bp @@ -3879,33 +3879,6 @@ cc_prebuilt_library_shared { soc_specific: true, } -cc_prebuilt_library_shared { - name: "libmm-hdcpmgr", - owner: "xiaomi", - strip: { - none: true, - }, - target: { - android_arm: { - srcs: [ - "proprietary/vendor/lib/libmm-hdcpmgr.so", - ], - shared_libs: [ - "liblog", - "libutils", - "libcutils", - "libc++", - "libc", - "libm", - "libdl", - ], - }, - }, - compile_multilib: "32", - prefer: true, - soc_specific: true, -} - cc_prebuilt_library_shared { name: "libmmosal_vendor", stem: "libmmosal", @@ -4856,6 +4829,7 @@ cc_prebuilt_library_shared { "vendor.qti.hardware.wifidisplaysession@1.0_vendor", "libwfdsessionmodule", "liblog", + "libwfdcommonutils_proprietary", "libc++", "libc", "libm", diff --git a/proprietary/vendor/bin/wifidisplayhalservice b/proprietary/vendor/bin/wifidisplayhalservice index b7e54a7..b268bc9 100755 Binary files a/proprietary/vendor/bin/wifidisplayhalservice and b/proprietary/vendor/bin/wifidisplayhalservice differ diff --git a/proprietary/vendor/etc/seccomp_policy/wfdhdcphalservice.policy b/proprietary/vendor/etc/seccomp_policy/wfdhdcphalservice.policy deleted file mode 100644 index 1100707..0000000 --- a/proprietary/vendor/etc/seccomp_policy/wfdhdcphalservice.policy +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright (c) 2020 Qualcomm Technologies, Inc. -# All Rights Reserved. -# Confidential and Proprietary - Qualcomm Technologies, Inc -# -# Not a contribution. -# -# Copyright (C) 2019 The Android Open Source Project -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -mmap2: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE -munmap: 1 -mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE -#prctl: arg0 == PR_GET_DUMPABLE || arg0 == PR_SET_VMA -prctl: 1 -openat: 1 -futex: 1 -close: 1 -read: 1 -write: 1 -fstat64: 1 -fstatat64: 1 -readlinkat: 1 -fstatfs64: 1 -pread64: 1 -#ioctl: arg1 == BINDER_VERSION || arg1 == BINDER_SET_MAX_THREADS || arg1 == BINDER_WRITE_READ -ioctl: 1 -faccessat: 1 -clock_gettime: 1 -getuid32: 1 -rt_sigaction: 1 -writev: 1 -madvise: 1 -_llseek: 1 -rt_sigprocmask: 1 -fcntl64: 1 -#set_tls: 1 -personality: 1 -getrandom: 1 -open: 1 -ugetrlimit: 1 -clone: 1 -set_tid_address: 1 -execve: 1 -sched_getscheduler: 1 -exit_group: 1 -rt_sigreturn: 1 -restart_syscall: 1 -connect: 1 -socket: arg0 == AF_UNIX -exit: 1 -readlink: 1 -getpid: 1 -sigaltstack: 1 -setpriority: 1 -getdents64: 1 -dup: 1 \ No newline at end of file diff --git a/proprietary/vendor/etc/seccomp_policy/wifidisplayhalservice.policy b/proprietary/vendor/etc/seccomp_policy/wifidisplayhalservice.policy index 5bb6994..35ceb63 100644 --- a/proprietary/vendor/etc/seccomp_policy/wifidisplayhalservice.policy +++ b/proprietary/vendor/etc/seccomp_policy/wifidisplayhalservice.policy @@ -1,4 +1,4 @@ -# Copyright (c) 2020 Qualcomm Technologies, Inc. +# Copyright (c) 2020, 2022 Qualcomm Technologies, Inc. # All Rights Reserved. # Confidential and Proprietary - Qualcomm Technologies, Inc # @@ -92,3 +92,4 @@ tgkill: 1 gettid: 1 sched_yield: 1 flock: 1 +getdents64: 1 diff --git a/proprietary/vendor/etc/wfdconfig.xml b/proprietary/vendor/etc/wfdconfig.xml index e4a8229..0e5256d 100644 --- a/proprietary/vendor/etc/wfdconfig.xml +++ b/proprietary/vendor/etc/wfdconfig.xml @@ -135,12 +135,10 @@ - - - 0 + 1 - + - - 1 -