mirror of
https://git.eden-emu.dev/eden-emu/libadrenotools
synced 2026-02-04 02:41:22 +01:00
Stub functions not present on android Q
This commit is contained in:
@@ -99,7 +99,6 @@ struct IQtiMapper : public IBase {
|
||||
};
|
||||
|
||||
} // namespace V3_0
|
||||
#ifdef SHIM_MODE
|
||||
namespace V2_0 {
|
||||
|
||||
struct IQtiMapper : public IBase {
|
||||
@@ -183,5 +182,4 @@ struct IQtiMapper : public IBase {
|
||||
};
|
||||
|
||||
} // namespace V2_0
|
||||
#endif
|
||||
} // namespace vendor::qti::hardware::display::mapper
|
||||
|
||||
@@ -36,9 +36,6 @@
|
||||
#include <log/log.h>
|
||||
#include <utils/NativeHandle.h>
|
||||
#include <utils/misc.h>
|
||||
|
||||
#define SHIM_MODE 1
|
||||
|
||||
#include "ext/common.h"
|
||||
#include "ext/gr_utils.h"
|
||||
#include "ext/mapper.h"
|
||||
@@ -47,6 +44,16 @@
|
||||
using namespace android::hardware;
|
||||
using namespace android;
|
||||
|
||||
// These two functions are used by the blob and aren't present on Q so weakly stub them
|
||||
extern "C" uint64_t __attribute__((weak)) atrace_get_enabled_tags() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
namespace android::hardware::details {
|
||||
void __attribute__((weak)) return_status::onValueRetrieval() const {}
|
||||
}
|
||||
|
||||
bool IBase::isRemote() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user