summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorChiachang Wang <chiachangwang@google.com>2021-01-28 11:33:13 +0800
committerChiachang Wang <chiachangwang@google.com>2021-01-28 11:33:13 +0800
commitb219ee2cde2d4948c61c865e3e5a8f52a746cada (patch)
tree18d4eb9b53713998fa109ca8a3ba2532792b8860 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentd9f9d4a5d5590493409857811965e6f9a1da65c9 (diff)
Replace hidden getFileDescriptor$()
It's the preparation for the incoming ConnectivityService mainline. The mainline modules can not access hidden APIs. Thus, the hidden APIs usage should be removed. The getFileDescriptor$() in Socket or DatagramSocket is hidden for internal usage. It should be used in a module and not prefer to expose as an API. Thus, replace it with ParcelFileDescriptor APIs to get the fd via ParcelFileDescriptor. Bug: 170598012 Test: atest FrameworksNetTests Change-Id: I05b31a48315e7e6d95e22123103e544a7136a449
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions