AndroidApkAnalyzer icon indicating copy to clipboard operation
AndroidApkAnalyzer copied to clipboard

Bug: Properties for Android components of an app changes while browsing the list of them

Open balazsgerlei opened this issue 3 years ago • 0 comments

On the Application details screen, the Android components' (e.g. Services, Content Providers...) properties can change and be displayed incorrectly while browsing the list and expanding/collapsing the corresponding item in the list.

E.g. if you check Chrome (which is pre-installed on most Android devices) and scroll down in the list of Services to the bottom and expand "UsageStatsBrowserServiceProvider" you can see that it is exported (it says "Yes" for the line "Exported", and it can be verified without the app that it is indeed exported). If you then collapse/close that entry and keep expanding/opening others above it ("GooglePlayDataCallbackService", "ScheduledTaskService", etc.) and after expading a bunch, get back to "UsageStatsBrowserServiceProvider" and expand it again, you will see the value for "Exported" displayed as "No".

I think the problem is somewhere in how tha Adapter for this particular RecyclerView is handled, maybe diffing is not working somehow, or items get confused and it caches a value from another item.

balazsgerlei avatar Jul 05 '22 12:07 balazsgerlei