OSDN Git Service

android-x86/packages-apps-Music.git
14 years agoam db0769a8: Import revised translations. DO NOT MERGE
Eric Fischer [Thu, 17 Sep 2009 22:15:16 +0000 (15:15 -0700)]
am db0769a8: Import revised translations.  DO NOT MERGE

Merge commit 'db0769a8b404e4cda6827178cc55b691b82cdbf0' into eclair-plus-aosp

* commit 'db0769a8b404e4cda6827178cc55b691b82cdbf0':
  Import revised translations.  DO NOT MERGE

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Thu, 17 Sep 2009 21:34:51 +0000 (14:34 -0700)]
Import revised translations.  DO NOT MERGE

14 years agoam 8f2b5a2d: Merge change 24529 into eclair
Marco Nelissen [Thu, 10 Sep 2009 16:58:53 +0000 (09:58 -0700)]
am 8f2b5a2d: Merge change 24529 into eclair

Merge commit '8f2b5a2d9bf33b794950fea96d92739d856cf831' into eclair-plus-aosp

* commit '8f2b5a2d9bf33b794950fea96d92739d856cf831':
  Use dpad left/right for skipping and seeking only when the play buttons are focused.

14 years agoMerge change 24529 into eclair
Android (Google) Code Review [Thu, 10 Sep 2009 16:53:41 +0000 (12:53 -0400)]
Merge change 24529 into eclair

* changes:
  Use dpad left/right for skipping and seeking only when the play buttons are focused.

14 years agoUse dpad left/right for skipping and seeking only when the play buttons are focused.
Marco Nelissen [Thu, 10 Sep 2009 15:35:36 +0000 (08:35 -0700)]
Use dpad left/right for skipping and seeking only when the play buttons are focused.

14 years agoam 98647f16: Merge change 24278 into eclair
Nick Pelly [Wed, 9 Sep 2009 18:39:08 +0000 (11:39 -0700)]
am 98647f16: Merge change 24278 into eclair

Merge commit '98647f16607f26e282738efb3bd7fa1a92cefa16' into eclair-plus-aosp

* commit '98647f16607f26e282738efb3bd7fa1a92cefa16':
  Update application for Bluetooth API change: deprecation of BluetoothError.

14 years agoMerge change 24278 into eclair
Android (Google) Code Review [Wed, 9 Sep 2009 18:35:23 +0000 (14:35 -0400)]
Merge change 24278 into eclair

* changes:
  Update application for Bluetooth API change: deprecation of BluetoothError.

14 years agoam 7a05298d: Only log the sd card status when it changed from last time.
Marco Nelissen [Wed, 9 Sep 2009 18:29:39 +0000 (11:29 -0700)]
am 7a05298d: Only log the sd card status when it changed from last time.

Merge commit '7a05298d5af6f796f3a260fa60b11d1c029b4207' into eclair-plus-aosp

* commit '7a05298d5af6f796f3a260fa60b11d1c029b4207':
  Only log the sd card status when it changed from last time.

14 years agoOnly log the sd card status when it changed from last time.
Marco Nelissen [Wed, 9 Sep 2009 17:34:11 +0000 (10:34 -0700)]
Only log the sd card status when it changed from last time.

14 years agoUpdate application for Bluetooth API change: deprecation of BluetoothError.
Nick Pelly [Wed, 9 Sep 2009 00:50:45 +0000 (17:50 -0700)]
Update application for Bluetooth API change: deprecation of BluetoothError.

14 years agoam 533b2de9: Import revised translations. DO NOT MERGE
Eric Fischer [Wed, 9 Sep 2009 00:06:43 +0000 (17:06 -0700)]
am 533b2de9: Import revised translations.  DO NOT MERGE

Merge commit '533b2de9df49faa7cbcd101d89dd432f061a2e23' into eclair-plus-aosp

* commit '533b2de9df49faa7cbcd101d89dd432f061a2e23':
  Import revised translations.  DO NOT MERGE

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Tue, 8 Sep 2009 23:29:54 +0000 (16:29 -0700)]
Import revised translations.  DO NOT MERGE

14 years agomerge from open-source master
Jean-Baptiste Queru [Fri, 4 Sep 2009 14:51:22 +0000 (07:51 -0700)]
merge from open-source master

14 years agomerge from donut
Jean-Baptiste Queru [Thu, 3 Sep 2009 21:13:14 +0000 (14:13 -0700)]
merge from donut

14 years agoDon't crash when long-pressing on a stream.
Marco Nelissen [Wed, 2 Sep 2009 20:00:49 +0000 (13:00 -0700)]
Don't crash when long-pressing on a stream.

14 years agoShow time in the form hh:mm:ss when the duration is 1 hour or more.
Marco Nelissen [Wed, 2 Sep 2009 18:09:15 +0000 (11:09 -0700)]
Show time in the form hh:mm:ss when the duration is 1 hour or more.

14 years agoFix some issues with threads/handlers accessing the adapter for the 'old' activity...
Marco Nelissen [Tue, 1 Sep 2009 20:22:19 +0000 (13:22 -0700)]
Fix some issues with threads/handlers accessing the adapter for the 'old' activity after it has been handed off to the 'new' activity.

14 years agoMerge change 23119 into eclair
Android (Google) Code Review [Fri, 28 Aug 2009 21:10:22 +0000 (14:10 -0700)]
Merge change 23119 into eclair

* changes:
   modified:   tests/src/com/android/music/MusicPlayerFunctionalTestRunner.java  new file:   tests/src/com/android/music/MusicPlayerStability.java  Add the test case for power measurment. The test case is simple play the mp3 thorough the music player for 30 seconds. It also check wehter there is any song in the song list.

14 years ago modified: tests/src/com/android/music/MusicPlayerFunctionalTestRunner.java
Yu Shan Emily Lau [Fri, 28 Aug 2009 17:44:14 +0000 (10:44 -0700)]
modified:   tests/src/com/android/music/MusicPlayerFunctionalTestRunner.java
new file:   tests/src/com/android/music/MusicPlayerStability.java
 Add the test case for power measurment. The test case is simple play the mp3 thorough the music player for 30 seconds. It also check wehter there is any song in the song list.

new file:   tests/src/com/android/music/MusicPlayerStability.java

new file:   tests/src/com/android/music/MusicPlayerStability.java

new file:   src/com/android/music/MusicPlayerStability.java

new file:   src/com/android/music/MusicPlayerStability.java

14 years agoHigh-resolution (hdpi) artwork from TAT for Music.
Daniel Sandler [Fri, 28 Aug 2009 18:51:56 +0000 (14:51 -0400)]
High-resolution (hdpi) artwork from TAT for Music.

14 years agoArmor string format tokens with translation placeholders.
Eric Fischer [Fri, 28 Aug 2009 00:25:49 +0000 (17:25 -0700)]
Armor string format tokens with translation placeholders.

Change-Id: If5df4769880a03545894a77c578298370eeeb18e

14 years agoCosmetic: contract the music player's seekbar by a few pixels to give the thumb some...
Daniel Sandler [Thu, 20 Aug 2009 18:17:53 +0000 (14:17 -0400)]
Cosmetic: contract the music player's seekbar by a few pixels to give the thumb some breathing room. (Related to b/2064664)

14 years agoFix density issue with album art.
Marco Nelissen [Wed, 19 Aug 2009 17:21:29 +0000 (10:21 -0700)]
Fix density issue with album art.

14 years agoChange to use new service foreground API.
Dianne Hackborn [Tue, 18 Aug 2009 18:35:30 +0000 (11:35 -0700)]
Change to use new service foreground API.

14 years agoam 5d9c780e: (-s ours) Import revised translations. DO NOT MERGE
Eric Fischer [Tue, 18 Aug 2009 18:00:54 +0000 (11:00 -0700)]
am 5d9c780e: (-s ours) Import revised translations.  DO NOT MERGE

Merge commit '5d9c780e7d44e39caa48dc06df7ba76e1386b246' into eclair

* commit '5d9c780e7d44e39caa48dc06df7ba76e1386b246':
  Import revised translations.  DO NOT MERGE

14 years agoAlso save the history in shuffle mode.
Marco Nelissen [Mon, 17 Aug 2009 21:17:27 +0000 (14:17 -0700)]
Also save the history in shuffle mode.
Another partial fix for http://b/issue?id=2033192, this one
gets us most of the way there. Might even be good enough
for Eclair.

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Mon, 17 Aug 2009 20:15:31 +0000 (13:15 -0700)]
Import revised translations.  DO NOT MERGE

14 years agoIncrease the history size. It should never have been this small.
Marco Nelissen [Mon, 17 Aug 2009 15:52:29 +0000 (08:52 -0700)]
Increase the history size. It should never have been this small.
Partial fix for http://b/issue?id=2033192

14 years agoMake search work in all activities in the music app, enable the
Marco Nelissen [Fri, 14 Aug 2009 17:06:15 +0000 (10:06 -0700)]
Make search work in all activities in the music app, enable the
music app itself as a media search provider, and fix some issues
surrounding searching items that have unknown artist or album.

14 years agoam e03cc0f3: Merge change 21112 into donut
Marco Nelissen [Fri, 14 Aug 2009 01:43:49 +0000 (18:43 -0700)]
am e03cc0f3: Merge change 21112 into donut

Merge commit 'e03cc0f3aa2eb5b1e3b2f726f20e246ac56a8c87' into eclair

* commit 'e03cc0f3aa2eb5b1e3b2f726f20e246ac56a8c87':
  Fix memory leaks in music app.

14 years agoMerge change 21112 into donut
Android (Google) Code Review [Thu, 13 Aug 2009 18:20:39 +0000 (11:20 -0700)]
Merge change 21112 into donut

* changes:
  Fix memory leaks in music app. Fixes http://b/issue?id=2046569

14 years agoFix memory leaks in music app.
Marco Nelissen [Thu, 13 Aug 2009 16:58:43 +0000 (09:58 -0700)]
Fix memory leaks in music app.
Fixes http://b/issue?id=2046569

14 years agoresolved conflicts for merge of 7790a210 to master
Jeff Sharkey [Fri, 7 Aug 2009 05:55:58 +0000 (22:55 -0700)]
resolved conflicts for merge of 7790a210 to master

14 years agoAdopt new AppWidget assets, per http://b/2038594.
Jeff Sharkey [Fri, 7 Aug 2009 04:41:42 +0000 (21:41 -0700)]
Adopt new AppWidget assets, per http://b/2038594.

14 years agoMerge change 9669
Android (Google) Code Review [Tue, 4 Aug 2009 20:03:27 +0000 (13:03 -0700)]
Merge change 9669

* changes:
  Take density in to account when reordering playlist items.

14 years agoTake density in to account when reordering playlist items.
Marco Nelissen [Tue, 4 Aug 2009 17:21:22 +0000 (10:21 -0700)]
Take density in to account when reordering playlist items.

14 years agomerge from open-source master
Jean-Baptiste Queru [Tue, 4 Aug 2009 16:00:29 +0000 (09:00 -0700)]
merge from open-source master

14 years agoam a1f26414: (-s ours) Import revised translations. DO NOT MERGE
Eric Fischer [Mon, 3 Aug 2009 23:57:21 +0000 (16:57 -0700)]
am a1f26414: (-s ours) Import revised translations.  DO NOT MERGE

Merge commit 'a1f264140f1529000a6bca0e02bc455fd4d67ee2'

* commit 'a1f264140f1529000a6bca0e02bc455fd4d67ee2':
  Import revised translations.  DO NOT MERGE

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Mon, 3 Aug 2009 23:12:09 +0000 (16:12 -0700)]
Import revised translations.  DO NOT MERGE

14 years agoMake TrackBrowserActivity do a limited query first, to get the list view
Marco Nelissen [Thu, 30 Jul 2009 17:40:49 +0000 (10:40 -0700)]
Make TrackBrowserActivity do a limited query first, to get the list view
showing as fast as possible, and then do the full query after that.
This makes going to the list of songs feel much faster.

14 years agoClean up TrackBrowserActivity. This doesn't change any functionality,
Marco Nelissen [Thu, 30 Jul 2009 15:28:49 +0000 (08:28 -0700)]
Clean up TrackBrowserActivity. This doesn't change any functionality,
but will make it easier to start making use of query-limits.

14 years agomerge from donut
Jean-Baptiste Queru [Wed, 29 Jul 2009 21:57:06 +0000 (14:57 -0700)]
merge from donut

14 years agoreconcile korg/master into goog/master
Jean-Baptiste Queru [Sun, 26 Jul 2009 18:43:56 +0000 (11:43 -0700)]
reconcile korg/master into goog/master

14 years agoMerge korg/donut into korg/master
Jean-Baptiste Queru [Sun, 26 Jul 2009 03:57:11 +0000 (20:57 -0700)]
Merge korg/donut into korg/master

Conflicts:

res/values/strings.xml
src/com/android/music/MediaPlaybackService.java

14 years agoMerge change 8097
Android (Google) Code Review [Tue, 21 Jul 2009 22:42:08 +0000 (15:42 -0700)]
Merge change 8097

* changes:
  Fix the music app's repeating button.

14 years agoFix the music app's repeating button.
Marco Nelissen [Tue, 21 Jul 2009 22:40:06 +0000 (15:40 -0700)]
Fix the music app's repeating button.

14 years agoFix various places where the music app was using 'px' instead of 'dip'.
Marco Nelissen [Tue, 21 Jul 2009 22:12:16 +0000 (15:12 -0700)]
Fix various places where the music app was using 'px' instead of 'dip'.

14 years agoDon't show the 'search' context menu for recordings.
Marco Nelissen [Wed, 15 Jul 2009 22:04:36 +0000 (15:04 -0700)]
Don't show the 'search' context menu for recordings.

14 years agoMerge commit 'goog/readonly-korg-master' into merge_korg_master
Jean-Baptiste Queru [Wed, 15 Jul 2009 01:05:40 +0000 (18:05 -0700)]
Merge commit 'goog/readonly-korg-master' into merge_korg_master

* commit 'goog/readonly-korg-master':
  Fix for a hang when attempting to stream a non-existing content.

Conflicts:
res/values/strings.xml

14 years agoam c36be694: Import new translations
Eric Fischer [Mon, 13 Jul 2009 23:59:30 +0000 (16:59 -0700)]
am c36be694: Import new translations

Merge commit 'c36be694884845d67080705e40b80b2944e765ec'

* commit 'c36be694884845d67080705e40b80b2944e765ec':
  Import new translations

14 years agoImport new translations
Eric Fischer [Mon, 13 Jul 2009 22:49:00 +0000 (15:49 -0700)]
Import new translations

14 years agoam 0f4e0651: Add new searchSettingsDescription attribute for Music\'s searchable...
Mike LeBeau [Thu, 2 Jul 2009 22:23:21 +0000 (15:23 -0700)]
am 0f4e0651: Add new searchSettingsDescription attribute for Music\'s searchable. This will be shown under the individual searchable item in system search settings.

Merge commit '0f4e0651e33bef8953f50082562de0ced41a8542'

* commit '0f4e0651e33bef8953f50082562de0ced41a8542':
  Add new searchSettingsDescription attribute for Music's searchable.

14 years agoam fcdb7609: Include Music app in Global search.
Satish Sampath [Thu, 2 Jul 2009 05:44:18 +0000 (22:44 -0700)]
am fcdb7609: Include Music app in Global search.

Merge commit 'fcdb7609887efb0a745fc027e1be0c558218e237'

* commit 'fcdb7609887efb0a745fc027e1be0c558218e237':
  Include Music app in Global search.

14 years agoAdd new searchSettingsDescription attribute for Music's searchable.
Mike LeBeau [Wed, 1 Jul 2009 01:38:09 +0000 (18:38 -0700)]
Add new searchSettingsDescription attribute for Music's searchable.
This will be shown under the individual searchable item in system search settings.

14 years agoUse longs instead of ints for database ids.
Marco Nelissen [Mon, 29 Jun 2009 21:52:05 +0000 (14:52 -0700)]
Use longs instead of ints for database ids.

14 years agoInclude Music app in Global search.
Satish Sampath [Tue, 30 Jun 2009 17:26:13 +0000 (18:26 +0100)]
Include Music app in Global search.

GlobalSearch does not have it's own music provider anymore so enable the
Music app to show suggestions in global search.

Related bug - http://b/issue?id=1819601

14 years agoam 2f9a1ce2: When checking the current playback position against the length of the...
Marco Nelissen [Tue, 30 Jun 2009 03:17:31 +0000 (20:17 -0700)]
am 2f9a1ce2: When checking the current playback position against the length of the file, make sure the length is valid. Otherwise we can end up endlessly (recursively) calling next(), and run out of stack.

Merge commit '2f9a1ce2f3b0ae72d698c240ce8448bc7cfe3a77'

* commit '2f9a1ce2f3b0ae72d698c240ce8448bc7cfe3a77':
  When checking the current playback position against the length

14 years agoWhen checking the current playback position against the length
Marco Nelissen [Fri, 26 Jun 2009 21:23:31 +0000 (14:23 -0700)]
When checking the current playback position against the length
of the file, make sure the length is valid. Otherwise we can
end up endlessly (recursively) calling next(), and run out of
stack.

14 years agoMerge change 4751
Android (Google) Code Review [Mon, 22 Jun 2009 21:32:58 +0000 (14:32 -0700)]
Merge change 4751

* changes:
  Remove code for getting and saving album art from the music app and use the media provider instead.

14 years agoRemove unused resources from Music app.
Marco Nelissen [Mon, 22 Jun 2009 20:42:23 +0000 (13:42 -0700)]
Remove unused resources from Music app.

14 years agoRemove code for getting and saving album art from the music app and
Marco Nelissen [Tue, 16 Jun 2009 15:54:17 +0000 (08:54 -0700)]
Remove code for getting and saving album art from the music app and
use the media provider instead.

14 years agoam c8aa837a: Don\'t let untranslated "<unknown>" or "null" be displayed in Music.
Eric Fischer [Thu, 18 Jun 2009 17:00:17 +0000 (10:00 -0700)]
am c8aa837a: Don\'t let untranslated "<unknown>" or "null" be displayed in Music.

Merge commit 'c8aa837a48287ad94ee0dcacb525b420a908a06d'

* commit 'c8aa837a48287ad94ee0dcacb525b420a908a06d':
  Don't let untranslated "<unknown>" or "null" be displayed in Music.

14 years agoDon't let untranslated "<unknown>" or "null" be displayed in Music.
Eric Fischer [Wed, 17 Jun 2009 23:34:12 +0000 (16:34 -0700)]
Don't let untranslated "<unknown>" or "null" be displayed in Music.

Finally checking in an old fix (for bug 1785503 and bug 1785492)
that got bumped from Cupcake.

14 years agoam 5ad00c66: Fix crash in music app.
Marco Nelissen [Mon, 15 Jun 2009 18:39:30 +0000 (11:39 -0700)]
am 5ad00c66: Fix crash in music app.

Merge commit '5ad00c6691f46e81a4c1611d0ccc351beed98508'

* commit '5ad00c6691f46e81a4c1611d0ccc351beed98508':
  Fix crash in music app.

14 years agoFix crash in music app.
Marco Nelissen [Mon, 15 Jun 2009 17:50:42 +0000 (10:50 -0700)]
Fix crash in music app.

14 years agoam 663fea34: Fix crash in music app. Monkey found it, but it\'s easy to repro by...
Marco Nelissen [Mon, 15 Jun 2009 04:12:50 +0000 (21:12 -0700)]
am 663fea34: Fix crash in music app. Monkey found it, but it\'s easy to repro by a human too.

Merge commit '663fea34b586fbdf46acebdb86e163aca0e50323'

* commit '663fea34b586fbdf46acebdb86e163aca0e50323':
  Fix crash in music app. Monkey found it, but it's easy to repro by a human too.

14 years agoFix crash in music app. Monkey found it, but it's easy to repro by a human too.
Marco Nelissen [Fri, 12 Jun 2009 20:39:27 +0000 (13:39 -0700)]
Fix crash in music app. Monkey found it, but it's easy to repro by a human too.

14 years agoam cd724d28: Update Portuguese translations.
Eric Fischer [Wed, 10 Jun 2009 22:33:52 +0000 (15:33 -0700)]
am cd724d28: Update Portuguese translations.

Merge commit 'cd724d281cd3569afa86b9c4b4ee0b5297550489'

* commit 'cd724d281cd3569afa86b9c4b4ee0b5297550489':
  Update Portuguese translations.

14 years agoam ef046f31: Merge change 3753 into donut
Android (Google) Code Review [Wed, 10 Jun 2009 22:32:58 +0000 (15:32 -0700)]
am ef046f31: Merge change 3753 into donut

Merge commit 'ef046f319da1f92732a5edafa0b0c79b31e2716b'

* commit 'ef046f319da1f92732a5edafa0b0c79b31e2716b':
  Fix NPE in music app.

14 years agoam 93267d95: am f6a28267: AI 149721: Import Portuguese translations.
Eric Fischer [Wed, 10 Jun 2009 22:32:37 +0000 (15:32 -0700)]
am 93267d95: am f6a28267: AI 149721: Import Portuguese translations.

Merge commit '93267d9521d0b5099f95afe2eaff32b8bf1f8cc8'

* commit '93267d9521d0b5099f95afe2eaff32b8bf1f8cc8':
  AI 149721: Import Portuguese translations.

14 years agoUpdate Portuguese translations.
Eric Fischer [Wed, 10 Jun 2009 22:11:47 +0000 (15:11 -0700)]
Update Portuguese translations.

14 years agoMerge change 3753 into donut
Android (Google) Code Review [Wed, 10 Jun 2009 19:45:04 +0000 (12:45 -0700)]
Merge change 3753 into donut

* changes:
  Fix NPE in music app.

14 years agoFix NPE in music app.
Marco Nelissen [Wed, 10 Jun 2009 19:43:25 +0000 (12:43 -0700)]
Fix NPE in music app.

14 years agoam f6a28267: AI 149721: Import Portuguese translations.
Eric Fischer [Wed, 10 Jun 2009 19:31:38 +0000 (12:31 -0700)]
am f6a28267: AI 149721: Import Portuguese translations.

Merge commit 'f6a28267503f50548169666009ff3605d82c9e67' into donut

* commit 'f6a28267503f50548169666009ff3605d82c9e67':
  AI 149721: Import Portuguese translations.

14 years agoAI 149721: Import Portuguese translations.
Eric Fischer [Wed, 10 Jun 2009 19:26:09 +0000 (12:26 -0700)]
AI 149721: Import Portuguese translations.

Automated import of CL 149721

14 years agoam 203c930e: Add write-to-sd-card permission to music app
Marco Nelissen [Tue, 9 Jun 2009 23:34:32 +0000 (16:34 -0700)]
am 203c930e: Add write-to-sd-card permission to music app

Merge commit '203c930e340e7fa0799c18193acef2fc60559f3e'

* commit '203c930e340e7fa0799c18193acef2fc60559f3e':
  Add write-to-sd-card permission to music app

14 years agoAdd write-to-sd-card permission to music app
Marco Nelissen [Tue, 9 Jun 2009 19:56:55 +0000 (12:56 -0700)]
Add write-to-sd-card permission to music app

14 years agoam bf0ea148: Shave about 1500 milliseconds off the time it takes to restore a large...
Marco Nelissen [Sat, 6 Jun 2009 04:17:32 +0000 (21:17 -0700)]
am bf0ea148: Shave about 1500 milliseconds off the time it takes to restore a large playlist, with corresponding reduction in music playback service startup time.

Merge commit 'bf0ea148eefcffd43e6f5023a6f8365d74fb829f'

* commit 'bf0ea148eefcffd43e6f5023a6f8365d74fb829f':
  Shave about 1500 milliseconds off the time it takes to restore a large playlist,

14 years agoShave about 1500 milliseconds off the time it takes to restore a large playlist,
Marco Nelissen [Fri, 5 Jun 2009 19:46:09 +0000 (12:46 -0700)]
Shave about 1500 milliseconds off the time it takes to restore a large playlist,
with corresponding reduction in music playback service startup time.

14 years agoam 11232b0a: Fix for a hang when attempting to stream a non-existing content.
Ravi K Yenduri [Fri, 5 Jun 2009 05:42:35 +0000 (22:42 -0700)]
am 11232b0a: Fix for a hang when attempting to stream a non-existing content.

Merge commit '11232b0a86408237d8f4f6ebe324a27d27d72ca3'

* commit '11232b0a86408237d8f4f6ebe324a27d27d72ca3':
  Fix for a hang when attempting to stream a non-existing content.

14 years agoam 3d54a51b: but empty merge (change already merged)
The Android Open Source Project [Fri, 5 Jun 2009 01:15:27 +0000 (18:15 -0700)]
am 3d54a51b: but empty merge (change already merged)

Merge commit '3d54a51b3ce7f7121bcf4b8bd99510ac1cfbaa37'

14 years agoFix for a hang when attempting to stream a non-existing content.
Ravi K Yenduri [Sat, 30 May 2009 03:34:25 +0000 (22:34 -0500)]
Fix for a hang when attempting to stream a non-existing content.

 -- StreamStarter Activity is binding the the MediaPlaybackService. As part of this, it is registering for the intent "ASYNC_OPEN_COMPLETE".
 -- In the normal scenario, after prepareAsync completes, the OnPreparedListener is fired. This ends up broadcasting the "ASYNC_OPEN_COMPLETE" intent.
 -- Since the StreamStarter Activity has registered for the intent, it will receive the even on it's listener, "onReceive". Here, the MediaPlaybackService
    "play" is called which starts the actual playback. And, the PLAYBACK_VIEWER intent is sent. This starts the MediaPlaybackActivity. And, "finish" is
    called in the StreamStarter Activity that will kill the activity. From this point, the MediaPlayback Activity takes over (this activity is the screen
    where you see the progress bar, and the metadata stuff).
 -- Now, in this scenario, there is a failure in the "prepareAsync" command. Because of this the ASYNC_OPEN_COMPLETE intent is never broadcasted, and
    hence the StreamStarterActivity never finishes.

- Proposed solution:
  -- Register the StreamStarter Activity to another intent (PLAYBACK_COMPLETE).
  -- In OnReceive call, add a condition that when the received intent is PLAYBACK_COMPLETE, "finish" the activity.
     needs to be broadcasted only if this is a single attempt playback, i.e., if "mOneShot" is "true".

14 years agoFix for a hang when attempting to stream a non-existing content.
Ravi K Yenduri [Sat, 30 May 2009 03:34:25 +0000 (22:34 -0500)]
Fix for a hang when attempting to stream a non-existing content.

 -- StreamStarter Activity is binding the the MediaPlaybackService. As part of this, it is registering for the intent "ASYNC_OPEN_COMPLETE".
 -- In the normal scenario, after prepareAsync completes, the OnPreparedListener is fired. This ends up broadcasting the "ASYNC_OPEN_COMPLETE" intent.
 -- Since the StreamStarter Activity has registered for the intent, it will receive the even on it's listener, "onReceive". Here, the MediaPlaybackService
    "play" is called which starts the actual playback. And, the PLAYBACK_VIEWER intent is sent. This starts the MediaPlaybackActivity. And, "finish" is
    called in the StreamStarter Activity that will kill the activity. From this point, the MediaPlayback Activity takes over (this activity is the screen
    where you see the progress bar, and the metadata stuff).
 -- Now, in this scenario, there is a failure in the "prepareAsync" command. Because of this the ASYNC_OPEN_COMPLETE intent is never broadcasted, and
    hence the StreamStarterActivity never finishes.

- Proposed solution:
  -- Register the StreamStarter Activity to another intent (PLAYBACK_COMPLETE).
  -- In OnReceive call, add a condition that when the received intent is PLAYBACK_COMPLETE, "finish" the activity.
     needs to be broadcasted only if this is a single attempt playback, i.e., if "mOneShot" is "true".

14 years agoReplace usage of deprecated PhoneStateIntentReceiver with PhoneStateListener.
Marco Nelissen [Wed, 3 Jun 2009 23:09:18 +0000 (16:09 -0700)]
Replace usage of deprecated PhoneStateIntentReceiver with PhoneStateListener.

14 years agoReplace usage of deprecated PhoneStateIntentReceiver with PhoneStateListener.
Marco Nelissen [Wed, 3 Jun 2009 23:09:18 +0000 (16:09 -0700)]
Replace usage of deprecated PhoneStateIntentReceiver with PhoneStateListener.

14 years agoresolved conflicts for merge of 272eb7 to master
Mike Lockwood [Wed, 3 Jun 2009 21:32:15 +0000 (14:32 -0700)]
resolved conflicts for merge of 272eb7 to master

14 years agoam 05a0cdbe: Use event time to detect long press in MediaButtonIntentReceiver.
Mike Lockwood [Wed, 3 Jun 2009 19:59:55 +0000 (12:59 -0700)]
am 05a0cdbe: Use event time to detect long press in MediaButtonIntentReceiver.

Merge commit '05a0cdbe327ce82165bf5fe4010414173fcdaae0'

* commit '05a0cdbe327ce82165bf5fe4010414173fcdaae0':
  Use event time to detect long press in MediaButtonIntentReceiver.

14 years agoMake play() call next() if we are at end of track (and not REPEAT_CURRENT).
Thomas Tuttle [Thu, 29 Jan 2009 02:06:46 +0000 (21:06 -0500)]
Make play() call next() if we are at end of track (and not REPEAT_CURRENT).

Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoUse event time to detect long press in MediaButtonIntentReceiver.
Mike Lockwood [Wed, 3 Jun 2009 00:26:44 +0000 (17:26 -0700)]
Use event time to detect long press in MediaButtonIntentReceiver.

This should help avoid false positives in the Party Shuffle feature
when the system is very slow.

Signed-off-by: Mike Lockwood <lockwood@android.com>
15 years agoam 49e36ea9: Clean up some handlers when the service is destroyed. This should fix...
Marco Nelissen [Thu, 28 May 2009 19:31:42 +0000 (12:31 -0700)]
am 49e36ea9: Clean up some handlers when the service is destroyed. This should fix some more of the monkey bugs in the music app.

Merge commit '49e36ea916aefba042c6e927c771b10708b6891e'

* commit '49e36ea916aefba042c6e927c771b10708b6891e':
  Clean up some handlers when the service is destroyed. This should fix some more of the monkey bugs in the music app.

15 years agoClean up some handlers when the service is destroyed. This should fix some more of...
Marco Nelissen [Thu, 28 May 2009 17:20:02 +0000 (10:20 -0700)]
Clean up some handlers when the service is destroyed. This should fix some more of the monkey bugs in the music app.

15 years agoam 47b989bf: This should fix a monkey bug where the service was being used after...
Marco Nelissen [Wed, 27 May 2009 21:16:41 +0000 (14:16 -0700)]
am 47b989bf: This should fix a monkey bug where the service was being used after it was unbound.

Merge commit '47b989bf6205eb8dd51c2c1fa118f6b703f2f66d'

* commit '47b989bf6205eb8dd51c2c1fa118f6b703f2f66d':
  This should fix a monkey bug where the service was being used after it was unbound.

15 years agoThis should fix a monkey bug where the service was being used after it was unbound.
Marco Nelissen [Wed, 27 May 2009 19:57:06 +0000 (12:57 -0700)]
This should fix a monkey bug where the service was being used after it was unbound.

15 years agoam 479ccad3: Merge from cupcake_dcm. Should be reviewed by jackpal. Internal issue...
Daisuke Miyakawa [Tue, 26 May 2009 17:11:27 +0000 (10:11 -0700)]
am 479ccad3: Merge from cupcake_dcm. Should be reviewed by jackpal. Internal issue: 1753548. CL#144715

Merge commit '479ccad3431f06fa0f9ae866129e11baaa5c5306'

* commit '479ccad3431f06fa0f9ae866129e11baaa5c5306':
  Merge from cupcake_dcm. Should be reviewed by jackpal.

15 years agoMerge from cupcake_dcm. Should be reviewed by jackpal.
Daisuke Miyakawa [Mon, 25 May 2009 07:32:08 +0000 (16:32 +0900)]
Merge from cupcake_dcm. Should be reviewed by jackpal.
Internal issue: 1753548. CL#144715

15 years agoam f4963af4: Merge change 2339 into donut
Android (Google) Code Review [Fri, 22 May 2009 19:23:02 +0000 (12:23 -0700)]
am f4963af4: Merge change 2339 into donut

Merge commit 'f4963af4ed00afc31b6c5fddc767995aafe2c465'

* commit 'f4963af4ed00afc31b6c5fddc767995aafe2c465':
  We're not displaying the album name anymore in the 'songs' list, so it's a little strange to filter on it.

15 years agoMerge change 2339 into donut
Android (Google) Code Review [Fri, 22 May 2009 19:10:37 +0000 (12:10 -0700)]
Merge change 2339 into donut

* changes:
  We're not displaying the album name anymore in the 'songs' list, so it's a little strange to filter on it.

15 years agoWe're not displaying the album name anymore in the 'songs' list, so it's a little...
Marco Nelissen [Fri, 22 May 2009 19:01:25 +0000 (12:01 -0700)]
We're not displaying the album name anymore in the 'songs' list, so it's a little strange to filter on it.

15 years agoam 95c4919a: Merge change 1923 into donut
Android (Google) Code Review [Fri, 22 May 2009 18:31:54 +0000 (11:31 -0700)]
am 95c4919a: Merge change 1923 into donut

Merge commit '95c4919a2811d131a2d4d8d7eaa83758cd082313'

* commit '95c4919a2811d131a2d4d8d7eaa83758cd082313':
  Fix crash in MusicPicker activity

15 years agoMerge change 1923 into donut
Android (Google) Code Review [Fri, 22 May 2009 16:59:08 +0000 (09:59 -0700)]
Merge change 1923 into donut

* changes:
  Fix crash in MusicPicker activity