summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author sangyun <sangyun@google.com> 2023-12-06 13:36:07 +0900
committer sangyun <sangyun@google.com> 2023-12-06 13:36:10 +0900
commit9ccc91442f72ec357cd38bff14c1274d525febe2 (patch)
treef42ce881bae0a00d4b1986e3acfadcc9ea56c920 /libs/androidfw/FileStream.cpp
parent91e6c2c7fd6e74431069bdc41773a0e7102c5abe (diff)
Throw RuntimeException when looper is not prepared for deprecated API
Modified to send RuntimeException if Looper is not prepared when using deprecated addOnSubscriptionsChangedListener. With the feature of the "Lazily init Handler in SubscriptionManager", we expected to avoid using addOnSubscriptionsChangedListener, which has been deprecated. However, if the Looper is not prepared while using addOnSubscriptionsChangedListener, which was deprecated, previously a RuntimeException would have been thrown, but currently a NullpointerException will be caused. For backward compatibility, Modified it to generate a RuntimeException. Bug: 314924913 Test: manual test Test: atest SubscriptionManagerTest Change-Id: I32a117eaac557a901bd78584013c9d5e4b0c5b4d
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions