Android: Reduce visibility of ModuleInstallerImpl
Making ModuleInstallerImpl package-private ensures that callers use the ModuleInstaller interface instead of depending directly on the implementation. Also add stricter parameters and requirements for ModuleInstaller#initActivity to ensure that SplitCompat#install is called in the right order (Application first then Activities). Add /* package */ to classes only used within its package, remove some redundant public method modifiers in interfaces since all methods in interfaces are public by default. Bug: 981084 Change-Id: I4826b2d716fb04fea8b59ed2eff14eb72c843ec7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1761048 Commit-Queue: Peter Wen <wnwen@chromium.org> Auto-Submit: Peter Wen <wnwen@chromium.org> Reviewed-by:Tibor Goldschwendt <tiborg@chromium.org> Cr-Commit-Position: refs/heads/master@{#688265}
Showing
Please register or sign in to comment