Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f8796f58 authored by Jakub Pawlowski's avatar Jakub Pawlowski Committed by android-build-merger
Browse files

Merge "fix typo "users" -> "user" when obtaining service" am: 27e8db22

am: ec1a1d03

Change-Id: I6c346d8dfd67af4c610da0dc8de365d2e43ca6d0
parents 8720593a ec1a1d03
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -70,7 +70,7 @@ bool isCallerActiveUserOrManagedProfile() {
  uid_t parentUser = callingUser;

  sp<IServiceManager> sm = defaultServiceManager();
  sp<IBinder> binder = sm->getService(String16("users"));
  sp<IBinder> binder = sm->getService(String16("user"));
  sp<IUserManager> um = interface_cast<IUserManager>(binder);
  if (um != NULL) {
    // Must use Bluetooth process identity when making call to get parent user