Merge branch 'readonly-p4-donut' into donut
This commit is contained in:
committed by
The Android Open Source Project
commit
88837124ae
@@ -416,14 +416,8 @@ public class JetBoyView extends SurfaceView implements SurfaceHolder.Callback {
|
|||||||
*/
|
*/
|
||||||
private void initializeJetPlayer() {
|
private void initializeJetPlayer() {
|
||||||
|
|
||||||
// JET info: this is what we do to undesirable instances: we release them!
|
// JET info: let's create our JetPlayer instance using the factory.
|
||||||
if (mJet != null)
|
// JET info: if we already had one, the same singleton is returned.
|
||||||
{
|
|
||||||
mJet.release();
|
|
||||||
mJet = null;
|
|
||||||
}
|
|
||||||
|
|
||||||
// JET info: let's create our JetPlayer instance using the factory
|
|
||||||
mJet = JetPlayer.getJetPlayer();
|
mJet = JetPlayer.getJetPlayer();
|
||||||
|
|
||||||
mJetPlaying = false;
|
mJetPlaying = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user