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

Commit 94810d55 authored by SongFerngWang's avatar SongFerngWang
Browse files

Fix createConfigurationContext's UnsupportedOperationException

Bug: 181932317
Test: build pass
Change-Id: Ifcd2f6229fd8371d1fb4e5e563f35daa4bf90bec
Merged-In: If2007f69a2f2b5a421bbd6c9b4358cf08595af8c
parent 560c403a
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -325,6 +325,11 @@ public class ContextFixture implements TestFixture<Context> {
            return mResources;
        }

        @Override
        public Context createConfigurationContext(Configuration overrideConfiguration) {
            return spy(new FakeContext());
        }

        @Override
        public ApplicationInfo getApplicationInfo() {
            return mApplicationInfo;