Make dumpProfiles and reconcileSecondaryDexFiles throwing.
These two methods only uses the legacy implementation and are used by
the legacy shell command only. They should throw
LegacyDexoptDisabledException to prevent partners from accidentially
using them.
This change also moves the declaration of these two methods from
the IPackageManager interface to the PackageManagerInternal interface
because IPackageManager is in f/b/core and therefore cannot access
LegacyDexoptDisabledException.
Bug: 251903639
Bug: 263247832
Test: Presubmit
Change-Id: I9bc321292eb3f930afca18b960eb6ddee46d58c9
4 files changed