commit | a7d0d00f4a2535f11518d9e956246fdec3c131ce | [log] [tgz] |
---|---|---|
author | Yiyi Shen <yiyishen@google.com> | Mon Oct 23 15:51:54 2023 +0800 |
committer | Yiyi Shen <yiyishen@google.com> | Mon Oct 23 17:26:17 2023 +0800 |
tree | 09e457ba4b9f55d91d002c0b4b6e89cfc475026a | |
parent | 8e38bd0b3a180ba7e4e000a188afd97e9f5a1dc9 [diff] |
Fix crash when showing the device not found dialog. If users click to pair a not foundable device and then close the Settings page, Settings will crash becasue dialog holder is closed. This CL is part of the fix. It set the context to null when the activity stops. Bug: 306548036 Test: atest Change-Id: If68e3e9cd62216ad83b2e5058f504fce35e36a06