summaryrefslogtreecommitdiffstats
path: root/include/camera
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@android.com>2010-09-21 11:17:27 -0400
committerMike Lockwood <lockwood@android.com>2010-09-21 11:17:27 -0400
commit77bc30d232633eb36323245bc5d0cbf144a3bd26 (patch)
treecd60f87d76ca54af908a405c96ebe558d0c2646f /include/camera
parent307aef01257cbba42f095f7020a4a3b753f3807b (diff)
downloadframeworks_base-77bc30d232633eb36323245bc5d0cbf144a3bd26.zip
frameworks_base-77bc30d232633eb36323245bc5d0cbf144a3bd26.tar.gz
frameworks_base-77bc30d232633eb36323245bc5d0cbf144a3bd26.tar.bz2
SystemUI: Use new USB notifications to detect USB disconnect.
This fixes a bug that prevented the USB mass storage activity from closing when USB is disconnected. The bug was actually due to using == for a string compare instead of equals(), but using the new notifications is a better solution than using battery events since it will work for devices that do not charge over USB. BUG: 3018954 Change-Id: Ia447974726a52cd865e59df5af79e828b5134b6c Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'include/camera')
0 files changed, 0 insertions, 0 deletions