OSDN Git Service

Use unique_fd instead of fd_t when managing profiles
authorCalin Juravle <calin@google.com>
Thu, 9 Mar 2017 22:33:33 +0000 (14:33 -0800)
committerCalin Juravle <calin@google.com>
Mon, 13 Mar 2017 18:42:34 +0000 (11:42 -0700)
commit1a0af3b982b851519b06233addaa9c3bcb61f627
treebbfd14f69b3ae05841a26560fa2bf7cd1a1b13bf
parent7c7d888d9498f8bac1821c6b3f21d8cf10df2563
Use unique_fd instead of fd_t when managing profiles

Long due code improvement...

This will make things cleaner when adding support for secondary dex
profiles.

Test: adb shell cmd package bg-dexopt-job
Bug: 26719109
Change-Id: I232759d76c285c9eed9885f8ee4b84431fd65d15
cmds/installd/dexopt.cpp
cmds/installd/dexopt.h