summaryrefslogtreecommitdiff
path: root/opengl/libagl/texture.cpp
diff options
context:
space:
mode:
author Jean-Michel Trivi <jmtrivi@google.com> 2010-05-11 09:42:41 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2010-05-11 09:42:41 -0700
commitd657af3915d2dd94f33c53a83d7ff731a4877fde (patch)
treebc4ecd363fce00fea66961b5aabbdf58bb5de3f0 /opengl/libagl/texture.cpp
parent735da3103b4b5c775fb20f4017edcb6befbcbbda (diff)
parentff91f883059a7d2fb22251d8e2ffbb998c9ca1e4 (diff)
Merge " Fix bug 2670395 and 2599698 When the user selects a "Silent" notification sound, the Uri encoded path is an empty string. Setting this Uri as the data source of the MediaPlayer used to play notifications caused the completion listener to not be called, which with the AudioFocus logic causes the Music app to pause and never resume. The NotificationPlayer modifications cause the MediaPlayer for the notification to only request audio focus when the data source is not empty. The audio focus code in AudioService is defensively synchronized against a unique lock, and the exception observed in bug 2670395 is explicitely caught in case another edge case wasn't caught by this fix. The AudioFocus handling in AudioManager is modified so only the requestAudioFocus and abandonAudioFocus methods are meant to be used, as registerAudioFocusListener and unregisterAudioFocusListener provided no additional functionality over the request/abandon methods. abandonAudioFocus() also removes the listener from the map in AudioManager since after abandonning focus, the listener would no longer be called." into froyo
Diffstat (limited to 'opengl/libagl/texture.cpp')
0 files changed, 0 insertions, 0 deletions