【Android 返回堆栈管理】打印 Android 中当前运行的 Activity 任务栈信息 | Activity 任务栈信息分析 | Activity 在相同 Stack 中的不同 Task(一)

简介: 【Android 返回堆栈管理】打印 Android 中当前运行的 Activity 任务栈信息 | Activity 任务栈信息分析 | Activity 在相同 Stack 中的不同 Task(一)

文章目录

一、打印 Android 中当前运行的 Activity 任务栈信息

二、Activity 任务栈信息分析

三、Activity 在相同 Stack 的不同 Task 情况





一、打印 Android 中当前运行的 Activity 任务栈信息


使用如下命令 , 打印 Android 手机中的 Activity 栈 :


adb shell dumpsys activity activities


命令行输出结果 : 打开 CSDN 客户端 , 然后任意点击一篇博客进入 , 输入内容如下 ;

image.png



C:\Users\octop>adb shell dumpsys activity activities
ACTIVITY MANAGER ACTIVITIES (dumpsys activity activities)
Display #0 (activities from top to bottom):
  Stack #365: type=standard mode=fullscreen
  isSleeping=false
  mBounds=Rect(0, 0 - 0, 0)
    Task id #2967
    mBounds=Rect(0, 0 - 0, 0)
    mMinWidth=-1
    mMinHeight=-1
    mLastNonFullscreenBounds=null
    * TaskRecord{818ac96 #2967 A=net.csdn.csdnplus U=0 StackId=365 sz=2}
      userId=0 effectiveUid=u0a589 mCallingUid=u0a589 mUserSetupComplete=true mCallingPackage=net.csdn.csdnplus
      affinity=net.csdn.csdnplus
      intent={act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=net.csdn.csdnplus/.activity.SplashActivity}
      realActivity=net.csdn.csdnplus/.activity.SplashActivity
      autoRemoveRecents=false isPersistable=true numFullscreen=2 activityType=1
      rootWasReset=true mNeverRelinquishIdentity=true mReuseTask=false mLockTaskAuth=LOCK_TASK_AUTH_PINNABLE
      Activities=[ActivityRecord{b5b0b75 u0 net.csdn.csdnplus/.activity.MainActivity t2967}, ActivityRecord{f7f215 u0 net.csdn.csdnplus/.activity.BlogDetailActivity t2967}]
      askedCompatMode=false inRecents=true isAvailable=true
      mRootProcess=ProcessRecord{acfdace 20850:net.csdn.csdnplus/u0a589}
      stackId=365
      hasBeenVisible=true mResizeMode=RESIZE_MODE_UNRESIZEABLE mSupportsPictureInPicture=false isResizeable=false lastActiveTime=1319867313 (inactive for 35s)
      * Hist #1: ActivityRecord{f7f215 u0 net.csdn.csdnplus/.activity.BlogDetailActivity t2967}
          packageName=net.csdn.csdnplus processName=net.csdn.csdnplus
          launchedFromUid=10589 launchedFromPackage=net.csdn.csdnplus userId=0
          app=ProcessRecord{acfdace 20850:net.csdn.csdnplus/u0a589}
          Intent { cmp=net.csdn.csdnplus/.activity.BlogDetailActivity (has extras) }
          frontOfTask=false task=TaskRecord{818ac96 #2967 A=net.csdn.csdnplus U=0 StackId=365 sz=2}
          taskAffinity=net.csdn.csdnplus
          realActivity=net.csdn.csdnplus/.activity.BlogDetailActivity
          baseDir=/data/app/net.csdn.csdnplus-AKxdXv4cmCAwI4i4p3DLtA==/base.apk
          dataDir=/data/user/0/net.csdn.csdnplus
          stateNotNeeded=false componentSpecified=true mActivityType=standard
          compat={420dpi} labelRes=0x7f11008e icon=0x7f0807ef theme=0x7f120023
          mLastReportedConfigurations:
           mGlobalConfig={1.0 460mcc1mnc [zh_CN,en_US,zh_HK_#Hant,ja_JP,ru_BY,ar_JO,ko_KR,ar_XB] ldltr sw411dp w411dp h659dp 420dpi nrml hdr widecg port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1080, 1794) mAppBounds=Rect(0, 0 - 1080, 1794) mWindowingMode=fullscreen mActivityType=undefined} s.161}
           mOverrideConfig={1.0 460mcc1mnc [zh_CN,en_US,zh_HK_#Hant,ja_JP,ru_BY,ar_JO,ko_KR,ar_XB] ldltr sw411dp w411dp h659dp 420dpi nrml hdr widecg port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1080, 1794) mAppBounds=Rect(0, 0 - 1080, 1794) mWindowingMode=fullscreen mActivityType=standard} s.161}
          CurrentConfiguration={1.0 460mcc1mnc [zh_CN,en_US,zh_HK_#Hant,ja_JP,ru_BY,ar_JO,ko_KR,ar_XB] ldltr sw411dp w411dp h659dp 420dpi nrml hdr widecg port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1080, 1794) mAppBounds=Rect(0, 0 - 1080, 1794) mWindowingMode=fullscreen mActivityType=standard} s.161}
          taskDescription: label="null" icon=null iconResource=0 iconFilename=null primaryColor=fff5f5f5
           backgroundColor=fffafafa
           statusBarColor=ff757575
           navigationBarColor=ff000000
          launchFailed=false launchCount=1 lastLaunchTime=-35s702ms
          haveState=false icicle=null
          state=RESUMED stopped=false delayedResume=false finishing=false
          keysPaused=false inHistory=true visible=true sleeping=false idle=true mStartingWindowState=STARTING_WINDOW_NOT_SHOWN
          fullscreen=true noDisplay=false immersive=false launchMode=0
          frozenBeforeDestroy=false forceNewConfig=false
          mActivityType=standard
          waitingVisible=false nowVisible=true lastVisibleTime=-35s110ms
          resizeMode=RESIZE_MODE_UNRESIZEABLE
          mLastReportedMultiWindowMode=false mLastReportedPictureInPictureMode=false
          maxAspectRatio=2.3
      * Hist #0: ActivityRecord{b5b0b75 u0 net.csdn.csdnplus/.activity.MainActivity t2967}
          packageName=net.csdn.csdnplus processName=net.csdn.csdnplus
          launchedFromUid=10589 launchedFromPackage=net.csdn.csdnplus userId=0
          app=ProcessRecord{acfdace 20850:net.csdn.csdnplus/u0a589}
          Intent { act=android.intent.action.MAIN flg=0x10000000 cmp=net.csdn.csdnplus/.activity.MainActivity }
          frontOfTask=true task=TaskRecord{818ac96 #2967 A=net.csdn.csdnplus U=0 StackId=365 sz=2}
          taskAffinity=net.csdn.csdnplus
          realActivity=net.csdn.csdnplus/.activity.MainActivity
          baseDir=/data/app/net.csdn.csdnplus-AKxdXv4cmCAwI4i4p3DLtA==/base.apk
          dataDir=/data/user/0/net.csdn.csdnplus
          stateNotNeeded=false componentSpecified=true mActivityType=standard
          compat={420dpi} labelRes=0x7f11008e icon=0x7f0807ef theme=0x7f12022c
          mLastReportedConfigurations:
           mGlobalConfig={1.0 460mcc1mnc [zh_CN,en_US,zh_HK_#Hant,ja_JP,ru_BY,ar_JO,ko_KR,ar_XB] ldltr sw411dp w411dp h659dp 420dpi nrml hdr widecg port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1080, 1794) mAppBounds=Rect(0, 0 - 1080, 1794) mWindowingMode=fullscreen mActivityType=undefined} s.161}
           mOverrideConfig={1.0 460mcc1mnc [zh_CN,en_US,zh_HK_#Hant,ja_JP,ru_BY,ar_JO,ko_KR,ar_XB] ldltr sw411dp w411dp h659dp 420dpi nrml hdr widecg port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1080, 1794) mAppBounds=Rect(0, 0 - 1080, 1794) mWindowingMode=fullscreen mActivityType=standard} s.161}
          CurrentConfiguration={1.0 460mcc1mnc [zh_CN,en_US,zh_HK_#Hant,ja_JP,ru_BY,ar_JO,ko_KR,ar_XB] ldltr sw411dp w411dp h659dp 420dpi nrml hdr widecg port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1080, 1794) mAppBounds=Rect(0, 0 - 1080, 1794) mWindowingMode=fullscreen mActivityType=standard} s.161}
          taskDescription: label="null" icon=null iconResource=0 iconFilename=null primaryColor=fff5f5f5
           backgroundColor=fffafafa
           statusBarColor=ff757575
           navigationBarColor=ff000000
          launchFailed=false launchCount=0 lastLaunchTime=-1m34s561ms
          haveState=true icicle=Bundle[mParcelledData.dataSize=25948]
          state=STOPPED stopped=true delayedResume=false finishing=false
          keysPaused=false inHistory=true visible=false sleeping=false idle=true mStartingWindowState=STARTING_WINDOW_NOT_SHOWN
          fullscreen=true noDisplay=false immersive=false launchMode=2
          frozenBeforeDestroy=false forceNewConfig=false
          mActivityType=standard
          waitingVisible=false nowVisible=false lastVisibleTime=-1m33s467ms
          connections=[ConnectionRecord{47e823f u0 CR net.csdn.csdnplus/.module.im.socket.JWebSocketClientService:@577de5e}, ConnectionRecord{6447a37 u0 CR net.csdn.csdnplus/.module.im.socket.JWebSocketClientService:@577de5e}]
          resizeMode=RESIZE_MODE_UNRESIZEABLE
          mLastReportedMultiWindowMode=false mLastReportedPictureInPictureMode=false
          maxAspectRatio=2.3
    Running activities (most recent first):
      TaskRecord{818ac96 #2967 A=net.csdn.csdnplus U=0 StackId=365 sz=2}
        Run #1: ActivityRecord{f7f215 u0 net.csdn.csdnplus/.activity.BlogDetailActivity t2967}
        Run #0: ActivityRecord{b5b0b75 u0 net.csdn.csdnplus/.activity.MainActivity t2967}
    mResumedActivity: ActivityRecord{f7f215 u0 net.csdn.csdnplus/.activity.BlogDetailActivity t2967}
    mLastPausedActivity: ActivityRecord{b5b0b75 u0 net.csdn.csdnplus/.activity.MainActivity t2967}
  Stack #0: type=home mode=fullscreen
  isSleeping=false
  mBounds=Rect(0, 0 - 0, 0)
    Task id #2605
    mBounds=Rect(0, 0 - 0, 0)
    mMinWidth=-1
    mMinHeight=-1
    mLastNonFullscreenBounds=null
    * TaskRecord{937f032 #2605 I=com.google.android.apps.nexuslauncher/.NexusLauncherActivity U=0 StackId=0 sz=1}
      userId=0 effectiveUid=u0a64 mCallingUid=u0a64 mUserSetupComplete=true mCallingPackage=com.google.android.apps.nexuslauncher
      intent={act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10000100 cmp=com.google.android.apps.nexuslauncher/.NexusLauncherActivity}
      realActivity=com.google.android.apps.nexuslauncher/.NexusLauncherActivity
      autoRemoveRecents=false isPersistable=true numFullscreen=1 activityType=2
      rootWasReset=false mNeverRelinquishIdentity=true mReuseTask=false mLockTaskAuth=LOCK_TASK_AUTH_PINNABLE
      Activities=[ActivityRecord{958eefd u0 com.google.android.apps.nexuslauncher/.NexusLauncherActivity t2605}]
      askedCompatMode=false inRecents=true isAvailable=true
      mRootProcess=ProcessRecord{1c38859 14689:com.google.android.apps.nexuslauncher/u0a64}
      stackId=0
      hasBeenVisible=true mResizeMode=RESIZE_MODE_RESIZEABLE mSupportsPictureInPicture=false isResizeable=true lastActiveTime=1319802016 (inactive for 100s)
      * Hist #0: ActivityRecord{958eefd u0 com.google.android.apps.nexuslauncher/.NexusLauncherActivity t2605}
          packageName=com.google.android.apps.nexuslauncher processName=com.google.android.apps.nexuslauncher
          launchedFromUid=0 launchedFromPackage=null userId=0
          app=ProcessRecord{1c38859 14689:com.google.android.apps.nexuslauncher/u0a64}
          Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10000100 cmp=com.google.android.apps.nexuslauncher/.NexusLauncherActivity }
          frontOfTask=true task=TaskRecord{937f032 #2605 I=com.google.android.apps.nexuslauncher/.NexusLauncherActivity U=0 StackId=0 sz=1}
          taskAffinity=null
          realActivity=com.google.android.apps.nexuslauncher/.NexusLauncherActivity
          baseDir=/system/priv-app/NexusLauncherPrebuilt/NexusLauncherPrebuilt.apk
          dataDir=/data/user/0/com.google.android.apps.nexuslauncher
          stateNotNeeded=true componentSpecified=false mActivityType=home
          compat={420dpi} labelRes=0x7f110030 icon=0x7f080039 theme=0x7f120002
          mLastReportedConfigurations:
           mGlobalConfig={1.0 460mcc1mnc [zh_CN,en_US,zh_HK_#Hant,ja_JP,ru_BY,ar_JO,ko_KR,ar_XB] ldltr sw411dp w411dp h659dp 420dpi nrml hdr widecg port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1794, 1080) mAppBounds=Rect(0, 0 - 1080, 1794) mWindowingMode=fullscreen mActivityType=undefined} s.159}
           mOverrideConfig={1.0 460mcc1mnc [zh_CN,en_US,zh_HK_#Hant,ja_JP,ru_BY,ar_JO,ko_KR,ar_XB] ldltr sw411dp w411dp h659dp 420dpi nrml hdr widecg port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1080, 1794) mAppBounds=Rect(0, 0 - 1080, 1794) mWindowingMode=fullscreen mActivityType=home} s.159}
          CurrentConfiguration={1.0 460mcc1mnc [zh_CN,en_US,zh_HK_#Hant,ja_JP,ru_BY,ar_JO,ko_KR,ar_XB] ldltr sw411dp w411dp h659dp 420dpi nrml hdr widecg port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1080, 1794) mAppBounds=Rect(0, 0 - 1080, 1794) mWindowingMode=fullscreen mActivityType=home} s.161}
          OverrideConfiguration={0.0 ?mcc?mnc ?localeList ?layoutDir ?swdp ?wdp ?hdp ?density ?lsize ?long ?ldr ?wideColorGamut ?orien ?uimode ?night ?touch ?keyb/?/? ?nav/? winConfig={ mBounds=Rect(0, 0 - 0, 0) mAppBounds=null mWindowingMode=undefined mActivityType=home}}
          taskDescription: label="null" icon=null iconResource=0 iconFilename=null primaryColor=fff5f5f5
           backgroundColor=fffafafa
           statusBarColor=0
           navigationBarColor=0
          launchFailed=false launchCount=0 lastLaunchTime=-7d0h15m12s36ms
          haveState=true icicle=Bundle[mParcelledData.dataSize=4772]
          state=STOPPED stopped=true delayedResume=false finishing=false
          keysPaused=false inHistory=true visible=false sleeping=false idle=true mStartingWindowState=STARTING_WINDOW_NOT_SHOWN
          fullscreen=true noDisplay=false immersive=false launchMode=2
          frozenBeforeDestroy=false forceNewConfig=false
          mActivityType=home
          waitingVisible=false nowVisible=false lastVisibleTime=-1m42s424ms
          connections=[]
          resizeMode=RESIZE_MODE_RESIZEABLE
          mLastReportedMultiWindowMode=false mLastReportedPictureInPictureMode=false
    Running activities (most recent first):
      TaskRecord{937f032 #2605 I=com.google.android.apps.nexuslauncher/.NexusLauncherActivity U=0 StackId=0 sz=1}
        Run #0: ActivityRecord{958eefd u0 com.google.android.apps.nexuslauncher/.NexusLauncherActivity t2605}
    mLastPausedActivity: ActivityRecord{958eefd u0 com.google.android.apps.nexuslauncher/.NexusLauncherActivity t2605}
  Stack #363: type=standard mode=fullscreen
  isSleeping=false
  mBounds=Rect(0, 0 - 0, 0)
    Task id #2965
    mBounds=Rect(0, 0 - 0, 0)
    mMinWidth=-1
    mMinHeight=-1
    mLastNonFullscreenBounds=null
    * TaskRecord{531dc60 #2965 A=com.bgq.novelread U=0 StackId=363 sz=1}
      userId=0 effectiveUid=u0a138 mCallingUid=u0a64 mUserSetupComplete=true mCallingPackage=com.google.android.apps.nexuslauncher
      affinity=com.bgq.novelread
      intent={act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.bgq.novelread/com.bqg.novelread.ui.splash.SplashActivity}
      realActivity=com.bgq.novelread/com.bqg.novelread.ui.splash.SplashActivity
      autoRemoveRecents=false isPersistable=true numFullscreen=1 activityType=1
      rootWasReset=true mNeverRelinquishIdentity=true mReuseTask=false mLockTaskAuth=LOCK_TASK_AUTH_PINNABLE
      Activities=[ActivityRecord{cb06cad u0 com.bgq.novelread/com.bqg.novelread.ui.splash.SplashActivity t2965}]
      askedCompatMode=false inRecents=true isAvailable=true
      mRootProcess=ProcessRecord{d852551 9568:com.bgq.novelread/u0a138}
      stackId=363
      hasBeenVisible=true mResizeMode=RESIZE_MODE_RESIZEABLE_VIA_SDK_VERSION mSupportsPictureInPicture=false isResizeable=true lastActiveTime=1316902441 (inactive for 3000s)
      * Hist #0: ActivityRecord{cb06cad u0 com.bgq.novelread/com.bqg.novelread.ui.splash.SplashActivity t2965}
          packageName=com.bgq.novelread processName=com.bgq.novelread
          launchedFromUid=10064 launchedFromPackage=com.google.android.apps.nexuslauncher userId=0
          app=ProcessRecord{d852551 9568:com.bgq.novelread/u0a138}
          Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.bgq.novelread/com.bqg.novelread.ui.splash.SplashActivity bnds=[35,252][237,510] }
          frontOfTask=true task=TaskRecord{531dc60 #2965 A=com.bgq.novelread U=0 StackId=363 sz=1}
          taskAffinity=com.bgq.novelread
          realActivity=com.bgq.novelread/com.bqg.novelread.ui.splash.SplashActivity
          baseDir=/data/app/com.bgq.novelread-KDa6kmk2keZVGG3XWDretQ==/base.apk
          dataDir=/data/user/0/com.bgq.novelread
          stateNotNeeded=false componentSpecified=true mActivityType=standard
          compat={420dpi} labelRes=0x7f090024 icon=0x7f030000 theme=0x7f0b01b1
          mLastReportedConfigurations:
           mGlobalConfig={1.0 460mcc1mnc [zh_CN,en_US,zh_HK_#Hant,ja_JP,ru_BY,ar_JO,ko_KR,ar_XB] ldltr sw411dp w411dp h659dp 420dpi nrml hdr widecg port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1080, 1794) mAppBounds=Rect(0, 0 - 1080, 1794) mWindowingMode=fullscreen mActivityType=undefined} s.161}
           mOverrideConfig={1.0 460mcc1mnc [zh_CN,en_US,zh_HK_#Hant,ja_JP,ru_BY,ar_JO,ko_KR,ar_XB] ldltr sw411dp w411dp h659dp 420dpi nrml hdr widecg port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1080, 1794) mAppBounds=Rect(0, 0 - 1080, 1794) mWindowingMode=fullscreen mActivityType=standard} s.161}
          CurrentConfiguration={1.0 460mcc1mnc [zh_CN,en_US,zh_HK_#Hant,ja_JP,ru_BY,ar_JO,ko_KR,ar_XB] ldltr sw411dp w411dp h659dp 420dpi nrml hdr widecg port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1080, 1794) mAppBounds=Rect(0, 0 - 1080, 1794) mWindowingMode=fullscreen mActivityType=standard} s.161}
          taskDescription: label="null" icon=null iconResource=0 iconFilename=null primaryColor=ff212121
           backgroundColor=ff303030
           statusBarColor=ff000000
           navigationBarColor=ff000000
          launchFailed=false launchCount=0 lastLaunchTime=-21m22s238ms
          haveState=true icicle=Bundle[EMPTY_PARCEL]
          state=STOPPED stopped=true delayedResume=false finishing=false
          keysPaused=false inHistory=true visible=false sleeping=false idle=true mStartingWindowState=STARTING_WINDOW_REMOVED
          fullscreen=true noDisplay=false immersive=false launchMode=0
          frozenBeforeDestroy=false forceNewConfig=false
          mActivityType=standard
          waitingVisible=false nowVisible=false lastVisibleTime=-21m20s303ms
          resizeMode=RESIZE_MODE_RESIZEABLE_VIA_SDK_VERSION
          mLastReportedMultiWindowMode=false mLastReportedPictureInPictureMode=false
    Running activities (most recent first):
      TaskRecord{531dc60 #2965 A=com.bgq.novelread U=0 StackId=363 sz=1}
        Run #0: ActivityRecord{cb06cad u0 com.bgq.novelread/com.bqg.novelread.ui.splash.SplashActivity t2965}
    mLastPausedActivity: ActivityRecord{cb06cad u0 com.bgq.novelread/com.bqg.novelread.ui.splash.SplashActivity t2965}
  Stack #1: type=assistant mode=fullscreen
  isSleeping=false
  mBounds=Rect(0, 0 - 0, 0)
    Task id #2606
    mBounds=Rect(0, 0 - 0, 0)
    mMinWidth=-1
    mMinHeight=-1
    mLastNonFullscreenBounds=null
    * TaskRecord{a8b11b5 #2606 A=com.tencent.android.qqdownloader.desktopwin U=0 StackId=1 sz=1}
      userId=0 effectiveUid=u0a522 mCallingUid=u0a522 mUserSetupComplete=true mCallingPackage=com.tencent.android.qqdownloader
      affinity=com.tencent.android.qqdownloader.desktopwin
      intent={flg=0x10810000 cmp=com.tencent.android.qqdownloader/com.tencent.pangu.module.desktopwin.nonpermission.NonPermissionMainActivity}
      realActivity=com.tencent.android.qqdownloader/com.tencent.pangu.module.desktopwin.nonpermission.NonPermissionMainActivity
      autoRemoveRecents=false isPersistable=false numFullscreen=0 activityType=4
      rootWasReset=false mNeverRelinquishIdentity=true mReuseTask=false mLockTaskAuth=LOCK_TASK_AUTH_PINNABLE
      Activities=[ActivityRecord{129e742 u0 com.tencent.android.qqdownloader/com.tencent.pangu.module.desktopwin.nonpermission.NonPermissionMainActivity t2606}]
      askedCompatMode=false inRecents=true isAvailable=true
      stackId=1
      hasBeenVisible=true mResizeMode=RESIZE_MODE_RESIZEABLE mSupportsPictureInPicture=false isResizeable=true lastActiveTime=1212990654 (inactive for 106912s)
      * Hist #0: ActivityRecord{129e742 u0 com.tencent.android.qqdownloader/com.tencent.pangu.module.desktopwin.nonpermission.NonPermissionMainActivity t2606}
          packageName=com.tencent.android.qqdownloader processName=com.tencent.android.qqdownloader:daemon
          launchedFromUid=10522 launchedFromPackage=com.tencent.android.qqdownloader userId=0
          app=ProcessRecord{909f72c 6274:com.tencent.android.qqdownloader:daemon/u0a522}
          Intent { flg=0x10810000 cmp=com.tencent.android.qqdownloader/com.tencent.pangu.module.desktopwin.nonpermission.NonPermissionMainActivity (has extras) }
          frontOfTask=true task=TaskRecord{a8b11b5 #2606 A=com.tencent.android.qqdownloader.desktopwin U=0 StackId=1 sz=1}
          taskAffinity=com.tencent.android.qqdownloader.desktopwin
          realActivity=com.tencent.android.qqdownloader/com.tencent.pangu.module.desktopwin.nonpermission.NonPermissionMainActivity
          baseDir=/data/app/com.tencent.android.qqdownloader-w3ar1tHKwTad4VdtNkckzQ==/base.apk
          dataDir=/data/user/0/com.tencent.android.qqdownloader
          stateNotNeeded=false componentSpecified=true mActivityType=assistant
          compat={420dpi} labelRes=0x7f0d006b icon=0x7f0701ad theme=0x103000f
          mLastReportedConfigurations:
           mGlobalConfig={1.0 460mcc1mnc [zh_CN,en_US,zh_HK_#Hant,ja_JP,ru_BY,ar_JO,ko_KR,ar_XB] ldltr sw411dp w411dp h659dp 420dpi nrml hdr widecg port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1080, 1794) mAppBounds=Rect(0, 0 - 1080, 1794) mWindowingMode=fullscreen mActivityType=undefined} s.161}
           mOverrideConfig={1.0 460mcc1mnc [zh_CN,en_US,zh_HK_#Hant,ja_JP,ru_BY,ar_JO,ko_KR,ar_XB] ldltr sw411dp w411dp h659dp 420dpi nrml hdr widecg port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1080, 1794) mAppBounds=Rect(0, 0 - 1080, 1794) mWindowingMode=fullscreen mActivityType=assistant} s.161}
          CurrentConfiguration={1.0 460mcc1mnc [zh_CN,en_US,zh_HK_#Hant,ja_JP,ru_BY,ar_JO,ko_KR,ar_XB] ldltr sw411dp w411dp h659dp 420dpi nrml hdr widecg port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1080, 1794) mAppBounds=Rect(0, 0 - 1080, 1794) mWindowingMode=fullscreen mActivityType=assistant} s.161}
          taskDescription: label="null" icon=null iconResource=0 iconFilename=null primaryColor=ff222222
           backgroundColor=ff000000
           statusBarColor=ff000000
           navigationBarColor=ff000000
          launchFailed=false launchCount=0 lastLaunchTime=-18h8m45s816ms
          haveState=true icicle=Bundle[mParcelledData.dataSize=256]
          state=STOPPED stopped=true delayedResume=false finishing=false
          keysPaused=false inHistory=true visible=false sleeping=false idle=true mStartingWindowState=STARTING_WINDOW_NOT_SHOWN
          fullscreen=false noDisplay=false immersive=false launchMode=3
          frozenBeforeDestroy=false forceNewConfig=false
          mActivityType=assistant
          waitingVisible=false nowVisible=false lastVisibleTime=-18h8m45s579ms
          resizeMode=RESIZE_MODE_RESIZEABLE
          mLastReportedMultiWindowMode=false mLastReportedPictureInPictureMode=false
    Running activities (most recent first):
      TaskRecord{a8b11b5 #2606 A=com.tencent.android.qqdownloader.desktopwin U=0 StackId=1 sz=1}
        Run #0: ActivityRecord{129e742 u0 com.tencent.android.qqdownloader/com.tencent.pangu.module.desktopwin.nonpermission.NonPermissionMainActivity t2606}
    mLastPausedActivity: ActivityRecord{129e742 u0 com.tencent.android.qqdownloader/com.tencent.pangu.module.desktopwin.nonpermission.NonPermissionMainActivity t2606}
  ResumedActivity: ActivityRecord{f7f215 u0 net.csdn.csdnplus/.activity.BlogDetailActivity t2967}
  mFocusedStack=ActivityStack{91b6017 stackId=365 type=standard mode=fullscreen visible=true translucent=false, 1 tasks} mLastFocusedStack=ActivityStack{91b6017 stackId=365 type=standard mode=fullscreen visible=true translucent=false, 1 tasks}
  mCurTaskIdForUser={0=2967}
  mUserStackInFront={}
  displayId=0 stacks=4
   mHomeStack=ActivityStack{d20bb2c stackId=0 type=home mode=fullscreen visible=false translucent=true, 1 tasks}
  isHomeRecentsComponent=true  KeyguardController:
    mKeyguardShowing=false
    mAodShowing=false
    mKeyguardGoingAway=false
    mOccluded=false
    mDismissingKeyguardActivity=null
    mDismissalRequested=false
    mVisibilityTransactionDepth=0
  LockTaskController
    mLockTaskModeState=NONE
    mLockTaskModeTasks=
    mLockTaskPackages (userId:packages)=
      u0:[]
C:\Users\octop>


目录
相关文章
|
13天前
|
安全 Android开发 数据安全/隐私保护
深入探讨iOS与Android系统安全性对比分析
在移动操作系统领域,iOS和Android无疑是两大巨头。本文从技术角度出发,对这两个系统的架构、安全机制以及用户隐私保护等方面进行了详细的比较分析。通过深入探讨,我们旨在揭示两个系统在安全性方面的差异,并为用户提供一些实用的安全建议。
|
1月前
|
算法 数据处理 Android开发
掌握安卓性能优化的秘诀:电池寿命与运行效率的提升
【10月更文挑战第6天】 本文深入探讨了安卓应用开发中的性能优化技巧,重点分析了影响电池寿命和运行效率的关键因素,并提供了针对性的优化策略。通过代码优化、资源管理、后台任务处理等方法,开发者可以显著提升应用的续航能力和流畅度。同时,结合具体案例,展示了如何在实际开发中应用这些技巧,确保应用在各种场景下都能保持高效运行。本文旨在为安卓开发者提供实用的性能优化指导,助力其打造更优质的应用体验。
46 2
|
1月前
|
Android开发
Android基于gradle task检查各个module之间资源文件冲突情况
Android基于gradle task检查各个module之间资源文件冲突情况
Android基于gradle task检查各个module之间资源文件冲突情况
|
2月前
|
开发工具 Android开发 Swift
安卓与iOS开发环境对比分析
在移动应用开发的广阔舞台上,安卓和iOS这两大操作系统无疑是主角。它们各自拥有独特的特点和优势,为开发者提供了不同的开发环境和工具。本文将深入浅出地探讨安卓和iOS开发环境的主要差异,包括开发工具、编程语言、用户界面设计、性能优化以及市场覆盖等方面,旨在帮助初学者更好地理解两大平台的开发特点,并为他们选择合适的开发路径提供参考。通过比较分析,我们将揭示不同环境下的开发实践,以及如何根据项目需求和目标受众来选择最合适的开发平台。
51 2
|
22天前
|
缓存 Java Shell
Android 系统缓存扫描与清理方法分析
Android 系统缓存从原理探索到实现。
46 15
Android 系统缓存扫描与清理方法分析
|
1月前
|
Android开发
Android gradle task任务检查各个module之间资源文件冲突.md
Android gradle task任务检查各个module之间资源文件冲突.md
Android gradle task任务检查各个module之间资源文件冲突.md
|
1月前
|
存储 Linux Android开发
Android底层:通熟易懂分析binder:1.binder准备工作
本文详细介绍了Android Binder机制的准备工作,包括打开Binder驱动、内存映射(mmap)、启动Binder主线程等内容。通过分析系统调用和进程与驱动层的通信,解释了Binder如何实现进程间通信。文章还探讨了Binder主线程的启动流程及其在进程通信中的作用,最后总结了Binder准备工作的调用时机和重要性。
Android底层:通熟易懂分析binder:1.binder准备工作
|
1月前
|
Java Unix Linux
Android Studio中Terminal运行./gradlew clean build提示错误信息
遇到 `./gradlew clean build`命令执行出错时,首先应检查错误信息的具体内容,这通常会指向问题的根源。从权限、环境配置、依赖下载、版本兼容性到项目配置本身,逐一排查并应用相应的解决措施。记住,保持耐心,逐步解决问题,往往复杂问题都是由简单原因引起的。
228 2
|
2月前
|
安全 Android开发 数据安全/隐私保护
探索安卓与iOS的安全性差异:技术深度分析与实践建议
本文旨在深入探讨并比较Android和iOS两大移动操作系统在安全性方面的不同之处。通过详细的技术分析,揭示两者在架构设计、权限管理、应用生态及更新机制等方面的安全特性。同时,针对这些差异提出针对性的实践建议,旨在为开发者和用户提供增强移动设备安全性的参考。
136 3
|
1月前
|
开发工具 Android开发 Swift
安卓与iOS开发环境的差异性分析
【10月更文挑战第8天】 本文旨在探讨Android和iOS两大移动操作系统在开发环境上的不同,包括开发语言、工具、平台特性等方面。通过对这些差异性的分析,帮助开发者更好地理解两大平台,以便在项目开发中做出更合适的技术选择。