summaryrefslogtreecommitdiff
path: root/core/java/android/widget/TextView.java
diff options
context:
space:
mode:
authorFelka Chang <felkachang@google.com>2022-01-17 08:03:22 +0800
committerFelka Chang <felkachang@google.com>2022-01-18 15:36:09 +0800
commit44e8debe6be545318ff09166f9ee84970452a1c2 (patch)
tree2d5c49badb5e39dab5a4cb2903d9f113fbd6991f /core/java/android/widget/TextView.java
parent35eef324464aee9d46301815ddad3d65578bf1a8 (diff)
Prevent Idmapdaemon from failing set system property
During the shutdown mode, system property is not allowed to be set. To set system property is used by either starting or stopping IdmapDaemon. To start IdmapDaemon may be during the shutdown mode. In this situation, it triggers NullPointerException because IdmapDaemon is not started and mService is null. This patch handles this kind of RuntimeException, logs the error and prevents NPE. Test: TID="CtsAppSecurityHostTestCases"; \ atest OverlayDeviceTests \ OverlayHostTests \ OverlayRemountedTest \ ${TID}:android.appsecurity.cts.OverlayHostTest Test: http://ab/I12600010009296086 Bug: 214011992 Bug: 212776174 Change-Id: I1820f00473be423d08738a6045925bb38a71d541
Diffstat (limited to 'core/java/android/widget/TextView.java')
0 files changed, 0 insertions, 0 deletions