forked from sailfishos/droidmedia
-
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.
[droidmedia] Add fake sensor_privacy service
- Loading branch information
Showing
3 changed files
with
42 additions
and
2 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 |
---|---|---|
|
@@ -147,7 +147,9 @@ endif | |
|
||
ifeq ($(shell test $(ANDROID_MAJOR) -ge 10 && echo true),true) | ||
LOCAL_SHARED_LIBRARIES += [email protected] \ | ||
[email protected] | ||
[email protected] \ | ||
libsensorprivacy | ||
LOCAL_AIDL_INCLUDES := frameworks/native/libs/sensorprivacy/aidl | ||
endif | ||
|
||
ifeq ($(shell test $(ANDROID_MAJOR) -ge 8 && echo true),true) | ||
|
@@ -207,6 +209,11 @@ ifeq ($(ANDROID_MAJOR),$(filter $(ANDROID_MAJOR),9)) | |
LOCAL_SHARED_LIBRARIES += [email protected] | ||
endif | ||
|
||
ifeq ($(shell test $(ANDROID_MAJOR) -ge 10 && echo true),true) | ||
LOCAL_SHARED_LIBRARIES += libsensorprivacy | ||
LOCAL_AIDL_INCLUDES := frameworks/native/libs/sensorprivacy/aidl | ||
endif | ||
|
||
LOCAL_MODULE_TAGS := optional | ||
LOCAL_CPPFLAGS := -DANDROID_MAJOR=$(ANDROID_MAJOR) -DANDROID_MINOR=$(ANDROID_MINOR) -DANDROID_MICRO=$(ANDROID_MICRO) -Wno-unused-parameter | ||
ifneq ($(CM_BUILD),) | ||
|
@@ -243,7 +250,9 @@ endif | |
|
||
ifeq ($(shell test $(ANDROID_MAJOR) -ge 10 && echo true),true) | ||
LOCAL_SHARED_LIBRARIES += [email protected] \ | ||
[email protected] | ||
[email protected] \ | ||
libsensorprivacy | ||
LOCAL_AIDL_INCLUDES := frameworks/native/libs/sensorprivacy/aidl | ||
endif | ||
|
||
ifeq ($(shell test $(ANDROID_MAJOR) -ge 8 && echo true),true) | ||
|
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
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