[
https://issues.apache.org/jira/browse/CB-10507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15130995#comment-15130995
]
Richard B Knoll commented on CB-10507:
--------------------------------------
No problem! It looks like you are good on plugin/platform versions and that is
the correct SDK platform. You shouldn't have to downgrade your target SDK
unless the device is really old. When you say the app never returns, what do
you mean? Does it crash (i.e. you get an Android popup saying it crashed), does
the app restart (i.e. the app reappears, but is back on the initial page), or
does it just silently disappear?
I might need a more complete log than the one your provided. If there is a
crash happening, it isn't being reflected above.
> Periodic Bug before resume event is called. On SOME Androids only (continued)
> -----------------------------------------------------------------------------
>
> Key: CB-10507
> URL: https://issues.apache.org/jira/browse/CB-10507
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Camera
> Affects Versions: 5.0.1
> Environment: Android
> Reporter: Scott J. Pearson
> Labels: android, wfc
>
> Reported in 10469. Issue now closed, but report from client:
> Hi Scott
> I downloaded the upgrade, but it still does the same thing. I’ve attached the
> code.
>
> Thanks
> Balladiah
>
> From: Pearson, Scott James [...]
> Sent: 01 February 2016 21:34
> To: Balladiah Kizito
> Subject: Good news - bug fix
>
> REDCap Mobile App v2.2.8 is being uploaded to the Google Play Store.
>
> Cordova (our framework and the team who manages the Camera plugin) claims
> they fixed this bug recently. I’ve upgraded my software, and now it is to you
> to test.
>
> Let me know how it goes.
>
> Scott
> ---
> D/CustomFrequencyManagerService( 608): acquireDVFSLockLocked : type :
> DVFS_MIN_
> LIMIT frequency : 1200000 uid : 1000 pid : 608 pkgName :
> ACTIVITY_RESUME_BOO
> STER@3
> W/ActivityManager( 608): mDVFSHelper.acquire()
> W/audio_hw_primary( 155): open s_tinycard successfully
> I/audio_hw_primary( 155): Changing out_devices: from (0xfffffffd) to
> (0x0000000
> 2)
> I/audio_hw_primary( 155): Changing in_devices: from (0x00000000) to
> (0x00000000
> )
> W/audio_hw_primary( 155): vb_control_parameters.c hp_pa_delay_config 0x0
> pa_con
> fig:0x230(0x230, 0), 0x130(fm)(0x130, 0), hpPaConfig:0x0(0x0, 0),
> 0x0(fm)(0x0,
> 0)
> W/audio_hw_primary( 155): SetAudio_PaConfig_by_devices out, out_devices:0x2,
> in
> _devices:0x0
> W/audio_hw_primary( 155): GetAudio_gain_by_devices, outmode:3
> inmode:3,indev:0x
> 0, outdev:0x2
> W/audio_hw_primary( 155): vb_control_parameters.c pa_config:0x230(0x230, 0),
> 0x
> 130(fm)(0x130, 0), hpPaConfig:0x0(0x0, 0), 0x0(fm)(0x0, 0)
> W/audio_hw_primary( 155): vb_control_parameters.c GetAudio_outpga_nv,
> dac_pga_g
> ain_l:0x801607ca fm_pga_gain_l:0x189 fm_pga_gain_r:0x189 vol_level:0x1
> W/audio_hw_primary( 155): GetAudio_inpga_nv, adc_pga_gain_l:0x902b
> device:0x0 v
> ol_level:0x1
> D/audio_pga( 155): 'speaker-l' apply
> I/audio_pga( 155): 'SPKL Playback Volume' set to 10
> I/audio_pga( 155): 'DACL Playback Volume' set to 7
> I/audio_pga( 155): 'VBC DACL DG Set' set to 22
> I/audio_pga( 155): 'VBC DACL DG Switch' set to 1
> D/audio_pga( 155): 'speaker-r' apply
> I/audio_pga( 155): 'SPKR Playback Volume' set to 10
> I/audio_pga( 155): 'DACR Playback Volume' set to 7
> I/audio_pga( 155): 'VBC DACR DG Set' set to 22
> I/audio_pga( 155): 'VBC DACR DG Switch' set to 1
> W/audio_hw_primary( 155): SetAudio_gain_by_devices out, out_devices:0x2,
> in_dev
> ices:0x0
> I/audio_hw_primary( 155): Set 'Mic Function'.0 to 0
> I/audio_hw_primary( 155): Set 'ADCL Mixer MainMICADCL Switch'.0 to 0
> I/audio_hw_primary( 155): Set 'ADCR Mixer MainMICADCR Switch'.0 to 0
> I/audio_hw_primary( 155): Set 'Aux Mic Function'.0 to 0
> I/audio_hw_primary( 155): Set 'ADCL Mixer AuxMICADCL Switch'.0 to 0
> I/audio_hw_primary( 155): Set 'ADCR Mixer AuxMICADCR Switch'.0 to 0
> I/audio_hw_primary( 155): Set 'HP Mic Function'.0 to 0
> I/audio_hw_primary( 155): Set 'ADCL Mixer HPMICADCL Switch'.0 to 0
> I/audio_hw_primary( 155): Set 'ADCR Mixer HPMICADCR Switch'.0 to 0
> I/audio_hw_primary( 155): Set 'SPKL Mixer ADCLSPKL Switch'.0 to 0
> I/audio_hw_primary( 155): Set 'SPKL Mixer ADCRSPKL Switch'.0 to 0
> I/audio_hw_primary( 155): Set 'HPL Mixer ADCLHPL Switch'.0 to 0
> I/audio_hw_primary( 155): Set 'HPR Mixer ADCRHPR Switch'.0 to 0
> I/audio_hw_primary( 155): Set 'Linein Speaker Mute Switch'.0 to 1
> I/audio_hw_primary( 155): Set 'Linein Headphone Mute Switch'.0 to 1
> I/audio_hw_primary( 155): Set 'Linein Mute Switch'.0 to 1
> I/audio_hw_primary( 155): Set 'Line Function'.0 to 0
> I/audio_hw_primary( 155): Set 'ADCL Mixer AILADCL Switch'.0 to 0
> I/audio_hw_primary( 155): Set 'ADCR Mixer AIRADCR Switch'.0 to 0
> I/audio_hw_primary( 155): Set 'HeadPhone Function'.0 to 0
> I/audio_hw_primary( 155): Set 'HPL Mixer DACLHPL Switch'.0 to 0
> I/audio_hw_primary( 155): Set 'HPR Mixer DACRHPR Switch'.0 to 0
> I/audio_hw_primary( 155): Set 'Earpiece Function'.0 to 0
> I/audio_hw_primary( 155): Set 'SPKL Mixer DACLSPKL Switch'.0 to 1
> I/audio_hw_primary( 155): Set 'SPKL Mixer DACRSPKL Switch'.0 to 1
> I/audio_hw_primary( 155): Set 'Speaker Function'.0 to 1
> I/vb_effect( 155): s_cur_out_devices(0x00000002),
> s_cur_in_devices(0x00000000)
> I/vb_effect( 155): profile is Handsfree, ret=0
> I/audio_hw_primary( 155): do_select_devices X
> I/audio_hw_primary( 155): stream_routing_thread looping done.
> I/audio_hw_primary( 155): stream_routing_thread looping now...
> W/audio_hw_primary( 155): out->write_threshold=0, config.avail_min=960,
> start_t
> hreshold=960
> D/WindowOrientationListener( 608): sensor enabled
> I/SensorManagerA( 608): getReportingMode :: sensor.mType = 65558
> D/SensorService( 608): AutoRotationSensor::changed settle time to [1]
> D/SensorService( 608): AutoRotationSensor::activate (ident=0x56a65570,
> enabled=
> 1)
> D/SensorService( 608): AutoRotationSensor::AR_init
> D/Sensors ( 608): +poll__activate: handle=0 enabled=1
> D/Sensors ( 608): poll__setDelay: handle:0 , ns:66000000
> D/SensorManager( 608): registerListener :: 1600221811, Screen Orientation
> Senso
> r, 66667, 0,
> V/WindowOrientationListener( 608): setCurrentAppOrientation :10
> V/WindowOrientationListener( 608): setCurrentAppOrientation enable auto
> rotatio
> n
> V/WindowOrientationListener( 608):
> ScreenOrientationEventListenerImpl.getPropos
> edRotationLocked, Rotation: -1
> V/WindowOrientationListener( 608):
> ScreenOrientationEventListenerImpl.getPropos
> edRotationLocked, Rotation: -1
> V/WindowOrientationListener( 608): getProposedRotation : mEnabled = true,
> mUsed
> autorotioansensor =true
> V/WindowManager( 608): rotationForOrientationLw(orient=10, last=0); user=0
> USER
> _ROTATION_LOCKED sensorRotation=-1 mLidState=-1 mDockMode=0
> mHdmiPlugged=false m
> AccelerometerDefault=false
> V/WindowOrientationListener( 608): getProposedRotation : mEnabled = true,
> mUsed
> autorotioansensor =true
> V/Camera3 ( 9506): --onActivityResult--requestCode: 2001
> V/Camera3 ( 9506): --onActivityResult--resultCode: -1
> V/Camera3 ( 9506): --onActivityResult--data: Intent { act=inline-data (has
> extra
> s) }
> W/ActivityManager( 608): Duplicate finish request for
> ActivityRecord{427a41c8 u
> 0 com.sec.android.app.camera/.Camera t168 f}
> D/SensorService( 608): AutoRotationSensor::activate (ident=0x56a65570,
> enabled=
> 0)
> D/Sensors ( 608): +poll__activate: handle=0 enabled=0
> D/SensorManager( 608): unregisterListener ::
> V/WindowOrientationListener( 608): setCurrentAppOrientation :-1
> V/WindowOrientationListener( 608): setCurrentAppOrientation enable auto
> rotatio
> n
> V/WindowOrientationListener( 608): getProposedRotation : mEnabled = false,
> mUse
> dautorotioansensor =true
> V/WindowManager( 608): rotationForOrientationLw(orient=-1, last=0); user=0
> USER
> _ROTATION_LOCKED sensorRotation=-1 mLidState=-1 mDockMode=0
> mHdmiPlugged=false m
> AccelerometerDefault=false
> V/WindowOrientationListener( 608): getProposedRotation : mEnabled = false,
> mUse
> dautorotioansensor =true
> I/ActivityManager( 608): Start proc edu.vanderbilt.redcap for activity
> edu.vand
> erbilt.redcap/.MainActivity: pid=9683 uid=10114 gids={50114, 3003, 1028, 1015}
> D/ActivityThread( 9683): handleBindApplication:edu.vanderbilt.redcap
> W/ActivityManager( 608): Permission Denial: getCurrentUser() from pid=9683,
> uid
> =10114 requires android.permission.INTERACT_ACROSS_USERS
> W/ApplicationPackageManager( 9683): getCSCPackageItemText()
> D/DisplayManager( 9683): DisplayManager()
> D/STATUSBAR-StatusBarManagerService( 608): manageDisableList what=0x0
> pkg=Windo
> wManager.LayoutParams
> I/dalvikvm( 9683): Could not find method
> android.app.Activity.checkSelfPermissio
> n, referenced from method
> org.apache.cordova.CordovaInterfaceImpl.hasPermission
> W/dalvikvm( 9683): VFY: unable to resolve virtual method 1:
> Landroid/app/Activit
> y;.checkSelfPermission (Ljava/lang/String;)I
> D/dalvikvm( 9683): VFY: replacing opcode 0x6e at 0x0009
> W/ActivityManager( 608): Permission Denial: getCurrentUser() from pid=9683,
> uid
> =10114 requires android.permission.INTERACT_ACROSS_USERS
> I/dalvikvm( 9683): Could not find method
> android.app.Activity.requestPermissions
> , referenced from method
> org.apache.cordova.CordovaInterfaceImpl.requestPermissi
> on
> W/dalvikvm( 9683): VFY: unable to resolve virtual method 37:
> Landroid/app/Activi
> ty;.requestPermissions ([Ljava/lang/String;I)V
> D/dalvikvm( 9683): VFY: replacing opcode 0x6e at 0x000c
> I/dalvikvm( 9683): Could not find method
> android.app.Activity.requestPermissions
> , referenced from method
> org.apache.cordova.CordovaInterfaceImpl.requestPermissi
> ons
> W/dalvikvm( 9683): VFY: unable to resolve virtual method 37:
> Landroid/app/Activi
> ty;.requestPermissions ([Ljava/lang/String;I)V
> D/dalvikvm( 9683): VFY: replacing opcode 0x6e at 0x0006
> V/AudioPolicyManagerBase( 155): stopOutput() output 2, stream 1, session 1962
> V/AudioPolicyManagerBase( 155): changeRefCount() stream 1, count 0
> V/AudioPolicyManagerBase( 155): getNewDevice() selected device 0
> V/AudioPolicyManagerBase( 155): setOutputDevice() output 2 device 0000 force > 0
> delayMs 174
> V/AudioPolicyManagerBase( 155): setOutputDevice() prevDevice (0002)
> V/AudioPolicyManagerBase( 155): setOutputDevice() setting same device 0000
> or n
> ull device for output 2
> D/PhoneStatusBar( 775): Status bar WINDOW_STATE_SHOWING
> D/gralloc.sc8830( 151): fb_post fps = 0.211198
> V/WebViewChromiumFactoryProvider( 9683): Binding Chromium to main looper
> Looper
> (main, tid 1) {41e7fd80}
> I/LibraryLoader( 9683): Expected native library version number "",actual
> native
> library version number ""
> I/chromium( 9683): [INFO:library_loader_hooks.cc(116)] Chromium logging
> enabled:
> level = 0, default verbosity = 0
> I/BrowserStartupController( 9683): Initializing chromium process, renderers=0
> W/ApplicationPackageManager( 9683): getCSCPackageItemText()
> W/chromium( 9683): [WARNING:proxy_service.cc(890)] PAC support disabled
> because
> there is no system implementation
> I/dalvikvm( 9683): Could not find method
> android.webkit.CookieManager.setAcceptT
> hirdPartyCookies, referenced from method
> org.apache.cordova.engine.SystemCookieM
> anager.<init>
> W/dalvikvm( 9683): VFY: unable to resolve virtual method 517:
> Landroid/webkit/Co
> okieManager;.setAcceptThirdPartyCookies (Landroid/webkit/WebView;Z)V
> D/dalvikvm( 9683): VFY: replacing opcode 0x6e at 0x0016
> I/dalvikvm( 9683): Could not find method android.webkit.CookieManager.flush,
> ref
> erenced from method org.apache.cordova.engine.SystemCookieManager.flush
> W/dalvikvm( 9683): VFY: unable to resolve virtual method 511:
> Landroid/webkit/Co
> okieManager;.flush ()V
> D/dalvikvm( 9683): VFY: replacing opcode 0x6e at 0x0008
> W/dalvikvm( 9683): VFY: unable to find class referenced in signature
> (Landroid/w
> ebkit/ClientCertRequest;)
> W/dalvikvm( 9683): VFY: unable to find class referenced in signature
> (Landroid/w
> ebkit/ClientCertRequest;)
> I/dalvikvm( 9683): Could not find method
> android.webkit.WebViewClient.onReceived
> ClientCertRequest, referenced from method
> org.apache.cordova.engine.SystemWebVie
> wClient.onReceivedClientCertRequest
> W/dalvikvm( 9683): VFY: unable to resolve virtual method 576:
> Landroid/webkit/We
> bViewClient;.onReceivedClientCertRequest
> (Landroid/webkit/WebView;Landroid/webki
> t/ClientCertRequest;)V
> D/dalvikvm( 9683): VFY: replacing opcode 0x6f at 0x001a
> W/dalvikvm( 9683): VFY: unable to find class referenced in signature
> (Landroid/w
> ebkit/PermissionRequest;)
> I/dalvikvm( 9683): Could not find method
> android.webkit.PermissionRequest.getRes
> ources, referenced from method
> org.apache.cordova.engine.SystemWebChromeClient.o
> nPermissionRequest
> W/dalvikvm( 9683): VFY: unable to resolve virtual method 529:
> Landroid/webkit/Pe
> rmissionRequest;.getResources ()[Ljava/lang/String;
> D/dalvikvm( 9683): VFY: replacing opcode 0x6e at 0x000d
> I/dalvikvm( 9683): Could not find method
> android.webkit.WebChromeClient$FileChoo
> serParams.createIntent, referenced from method
> org.apache.cordova.engine.SystemW
> ebChromeClient.onShowFileChooser
> W/dalvikvm( 9683): VFY: unable to resolve virtual method 534:
> Landroid/webkit/We
> bChromeClient$FileChooserParams;.createIntent ()Landroid/content/Intent;
> D/dalvikvm( 9683): VFY: replacing opcode 0x6e at 0x0000
> D/SystemWebViewEngine( 9683): CordovaWebView is running on device made by:
> samsu
> ng
> I/dalvikvm( 9683): Could not find method
> android.content.Context.getExternalMedi
> aDirs, referenced from method
> org.apache.cordova.file.LocalFilesystem.isPublicDi
> rectory
> W/dalvikvm( 9683): VFY: unable to resolve virtual method 104:
> Landroid/content/C
> ontext;.getExternalMediaDirs ()[Ljava/io/File;
> D/dalvikvm( 9683): VFY: replacing opcode 0x6e at 0x0008
> E/cutils ( 144): Failed to mkdirat(/storage/extSdCard/Android): Read-only
> file
> system
> W/ContextImpl( 9683): Failed to ensure directory:
> /storage/extSdCard/Android/dat
> a/edu.vanderbilt.redcap/files
> E/cutils ( 144): Failed to mkdirat(/storage/extSdCard/Android): Read-only
> file
> system
> W/ContextImpl( 9683): Failed to ensure directory:
> /storage/extSdCard/Android/dat
> a/edu.vanderbilt.redcap/cache
> W/Vold ( 144): Returning OperationFailed - no handler for errno 30
> W/Vold ( 144): Returning OperationFailed - no handler for errno 30
> D/CordovaInterfaceImpl( 9683): Sending activity result to plugin
> E/cutils ( 144): Failed to mkdirat(/storage/extSdCard/Android): Read-only
> file
> system
> W/Vold ( 144): Returning OperationFailed - no handler for errno 30
> W/ContextImpl( 9683): Failed to ensure directory:
> /storage/extSdCard/Android/dat
> a/edu.vanderbilt.redcap/cache
> I/SurfaceFlinger( 151): id=1523 Removed DropImage (6/8)
> I/SurfaceFlinger( 151): id=1523 Removed DropImage (-2/8)
> D/dalvikvm( 9683): GC_EXPLICIT freed 273K, 47% free 6845K/12856K, paused
> 2ms+3ms
> , total 37ms
> W/CursorWrapperInner( 9683): Cursor finalized without prior close()
> D/SSRMv2:SIOP( 608): SIOP:: AP = 420, Delta = 0
> D/StatusBarManagerService( 608): semi p:9683,o:f
> D/PhoneStatusBar( 775): setSemiTransparentMode=false,
> mTransparentMode=false, m
> SemiTransparentMode=false, mMultiWindowMode=
> D/OpenGLRenderer( 9683): Enabling debug mode 0
> W/AwContents( 9683): nativeOnDraw failed; clearing to background color.
> W/AwContents( 9683): nativeOnDraw failed; clearing to background color.
> I/ActivityManager( 608): Displayed edu.vanderbilt.redcap/.MainActivity:
> +630ms
> D/CustomFrequencyManagerService( 608): releaseDVFSLockLocked : Getting Lock
> typ
> e frm List : DVFS_MIN_LIMIT frequency : 1200000 uid : 1000 pid : 608 tag
> : A
> CTIVITY_RESUME_BOOSTER@3
> I/Timeline( 608): Timeline: Activity_windows_visible id:
> ActivityRecord{42cb234
> 8 u0 edu.vanderbilt.redcap/.MainActivity t168} time:53284203
> W/ActivityManager( 608): mDVFSHelper.release()
> D/CustomFrequencyManagerService( 608): acquireDVFSLockLocked : type :
> DVFS_MIN_
> LIMIT frequency : 1200000 uid : 1000 pid : 608 pkgName :
> ACTIVITY_RESUME_BOO
> STER@7
> I/SurfaceFlinger( 151): id=1524 Removed sedcap (6/8)
> I/SurfaceFlinger( 151): id=1524 Removed sedcap (-2/8)
> D/dalvikvm( 608): GC_EXPLICIT freed 1431K, 43% free 21642K/37860K, paused
> 33ms+
> 16ms, total 304ms
> I/Timeline( 9683): Timeline: Activity_idle id:
> android.os.BinderProxy@41e813c8 t
> ime:53284485
> D/CustomFrequencyManagerService( 608): releaseDVFSLockLocked : Getting Lock
> typ
> e frm List : DVFS_MIN_LIMIT frequency : 1200000 uid : 1000 pid : 608 tag
> : A
> CTIVITY_RESUME_BOOSTER@7
> I/chromium( 9683): [INFO:async_pixel_transfer_manager_android.cc(60)] Async
> pixe
> l transfers not supported
> I/chromium( 9683): [INFO:async_pixel_transfer_manager_android.cc(60)] Async
> pixe
> l transfers not supported
> I/ActivityManager( 608): No longer want but don't kill provider connected
> empty
> : android.process.media (pid 9650) (adj 11)
> I/ActivityManager( 608): Killing
> 9667:com.sec.android.app.camera:CropImage/u0a8
> 0 (adj 11): empty, 26004K
> I/ActivityManager_SDHA( 608): F:008M, C:068M, avgU:-----K, mgn:052M,
> nF:46634K,
> fd:26004K, thd:065M, wm:05M, c:00, e:03, lmkIdx:11, emS:00, rsmd:T_,
> lstCrt:edu
> .vanderbilt.redcap, TOP:edu.vanderbilt.redcap, ear:0, car:0
> V/Camera3 ( 9506): onDestroy
> I/ActivityManager( 608): No longer want but don't kill provider connected
> empty
> : android.process.media (pid 9650) (adj 11)
> I/chromium( 9683): [INFO:CONSOLE(9)] "The key "target-densitydpi" is not
> support
> ed.", source: file:///android_asset/www/index.html (9)
> I/MediaFocusControl( 608): AudioFocus abandonAudioFocus() from
> android.media.
> AudioManager$41f69768com.sec.android.app.camera.Camera$171$41eefa50
> I/WindowState( 608): WIN DEATH: Window{42bf0460 u0
> com.sec.android.app.camera/c
> om.sec.android.app.camera.CropImage}
> I/ActivityManager_SDHA( 608): We skip to kill media process to avoid timing
> iss
> ue of killing vending app
> D/JsMessageQueue( 9683): Set native->JS mode to OnlineEventsBridgeMode
> D/dalvikvm( 9683): GC_CONCURRENT freed 239K, 46% free 7052K/12856K, paused
> 10ms+
> 1ms, total 49ms
> E/BatteryStatsImpl( 608): slot=0 bin=1 CurSlotRaw=0
> D/CordovaNetworkManager( 9683): Connection Type: none
> D/CordovaNetworkManager( 9683): Connection Extra Info:
> D/CordovaNetworkManager( 9683): Connection Type: none
> D/CordovaNetworkManager( 9683): Connection Extra Info:
> E/cutils ( 144): Failed to mkdirat(/storage/extSdCard/Android): Read-only
> file
> system
> W/ContextImpl( 9683): Failed to ensure directory:
> /storage/extSdCard/Android/dat
> a/edu.vanderbilt.redcap/files
> W/Vold ( 144): Returning OperationFailed - no handler for errno 30
> E/cutils ( 144): Failed to mkdirat(/storage/extSdCard/Android): Read-only
> file
> system
> W/ContextImpl( 9683): Failed to ensure directory:
> /storage/extSdCard/Android/dat
> a/edu.vanderbilt.redcap/files
> E/cutils ( 144): Failed to mkdirat(/storage/extSdCard/Android): Read-only
> file
> system
> W/ContextImpl( 9683): Failed to ensure directory:
> /storage/extSdCard/Android/dat
> a/edu.vanderbilt.redcap/cache
> W/Vold ( 144): Returning OperationFailed - no handler for errno 30
> W/Vold ( 144): Returning OperationFailed - no handler for errno 30
> D/audio_hw_primary( 155): do_output_standby in
> W/audio_hw_primary( 155): do_output_standby.mode:0
> D/audio_hw_primary( 155): do_output_standby in out
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]