OSDN Git Service

Don't retry getting memtrack hal service
authorKalesh Singh <kaleshsingh@google.com>
Thu, 8 Apr 2021 23:56:01 +0000 (19:56 -0400)
committerKalesh Singh <kaleshsingh@google.com>
Fri, 9 Apr 2021 00:02:03 +0000 (00:02 +0000)
commit161495e2edf7d5c26cfb3923a50b4f9ad27f31d2
tree60a6bfcc426c517ae770aab7dc7cb8f7ea3b34ec
parent2c2c5d197f62ed846b100a29335982c45a1b3c94
Don't retry getting memtrack hal service

On devices where the AIDL memtrack hal is absent, this can cause many
service manager errors in logcat, since we retry getting the AIDL hal
for each getMemory() call.

servicemanager: Could not find android.hardware.memtrack.IMemtrack/defaut ...

The hal services get started before we start the proxy service, so it's
ok to remove this retry.

Bug: 177664629
Test: Manual
Change-Id: I2512e7eef0224d36827c0a4611373d0655cefc2f
services/memtrackproxy/MemtrackProxy.cpp