-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #68 from yungd1plomat/miuifix
Add MIUI support and improve error handling for DumpScreen and DumpScreenString
- Loading branch information
Showing
9 changed files
with
345 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
java.io.FileNotFoundException: /data/system/theme_config/theme_compatibility.xml: open failed: ENOENT (No such file or directory) | ||
at libcore.io.IoBridge.open(IoBridge.java:574) | ||
at java.io.FileInputStream.<init>(FileInputStream.java:160) | ||
at java.io.FileInputStream.<init>(FileInputStream.java:115) | ||
at java.io.FileReader.<init>(FileReader.java:60) | ||
at miui.content.res.ThemeCompatibilityLoader.getVersion(ThemeCompatibilityLoader.java:108) | ||
at miui.content.res.ThemeCompatibilityLoader.getConfigDocumentTree(ThemeCompatibilityLoader.java:126) | ||
at miui.content.res.ThemeCompatibilityLoader.loadConfig(ThemeCompatibilityLoader.java:59) | ||
at miui.content.res.ThemeCompatibility.<clinit>(ThemeCompatibility.java:31) | ||
at miui.content.res.ThemeCompatibility.isThemeEnabled(ThemeCompatibility.java:111) | ||
at android.content.res.MiuiResourcesImpl.<clinit>(MiuiResourcesImpl.java:41) | ||
at android.content.res.MiuiResources.<init>(MiuiResources.java:58) | ||
at android.content.res.IMiuiResourceImpl.createResources(IMiuiResourceImpl.java:13) | ||
at android.content.res.ThemeManagerStub.createMiuiResources(ThemeManagerStub.java:56) | ||
at android.content.res.Resources.getSystem(Resources.java:235) | ||
at android.util.MiuiMultiWindowAdapter.<clinit>(MiuiMultiWindowAdapter.java:81) | ||
at android.util.MiuiMultiWindowAdapter.getSize(MiuiMultiWindowAdapter.java:305) | ||
at com.xiaomi.freeform.MiuiFreeformImpl.getSize(MiuiFreeformImpl.java:53) | ||
at android.util.MiuiFreeformUtils.getSize(MiuiFreeformUtils.java:49) | ||
at android.view.Display.getSize(Display.java:796) | ||
at com.android.commands.uiautomator.DumpCommand.run(DumpCommand.java:110) | ||
at com.android.commands.uiautomator.Launcher.main(Launcher.java:83) | ||
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method) | ||
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:363) | ||
Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory) | ||
at libcore.io.Linux.open(Native Method) | ||
at libcore.io.ForwardingOs.open(ForwardingOs.java:563) | ||
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:274) | ||
at libcore.io.IoBridge.open(IoBridge.java:560) | ||
... 22 more |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.