OSDN Git Service

MountService: Fix android.process.media crash repeatedly problem
authorJP Abgrall <jpa@google.com>
Fri, 25 Jul 2014 01:19:12 +0000 (18:19 -0700)
committerTodd Poynor <toddpoynor@google.com>
Fri, 25 Jul 2014 02:05:36 +0000 (02:05 +0000)
commit5f054cea32eb2e87aeaa03138341eb887cda5e0c
tree72f9b4a8dc332cd69c95ea613602ddf19706234e
parent42dc32d82961301d20cd4a3b286c5fed47919e6f
MountService: Fix android.process.media crash repeatedly problem

When the framework restarts because of certain exception, the
external volume id will disappear. At this time, mount service
will issue "volume list" command to vold to get the status of
each storage.

The fix is to re-broadcast the uuid and user label again via
vold "volume list broadcast" command.

Bug: 16253597
Bug: 16306775
Change-Id: I227e8bc597a4f5338035d3401036490f14557211
services/core/java/com/android/server/MountService.java