summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/24/changes
diff options
context:
space:
mode:
authorMÃ¥rten Kongstad <marten.kongstad@sonymobile.com>2017-01-27 10:15:49 +0100
committerAdam Lesinski <adamlesinski@google.com>2017-03-17 12:14:45 -0700
commitc0bba8b18b41356721c2ebb25af83bc5bb5a74b0 (patch)
tree52f20a38e4ccd106a446dfb3f471926118e4908f /docs/html/sdk/api_diff/24/changes
parentabac7a6758354cb51f3b9245ed28cb6ea08dc0a2 (diff)
Fix ArrayMap.get vs ArrayMap.valueAt typo
Replace incorrect call to ArrayMap.get with correct call ArrayMap.valueAt. This bug was discovered when removing an overlay from /vendor/overlay and restarting the device. The OMS settings file still referred to the overlay, and when the settings item was to be removed, the following crash occurred. *** FATAL EXCEPTION IN SYSTEM PROCESS: main java.lang.NullPointerException: Attempt to read from field 'java.lang.String android.content.om.OverlayInfo.packageName' on a null object reference at com.android.server.om.OverlayManagerServiceImpl.onSwitchUser(OverlayManagerServiceImpl.java:121) at com.android.server.om.OverlayManagerService.onSwitchUser(OverlayManagerService.java:257) at com.android.server.om.OverlayManagerService.<init>(OverlayManagerService.java:237) at com.android.server.SystemServer.startBootstrapServices(SystemServer.java:580) at com.android.server.SystemServer.run(SystemServer.java:363) at com.android.server.SystemServer.main(SystemServer.java:238) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:226) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:726) Test: adb exec-out stop && adb exec-out rm /vendor/overlay/... && adb exec-out start Change-Id: I341a8d6eb90555b9169e5cd7dfac87d850b72e9b
Diffstat (limited to 'docs/html/sdk/api_diff/24/changes')
0 files changed, 0 insertions, 0 deletions