OSDN Git Service

Make MediaSaveService destroyed after unbound.
authorAngus Kong <shkong@google.com>
Fri, 19 Apr 2013 19:28:58 +0000 (12:28 -0700)
committerAngus Kong <shkong@google.com>
Fri, 19 Apr 2013 19:33:43 +0000 (12:33 -0700)
bug:8528779
Change-Id: I1e6b78d5603b10cde3399969cd7a8cc19655051b

src/com/android/camera/CameraActivity.java

index 5e55846..a332230 100644 (file)
@@ -348,8 +348,6 @@ public class CameraActivity extends ActivityBase
 
     private void bindMediaSaveService() {
         Intent intent = new Intent(this, MediaSaveService.class);
-        startService(intent);  // start service before binding it so the
-                               // service won't be killed if we unbind it.
         bindService(intent, mConnection, Context.BIND_AUTO_CREATE);
     }