ot904699
aa76620073
Fix USB OTG hot plug out nndexOutOfBoundsException
...
Open Settings, then open Storage , plug in USB OTG with Disk, select Disk, open Files, play a video, press the back key, hot plug out USB OTG, the IndexOutOfBoundsException will happen
The root cause is when received the onVolumeStateChanged in StorageEventListener in StorageDashboardFragment, the volumeInfo
status is VolumeInfo.STATE_UNMOUNTED or VolumeInfo.STATE_EJECTING, mSelectedStorageEntry set to changedStorageEntry, cause the fail.
This is a fix for CL 225095144 bug.
Bug: 247737688
Test: Manual
Change-Id: I9535c49d65c42a8dfa8ccf4e271ae973d944d4b9
2022-09-26 08:15:48 +00:00
..
2022-05-20 23:13:07 +00:00
2022-06-09 08:14:13 +00:00
2022-03-30 04:54:30 +00:00
2022-08-17 18:37:46 +00:00
2022-06-03 19:51:20 +00:00
2022-09-08 07:02:52 +00:00
2022-09-08 14:23:20 -07:00
2022-06-01 06:40:07 +00:00
2022-06-07 04:17:39 +00:00
2022-09-15 14:23:38 +08:00
2022-05-03 19:22:03 +00:00
2022-08-23 13:15:51 +00:00
2022-09-26 08:15:48 +00:00
2022-06-09 07:39:07 +00:00
2022-04-29 20:43:20 +00:00
2022-06-22 22:47:52 +00:00
2022-05-13 08:13:36 +00:00
2022-04-26 01:50:43 +08:00
2022-06-14 03:25:27 +00:00
2022-04-08 11:04:52 +08:00
2022-05-06 09:34:54 +01:00
2022-05-23 19:34:51 +08:00
2022-06-07 04:17:39 +00:00
2022-05-03 03:16:08 +00:00
2022-09-08 14:23:20 -07:00
2022-06-02 11:18:16 +00:00
2022-09-09 10:16:29 +08:00
2022-05-14 22:43:19 +08:00
2022-06-09 08:22:33 +00:00
2022-05-11 12:56:44 +00:00
2022-05-12 18:25:06 -07:00
2022-05-13 11:20:05 +00:00
2022-05-10 23:16:36 +00:00
2022-09-05 11:29:42 +02:00
2022-05-30 23:22:25 -07:00
2022-09-07 10:26:39 +08:00
2022-05-16 21:12:39 +00:00
2022-05-24 11:20:54 +00:00
2022-09-06 14:55:08 +08:00
2022-05-09 09:22:57 +08:00
2022-09-13 08:46:30 +00:00
2022-08-17 18:37:46 +00:00
2022-04-07 03:44:12 +00:00
2022-05-27 21:13:33 +08:00
2022-05-02 13:39:28 +08:00
2022-04-11 21:50:01 +08:00
2022-05-05 09:12:59 +00:00
2022-05-03 11:06:34 +00:00
2022-06-16 10:46:07 +08:00
2022-03-30 14:28:17 +08:00
2022-06-22 07:51:47 +08:00
2022-07-29 22:35:44 +00:00
2022-08-10 14:21:47 -07:00
2022-05-05 09:12:59 +00:00
2022-05-26 07:17:36 +00:00
2022-04-26 10:18:01 +01:00
2022-04-15 10:12:36 +08:00
2022-04-15 10:12:36 +08:00
2022-04-15 10:12:36 +08:00
2022-04-25 15:34:42 +08:00