GCDaemon thread would visit incorrect RegType content when there is
another thread initializing classes.
Add a lock to protect entries_.
https://code.google.com/p/android/issues/detail?id=159849
Change-Id: Iabaa1c7f5cc5106b60a6e3856152e0797e8a5d6d
Expose the new function from the sigchainlib implementation.
Google Bug 20217701
Google Change Id I7d21025595775e057ea703236ca88ceb07173136
Change-Id: Ie4bcb071f56097d44243cb97962d3bc13fe004ce
Category: aosp improvement
Domain: AOSP-Framework-CoreService
Origin: 3rd-party Google
Upstream-Candidate: no, proprietary
Signed-off-by: Firefly <service@t-firefly.com>
Add support for a special managed handler in sigchainlib that
will be called as the first user handler.
Use this support for native bridge v2. Extend test 115-native-bridge
to test the functionality.
Google Bug 20217701
Google Change Id I78cc01fbdabe169154ff6b94c9f3ddb95b5c7448
Change-Id: I0538e82f3878aa0c0e59e3ff6b7dbcf66ef9ca92
Category: aosp improvement
Domain: AOSP-Framework-CoreService
Origin: 3rd-party Google
Upstream-Candidate: no, proprietary
Signed-off-by: Firefly <service@t-firefly.com>