This is from copy-pasting the line above and changing the assert
message but not the actual check.
(cherry picked from commit
927c40f40148880ce6f6bbe5335c2741b4195ad3)
Change-Id: I6ec2902ea4d1a4dc139b02cfeb9d6978af380a21
void UidRange::setStop(int32_t uid) {
if (mStart != -1) {
void UidRange::setStop(int32_t uid) {
if (mStart != -1) {
- ALOG_ASSERT(uid <= mStop, "stop UID must be greater than or equal to start UID");
+ ALOG_ASSERT(mStart <= uid, "stop UID must be greater than or equal to start UID");