Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 30e45c6e authored by Steven Moreland's avatar Steven Moreland Committed by Gerrit Code Review
Browse files

Merge changes from topic "deprecate-llndk-vendor" into main

* changes:
  try llndk-deprecate
  Deprecate android_is_in_vendor_process
parents 91389231 54db200b
Loading
Loading
Loading
Loading
+2 −9
Original line number Diff line number Diff line
@@ -20,15 +20,8 @@
extern "C" {
#endif

/*
 * Returns whether the current process is a vendor process.
 *
 * Note that this is only checking what process is running and has nothing to
 * do with what namespace the caller is loaded at.  For example, a VNDK-SP
 * library loaded by SP-HAL calling this function may still get a 'false',
 * because it is running in a system process.
 */
int android_is_in_vendor_process();
int android_is_in_vendor_process() __attribute__((
        deprecated("This function would not give exact result if VNDK is deprecated.")));

void* android_load_sphal_library(const char* name, int flag);

+1 −1
Original line number Diff line number Diff line
LIBVNDKSUPPORT {
  global:
    android_is_in_vendor_process; # llndk systemapi
    android_is_in_vendor_process; # llndk-deprecated=35 systemapi
    android_load_sphal_library; # llndk systemapi
    android_unload_sphal_library; # llndk systemapi
  local: