1

I implemented an automated testing tool to test my Android app. I need to frequently check the back stack of activities. So I use the following command to show it:

adb shell dumpsys activity activities | sed -En -e '/Stack #/p' -e '/Running activities/,/Run #0/p' | grep -i <package_name>/

Most of the times I see outputs like this because activity a.b opens activity c.d:

Run #1: ActivityRecord{8d12c4 u0 <package_name>/.c.d t5}
Run #0: ActivityRecord{1bb16d2 u0 <package_name>/.a.b t5}

However, sometimes I see outputs like this:

Run #1: ActivityRecord{8d12c4 u0 <package_name>/.a.b t5}
Run #0: ActivityRecord{1bb16d2 u0 <package_name>/.c.d t5 f}

The second line ends with an f}. What is the meaning of it? Does f stand for "finished"?

1 Answer 1

1

I find the answer. See the toString method in this class

It means finishing

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.