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

Commit 1b564750 authored by d34d's avatar d34d
Browse files

Themes: Don't break API in MockContext

recreateTheme() needs to have @hide otherwise checkapi fails.

Change-Id: I90a8620724a5ca8a52bce4bd91bd5534812479b1
parent d999962e
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -96,6 +96,7 @@ public class MockContext extends Context {
        throw new UnsupportedOperationException();
    }

    /** @hide */
    @Override
    public void recreateTheme() {
        throw new UnsupportedOperationException();
@@ -632,8 +633,6 @@ public class MockContext extends Context {
    @Override
    public File[] getExternalFilesDirs(String type) {
        throw new UnsupportedOperationException();
    }

    @Override
    public File[] getObbDirs() {
        throw new UnsupportedOperationException();
@@ -648,4 +647,6 @@ public class MockContext extends Context {
    public File[] getExternalMediaDirs() {
        throw new UnsupportedOperationException();
    }


}