OSDN Git Service
(root)
/
android-x86
/
packages-apps-Gallery2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
faf2f04
)
Make MediaSaveService destroyed after unbound.
author
Angus Kong
<shkong@google.com>
Fri, 19 Apr 2013 19:28:58 +0000
(12:28 -0700)
committer
Angus 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
patch
|
blob
|
history
diff --git
a/src/com/android/camera/CameraActivity.java
b/src/com/android/camera/CameraActivity.java
index
5e55846
..
a332230
100644
(file)
--- a/
src/com/android/camera/CameraActivity.java
+++ b/
src/com/android/camera/CameraActivity.java
@@
-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);
}