When LicenseFragment starts, it triggers loading of licenses, which happens on a background thread and can take some time. If LicenseFragment gets detached before loading is finished, the call to `resources.assets` will throw `IllegalStateException`. Now `loadLicenses()` receives `AssetManager` as an argument, and doesn't try to retrieve it from LicenseFragment instance. |
||
|---|---|---|
| .. | ||
| roomSchema/com.gaurav.avnc.model.db.MainDb | ||
| src | ||
| .gitignore | ||
| build.gradle | ||
| CMakeLists.txt | ||
| proguard-rules.pro | ||