| 1 | |
| 2 | |
| 3 | |
| 4 | #ifndef ANDROID_STRONG_POINTER_H |
| 5 | #define ANDROID_STRONG_POINTER_H |
| 6 | |
| 7 | -#include <cutils/atomic.h> |
| 8 | - |
| 9 | #include <stdint.h> |
| 10 | #include <sys/types.h> |
| 11 | #include <stdlib.h> |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | static void traceInit() |
| 17 | { |
| 18 | +#if defined(__ANDROID__) |
| 19 | ::android::add_sysprop_change_callback(atrace_update_tags, 0); |
| 20 | +#endif |
| 21 | } |