Revert "Allow otapreopt_chroot to call otadexopt binder service"
Revert submission 1750144-otapreopt_chroot_speed_up
Reason for revert: Breaks postinstall step on some devices
Reverted Changes:
I56dec13c8:Add ota_dexopt_aidl_interface
Ib32cbbbf8:Allow otapreopt_chroot to call otadexopt binder se...
I02e80a8e6:Move otadexopt-related logic to otapreopt_chroot b...
Bug: 190817237
Change-Id: I96e02566779cf16626354b0d71e6d48f2ab35490
diff --git a/private/otapreopt_chroot.te b/private/otapreopt_chroot.te
index 382795d..ea9d4ee 100644
--- a/private/otapreopt_chroot.te
+++ b/private/otapreopt_chroot.te
@@ -96,8 +96,3 @@
# allow otapreopt_chroot to run the linkerconfig from the new image.
allow otapreopt_chroot linkerconfig_exec:file rx_file_perms;
-
-# allow otapreopt_chroot to talk with otadexopt binder service
-allow otapreopt_chroot otadexopt_service:service_manager find;
-binder_use(otapreopt_chroot)
-binder_call(otapreopt_chroot, system_server)