OSDN Git Service

Ensure the profile descriptor gets closed after posting the result
authorCalin Juravle <calin@google.com>
Fri, 2 Mar 2018 03:42:45 +0000 (19:42 -0800)
committerCalin Juravle <calin@google.com>
Fri, 2 Mar 2018 07:59:44 +0000 (07:59 +0000)
commit2b3c1350002a6ffaf4ca05f82fe1f9556388eae2
tree02b1492ee3cc90e2e28e4aa903b9f75755357c60
parentad1fe51997a9591cfc7c4331d5234a303dc4136a
Ensure the profile descriptor gets closed after posting the result

We need to close the descriptor after posting the result on the
handler, otherwise we might risk sending in a close descriptor.

Bug: 73505439
Test: gts ArtManagerHostTest
Change-Id: I469683e323940ac88ea9e8c16e3df7a526ca77b3
services/core/java/com/android/server/pm/dex/ArtManagerService.java