commit | b2f52477dfce620c11e1707e69d3a5f8cab5f6d7 | [log] [tgz] |
---|---|---|
author | Thomas Martitz <kugel@rockbox.org> | Tue Jul 19 23:44:56 2011 +0000 |
committer | Thomas Martitz <kugel@rockbox.org> | Tue Jul 19 23:44:56 2011 +0000 |
tree | 094d7a9ce51c684ebec417cdcd954f379b49dfa7 | |
parent | b8bfa84d1bf74fcb133d7f5bbf49c39d38d9ed7d [diff] |
Android: Change headphone detection to call into native. Making a JNI call from tick tasks is not permitted as the underlying thread is not attached to the Java VM. This is an error and crashes in the emulator (which has stricter JNI checks enabled by default). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30173 a1c6a512-1295-4272-9138-f99709370657