commit | aa00e390c191f9b4eaee8ecade88c74571b2b3f3 | [log] [tgz] |
---|---|---|
author | James Dong <jdong@google.com> | Thu Jul 02 16:26:39 2009 -0700 |
committer | James Dong <jdong@google.com> | Mon Jul 06 11:30:29 2009 -0700 |
tree | bacdd86175d1511303e87b9753e94451d0cb3e8a | |
parent | a1b653d41df9a7999e1dba2a508295671ff6771d [diff] |
Fix bug (#1947162) The bug (1947162) is caused by the fact that sometimes, surfaceChanged() is called after onCompletion(). In surfaceChanged(), start() is called automatically. The fix is to use a flag is avoid calling start() when onCompletion() has been called already.