summaryrefslogtreecommitdiff
path: root/libvndksupport
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2017-05-26 17:57:18 +0900
committerJiyong Park <jiyong@google.com>2017-05-27 15:32:01 +0900
commit0b3c24bd4fb29ff48150c03104658af902a0e137 (patch)
treea4a3f9dd266d223d802cfac488c3e5709d13322e /libvndksupport
parentea6826448b6a4dee754d0173711517075ca97119 (diff)
downloadcore-0b3c24bd4fb29ff48150c03104658af902a0e137.tar.gz
fix: ATRACE does not work for libs loaded in sphal namespace
From O, libutils.so is loaded twice. Once in the default namespace and once in the sphal namespace for vendor libs. However, since the framework only communicates with the instance loaded in the default namespace, report_sysprop_change() event is not notified to the instance in sphal namespace. This causes ATRACE to not work for vendor libs loaded in sphal namespace. So, the instance loaded in default namespace now explicitly redirects the event to the other instance. Bug: 62084107 Test: start an app, run 'adb shell atrace gfx --stream'. atrace from the graphics driver are visible. Change-Id: Ia6c2ca6bcb9a8849ebb09b5c38d60480c92d4571
Diffstat (limited to 'libvndksupport')
-rw-r--r--libvndksupport/Android.bp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvndksupport/Android.bp b/libvndksupport/Android.bp
index ab9e26fe4..b62422323 100644
--- a/libvndksupport/Android.bp
+++ b/libvndksupport/Android.bp
@@ -1,6 +1,6 @@
subdirs = ["tests"]
-cc_library_shared {
+cc_library {
name: "libvndksupport",
srcs: ["linker.c"],
local_include_dirs: ["include/vndksupport"],