universal7885: parts: jni: Adapt for interface unify

* Also, Mark parts HAL is required for SamsungParts
This commit is contained in:
roynatech2544 2022-02-18 14:36:19 +09:00
commit 4b0238fe98
No known key found for this signature in database
GPG key ID: 9675C32163D88D30
7 changed files with 33 additions and 40 deletions

View file

@ -2,12 +2,12 @@
#include <hidl/HidlSupport.h>
#include <hidl/LegacySupport.h>
#include <hidl/Status.h>
#include <vendor/eureka/security/selinux/1.0/ISELinux.h>
#include <vendor/eureka/hardware/parts/1.0/ISELinux.h>
#include "jni.h"
using android::sp;
using vendor::eureka::security::selinux::V1_0::Enable;
using vendor::eureka::security::selinux::V1_0::ISELinux;
using vendor::eureka::hardware::parts::V1_0::Number;
using vendor::eureka::hardware::parts::V1_0::ISELinux;
extern "C" JNIEXPORT jint JNICALL
Java_com_eurekateam_samsungextras_interfaces_SELinux_getSELinux(JNIEnv* env, jclass clazz) {