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

Commit 5c78b686 authored by Romain Guy's avatar Romain Guy
Browse files

Reduce the size of libhwui by 50%

This change removes unnessary symbols. All symbols are hidden by
default, public APIs with exported symbols are explicitly marked
with ANDROID_API.

Change-Id: I692fde432a86c12108de1cfd1f6504919a7d5f3f
parent 33b5eec0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -20,12 +20,13 @@
#include <stdint.h>
#include <sys/types.h>
#include <utils/threads.h>
#include <cutils/compiler.h>

namespace android {
// ---------------------------------------------------------------------------

template <typename TYPE>
class Singleton
class ANDROID_API Singleton
{
public:
    static TYPE& getInstance() {