nemothekid/Android-Rubik-s-Cube-Solver — pull request #1 by briangbrown (2013-11-08 02:33:51+00:00)
Title: Initial pull request with some crashing and rendering fixes

Nimi,
First of all thanks for putting this fun project up on GitHub. It has been fun to play with over the last few days.

Second I would love for you to consider this pull request. It fixes some crashing and rendering bugs.

Third, here is what are the major things in this change:
- Ups the required SDK to 10 so that I could use some of the concurrent collections in v 9 (though 9 is deprecated so I upped it to 10 (gingerbread)). Only 1.7% of Android users are on < SDK 10.
- Fixed the rendering bug where the facelet color would flash a different color at the end of most animation moves. This was caused by a concurrency bug between the animation thread and rendering thread.
- Fixed a rendering bug where the navigation ui had offset images and would start flickering after a while. This was caused by the fact that position was shared between threads and could be changed in the middle of the render loop.
- Fixed many crashes due to concurrent access to color decoder that backs many adapters.
- Fixed multiple crashes caused by leaving the app and returning related to thread creation and deletion and the camera access.

Brian