summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author sandeepbandaru <sandeepbandaru@google.com> 2024-03-14 16:12:29 +0000
committer Sandeep Bandaru <sandeepbandaru@google.com> 2024-03-15 17:03:17 +0000
commit66abe4bcaf69d83f0ef64aff6d67b05715b48b3c (patch)
tree90296a68e50cae75be2c578869271cd838d907c1 /libs/hwui/FrameInfoVisualizer.cpp
parent311fc2946fcc01006205e6b19462fe2b2d8b56e2 (diff)
Change file access return types to ParcelFileDescriptor
FileInputStream works well with Java code, but for this usecase files may need to be passed onto JNI layer which requires access to fd-int and FileInputStream or the underlying FileDescriptor type do not expose a getter to the FD int which causes a lot of back and forth. Changing to PFD and add checks alongside other validations in system-server to ensure read only behaviour. Test: cts in this topic added Bug: 329656165 Change-Id: Ic5aa0d49e04afc74ff97833f3bbc5eab4790ef5b
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions