[Galaxy S I9000 Android Development] platypoid:
Camera crash SU logcat file

der 0x40bfcf20 successful
D/CameraStorage( 4190): External storage state=mounted
D/AndroidRuntime( 4190): Shutting down VM
W/dalvikvm( 4190): threadid=1: thread exiting with uncaught exception (group=0x41f1fc80)
E/AndroidRuntime( 4190): FATAL EXCEPTION: main
E/AndroidRuntime( 4190): Process: com.android.camera2, PID: 4190
E/AndroidRuntime( 4190): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.camera2/com.android.camera.CameraActivity}: java.lang.SecurityException: No permission to prevent power key: Neither user 10078 nor current process has android.permission.PREVENT_POWER_KEY.
E/AndroidRuntime( 4190): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2215)
E/AndroidRuntime( 4190): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2265)
E/AndroidRuntime( 4190): at android.app.ActivityThread.access$800(ActivityThread.java:145)
E/AndroidRuntime( 4190): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1206)
E/AndroidRuntime( 4190): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 4190): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 4190): at android.app.ActivityThread.main(ActivityThread.java:5081)
E/AndroidRuntime( 4190): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 4190): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 4190): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:781)
E/AndroidRuntime( 4190): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
E/AndroidRuntime( 4190): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 4190): Caused by: java.lang.SecurityException: No permission to prevent power key: Neither user 10078 nor current process has android.permission.PREVENT_POWER_KEY.
E/AndroidRuntime( 4190): at android.app.ContextImpl.enforce(ContextImpl.java:1724)
E/AndroidRuntime( 4190): at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1753)
E/AndroidRuntime( 4190): at android.content.ContextWrapper.enforceCallingOrSelfPermission(ContextWrapper.java:572)
E/AndroidRuntime( 4190): at android.view.Window.setFlags(Window.java:749)
E/AndroidRuntime( 4190): at android.view.Window.addFlags(Window.java:709)
E/AndroidRuntime( 4190): at com.android.camera.CameraActivity.initPowerShutter(CameraActivity.java:1429)
E/AndroidRuntime( 4190): at com.android.camera.PhotoModule.init(PhotoModule.java:491)
E/AndroidRuntime( 4190): at com.android.camera.CameraActivity.onCreate(CameraActivity.java:1142)
E/AndroidRuntime( 4190): at android.app.Activity.performCreate(Activity.java:5231)
E/AndroidRuntime( 4190): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
E/AndroidRuntime( 4190): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2169)
E/AndroidRuntime( 4190): ... 11 more
W/ActivityManager( 487): Force finishing activity com.android.camera2/com.android.camera.CameraLauncherI/WindowManager( 487): Screenshot max retries 4 of Token{426a8948 ActivityRecord{421f9cf0 u0 com.android.camera2/com.android.camera.CameraLauncher t17 f}} appWin=Window{427d20a8 u0 Starting com.android.camera2} drawState=4
W/WindowManager( 487): Screenshot failure taking screenshot for (480x800) to layer 21010
W/ActivityManager( 487): Activity pause timeout for ActivityRecord{421f9cf0 u0 com.android.camera2/com.android.camera.CameraLauncher t17 f}
I/ActivityManager( 770): Timeline: Activity_idle id: android.os.BinderProxy@421b5a28 time:7002406
I/ActivityManager( 487): Timeline: Activity_windows_visible id: ActivityRecord{424a04c0 u0 com.android.launcher3/.Launcher t1} time:7002810
I/Process ( 4190): Sending signal. PID: 4190 SIG: 9
W/InputMethodManagerService( 487): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@42705168 attribute=null, token = android.os.BinderProxy@425be218
I/ActivityManager( 487): Process com.android.camera2 (pid 4190) has died.
D/AudioHardware( 148): AudioHardware pcm playback is going to standby.
V/AudioHardware( 148): closeMixer_l() mMixerOpenCnt: 1
D/AudioHardware( 148): closePcmOut_l() mPcmOpenCnt: 1
D/AudioHardware( 148): AudioHardware pcm playback is exiting standby.
V/AudioHardware( 148): open pcm_out driver
D/AudioHardware( 148): openPcmOut_l() mPcmOpenCnt: 0V/AudioHardware( 148): openMixer_l() mMixerOpenCnt: 0
V/AudioHardware( 148): open playback normal
V/AudioHardware( 148): write() wakeup setting route SPK
D/AudioHardware( 148): AudioHardware pcm playback is going to standby.
V/AudioHardware( 148): closeMixer_l() mMixerOpenCnt: 1
D/AudioHardware( 148): closePcmOut_l() mPcmOpenCnt: 1
D/AudioHardware( 148): AudioHardware pcm playback is exiting standby.
V/AudioHardware( 148): open pcm_out driver
D/AudioHardware( 148): openPcmOut_l() mPcmOpenCnt: 0I/ActivityManager( 770): Timeline: Activity_launch_request id:jackpal.androidterm time:7016103
I/ActivityManager( 487): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=jackpal.androidterm/.Term} from pid 770
W/BroadcastQueue( 487): Permission Denial: receiving Intent { act=com.android.launcher3.action.LAUNCH flg=0x10 (has extras) } to com.google.android.googlequicksearchbox/com.google.android.search.core.summons.icing.InternalIcingCorporaProvider$ApplicationLaunchReceiver requires com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS due to sender com.android.launcher3 (uid 10075)
V/AudioHardware( 148): openMixer_l() mMixerOpenCnt: 0
V/AudioHardware( 148): open playback normal
V/AudioHardware( 148): write() wakeup setting route SPK
I/ActivityManager( 487): Start proc jackpal.androidterm for activity jackpal.androidterm/.Term: pid=4223 uid=10043 gids={50043, 3003, 1028, 1015}
I/dalvikvm( 4223): Enabling JNI app bug workarounds for target SDK version 11...
V/PhoneStatusBar( 564): setLightsOn(true)
E/Term ( 4223): onCreate
D/Term ( 4223): TermService started
I/TermService( 4223): Activity called onBind()
I/Term ( 4223): Bound to TermService
I/TermService( 4223): Activity binding to service
I/libjackpal-androidterm( 4223): JNI_OnLoad
I/Term ( 4223): waiting for: 4239
W/SubtypeSwitcher( 683): Can't find Emoji subtype
W/SubtypeSwitcher( 683): No input method subtype found; return dummy subtype: android.view.inputmethod.InputMethodSubtype@d78b2ed0
I/ActivityManager( 487): Displayed jackpal.androidterm/.Term: +817ms
I/ActivityManager( 487): Timeline: Activity_windows_visible id: ActivityRecord{4254a848 u0 jackpal.androidterm/.Term t18} time:7017082
I/ActivityManager( 4223): Timeline: Activity_idle id: android.os.BinderProxy@421b4e08 time:7017198
W/ViewPager( 683): Requested offscreen page limit 0 too small; defaulting to 1
E/RichInputConnection( 683): Unable to connect to the editor to retrieve text... will retry later
I/InputAttributes( 683): InputType.TYPE_NULL is specified
I/Choreographer( 683): Skipped 51 frames! The application may be doing too much work on its main thread.I/Choreographer( 770): Skipped 68 frames! The application may be doing too much work on its main thread.D/AudioHardware( 148): AudioHardware pcm playback is going to standby.
V/AudioHardware( 148): closeMixer_l() mMixerOpenCnt: 1
D/AudioHardware( 148): closePcmOut_l() mPcmOpenCnt: 1
D/su ( 4249): su invoked.
D/su ( 4249): starting daemon client 10043 10043D/su ( 4252): remote pid: 4249
D/su ( 4252): remote pts_slave: /dev/pts/3
D/su ( 4252): waiting for child exit
D/su ( 4253): daemon: stdin using PTY
D/su ( 4253): daemon: stdout using PTY
D/su ( 4253): daemon: stderr using PTY
D/su ( 4255): su invoked.
D/su ( 4255): db allowed
D/su ( 4255): 10043 /system/xbin/su executing 0 /system/bin/sh using binary /system/bin/sh : sh
D/AndroidRuntime( 4256):
D/AndroidRuntime( 4256): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
D/AndroidRuntime( 4256): CheckJNI is OFF
D/dalvikvm( 4256): Trying to load lib libjavacore.so 0x0
D/dalvikvm( 4256): Added shared lib libjavacore.so 0x0
D/dalvikvm( 4256): Trying to load lib libnativehelper.so 0x0
D/dalvikvm( 4256): Added shared lib libnativehelper.so 0x0
D/dalvikvm( 4256): No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
D/dalvikvm( 4256): Note: class Landroid/app/ActivityManagerNative; has 180 unimplemented (abstract) methods
E/memtrack( 4256): Couldn't load memtrack module (No such file or directory)
E/android.os.Debug( 4256): failed to load memtrack module: -2
D/AndroidRuntime( 4256): Calling main entry com.android.commands.am.Am
D/AndroidRuntime( 4256): Shutting down VM
W/Uploader( 940): No account for auth token providedI/Choreographer( 4223): Skipped 60 frames! The application may be doing too much work on its main thread.V/PhoneStatusBar( 564): setLightsOn(true)
W/InputEventReceiver( 4223): Attempted to finish an input event but the input event receiver has already been disposed.
I/Choreographer( 4223): Skipped 33 frames! The application may be doing too much work on its main thread.W/InputMethodManagerService( 487): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@4291a9d8 attribute=null, token = android.os.BinderProxy@428fd198
V/BufferedAnalyticsState( 690): Not ready for upload, 310 seconds left.
D/ConnectivityService( 487): Sampling interval elapsed, updating statistics ..
D/ConnectivityService( 487): Done.
D/ConnectivityService( 487): Setting timer for 720seconds
V/PhoneStatusBar( 564): setLightsOn(true)
W/InputMethodManagerService( 487): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@42922048 attribute=null, token = android.os.BinderProxy@428fd198
V/PhoneStatusBar( 564): setLightsOn(true)