Skip to content
Commit 7bdabfb1 authored by Kweku Adams's avatar Kweku Adams
Browse files

Fix JobSchedulerTest.

ServiceManager wasn't being mocked so the test kept failing with
"java.lang.ClassCastException: android.os.BinderProxy cannot be cast to
com.android.server.compat.PlatformCompat". Adding the mocking fixes the
tests.

Bug: N/A
Test: atest FrameworksMockingServicesTests:JobSchedulerServiceTest
Change-Id: I07148319f8dd4a31a83b43410f9e06e932faa103
parent 78bfd35a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment