OOS Background DEX Optimization Fix

What this module does:
It prevents a crash that only happens when you both use Xposed and OOS 4.5 (on Nougat obviously).

What this module does not do:
If your phone crashes without Xposed installed, this module won't help.

If you're trying to run Xposed on OOS Devices, you may notice that every time your phone is left charging for a while, Android crashes with:
art : No implementation found for java.lang.String dalvik.system.DexFile.getOatFileCompilerFilter(java.lang.String, java.lang.String) (tried Java_dalvik_system_DexFile_getOatFileCompilerFilter and Java_dalvik_system_DexFile_getOatFileCompilerFilter__Ljava_lang_String_2Ljava_lang_String_2)
AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: BackgroundDexOptService_IdleOptimization
AndroidRuntime: java.lang.UnsatisfiedLinkError: No implementation found for java.lang.String dalvik.system.DexFile.getOatFileCompilerFilter(java.lang.String, java.lang.String) (tried Java_dalvik_system_DexFile_getOatFileCompilerFilter and Java_dalvik_system_DexFile_getOatFileCompilerFilter__Ljava_lang_String_2Ljava_lang_String_2)
AndroidRuntime: at dalvik.system.DexFile.getOatFileCompilerFilter(Native Method)
AndroidRuntime: at com.android.server.pm.PackageDexOptimizer.getOatFileCompilerFilter(PackageDexOptimizer.java:167)
AndroidRuntime: at com.android.server.pm.PackageManagerService.getOatFileCompilerFilter(PackageManagerService.java:19879)
AndroidRuntime: at com.android.server.pm.BackgroundDexOptService$3.run(BackgroundDexOptService.java:373)
DownloadManager: Removed 0 stale downloads
MDM_DropBox: record:system_server_crash
OSTracker: OS Event: system_server_crash

Then this module is for you.
Install, activate, reboot and crashes be gone.

Tested on OnePlus 5, OOS 4.5.12 and Xposed 88.

Author(s): 
Package: 
com.fifsource.android.oosbackgroupdexcompilationfix
Version name: 
0.1
Release type: 
Beta (some bugs to be expected)
Number of downloads: 
1,227 in total · 77 in the last 24 hours
MD5 checksum: 
830eb4365e9398c6ed1564c7ce836a89
Uploaded on: 
Thursday, October 12, 2017 - 07:18
Changes: 

Initial release, with embedded debug code.