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

Commit f597b7b4 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

release-request-e04bb055-13fc-41a1-8a9f-7fb10894ec3d-for-git_oc-mr1-release-41...

release-request-e04bb055-13fc-41a1-8a9f-7fb10894ec3d-for-git_oc-mr1-release-4189380 snap-temp-L90600000083186678

Change-Id: I0278956a873d7323eb4bb75d98b4d337a9bb1e19
parents 3d755937 63120936
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -381,8 +381,13 @@ typedef ASensorRef const* ASensorList;
 *     ASensorManager* sensorManager = ASensorManager_getInstance();
 *
 */
#if __ANDROID_API__ >= __ANDROID_API_O__
__attribute__ ((deprecated)) ASensorManager* ASensorManager_getInstance();
#else
ASensorManager* ASensorManager_getInstance();
#endif

#if __ANDROID_API__ >= __ANDROID_API_O__
/*
 * Get a reference to the sensor manager. ASensorManager is a singleton
 * per package as different packages may have access to different sensors.
@@ -393,6 +398,7 @@ __attribute__ ((deprecated)) ASensorManager* ASensorManager_getInstance();
 *
 */
ASensorManager* ASensorManager_getInstanceForPackage(const char* packageName);
#endif

/**
 * Returns the list of available sensors.
+3 −1
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
#define ANDROID_PDX_UTILITY_H_

#include <cstdint>
#include <cstdlib>
#include <iterator>

#include <pdx/rpc/sequence.h>
@@ -23,6 +24,7 @@ class ByteBuffer {
    if (other.size())
      memcpy(data_, other.data(), other.size());
  }
  ~ByteBuffer() { std::free(data_); }

  ByteBuffer& operator=(const ByteBuffer& other) {
    resize(other.size());
@@ -69,7 +71,7 @@ class ByteBuffer {
    size |= size >> 8;
    size |= size >> 16;
    size++;
    void* new_data = data_ ? realloc(data_, size) : malloc(size);
    void* new_data = data_ ? std::realloc(data_, size) : std::malloc(size);
    // TODO(avakulenko): Check for allocation failures.
    data_ = static_cast<uint8_t*>(new_data);
    capacity_ = size;
+1 −1
Original line number Diff line number Diff line
Copyright (c) 2007-2009 The Khronos Group Inc.
Copyright (c) 2007-2017 The Khronos Group Inc.

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and/or associated documentation files (the
+211 −293

File changed.

Preview size limit exceeded, changes collapsed.

+1060 −485

File changed.

Preview size limit exceeded, changes collapsed.

Loading