OSDN Git Service

pm: ignore restorecon failure
authorChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 18 Oct 2018 07:47:19 +0000 (15:47 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Tue, 14 Apr 2020 14:46:54 +0000 (22:46 +0800)
commit0b67139d52ddb0977ae3fe3dcbda3f2f56137c17
treed516878a3a8f8e1bc82d7e12212fb0dd315d70a5
parent596dbf6d8d4f00e7452aacdfcff0d829e1edefca
pm: ignore restorecon failure

On the 9p filesystem, restorecon won't work. It causes apk can't be
installed. Just ignore the errors to workaround it.
services/core/java/com/android/server/pm/PackageInstallerService.java
services/core/java/com/android/server/pm/PackageManagerService.java