Commit 46a7579
committed
[bugfix] fixing configuration controller crash
12-24 16:23:32.690 17585 17585 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.Configuration android.content.res.Resources.getConfiguration()' on a null object reference
12-24 16:23:32.690 17585 17585 E AndroidRuntime: at android.app.ConfigurationController.updateLocaleListFromAppContext(ConfigurationController.java:285)
12-24 16:23:32.690 17585 17585 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7775)
12-24 16:23:32.690 17585 17585 E AndroidRuntime: at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
12-24 16:23:32.690 17585 17585 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2560)
12-24 16:23:32.690 17585 17585 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:110)
12-24 16:23:32.690 17585 17585 E AndroidRuntime: at android.os.Looper.dispatchMessage(Looper.java:315)
12-24 16:23:32.690 17585 17585 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:251)
12-24 16:23:32.690 17585 17585 E AndroidRuntime: at android.os.Looper.loop(Looper.java:349)
12-24 16:23:32.690 17585 17585 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:9048)
12-24 16:23:32.690 17585 17585 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
12-24 16:23:32.690 17585 17585 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:593)
12-24 16:23:32.690 17585 17585 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:929)
Change-Id: I96c139f477958fc29399e81b4892245606bcfe671 parent 7e1b904 commit 46a7579
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
285 | 289 | | |
286 | 290 | | |
287 | 291 | | |
| |||
0 commit comments