バージョン
4.0-199
ブランチ
master
投稿日時
10 年, 6 ヶ月前
Windows x64 Windows x86 Ubuntu 13.04
コミット
8b6ff7a358f0e6dcd1ee597c5a5ae9b98389a564
投稿者
Lioncash
変更点
Revert "{Android] Eliminate need for even using a byte array when copying assets over."

Turns out Android devs decided to opt for one of the most retarded ways of handling assets. Assets with some specific extensions are not compressed (png, jpeg, etc), and anything else is compressed. The AssetManager is so revolutionary, that you actually can't retrieve valid FileChannel descriptors from these compressed files! To add to this revolutionary system, they actually didn't give you a straightforward way of disabling this compression. Now using FileChannels are not possible, and thus we must use the much slower way of copying everything over. Thank you Android devs. Godforbid someone would like to use a non-array based way of copying things that's actually efficient, considering DMA access is possible with FileChannels.

This reverts commit 0dd32986b8308e72c64f337217f933f8a74913fe.