OSDN Git Service

Use getpwnam()/getgrnam() instead of AID_* macros (libgui)
authorYifan Hong <elsk@google.com>
Wed, 26 Jul 2017 17:47:14 +0000 (10:47 -0700)
committerYifan Hong <elsk@google.com>
Wed, 26 Jul 2017 19:54:35 +0000 (12:54 -0700)
commit65799c3f8363e94d7e0c248ca268382e1ecab6b1
tree4f725c7d4c7deb3317cef752832b703f1ae61317
parent572aca270273e751edff03bff169726335d11f8c
Use getpwnam()/getgrnam() instead of AID_* macros (libgui)

AID_* values are defined in libcutils private headers and hence
is not exported. Use getpwnam() instead to get these values.

Test: device boots
Bug: 63135587
Change-Id: I417d0472df2170ab190c1c1622117df58292125c
libs/gui/BufferQueueConsumer.cpp