Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ca02352b authored by LuK1337's avatar LuK1337
Browse files

UiccSlot: Validate hotswap restart prompt component properly

Resources.getString(int) cannot return null, therefore instead let's
check if ComponentName.unflattenFromString() is null.

Test: Remove SIM card on a device with config_hotswapCapable set to
      false and config_iccHotswapPromptForRestartDialogComponent set to
      @null, notice that dialog prompting user to restart is shown.
Bug: 227459873
Change-Id: Id7c8c1bfad6bb25fe5e8f8b4bb7be91e2484dd17
parent 407fbff3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment