Skip to content
Commit e0ec1f3c authored by Ioannis Ilkos's avatar Ioannis Ilkos
Browse files

Remove incorrect isAppUid check reading memory state

The check misclassifies processes as apps (it only checks lower bound,
whereas there's also an upper bound of 20000-1).

At the same time it is redundant. It was originally introduced to
quickly filter out processes that were known to AM, but nowadays we
explicitly remove these from the set of processes to scan.

Bug: 158470048
Test: manual test, android.cts.statsd.atom.UidAtomTests#testProcessMemorySnapshot, 'android.cts.statsd.atom.UidAtomTests#testProcessMemoryHighWaterMark
Change-Id: Ie24107ccea31efae40277d8d46fa36f978f2481e
parent 1f6b99d5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment