Update IVold interface to take packageNames when a user starts.
Bug: 111890351
Test: n/a
Change-Id: Ia24f15112f9a4ee4994688ff8fedf786cbf479b7
Exempt-From-Owner-Approval: This was approved as part of http://ag/4494673
diff --git a/VoldNativeService.cpp b/VoldNativeService.cpp
index 6e3317b..b034707 100644
--- a/VoldNativeService.cpp
+++ b/VoldNativeService.cpp
@@ -262,11 +262,12 @@
return translate(VolumeManager::Instance()->onUserRemoved(userId));
}
-binder::Status VoldNativeService::onUserStarted(int32_t userId) {
+binder::Status VoldNativeService::onUserStarted(int32_t userId,
+ const std::vector<std::string>& packageNames) {
ENFORCE_UID(AID_SYSTEM);
ACQUIRE_LOCK;
- return translate(VolumeManager::Instance()->onUserStarted(userId));
+ return translate(VolumeManager::Instance()->onUserStarted(userId, packageNames));
}
binder::Status VoldNativeService::onUserStopped(int32_t userId) {