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

Commit 486d1ac2 authored by Amith Yamasani's avatar Amith Yamasani Committed by Android (Google) Code Review
Browse files

Merge "Use bindServiceAsUser() to follow API change."

parents a522a8ef 3f9c9b6e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -338,8 +338,8 @@ public class StorageMeasurement {
                            sendMessage(obtainMessage(MSG_CONNECTED, mDefaultContainer));
                        } else {
                            Intent service = new Intent().setComponent(DEFAULT_CONTAINER_COMPONENT);
                            context.bindService(service, mDefContainerConn, Context.BIND_AUTO_CREATE,
                                    UserHandle.USER_OWNER);
                            context.bindServiceAsUser(service, mDefContainerConn, Context.BIND_AUTO_CREATE,
                                    UserHandle.OWNER);
                        }
                    }
                    break;