AI 146646: am: CL 146645 am: CL 146643 Clean up and commenting of the JetBoy JET demo code:

Fixed JetPlayer initialization code and pause when the app loses focus.
  Removed mute mask hack.
  Cleaned up event ID declaration and check (event value is a byte, not a String).
  Add extensive comments for the JetPlayer code.
  Original author: jmtrivi
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146646
This commit is contained in:
Jean-Michel Trivi
2009-04-18 22:17:27 -07:00
committed by The Android Open Source Project
parent e2404ec9d7
commit 477c7f5a52
2 changed files with 118 additions and 154 deletions

View File

@@ -14,7 +14,8 @@
* limitations under the License.
*/
// FIXME: review and cleanup
// Android JET demonstration code:
// See the JetBoyView.java file for examples on the use of the JetPlayer class.
package com.example.android.jetboy;
@@ -79,6 +80,7 @@ public class JetBoy extends Activity implements View.OnClickListener {
mJetBoyView.SetTextView(mTextView);
}
/**
* Handles component interaction