commit | 9e922ca97097cb1aa67ff53219d874ea2503a80d | [log] [tgz] |
---|---|---|
author | Wonsik Kim <wonsik@google.com> | Fri Jun 20 17:27:32 2014 +0900 |
committer | Wonsik Kim <wonsik@google.com> | Mon Jun 23 14:06:19 2014 +0900 |
tree | c08df5c69730b115a062438dde2ba6f6e0e649fb | |
parent | 3722c32860bd74007456076e6fbb4c1b744ed967 [diff] |
Fix native calls to null pointer Since DEVICE_AVAILABLE event fires right after initialization, it could happen before TvInputHal.mPtr is set, which causes calls to null pointer. Fix the bug by allowing TvInputHal to wait for mPtr to be set before calling native methods. Change-Id: Id07f15130beb69f77c16bf3c735285c31ae4a3a4