I know that we can get Package and Activity names by using “adb shell dumpsys window windows” and get values from mFocusedApp.
But when i just connect my device and trying to get package and activity names, for that i am getting
appPackage as com.google.android.googlequicksearchbox
appActivity as com.google.android.launcher.GEL
When i run the script with above, which has completely altered my home screen with Icons changed.
How can i find the right package and activity name for my default Android home screen? What i am missing above?