Rename snapshotProfile to createProfileSnapshot for consistency

(cherry picked from commit 388cd5fffe)

Test: build
Bug: 30934496
Merged-In: I602262d22509b279383ff2a71e38c8bae059498a
Change-Id: I602262d22509b279383ff2a71e38c8bae059498a
This commit is contained in:
Calin Juravle
2017-12-05 12:33:32 -08:00
committed by Andreas Gampe
parent 369fbd2983
commit b46b577dc1

View File

@@ -503,7 +503,7 @@ public class Installer extends SystemService {
throws InstallerException {
if (!checkBeforeRemote()) return false;
try {
return mInstalld.snapshotProfile(appId, packageName, codePath);
return mInstalld.createProfileSnapshot(appId, packageName, codePath);
} catch (Exception e) {
throw InstallerException.from(e);
}