Merge "Add a check that installD is available before using it" into tm-dev

This commit is contained in:
Shikha Malhotra
2022-03-29 13:22:01 +00:00
committed by Android (Google) Code Review

View File

@@ -287,6 +287,9 @@ public class Installer extends SystemService {
* Sets in Installd that it is first boot after data wipe
*/
public void setFirstBoot() throws InstallerException {
if (!checkBeforeRemote()) {
return;
}
try {
mInstalld.setFirstBoot();
} catch (RemoteException e) {