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

Commit 7d410939 authored by Devin Moore's avatar Devin Moore Committed by Android (Google) Code Review
Browse files

Merge "Change binderRpcTest to use 'activity' for a Java test service" into aosp-24Q3-ts-dev

parents 0ba3f3e4 ba6818cc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1377,8 +1377,8 @@ TEST(BinderRpc, Java) {
    sp<IServiceManager> sm = defaultServiceManager();
    ASSERT_NE(nullptr, sm);
    // Any Java service with non-empty getInterfaceDescriptor() would do.
    // Let's pick batteryproperties.
    auto binder = sm->checkService(String16("batteryproperties"));
    // Let's pick activity.
    auto binder = sm->checkService(String16("activity"));
    ASSERT_NE(nullptr, binder);
    auto descriptor = binder->getInterfaceDescriptor();
    ASSERT_GE(descriptor.size(), 0u);