Merge "Prevent a crash when constructing NSSL." into qt-dev am: a9828ff519

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16611809

Change-Id: If26f91fd0f0e4d566ac056eb9b04513f4452bf67