Esri / cordova-plugin-advanced-geolocation

Highly configurable native Android interface to both GPS and NETWORK on-device location providers.
Apache License 2.0
77 stars 38 forks source link

Error message after close the App. #58

Closed rochadsouza closed 6 years ago

rochadsouza commented 6 years ago

Hi, I'm using Advanced Geolocation and after adding it to my project, when I close the App is displayed an error message saying "[App name] keeps stopping". It seem a kind of conflict with another plugin because if I turn the Cordova Google Map Plugin off, this issue does not happens.

In ADB logcat I'm having the following errors:

11-20 18:12:00.345 3112 3112 D Layer : applyEffect ## com.sec.android.app.launcher/com.sec.android.app.launcher.activities.LauncherActivity 11-20 18:12:00.345 3112 3112 D Layer : applyEffect ## animMode=3, target=2, pixType=1 11-20 18:12:00.345 3112 3112 D Layer : applyEffect ## pixAnim anim=13, timeMs=0, value=0.00, interp=0 11-20 18:12:00.345 3112 3112 D Layer : applyEffect ## pixAnim anim=13, timeMs=0, value=132.00, interp=3 11-20 18:12:00.349 3682 3785 D WindowManager: finishDrawingWindow: Window{f95c19d0 u0 Application Error: com.ionicframework.takeappproducao} mDrawState=DRAW_PENDING 11-20 18:12:00.349 3682 3785 D ViewRootImpl@8b73763[takeappproducao]: MSG_RESIZED_REPORT: ci=Rect(0, 0 - 0, 0) vi=Rect(0, 0 - 0, 0) or=1 11-20 18:12:00.349 3682 3819 D LockSettingsStorage: mSKTLockState = 2 11-20 18:12:00.352 3682 4201 D WindowManager: adjustSystemUiVisibilityLw : vis= 0x4008 11-20 18:12:00.354 3682 3785 D WindowManager: finishDrawingWindow: Window{f95c19d0 u0 Application Error: com.ionicframework.takeappproducao} mDrawState=HAS_DRAWN 11-20 18:12:00.358 3682 6830 D WindowManager: finishDrawingWindow: Window{a948105d0 u0 com.sec.android.app.launcher/com.sec.android.app.launcher.activities.LauncherActivity}

error

andygup commented 6 years ago

There don't seem to be any errors related to this plugin. I'm not familiar with the Cordova Google Map Plugin. It's possible there are some native Android platform event issues between it and this plugin.

Are you calling AdvancedGeolocation.kill() in your app?

Can you send a larger adb dump that begins at the GeolocationPlugin: onStop message?

rochadsouza commented 6 years ago

Hi @andygup, thank your for your quick answer.

I'm not calling AdvancedGeolocation.kill(), and already tied to call AdvancedGeolocation.stop() when the app goes to background mode and AdvancedGeolocation.start(...) when it comes form background mode - everything goes right till I close the app and open it again, the app start up is slowly and Android OS asks if I want to "Wait for the App".

As you asked, here is ADB from GeolocationPlugin: onStop. Thank you for your attention!

11-21 15:12:43.977 22569 22569 D GeolocationPlugin: onStop 11-21 15:12:43.977 22569 22569 D GeolocationPlugin: Stopping geolocation 11-21 15:12:43.977 3682 4485 D libgps : OnGpsExtensionMessage: message_id(1), data(0x71a07fd044), size(2728) 11-21 15:12:43.978 3682 4485 D libgps : proxygnss_sv_status_cb: called. num_svs(0) 11-21 15:12:43.983 3682 4792 D LockSettingsStorage: mSKTLockState = 2 11-21 15:12:43.985 22569 22569 I chromium: [INFO:CONSOLE(69)] "app running in background", source: file:///android_asset/www/js/app.js (69) 11-21 15:12:43.986 22569 22569 I chromium: [INFO:CONSOLE(164)] "Go to Background fn", source: file:///android_asset/www/js/controllers/map_controllers.js (164) 11-21 15:12:43.988 3682 4792 D InputDispatcher: Focus entered window: 4083 11-21 15:12:43.996 4083 4083 D RecentsSlidingView: onMeasure 11-21 15:12:43.996 4083 4240 D mali_winsys: EGLint new_window_surface(egl_winsys_display, void, EGLSurface, EGLConfig, egl_winsys_surface*, egl_color_buffer_format, EGLBoolean) returns 0x3000, [1080x1920]-format:1 11-21 15:12:43.996 4083 4083 D RecentsSlidingView: onLayout(false, 0, 0, 1080, 1920) 11-21 15:12:43.997 4083 4083 D TaskStackView: prepareForEnterAnimation 11-21 15:12:43.998 4083 4083 D ToggleSlider: onReceive : android.intent.action.CLOSE_SYSTEM_DIALOGS 11-21 15:12:43.998 4083 4083 D vol.SecVolumeDialog: dismissH reason: 2 11-21 15:12:43.998 4083 4083 D vol.SecVolumeDialog: dismissH : false 11-21 15:12:43.998 4083 4083 D Tile.MobileDataTile: action:android.intent.action.CLOSE_SYSTEM_DIALOGS 11-21 15:12:44.000 3682 7095 V WindowManager: Relayout Window{92df660d0 u0 com.ionicframework.takeappproducao/com.ionicframework.takeappproducao.MainActivity}: viewVisibility=4 req=1080x1920 WM.LayoutParams{(0,0)(fillxfill) sim=#110 ty=1 fl=#81810100 pfl=0x20000 wanim=0x103038a vsysui=0x600 needsMenuKey=2 naviIconColor=0} 11-21 15:12:44.000 4083 4083 D SwipeDoorsillDetector: reset()com.android.systemui.statusbar.phone.NotificationPanelView.resetViews:807 com.android.systemui.statusbar.phone.PanelBar.collapsePanel:173 com.android.systemui.statusbar.phone.PhoneStatusBar.animateCollapsePanels:3736 com.android.systemui.statusbar.phone.PhoneStatusBar.animateCollapsePanels:3692 11-21 15:12:44.001 3682 7095 D LockSettingsStorage: mSKTLockState = 2 11-21 15:12:44.005 4083 4083 D ToggleSlider: onReceive : android.intent.action.CLOSE_SYSTEM_DIALOGS 11-21 15:12:44.005 4083 4083 D ToggleSlider: onReceive : android.intent.action.CLOSE_SYSTEM_DIALOGS 11-21 15:12:44.005 4083 4083 D ViewRootImpl@afeb898[RecentsActivity]: MSG_RESIZED_REPORT: ci=Rect(0, 0 - 0, 0) vi=Rect(0, 72 - 0, 0) or=1 11-21 15:12:44.005 4083 4083 D ViewRootImpl@afeb898[RecentsActivity]: MSG_WINDOW_FOCUS_CHANGED 1 11-21 15:12:44.006 3682 7093 D WindowManager: adjustSystemUiVisibilityLw : vis= 0x4708 11-21 15:12:44.006 4083 4083 V InputMethodManager: Starting input: tba=android.view.inputmethod.EditorInfo@dff86b1 nm : com.android.systemui ic=null 11-21 15:12:44.006 4083 4083 I InputMethodManager: [IMM] startInputInner - mService.startInputOrWindowGainedFocus 11-21 15:12:44.007 3682 3749 D InputMethodManagerService: windowGainedFocus mCurrentFocusedUserId - 0 and mSecureKeypadEnabled-false 11-21 15:12:44.007 3682 3749 D InputMethodManagerService: mDesktopModeManager null! 11-21 15:12:44.007 3682 3749 D InputTransport: Input channel constructed: fd=392 11-21 15:12:44.007 3682 3749 D InputTransport: Input channel destroyed: fd=392 11-21 15:12:44.008 4083 4083 D InputTransport: Input channel constructed: fd=139 11-21 15:12:44.009 4714 4725 D ForegroundUtils: could not check pending caller 11-21 15:12:44.009 22569 22569 D InputTransport: Input channel destroyed: fd=130 11-21 15:12:44.013 3682 4791 I LocationManagerService: remove a7aa93e 11-21 15:12:44.013 3682 4791 I LocationManagerService: removeUpdates, receiver.requestedID = a7aa93e 11-21 15:12:44.014 3682 4791 D LocationManagerService: provider request: fused ProviderRequest[ON interval=+30m0s0ms] 11-21 15:12:44.014 3682 5733 D PackageManager: getComponentMetadataForIconTray : com.ionicframework.takeappproducao.MainActivity does not exist in mServices 11-21 15:12:44.014 3682 5733 D PackageManager: getComponentMetadataForIconTray : com.ionicframework.takeappproducao.MainActivity does not exist in mProviders 11-21 15:12:44.014 3682 5733 D PackageManager: getComponentMetadataForIconTray : com.ionicframework.takeappproducao.MainActivity does not exist in mReceivers 11-21 15:12:44.015 4083 4083 I ApplicationPackageManager: load=com.ionicframework.takeappproducao, bg=144-144, dr=144-144, forDefault=true 11-21 15:12:44.016 4480 4480 D FusedRequestManager_FLP: manageLocationRequest, remove request from com.ionicframework.takeappproducao with a7aa93e through LocationManagerService, provider = 1 11-21 15:12:44.017 4083 4083 I ApplicationPackageManager: scaled rate=201.0, size=144, alpha=0, hold=26, target=144 11-21 15:12:44.046 3682 7094 D SamsungAlarmManager: Cancel Alarm calling from uid:10019 pid :4685 / listener:android.app.IAlarmListener$Stub$Proxy@6c11626 11-21 15:12:44.051 3682 7188 D SamsungAlarmManager: setExact Listener (T:3/F:1/AC:false) 20171121T151255 - CU:10019/CP:4685 11-21 15:12:44.051 3682 3942 D SamsungAlarmManager: Cancel Alarm calling from uid:10019 pid :4685 / listener:android.app.IAlarmListener$Stub$Proxy@a5ab8bd 11-21 15:12:44.058 3682 5732 D WindowManager: finishDrawingWindow: Window{35b258d0 u0 com.android.systemui/com.android.systemui.recents.RecentsActivity} mDrawState=DRAW_PENDING 11-21 15:12:44.058 3682 5733 D SamsungAlarmManager: setExact Listener (T:3/F:1/AC:false) 20171121T151255 - CU:10019/CP:4685 11-21 15:12:44.058 3682 3819 D LockSettingsStorage: mSKTLockState = 2 11-21 15:12:44.059 3682 4791 I LocationManagerService: remove 59f9fb4 11-21 15:12:44.059 3682 4791 I LocationManagerService: removeUpdates, receiver.requestedID = 59f9fb4 11-21 15:12:44.060 3682 4791 D LocationManagerService: provider request: gps ProviderRequest[OFF] 11-21 15:12:44.060 3112 3112 I SurfaceFlinger: id=503 createSurf (984x132),1 flag=4, uhumbnail a 11-21 15:12:44.060 3682 4791 I GnssLocationProvider: WakeLock acquired by sendMessage(3, 0, com.android.server.location.GnssLocationProvider$GpsRequest@d1c9180) 11-21 15:12:44.061 4083 4240 W OpenGLRenderer: Incorrectly called buildLayer on View: NotificationPanelView, destroying layer... 11-21 15:12:44.061 3682 3783 D GnssLocationProvider: setRequest ProviderRequest[OFF] 11-21 15:12:44.061 3682 3783 D GnssLocationProvider: stopNavigating 11-21 15:12:44.061 3682 3783 D libgps : GpsiHook: API: gpsStop(GpsiHookStateGps: e,c,g) 11-21 15:12:44.061 3682 3783 D libgps : [proxygps_stop][line = 1132]: called. 11-21 15:12:44.062 3682 3783 D libgps : GpsiHook: API: gpsStatusCb(GpsiHookStateGps: e,c,g) 11-21 15:12:44.062 3682 3783 V GnssLocationProvider: reportStatus status: 2 11-21 15:12:44.064 3682 3783 D libgps : GpsiHook::deliverStatus() GPS_STATUS_SESSION_END 11-21 15:12:44.064 3682 3783 D libgps : GpsiHook: API: gpsStatusCb(GpsiHookStateGps: E,c,g) 11-21 15:12:44.064 3682 3783 V GnssLocationProvider: reportStatus status: 4 11-21 15:12:44.064 3682 3783 V GnssLocationProvider: reportStatus status: 2 11-21 15:12:44.064 3682 3783 D libgps : GpsiHookStateGps : EXIT 11-21 15:12:44.064 3682 3783 D libgps : GpsiHookStateIdle : ENTRY 11-21 15:12:44.064 3682 3783 D GnssLocationProvider_ex: getSKAFEnable : false 11-21 15:12:44.065 3682 3783 D SamsungAlarmManager: Cancel Alarm calling from uid:1000 pid :3682 / op:PendingIntent{5857c89: PendingIntentRecord{bdf48e android broadcastIntent}} 11-21 15:12:44.065 3682 3783 D SamsungAlarmManager: Cancel Alarm calling from uid:1000 pid :3682 / op:PendingIntent{53894af: PendingIntentRecord{4bed0bc android broadcastIntent}} 11-21 15:12:44.065 3682 3783 I GnssLocationProvider: WakeLock released by handleMessage(3, 0, com.android.server.location.GnssLocationProvider$GpsRequest@d1c9180) 11-21 15:12:44.069 3682 3819 D LockSettingsStorage: mSKTLockState = 2 11-21 15:12:44.069 3682 3819 D LockSettingsStorage: mSKTLockState = 2 11-21 15:12:44.070 4083 4097 D WallpaperService: resized:[frame]Rect(0, 0 - 1920, 1920) [newConfig] is null 11-21 15:12:44.071 3682 7228 V WindowManager: Relayout Window{92df660d0 u0 com.ionicframework.takeappproducao/com.ionicframework.takeappproducao.MainActivity EXITING}: viewVisibility=8 req=1080x1920 WM.LayoutParams{(0,0)(fillxfill) sim=#110 ty=1 fl=#81810100 pfl=0x20000 wanim=0x103038a vsysui=0x600 needsMenuKey=2 naviIconColor=0} 11-21 15:12:44.071 3682 7228 D LockSettingsStorage: mSKTLockState = 2 11-21 15:12:44.075 3682 3819 D KnoxTimeoutHandler: notifyActivityDrawn [MsgParam] userId: 0 fullscreen is true showWhenlocked is false isMutiwindowRecord is false multiwindowstyle is 0 11-21 15:12:44.076 3682 3682 D KnoxTimeoutHandler: activityDrawn [MsgParam] userId: 0 fullscreen is true showWhenlocked is false isMutiwindowRecord is false multiwindowstyle is 0 11-21 15:12:44.079 3682 3682 I KnoxTimeoutHandler: SD activityfalse 11-21 15:12:44.079 3682 3819 D LockSettingsStorage: mSKTLockState = 2 11-21 15:12:44.079 3682 3682 I KnoxTimeoutHandler: Fullscreen and mCurrent is not KNOX user. Hence hide keyguard 11-21 15:12:44.081 4083 4083 V WallpaperService: Visibility change in com.android.systemui.ImageWallpaper$DrawableEngine@549985: 1 11-21 15:12:44.081 4083 4083 V WallpaperService: onVisibilityChanged(true): com.android.systemui.ImageWallpaper$DrawableEngine@549985 11-21 15:12:44.081 4083 4083 D WallpaperService: updateSurface forceRelayout=false redrawNeeded=false myWidth=1920 myHeight=1920 fixedSize=true mWidth=1920 mHeight=1920 11-21 15:12:44.081 4083 4083 D ImageWallpaper: onVisibilityChanged: mVisible, visible=false, true 11-21 15:12:44.081 4083 4083 D ImageWallpaper: Visibility changed to visible=true 11-21 15:12:44.082 4083 4083 D ImageWallpaper: drawFrame=false rotation=0 mLastRotation=0 11-21 15:12:44.082 4083 4083 D ImageWallpaper: drawFrame:[frame.width()]1920[frame.height()]1920 11-21 15:12:44.082 4083 4083 D ImageWallpaper: surfaceDimensionsChanged=false mLastSurfaceRotation=0 mDisplayWidth=-1 mDisplayHeight=-1 11-21 15:12:44.082 4083 4083 D ImageWallpaper: mNewKeyboard : 0 mLastKeyboard : 0 mForceDraw : false 11-21 15:12:44.082 4083 4083 D ImageWallpaper: redrawNeeded = false, mOffsetsChanged = false 11-21 15:12:44.082 4083 4083 D ImageWallpaper: Suppressed drawFrame since redraw is not needed and offsets have not changed. 11-21 15:12:44.082 4083 4083 D WallpaperService: MSG_WINDOW_RESIZED 11-21 15:12:44.082 4083 4083 D WallpaperService: updateSurface forceRelayout=true redrawNeeded=false myWidth=1920 myHeight=1920 fixedSize=true mWidth=1920 mHeight=1920 11-21 15:12:44.082 4083 4083 V WallpaperService: Changes: creating=false format=false size=false 11-21 15:12:44.083 3682 6857 V WindowManager: Relayout Window{709fc94d0 u0 com.android.systemui.ImageWallpaper}: viewVisibility=0 req=1920x1920 WM.LayoutParams{(0,0)(1920x1920) gr=#800033 ty=2013 fl=#318 fmt=2 wanim=0x10302f2 naviIconColor=0} 11-21 15:12:44.083 3682 6857 D LockSettingsStorage: mSKTLockState = 2 11-21 15:12:44.084 3682 3882 D SamsungAlarmManager: Expired : 8 11-21 15:12:44.085 3682 3882 V SamsungAlarmManager: Sending to uid : 10019 listener=android.os.BinderProxy@1836f03 alarm=Alarm{27f23b9 type 3 when 87972868 com.google.android.gms} 11-21 15:12:44.086 4083 4083 V WallpaperService: New surface=Surface(name=null)/@0x9835ee8, frame=Rect(0, 0 - 1920, 1920),relayoutResult=1, mConfiguration={0 1.0 themeSeq = 0 showBtnBg = -1 ?mcc?mnc ?localeList ?layoutDir ?swdp ?wdp ?hdp ?density ?lsize ?long ?orien ?uimode ?night ?touch ?keyb/?/? ?nav/? mkbd/?} 11-21 15:12:44.086 4083 4083 V WallpaperService: Wallpaper size has changed: (1920, 1920 11-21 15:12:44.086 4083 4083 V WallpaperService: Layout: x=0 y=0 w=1920 h=1920 11-21 15:12:44.086 4083 4083 V WallpaperService: Offsets change in com.android.systemui.ImageWallpaper$DrawableEngine@549985: 0.0,0.0 11-21 15:12:44.086 4083 4083 D ImageWallpaper: onOffsetsChanged: xOffset=0.0, yOffset=0.0, xOffsetStep=0.0, yOffsetStep=0.0, xPixels=0, yPixels=0 11-21 15:12:44.087 4083 4083 D ImageWallpaper: drawFrame=false rotation=0 mLastRotation=0 11-21 15:12:44.087 4083 4083 D ImageWallpaper: drawFrame:[frame.width()]1920[frame.height()]1920 11-21 15:12:44.087 4083 4083 D ImageWallpaper: surfaceDimensionsChanged=false mLastSurfaceRotation=0 mDisplayWidth=-1 mDisplayHeight=-1 11-21 15:12:44.087 4083 4083 D ImageWallpaper: mNewKeyboard : 0 mLastKeyboard : 0 mForceDraw : false 11-21 15:12:44.087 4083 4083 D ImageWallpaper: redrawNeeded = false, mOffsetsChanged = false 11-21 15:12:44.087 4083 4083 D ImageWallpaper: Suppressed drawFrame since redraw is not needed and offsets have not changed. 11-21 15:12:44.087 4083 4083 D ViewRootImpl@afeb898[RecentsActivity]: MSG_RESIZED: ci=Rect(0, 0 - 0, 0) vi=Rect(0, 0 - 0, 0) or=1 11-21 15:12:44.087 4083 4083 D RecentsSlidingView: onMeasure 11-21 15:12:44.088 4083 4083 D RecentsSlidingView: onLayout(false, 0, 0, 1080, 1920) 11-21 15:12:44.088 4083 4083 D TaskStackView: prepareForEnterAnimation 11-21 15:12:44.095 4083 4083 D TaskStackView: startEnterAnimation : 0 11-21 15:12:44.097 4083 4083 D SwipeDoorsillDetector: reset()com.android.systemui.statusbar.phone.NotificationPanelView.resetViews:807 com.android.systemui.statusbar.phone.PanelBar.collapsePanel:173 com.android.systemui.statusbar.phone.PhoneStatusBar.setWindowState:4072 com.android.systemui.statusbar.CommandQueue$H.handleMessage:680 11-21 15:12:44.099 3682 7191 D SamsungAlarmManager: setExact Listener (T:3/F:1/AC:false) 20171121T154244 - CU:10019/CP:4685 11-21 15:12:44.111 4685 14730 W ctxmgr : [AclManager]No 2 for (accnt=account#1972692163#, com.google.android.gms(10019):UserLocationProducer, vrsn=11746000, 0, 3pPkg = null , 3pMdlId = null , pid = 4685). Was: 2 for 1, account#1972692163# 11-21 15:12:44.119 3682 3695 I art : Background partial concurrent mark sweep GC freed 114763(6MB) AllocSpace objects, 34(720KB) LOS objects, 23% free, 50MB/66MB, paused 4.637ms total 209.931ms 11-21 15:12:44.127 3682 5732 D SamsungAlarmManager: setExact Listener (T:3/F:1/AC:false) 20171121T154244 - CU:10019/CP:4685 11-21 15:12:44.127 3682 7193 D SamsungAlarmManager: Cancel Alarm calling from uid:10019 pid :4685 / listener:android.app.IAlarmListener$Stub$Proxy@7e54275 11-21 15:12:44.128 3682 3750 I SamsungAlarmManager: setLocked to kernel - T:2 / 20171121T152020, SetElapsed=88429061, nowELAPSED=87972911 11-21 15:12:44.128 3682 3750 I SamsungAlarmManager: setLocked to kernel - T:3 / 20171121T151255, SetElapsed=87983836, nowELAPSED=87972911 11-21 15:12:44.130 3682 3750 D SamsungAlarmManager: setInexact Intent (T:2/F:0/AC:false) 20171121T151248 - CU:10019/CP:4685 11-21 15:12:44.130 3682 3750 I SamsungAlarmManager: setLocked to kernel - T:2 / 20171121T151325, SetElapsed=88014386, nowELAPSED=87972914 11-21 15:12:44.131 3682 7193 I SamsungAlarmManager: setLocked to kernel - T:3 / 20171121T151300, SetElapsed=87988783, nowELAPSED=87972914 11-21 15:12:44.133 3682 7226 D SamsungAlarmManager: setExact Listener (T:3/F:1/AC:false) 20171121T155745 - CU:10019/CP:4685 11-21 15:12:44.139 3682 4011 D MdnieScenarioControlService: packageName : com.android.systemui className : com.android.systemui.recents.RecentsActivity 11-21 15:12:44.310 3682 6019 D GameManagerService: identifyGamePackage. com.android.systemui 11-21 15:12:44.310 3682 6019 D GameManagerService: identifyGamePackage. com.android.systemui 11-21 15:12:44.318 3682 6019 D GameManagerService: identifyGamePackage. com.android.systemui 11-21 15:12:44.319 3682 6019 D GameManagerService: identifyGamePackage. com.android.systemui 11-21 15:12:44.498 3682 3819 D LockSettingsStorage: mSKTLockState = 2 11-21 15:12:44.500 3682 3819 D LockSettingsStorage: mSKTLockState = 2 11-21 15:12:44.501 3682 3784 D ActivityManager: mActivityResumeBoosterTail.acquire() 11-21 15:12:44.502 3682 3819 D CustomFrequencyManagerService: releaseDVFSLockLocked : Getting Lock type frm List : DVFS_MIN_LIMIT frequency : 1560000 uid : 1000 pid : 3682 tag : AMS_RESUME@CPU_MIN@7 11-21 15:12:44.502 3682 3819 D ActivityManager: mActivityResumeBooster.release() 11-21 15:12:44.504 3682 3819 D KnoxTimeoutHandler: notifyActivityDrawn [MsgParam] userId: 0 fullscreen is true showWhenlocked is false isMutiwindowRecord is false multiwindowstyle is 0 11-21 15:12:44.504 3682 3784 D CustomFrequencyManagerService: acquireDVFSLockLocked : type : DVFS_MIN_LIMIT frequency : 1560000 uid : 1000 pid : 3682 pkgName : AMS_RESUME_TAIL@CPU_MIN@13 11-21 15:12:44.504 3682 3682 D KnoxTimeoutHandler: activityDrawn [MsgParam] userId: 0 fullscreen is true showWhenlocked is false isMutiwindowRecord is false multiwindowstyle is 0 11-21 15:12:44.506 3682 3682 I KnoxTimeoutHandler: SD activityfalse 11-21 15:12:44.506 3682 3682 I KnoxTimeoutHandler: Fullscreen and mCurrent is not KNOX user. Hence hide keyguard 11-21 15:12:44.515 3112 17378 I SurfaceFlinger: id=503 Removed uhumbnail a (6/8) 11-21 15:12:44.515 3112 4444 I SurfaceFlinger: id=503 Removed uhumbnail a (-2/8) 11-21 15:12:44.516 3682 3819 D LockSettingsStorage: mSKTLockState = 2 11-21 15:12:44.517 3682 3819 D LockSettingsStorage: mSKTLockState = 2 11-21 15:12:44.807 3682 3682 D CustomFrequencyManagerService: releaseDVFSLockLocked : Getting Lock type frm List : DVFS_MIN_LIMIT frequency : 1560000 uid : 1000 pid : 3682 tag : AMS_RESUME_TAIL@CPU_MIN@13 11-21 15:12:44.979 3682 6857 I Sensors : Acc old sensor_state 180273, new sensor_state : 180272 en : 0 11-21 15:12:44.991 3682 3957 I Sensors : Mag old sensor_state 180272, new sensor_state : 180256 en : 0 11-21 15:12:44.998 3682 7093 I Sensors : UncalGyro old sensor_state 180256, new sensor_state : 147488 en : 0 11-21 15:12:45.008 3682 3749 E Sensors : Pressure old sensor_state 147488, new sensor_state : 147456 en : 0 11-21 15:12:45.014 3682 3749 I Sensors : RotationVectorSensor old sensor_state 147456, new sensor_state : 16384 en : 0 11-21 15:12:45.223 3682 4040 D lights : button : 0 + 11-21 15:12:45.253 3682 4040 D lights : button : 0 - 11-21 15:12:45.261 3682 6019 D SSRM:f : SIOP:: AP = 270, PST = 248 (W:6), CP = 208, CUR = 192, LCD = 101 11-21 15:12:46.402 3682 3948 D WifiStateMachine: Current network is: "Vodafone-B4FBB5" , ID is: 9 11-21 15:12:46.403 3682 3948 D WifiStateMachine: 5GHz mQnsLowerRssiThreshold is recovered, currentRssi = -55 11-21 15:12:48.095 4624 4624 D io_stats: !@ 8,0 r 97009 7161508 w 168152 4495932 d 13309 2673368 f 62147 62144 iot 136530 111720 th 477212 0 0 pt 0 inp 0 0 21987.951 11-21 15:12:48.165 3294 3804 D EnterpriseController: netId is 0 11-21 15:12:48.165 3294 3804 D Netd : getNetworkForDns: using netid 516 for uid 10293 11-21 15:12:48.166 3294 3804 D DnsProxyListener: DNSDBG::dns addrinfo af 0 11-21 15:12:49.102 3682 3904 D InputReader: Input event(4): value=1 when=21988959184000 11-21 15:12:49.102 3682 3904 D InputReader: Input event(4): value=1 when=21988959184000 11-21 15:12:49.102 3682 3904 I InputReader: Touch event's action is 0x0 (deviceType=0) [pCnt=1, s=0.592 ] when=21988959184000 11-21 15:12:49.102 3682 3904 D InputReader: lastThreadEndTime = 21983713031853, currentThreadStartTime = 21983713036122, diff = 0 11-21 15:12:49.102 3682 3903 I InputDispatcher: Delivering touch to (4083): action: 0x0, toolType: 1 11-21 15:12:49.102 3682 3903 I InputDispatcher: Delivering touch to (4083): action: 0x0, toolType: 1 11-21 15:12:49.103 4083 4083 D ViewRootImpl@afeb898[RecentsActivity]: ViewPostImeInputStage processPointer 0 11-21 15:12:49.103 4083 4083 V WallpaperService: Delivering touch event: MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=524.9707, y[0]=1559.0625, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x3, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=21988959, downTime=21988959, deviceId=4, source=0x1002 } 11-21 15:12:49.111 4083 4083 V WallpaperService: Delivering touch event: MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=524.9707, y[0]=1558.5938, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x3, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=21988967, downTime=21988959, deviceId=4, source=0x1002 } 11-21 15:12:49.120 4083 4083 V WallpaperService: Delivering touch event: MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=524.9707, y[0]=1558.125, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x3, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=21988976, downTime=21988959, deviceId=4, source=0x1002 } 11-21 15:12:49.128 4083 4083 V WallpaperService: Delivering touch event: MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=525.2344, y[0]=1557.6562, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x3, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=21988984, downTime=21988959, deviceId=4, source=0x1002 } 11-21 15:12:49.137 4083 4083 V WallpaperService: Delivering touch event: MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=526.0254, y[0]=1557.1875, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x3, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=21988993, downTime=21988959, deviceId=4, source=0x1002 } 11-21 15:12:49.145 4083 4083 V WallpaperService: Delivering touch event: MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=527.34375, y[0]=1556.25, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x3, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=21989001, downTime=21988959, deviceId=4, source=0x1002 } 11-21 15:12:49.153 4083 4083 V WallpaperService: Delivering touch event: MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=529.4531, y[0]=1555.3125, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x3, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=21989009, downTime=21988959, deviceId=4, source=0x1002 } 11-21 15:12:49.161 4083 4083 V WallpaperService: Delivering touch event: MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=546.85547, y[0]=1550.625, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x3, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=21989018, downTime=21988959, deviceId=4, source=0x1002 } 11-21 15:12:49.169 4083 4083 V WallpaperService: Delivering touch event: MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=567.68555, y[0]=1545.9375, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x3, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=21989026, downTime=21988959, deviceId=4, source=0x1002 } 11-21 15:12:49.178 4083 4083 V WallpaperService: Delivering touch event: MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=592.99805, y[0]=1541.7188, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x3, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=21989035, downTime=21988959, deviceId=4, source=0x1002 } 11-21 15:12:49.186 4083 4083 V WallpaperService: Delivering touch event: MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=623.3203, y[0]=1538.4375, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x3, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=21989043, downTime=21988959, deviceId=4, source=0x1002 } 11-21 15:12:49.195 4083 4083 V WallpaperService: Delivering touch event: MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=664.18945, y[0]=1537.0312, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x3, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=21989051, downTime=21988959, deviceId=4, source=0x1002 } 11-21 15:12:49.203 4083 4083 V WallpaperService: Delivering touch event: MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=697.4121, y[0]=1538.4375, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x3, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=21989060, downTime=21988959, deviceId=4, source=0x1002 } 11-21 15:12:49.212 4083 4083 V WallpaperService: Delivering touch event: MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=737.49023, y[0]=1539.375, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x3, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=21989068, downTime=21988959, deviceId=4, source=0x1002 } 11-21 15:12:49.219 4083 4083 V WallpaperService: Delivering touch event: MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=787.06055, y[0]=1540.7812, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x3, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=21989076, downTime=21988959, deviceId=4, source=0x1002 } 11-21 15:12:49.230 4083 4083 V WallpaperService: Delivering touch event: MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=846.6504, y[0]=1540.3125, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x3, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=21989085, downTime=21988959, deviceId=4, source=0x1002 } 11-21 15:12:49.237 4083 4083 V WallpaperService: Delivering touch event: MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=916.52344, y[0]=1540.7812, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x3, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=21989093, downTime=21988959, deviceId=4, source=0x1002 } 11-21 15:12:49.252 3682 3904 D InputReader: Input event(4): value=0 when=21989109786000 11-21 15:12:49.252 3682 3904 D InputReader: Input event(4): value=0 when=21989109786000 11-21 15:12:49.253 3682 3904 I InputReader: Touch event's action is 0x1 (deviceType=0) [pCnt=1, s=] when=21989109786000 11-21 15:12:49.253 3682 3903 I InputDispatcher: Delivering touch to (4083): action: 0x1, toolType: 1 11-21 15:12:49.253 3682 3903 I InputDispatcher: Delivering touch to (4083): action: 0x1, toolType: 1 11-21 15:12:49.254 4083 4083 D ViewRootImpl@afeb898[RecentsActivity]: ViewPostImeInputStage processPointer 1 11-21 15:12:49.255 3682 6019 D CustomFrequencyManagerService: acquireDVFSLockLocked : type : DVFS_MIN_LIMIT frequency : 728000 uid : 1000 pid : 3682 pkgName : GESTURE_DETECTED@CPU_MIN@42 11-21 15:12:49.256 4083 4083 V WallpaperService: Delivering touch event: MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=916.52344, y[0]=1540.7812, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x3, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=21989109, downTime=21988959, deviceId=4, source=0x1002 } 11-21 15:12:49.416 3682 3948 D WifiStateMachine: Current network is: "Vodafone-B4FBB5" , ID is: 9 11-21 15:12:49.416 3682 3981 D ConnectivityService: updateNetworkScore for NetworkAgentInfo [WIFI () - 516] to 56 11-21 15:12:49.416 3682 3981 D ConnectivityService: rematching NetworkAgentInfo [WIFI () - 516] 11-21 15:12:49.416 3682 3981 D ConnectivityService: network has: [ Transports: WIFI Capabilities: NOT_METERED&INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&VALIDATED LinkUpBandwidth>=1048576Kbps LinkDnBandwidth>=1048576Kbps SignalStrength: -55] 11-21 15:12:49.416 3682 3981 D ConnectivityService: checking if request is satisfied: NetworkRequest [ id=30, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ] 11-21 15:12:49.416 3682 3981 D ConnectivityService: checking if request is satisfied: NetworkRequest [ id=7, legacyType=-1, [ Transports: CELLULAR Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] 11-21 15:12:49.416 3682 3981 D ConnectivityService: checking if request is satisfied: NetworkRequest [ id=153, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ] 11-21 15:12:49.416 3682 3981 D ConnectivityService: checking if request is satisfied: NetworkRequest [ id=10, legacyType=-1, [ Transports: WIFI Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] 11-21 15:12:49.416 3682 3981 D ConnectivityService: checking if request is satisfied: NetworkRequest [ id=8, legacyType=-1, [ Transports: WIFI Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] 11-21 15:12:49.416 3682 3981 D ConnectivityService: checking if request is satisfied: NetworkRequest [ id=5, legacyType=-1, [ Transports: WIFI Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] 11-21 15:12:49.416 3682 3981 D ConnectivityService: checking if request is satisfied: NetworkRequest [ id=4, legacyType=-1, [] ] 11-21 15:12:49.416 3682 3981 D ConnectivityService: checking if request is satisfied: NetworkRequest [ id=6, legacyType=-1, [ Transports: WIFI Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] 11-21 15:12:49.416 3682 3981 D ConnectivityService: Network NetworkAgentInfo [WIFI () - 516] was already satisfying request 1. No change. 11-21 15:12:49.417 3682 3981 D ConnectivityService: checking if request is satisfied: NetworkRequest [ id=3, legacyType=-1, [] ] 11-21 15:12:49.417 3682 3981 D ConnectivityService: checking if request is satisfied: NetworkRequest [ id=14, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] 11-21 15:12:49.417 3682 3981 D ConnectivityService: checking if request is satisfied: NetworkRequest [ id=137, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ] 11-21 15:12:49.417 3682 3981 D ConnectivityService: checking if request is satisfied: NetworkRequest [ id=9, legacyType=-1, [ Transports: CELLULAR|WIFI Capabilities: NOT_RESTRICTED&TRUSTED&NOT_VPN] ] 11-21 15:12:49.417 3682 3981 D ConnectivityService: checking if request is satisfied: NetworkRequest [ id=154, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ] 11-21 15:12:49.417 3682 3981 D ConnectivityService: sending new Min Network Score(100): NetworkRequest [ id=1, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] 11-21 15:12:49.417 3682 4032 D Ethernet: new score 100 for exisiting request NetworkRequest [ id=1, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] 11-21 15:12:49.417 3682 3944 D WIFI_P2P: new score 100 for exisiting request NetworkRequest [ id=1, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] 11-21 15:12:49.417 3682 4032 D Ethernet: my score=-1, my filter=[ Transports: ETHERNET Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN LinkUpBandwidth>=100000Kbps LinkDnBandwidth>=100000Kbps] 11-21 15:12:49.417 3682 3944 D WIFI_P2P: my score=60, my filter=[ Transports: WIFI Capabilities: WIFI_P2P&NOT_RESTRICTED&TRUSTED&NOT_VPN LinkUpBandwidth>=1048576Kbps LinkDnBandwidth>=1048576Kbps] 11-21 15:12:49.417 3682 4032 D Ethernet: evalRequest 11-21 15:12:49.417 3682 3944 D WIFI_P2P: evalRequest 11-21 15:12:49.417 3682 4032 D Ethernet: done 11-21 15:12:49.417 3682 3944 D WIFI_P2P: done 11-21 15:12:49.417 3682 3948 D WIFI_UT : new score 100 for exisiting request NetworkRequest [ id=1, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] 11-21 15:12:49.417 4053 4053 D PhoneSwitcherNetworkRequstListener: new score 100 for exisiting request NetworkRequest [ id=1, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] 11-21 15:12:49.417 3682 3948 D WIFI_UT : my score=2147483647, my filter=[ Transports: WIFI Capabilities: NOT_METERED&INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN LinkUpBandwidth>=1048576Kbps LinkDnBandwidth>=1048576Kbps] 11-21 15:12:49.417 3682 3948 D WIFI_UT : evalRequest 11-21 15:12:49.417 3682 3948 D WIFI_UT : done 11-21 15:12:49.417 3682 3948 D WIFI : new score 100 for exisiting request NetworkRequest [ id=1, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] 11-21 15:12:49.417 4053 4053 D PhoneSwitcherNetworkRequstListener: my score=101, my filter=[ Transports: CELLULAR Capabilities: MMS&SUPL&DUN&FOTA&IMS&CBS&IA&RCS&XCAP&EIMS&INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&ENT1 Specifier: <>] 11-21 15:12:49.417 4053 4053 D PhoneSwitcherNetworkRequstListener: evalRequest 11-21 15:12:49.417 4053 4053 D PhoneSwitcherNetworkRequstListener: done 11-21 15:12:49.417 3682 3948 D WIFI : my score=60, my filter=[ Transports: WIFI Capabilities: NOT_METERED&INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN LinkUpBandwidth>=1048576Kbps LinkDnBandwidth>=1048576Kbps] 11-21 15:12:49.417 3682 3948 D WIFI : evalRequest 11-21 15:12:49.417 3682 3948 D WIFI : done 11-21 15:12:49.597 22569 22569 D GeolocationPlugin: onDestroy 11-21 15:12:49.597 22569 22569 D GeolocationPlugin: Stopping geolocation 11-21 15:12:49.597 22569 22569 D GeolocationPlugin: Attempting to shutdown cordova threadpool 11-21 15:12:49.598 3682 3750 I MARsPolicyManager: Auto Run Policy not enabled 11-21 15:12:49.599 3682 7094 W ActivityManager: Finishing task with all activities already finished 11-21 15:12:49.599 3682 7094 W ActivityManager: Duplicate finish request for ActivityRecord{8685ecdd0 u0 com.ionicframework.takeappproducao/.MainActivity t1340 f} 11-21 15:12:49.604 22569 22569 D AndroidRuntime: Shutting down VM 11-21 15:12:49.605 22569 22569 E AndroidRuntime: FATAL EXCEPTION: main 11-21 15:12:49.605 22569 22569 E AndroidRuntime: Process: com.ionicframework.takeappproducao, PID: 22569 11-21 15:12:49.605 22569 22569 E AndroidRuntime: java.lang.RuntimeException: Unable to destroy activity {com.ionicframework.takeappproducao/com.ionicframework.takeappproducao.MainActivity}: java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@60cb0de rejected from java.util.concurrent.ThreadPoolExecutor@aff22bf[Shutting down, pool size = 4, active threads = 4, queued tasks = 0, completed tasks = 53] 11-21 15:12:49.605 22569 22569 E AndroidRuntime: at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:4595) 11-21 15:12:49.605 22569 22569 E AndroidRuntime: at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:4618) 11-21 15:12:49.605 22569 22569 E AndroidRuntime: at android.app.ActivityThread.-wrap7(ActivityThread.java) 11-21 15:12:49.605 22569 22569 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1696) 11-21 15:12:49.605 22569 22569 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102) 11-21 15:12:49.605 22569 22569 E AndroidRuntime: at android.os.Looper.loop(Looper.java:154) 11-21 15:12:49.605 22569 22569 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6692) 11-21 15:12:49.605 22569 22569 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 11-21 15:12:49.605 22569 22569 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1468) 11-21 15:12:49.605 22569 22569 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1358) 11-21 15:12:49.605 22569 22569 E AndroidRuntime: Caused by: java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@60cb0de rejected from java.util.concurrent.ThreadPoolExecutor@aff22bf[Shutting down, pool size = 4, active threads = 4, queued tasks = 0, completed tasks = 53] 11-21 15:12:49.605 22569 22569 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2049) 11-21 15:12:49.605 22569 22569 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:814) 11-21 15:12:49.605 22569 22569 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1360) 11-21 15:12:49.605 22569 22569 E AndroidRuntime: at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:89) 11-21 15:12:49.605 22569 22569 E AndroidRuntime: at plugin.google.maps.CordovaGoogleMaps.onDestroy(CordovaGoogleMaps.java:963) 11-21 15:12:49.605 22569 22569 E AndroidRuntime: at org.apache.cordova.PluginManager.onDestroy(PluginManager.java:297) 11-21 15:12:49.605 22569 22569 E AndroidRuntime: at org.apache.cordova.CordovaWebViewImpl.handleDestroy(CordovaWebViewImpl.java:480) 11-21 15:12:49.605 22569 22569 E AndroidRuntime: at org.apache.cordova.CordovaActivity.onDestroy(CordovaActivity.java:315) 11-21 15:12:49.605 22569 22569 E AndroidRuntime: at android.app.Activity.performDestroy(Activity.java:7165) 11-21 15:12:49.605 22569 22569 E AndroidRuntime: at android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1161) 11-21 15:12:49.605 22569 22569 E AndroidRuntime: at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:4582) 11-21 15:12:49.605 22569 22569 E AndroidRuntime: ... 9 more 11-21 15:12:49.606 3682 7226 D Debug : !@DumpState : SHIP 11-21 15:12:49.606 3682 7226 D Debug : !@DumpState : debug level:0x4f4c 11-21 15:12:49.606 3682 7226 D Debug : !@Dumpstate : Finally, system will skip dumpstate 11-21 15:12:49.624 3682 3785 D WindowManager: addWindow: android.view.ViewRootImpl$W@32f960e displayId=0 11-21 15:12:49.624 3682 3785 D InputTransport: Input channel constructed: fd=456 11-21 15:12:49.624 3682 3785 D InputTransport: Input channel constructed: fd=465 11-21 15:12:49.624 3682 3785 V MARsPolicyManager: handelAlertToastWindowStarted pkgName = android 11-21 15:12:49.625 3682 3785 D InputDispatcher: Focus left window: 4083 11-21 15:12:49.625 3682 3785 D InputDispatcher: Focus entered window: 3682 11-21 15:12:49.625 3682 3785 D ViewRootImpl@11ab409[takeappproducao]: setView = DecorView@3810e3c[takeappproducao] touchMode=true 11-21 15:12:49.628 3582 3582 I DMT-DropBoxReceiver: Received : android.intent.action.DROPBOX_ENTRY_ADDED 11-21 15:12:49.628 3582 3582 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.startService:1386 android.content.ContextWrapper.startService:656 android.content.ContextWrapper.startService:656 com.samsung.android.sm.common.DropBoxReceiver.a:47 com.samsung.android.sm.common.DropBoxReceiver.onReceive:29 11-21 15:12:49.632 3682 3785 V WindowManager: Relayout Window{7cf582fd0 u0 Application Error: com.ionicframework.takeappproducao}: viewVisibility=0 req=1015x442 WM.LayoutParams{(0,0)(wrapxwrap) gr=#11 sim=#120 ty=2003 fl=#1820002 pfl=0x110 fmt=-3 wanim=0x103038b surfaceInsets=Rect(6, 6 - 6, 6) needsMenuKey=2 naviIconColor=0} 11-21 15:12:49.635 3112 3112 I SurfaceFlinger: id=504 createSurf (13x13),1 flag=4, uakeappprod 11-21 15:12:49.637 3682 3785 D LockSettingsStorage: mSKTLockState = 2 11-21 15:12:49.643 3582 22721 V CrashedAppLogging: isMasterSwitchOff : false 11-21 15:12:49.644 3682 3785 D LockSettingsStorage: mSKTLockState = 2 11-21 15:12:49.646 3682 4051 I OpenGLRenderer: Initialized EGL, version 1.4 11-21 15:12:49.646 3682 4051 D OpenGLRenderer: Swap behavior 1 11-21 15:12:49.647 3682 3785 D WindowManager: set systemUiVisibility of statusbar : vis= 0x8 11-21 15:12:49.647 3682 3785 D ViewRootImpl@11ab409[takeappproducao]: MSG_WINDOW_FOCUS_CHANGED 1 11-21 15:12:49.648 3682 3934 D WindowManager: adjustSystemUiVisibilityLw : vis= 0x4008 11-21 15:12:49.648 3682 4051 D mali_winsys: EGLint new_window_surface(egl_winsys_display, void*, EGLSurface, EGLConfig, egl_winsys_surface*, egl_color_buffer_format, EGLBoolean) returns 0x3000, [1027x454]-format:1 11-21 15:12:49.657 3682 3785 D WindowManager: finishDrawingWindow: Window{7cf582fd0 u0 Application Error: com.ionicframework.takeappproducao} mDrawState=DRAW_PENDING 11-21 15:12:49.657 3682 3785 D ViewRootImpl@11ab409[takeappproducao]: MSG_RESIZED_REPORT: ci=Rect(0, 0 - 0, 0) vi=Rect(0, 0 - 0, 0) or=1 11-21 15:12:49.657 3682 3819 D LockSettingsStorage: mSKTLockState = 2 11-21 15:12:49.659 4083 4083 D ViewRootImpl@afeb898[RecentsActivity]: MSG_WINDOW_FOCUS_CHANGED 0 11-21 15:12:49.663 3682 3819 D LockSettingsStorage: mSKTLockState = 2 11-21 15:12:49.664 3682 3785 D WindowManager: finishDrawingWindow: Window{7cf582fd0 u0 Application Error: com.ionicframework.takeappproducao} mDrawState=HAS_DRAWN 11-21 15:12:50.169 22569 22653 E PluginManager: Uncaught exception from plugin 11-21 15:12:50.169 22569 22653 E PluginManager: java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@22efcea rejected from java.util.concurrent.ThreadPoolExecutor@aff22bf[Shutting down, pool size = 4, active threads = 4, queued tasks = 0, completed tasks = 53] 11-21 15:12:50.169 22569 22653 E PluginManager: at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2049) 11-21 15:12:50.169 22569 22653 E PluginManager: at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:814) 11-21 15:12:50.169 22569 22653 E PluginManager: at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1360) 11-21 15:12:50.169 22569 22653 E PluginManager: at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:89) 11-21 15:12:50.169 22569 22653 E PluginManager: at plugin.google.maps.CordovaGoogleMaps.execute(CordovaGoogleMaps.java:279) 11-21 15:12:50.169 22569 22653 E PluginManager: at org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:98) 11-21 15:12:50.169 22569 22653 E PluginManager: at org.apache.cordova.PluginManager.exec(PluginManager.java:132) 11-21 15:12:50.169 22569 22653 E PluginManager: at org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:57) 11-21 15:12:50.169 22569 22653 E PluginManager: at org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41) 11-21 15:12:50.169 22569 22653 E PluginManager: at org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method) 11-21 15:12:50.169 22569 22653 E PluginManager: at org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:9) 11-21 15:12:50.169 22569 22653 E PluginManager: at android.os.Handler.dispatchMessage(Handler.java:102) 11-21 15:12:50.169 22569 22653 E PluginManager: at android.os.Looper.loop(Looper.java:154) 11-21 15:12:50.169 22569 22653 E PluginManager: at android.os.HandlerThread.run(HandlerThread.java:61) 11-21 15:12:50.283 3682 3819 D LockSettingsStorage: mSKTLockState = 2 11-21 15:12:50.415 3682 3682 D CustomFrequencyManagerService: releaseDVFSLockLocked : Getting Lock type frm List : DVFS_MIN_LIMIT frequency : 728000 uid : 1000 pid : 3682 tag : GESTURE_DETECTED@CPU_MIN@42

andygup commented 6 years ago

@rochadsouza I see you closed the issue. Did you figure it out?

rochadsouza commented 6 years ago

Sorry, it was a mistake.

andygup commented 6 years ago

@rochadsouza no worries. It looks like Google Maps is throwing an error because it called onDestroy(). That event is then being captured by the AdvancedGeolocation plugin causing a cascade failure. Anything with a capital E in the logcat dump is an error:

11-21 15:12:50.169 22569 22653 E PluginManager: Uncaught exception from plugin
11-21 15:12:50.169 22569 22653 E PluginManager: java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@22efcea rejected from java.util.concurrent.ThreadPoolExecutor@aff22bf[Shutting down, pool size = 4, active threads = 4, queued tasks = 0, completed tasks = 53]
11-21 15:12:50.169 22569 22653 E PluginManager: at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2049)

. . .

1-21 15:12:49.597 22569 22569 D GeolocationPlugin: onDestroy
11-21 15:12:49.597 22569 22569 D GeolocationPlugin: Stopping geolocation
11-21 15:12:49.597 22569 22569 D GeolocationPlugin: Attempting to shutdown cordova threadpool

 . . .

11-21 15:12:49.605 22569 22569 E AndroidRuntime: java.lang.RuntimeException: Unable to destroy activity {com.ionicframework.takeappproducao/com.ionicframework.takeappproducao.MainActivity}: java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@60cb0de rejected from java.util.concurrent.ThreadPoolExecutor@aff22bf[Shutting down, pool size = 4, active threads = 4, queued tasks = 0, completed tasks = 53]

 . . .

11-21 15:12:50.169 22569 22653 E PluginManager: at plugin.google.maps.CordovaGoogleMaps.execute(CordovaGoogleMaps.java:279

When you try to restart the app the Google plugin is trying to execute a command but the Cordova threadpool has crashed.

Recommendations: 1) In AdvancedGeolocation.java (/platforms/android/java) comment out the following lines:

Also, shameless plug, this plugin works just fine with the ArcGIS API for JavaScript mapping code included in this repo. :-)

andygup commented 6 years ago

I'm going to close this. If you see additional problems feel free to reopen.