OSDN Git Service
Michael Bestas [Sun, 22 Mar 2015 18:00:54 +0000 (20:00 +0200)]
Automatic translation import
Change-Id: I57fb2e9ca94f3cf041da11897c015662bd4fdfdf
Michael Bestas [Sat, 14 Mar 2015 23:47:49 +0000 (01:47 +0200)]
Automatic translation import
Change-Id: I706ba0b421b725967fca66376be10a6a4027e4f1
Bryan Owens [Thu, 9 Apr 2015 22:14:00 +0000 (17:14 -0500)]
Expose colors from array in Eleven player
Signed-off-by: Bryan Owens <djbryan3540@gmail.com>
Change-Id: I0524ee3c1425ff94c33147cf7a9978fb69f3cc04
Michael Bestas [Fri, 6 Mar 2015 21:00:15 +0000 (23:00 +0200)]
Automatic translation import
Change-Id: I0eb3d9ee073d85db21c22c6c88936840669d7ea9
Michael Bestas [Thu, 5 Mar 2015 22:11:21 +0000 (00:11 +0200)]
Improve string
Change-Id: I1cb08b5eb897a57f4027fb4a6864e27640659688
Michael Bestas [Sat, 28 Feb 2015 00:22:52 +0000 (02:22 +0200)]
Automatic translation import
Change-Id: Iba82e26dbbedcb0e82b42d822f2af01774f818e2
Mikalacki Sava [Tue, 13 Jan 2015 16:37:46 +0000 (17:37 +0100)]
Eleven: shake to play next song, only available while music is playing.
Allows user to shake his device to switch to next song.
This feature is available through settings and is invoked
only while music is playing.
Change-Id: Ifb0866565d49443af7f3ac679e80601660506515
Michael Bestas [Wed, 18 Feb 2015 19:49:30 +0000 (21:49 +0200)]
Automatic translation import
Change-Id: I71ce21285d97675bc0aa6678a561d8aaa609cc5c
Michael Bestas [Tue, 10 Feb 2015 21:38:33 +0000 (23:38 +0200)]
Automatic translation import
Change-Id: Ifdbb2e2ab68d314f033b12c55fe96b845a3b194f
Michael Bestas [Mon, 2 Feb 2015 07:02:31 +0000 (09:02 +0200)]
New Material icon
* Created by Jovie Brett Bardoles
Change-Id: If061e56906567722550c230a8f8cfd87f90ba97d
morckx [Mon, 19 Jan 2015 09:22:46 +0000 (10:22 +0100)]
Eleven: Fix crash in LetterTileDrawable
- Make sure that the title string is not empty.
Change-Id: Ifa4b4f916f476519ecef19629e5b9d33ac0642e1
Signed-off-by: morckx <morckx@gmail.com>
linus_lee [Tue, 6 Jan 2015 23:20:28 +0000 (15:20 -0800)]
Eleven: Fix LocalizedSongSort - Missed Collate keyword
Change-Id: Ief86b3fea672bcc498a4560fab40486657cc2751
linus_lee [Mon, 5 Jan 2015 22:01:36 +0000 (14:01 -0800)]
Eleven: Fix equalizer not pausing, action bar hiding and 1px equalizer on xxhdpi
1) Equalizer was not pausing because HomeActivity onSlide wasn't calling super.onSlide
2) Action bar hiding - the hiding/showing of the action bar was ripped out in materialize but was
missing in one spot so in some sceanrios we were hiding it and never showing it again
3) the 1px equalizer fuzz was really bothering me especially since it showed while paused
Change-Id: I47475e3ea724fa460125c753fb64ec2dd7f095d5
Danny Baumann [Fri, 19 Dec 2014 12:42:57 +0000 (13:42 +0100)]
Make buttons more touch friendly.
Do this by replacing margins and empty space around buttons by padding.
Doing this also makes the ripple touch feedback look better.
Change-Id: I7f2e933b9f7b481c9456f56860483c2e5e96b67b
linuxx [Wed, 10 Dec 2014 17:25:02 +0000 (18:25 +0100)]
Eleven: materialize
-Material Ui theme
-New launcher icon
-Better tabs
Change-Id: I712ac2eb5256841cf89d198eed775ce8afe9d09c
linus_lee [Tue, 23 Dec 2014 01:18:39 +0000 (17:18 -0800)]
Eleven: Show error message for corrupt tracks (additional codepaths)
Add showing error message for code paths where the media player fails gracefully
Unfortunately adding the logic to remove the bad track is not trivial because the
removeTracks logic automatically does other things to try to go to the next track.
For now I will leave the logic so that it goes on to the next track and make a note
on the music service rewrite notes to cover this scenario as well.
Change-Id: Ib7ae5ce7819b15cdb3ada4995bc0734ab2d9b0a2
linus_lee [Tue, 23 Dec 2014 03:15:31 +0000 (19:15 -0800)]
Eleven: Add some caching logic to BitmapWithColors for perf optimization
Change-Id: I9fe5e83b9b1b5bb8ca24978436ed371eec2db399
linus_lee [Fri, 19 Dec 2014 19:10:06 +0000 (11:10 -0800)]
Eleven: Make sure we have vibrant colors for all default colors
Change-Id: I4be163e75fc35d3b139439c504d769d17d980ace
solk2 [Fri, 12 Dec 2014 09:35:12 +0000 (11:35 +0200)]
Eleven: Add missing metadata keys for Avrcp.
Change-Id: I7201838cf65b6b1edcf2aee0284e31bdafaf42ca
Danny Baumann [Fri, 12 Dec 2014 14:57:58 +0000 (15:57 +0100)]
Improve notification UX.
- Add a proper notification icon (courtesy of Joey Rizzoli)
- Use separate notification modes to allow the user to dismiss the
notification when music isn't playing.
- Always show notification regardless whether an activity is in
foreground to ensure the notification doesn't pop up out of the blue
when ending playback inside the app and leaving it afterwards.
- Keep notification timestamp constant when updating it
Change-Id: I2fa9a56ff31ab2874d6d96786e6b80695397702b
Rajesh Yengisetty [Tue, 16 Dec 2014 22:55:02 +0000 (22:55 +0000)]
Merge "Eleven: Remove tracks that give problems from the queue and warn" into cm-12.0
linus_lee [Mon, 15 Dec 2014 21:58:18 +0000 (13:58 -0800)]
Eleven: Remove tracks that give problems from the queue and warn
Instead of playing the tracks over and over, remove it from the queue
Also pop up a warning if the music player is active
Change-Id: I1d4e5a049b69de381f1a7f86ce2b837449bc378f
Konsta [Sun, 14 Dec 2014 12:03:53 +0000 (14:03 +0200)]
Eleven: Add more missing mdpi/hdpi/xhdpi drawables
And remove couple of unused drawables while at it.
Change-Id: I9973c625e1f0922cf9f1c91729409a2a1dc0a83c
Konsta [Sat, 13 Dec 2014 13:13:35 +0000 (15:13 +0200)]
Eleven: Add missing mdpi/hdpi/xhdpi drawables
Fix crash on builds that don't include xxhdpi drawables.
Change-Id: I4b90575939f0b7f696279ec6353f6c91fcc1f9f4
Rajesh Yengisetty [Sat, 13 Dec 2014 01:19:00 +0000 (01:19 +0000)]
Merge "Eleven: Fix crash when launching a song from file manager" into cm-12.0
Linus Lee [Fri, 12 Dec 2014 23:27:16 +0000 (23:27 +0000)]
Merge "Update Notification background color" into cm-12.0
linus_lee [Fri, 12 Dec 2014 20:37:34 +0000 (12:37 -0800)]
Eleven: Fix default art color in notification
The key being passed in did not match in some cases causing this problem
Change-Id: Ibbd985d6f0fb0ff3fb90908481f8180715cf2ec7
Linus Lee [Fri, 12 Dec 2014 19:09:56 +0000 (19:09 +0000)]
Merge "EqualizerView: don't compute log(0)" into cm-12.0
Danny Baumann [Fri, 12 Dec 2014 16:43:35 +0000 (17:43 +0100)]
Fix IndexOutOfBoundsException.
Backtrace:
E/AndroidRuntime(23398): Caused by: java.lang.IndexOutOfBoundsException:
Invalid index 0, size is 0
E/AndroidRuntime(23398): at
java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255)
E/AndroidRuntime(23398): at
java.util.ArrayList.get(ArrayList.java:308)
E/AndroidRuntime(23398): at
com.cyanogenmod.eleven.loaders.SortedCursor.getExtraData(SortedCursor.java:120)
E/AndroidRuntime(23398): at
com.cyanogenmod.eleven.loaders.SongLoader.loadInBackground(SongLoader.java:114)
E/AndroidRuntime(23398): at
com.cyanogenmod.eleven.loaders.SongLoader.loadInBackground(SongLoader.java:40)
E/AndroidRuntime(23398): at
com.cyanogenmod.eleven.sectionadapter.SectionCreator.loadInBackground(SectionCreator.java:69)
E/AndroidRuntime(23398): at
com.cyanogenmod.eleven.sectionadapter.SectionCreator.loadInBackground(SectionCreator.java:30)
E/AndroidRuntime(23398): at
android.support.v4.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:242)
E/AndroidRuntime(23398): at
android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:51)
E/AndroidRuntime(23398): at
android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:40)
E/AndroidRuntime(23398): at
android.support.v4.content.ModernAsyncTask$2.call(ModernAsyncTask.java:123)
E/AndroidRuntime(23398): at
java.util.concurrent.FutureTask.run(FutureTask.java:237)
Change-Id: Ief99bf8b761bcdbccbcaefed6f54aa57e0ba9fbb
Andrew Neal [Wed, 10 Dec 2014 09:51:42 +0000 (10:51 +0100)]
Update Notification background color
This change uses Palette to update Apollo's Notification background
color based on the current artwork.
It also removes the timestamp from the Notification.
Change-Id: I6a292839c223bf9d165e9c90724194eae6ca343c
Pawit Pornkitprasan [Fri, 12 Dec 2014 08:09:20 +0000 (15:09 +0700)]
EqualizerView: don't compute log(0)
Because log(0) is undefined (turns out to be -
2147483008.000000)
and that crashses on 480x800 hdpi
Change-Id: I41956944497c83214ee8e8378bc0924171633f21
linus_lee [Fri, 12 Dec 2014 01:35:37 +0000 (17:35 -0800)]
Eleven: Fix crash when launching a song from file manager
There are some asycnhronous issues with interacting the service
This should protect it a bit better and fixes the crash for me
Change-Id: Ib50be1ca50badb83e8c206e01362a3971d050c1f
linus_lee [Fri, 12 Dec 2014 01:06:59 +0000 (01:06 +0000)]
Merge "Add improved localized sorting (similar to contacts sorting) to Eleven" into cm-12.0
linus_lee [Thu, 4 Dec 2014 20:30:29 +0000 (12:30 -0800)]
Add improved localized sorting (similar to contacts sorting) to Eleven
Change-Id: I6d06f9e6974a2dc178445ca71c7c7f1355e00804
linus_lee [Thu, 11 Dec 2014 21:10:07 +0000 (13:10 -0800)]
ELeven: Show notifications only when outside music app and have a linger timer
If you played music recently and leave the app it'll still show the notification now
for up to 5 minutes
Change-Id: I530c548bd4e3b8cf458341b068d78b54f1528b2c
Rajesh Yengisetty [Thu, 11 Dec 2014 20:19:06 +0000 (20:19 +0000)]
Merge "Eleven: fix default image not showing up in queue fragment" into cm-12.0
linus_lee [Thu, 11 Dec 2014 02:00:54 +0000 (18:00 -0800)]
Eleven: Make the Equalizer button a bit smarter
First check if the intent can resolve properly
Secondly start for result to make some MusicFX apps work
Change-Id: Id9b597d0a3881ad7a433a0d39383dddc94b9e3fc
linus_lee [Thu, 11 Dec 2014 19:03:45 +0000 (11:03 -0800)]
Eleven: Fix exception when leaving Eleven with nothing in the queue
It is possible for things to post to a handler even after the service has been destroyed
Fix is to shutdown the handlerthread in the onDestroy
Also set the subtitle text to alpha of 0 to not show on first launch
Change-Id: I76b5f4c4bc8a114660ced042ab02089bf279accb
linus_lee [Wed, 10 Dec 2014 21:49:25 +0000 (13:49 -0800)]
Eleven: fix default image not showing up in queue fragment
SquareImageView and the LetterTileDrawable doesn't work well together
Since this image has fixed dimensions we don't need SquareImageView anyways
Change-Id: I8dcac7b3170af227f39d6d6333ff7d0497592bf9
Danny Baumann [Wed, 10 Dec 2014 09:41:51 +0000 (10:41 +0100)]
Use L's new notification and media session API.
Change-Id: Ic9e7facdfa7213439b168a915ac9f2e8afc0a252
linus_lee [Tue, 9 Dec 2014 21:12:25 +0000 (13:12 -0800)]
Add Notice and Apache2 Module
Change-Id: I34906e2e169f3ab44eb5fc5a9215aea7cb89856f
linus_lee [Fri, 21 Nov 2014 00:39:38 +0000 (16:39 -0800)]
Update Eleven headers and namespace for open source
Change-Id: I82caf2ebf991998e67f546ff2ac7eaf2b30dc6be
linus_lee [Thu, 27 Nov 2014 02:20:29 +0000 (18:20 -0800)]
Eleven: Switch default artist and album to a more colorful version
Also fixed a bug where playlist worker tasks were running more than necessary
Removed the picker to fetch images from internet
because last.fm is removed for now
Change-Id: Ice438ac650d8b7be0c275f8270af13086e6568d6
linus_lee [Wed, 26 Nov 2014 02:13:15 +0000 (18:13 -0800)]
Eleven: Make album art show up more consistently in shuffle and not repeat
A more complete fix needs a music service rewrite - I've tried to find a
complete solution that doesn't need a rewrite but cannot figure out a good one
For now this will make all of them but the first one of the next round show up
https://cyanogen.atlassian.net/browse/MUSIC-189
Change-Id: Idd64754001a679cf9a9b16f71d285e0fb4dd1b6d
linus_lee [Wed, 19 Nov 2014 20:47:04 +0000 (12:47 -0800)]
Eleven: Add Lyric (srt) support
https://cyanogen.atlassian.net/browse/MUSIC-186
Change-Id: I8fec1c61d69dca06be30ccebf9c996d7fac2ae75
linus_lee [Tue, 4 Nov 2014 01:18:35 +0000 (17:18 -0800)]
Eleven: Fix playlist reordering not working after awhile
Still trying to find the root cause (if it is Eleven or external)
but this will find the errors and fix it after the fact
https://cyanogen.atlassian.net/browse/MUSIC-179
Change-Id: Iaa3e27522aefc656f37ff7e727e9129c1a07f12e
linus_lee [Thu, 20 Nov 2014 01:52:53 +0000 (17:52 -0800)]
Eleven: Add equalizer visualization
Change-Id: I9a3112cf4138e916ed53571236e54b67c30b53c4
linus_lee [Tue, 25 Nov 2014 00:32:28 +0000 (16:32 -0800)]
Eleven: fix play icon on l
useLevel is flipped on L apparently and we need it for drawing Rings, so define it explicitly
Change-Id: If31b250d439961e48b77432a845d88bce1ba5e91
Rohit Yengisetty [Wed, 22 Oct 2014 23:32:26 +0000 (16:32 -0700)]
Eleven - Introducing the ability to filter a list items into two - localizable
and non-localizable based on a specified attribute of the item.
Udpating the SongFragment and ArtistFragment to list localizable songs
towards the top, while pushing the others towards the bottom of the list.
Also, updated the section creator logic to *not* create sections for the non-
latin named songs.
https://cyanogen.atlassian.net/browse/MUSIC-73
Change-Id: I5aaa98ae4312a9f1d142a48aaf025bdbc7e0150b
Conflicts:
src/com/cyngn/eleven/loaders/AlbumLoader.java
src/com/cyngn/eleven/loaders/ArtistLoader.java
src/com/cyngn/eleven/loaders/SongLoader.java
linus_lee [Thu, 20 Nov 2014 22:22:16 +0000 (14:22 -0800)]
Eleven: Import Strings from
ffcceded7af224ffefeaec3043a130d286a6f238
Change-Id: I69af29fa4a64fdad2610f68035dbc16d7b5a8688
linus_lee [Wed, 19 Nov 2014 22:45:48 +0000 (14:45 -0800)]
Eleven: Remove download from settings until we have alternative
Missed this in my previous change
3f2f46ae264b6b100e4095b39af0b2550f743cd0
Change-Id: I82e1f51e19200bb4c308584f9fa809020bbe8649
linus_lee [Thu, 6 Nov 2014 00:14:44 +0000 (16:14 -0800)]
Eleven: Remove irrelevant options when queue is empty
https://cyanogen.atlassian.net/browse/MUSIC-182
Change-Id: Ie6aace33c27009bd93c512a4bc1b5ccbe49b68f1
linus_lee [Tue, 18 Nov 2014 19:22:07 +0000 (11:22 -0800)]
Eleven: Remove last.fm artwork calls until we find an alternative
Change-Id: I091c1054a8455cc70ddb4a6a68e0c125c5e04c59
linus_lee [Wed, 5 Nov 2014 01:52:36 +0000 (17:52 -0800)]
Eleven: Make the adapter changes refresh not jump to the top of the list
https://cyanogen.atlassian.net/browse/MUSIC-122
https://cyanogen.atlassian.net/browse/MUSIC-130
Change-Id: I6216a84eb13d47b1b6a68fef2b698efebf677d9f
Wilhelm Fitzpatrick [Mon, 3 Nov 2014 22:30:09 +0000 (14:30 -0800)]
Eleven: changed AlbumAdapter to use padding for header/footer spacing
Addresses https://cyanogen.atlassian.net/browse/MUSIC-145 and also fixes
regression where AlbumFragment was not displaying the "no music" view
when no music was available.
Change-Id: I89dddb99f396b0560106edc20236cf6754446691
Raj Yengisetty [Tue, 4 Nov 2014 18:59:53 +0000 (10:59 -0800)]
Eleven: Fix cursor finalized prior to close warning messages
https://cyanogen.atlassian.net/browse/MUSIC-152
Change-Id: I7b3425621700fcb334ff4d4e0cc54c9994fda420
Rohit Yengisetty [Mon, 3 Nov 2014 20:20:34 +0000 (12:20 -0800)]
Eleven - Changing the color of the Notification divider line to blue.
Also increasing the inactivity-timeout of the notification to 5
minutes.
https://cyanogen.atlassian.net/browse/MUSIC-160
https://cyanogen.atlassian.net/browse/MUSIC-177
Change-Id: If4c6a961fbec4dd8be43e6c7ba25a42488e70afb
linus_lee [Mon, 3 Nov 2014 20:02:24 +0000 (12:02 -0800)]
Eleven: Fix a slight regression with the blur image loading too often
Not exactly a regression, but some code cleanup that removed duplicate logic exposed this issue
Basically when a worker task completes, it is possible the AsyncTaskContainer will not have a
reference to it anymore, so store the key separately in case
https://cyanogen.atlassian.net/browse/MUSIC-180
Change-Id: I0757133f18758901fee00e3210472b2c1a206ab8
linus_lee [Fri, 31 Oct 2014 23:54:38 +0000 (16:54 -0700)]
Eleven - Fix the PlaylistDetailFragment crash
https://cyanogen.atlassian.net/browse/MUSIC-154
Change-Id: Ifd27b231b0d98df0133f961c0b4bcd5a7c0dfbbc
linus_lee [Fri, 31 Oct 2014 00:25:09 +0000 (17:25 -0700)]
Eleven: Fix some bugs around the blur drawable not loading
I found three main bugs after some painful investigation
1) The stored key was different from the task key causing the check to always
return false, meaning the blurtask was always cancelled. If we tried to load
the same album music 3 times in a row, the blur image will always re-kick off
even though they are the same image
2) Images don't load while scrolling for perf reasons, and for the lists,
the adapters are notified on scroll stop, but the blur image/album art pager/
bottom album art aren't
3) This was the winner - so if we load an image followed by two default images
on the 2nd default image we create the transition drawable but don't set it into
the blur image because it is a duplicate. Inside the transition drawable it takes
the drawable and sets the listener to the transition drawable, so even if though we
don't set it into the imageview, the 1st transition drawable now isn't hooked up properly
and if this happens while the application isn't in the foreground then you can come back
and the transition drawable wouldn't have fired off
https://cyanogen.atlassian.net/browse/MUSIC-173
https://cyanogen.atlassian.net/browse/MUSIC-138
Change-Id: I9f99273bfcfe328179849f2131d4b1b2c98ca088
linus_lee [Thu, 30 Oct 2014 19:28:36 +0000 (12:28 -0700)]
Eleven: Fix Play next to work as expected
https://cyanogen.atlassian.net/browse/MUSIC-66
https://cyanogen.atlassian.net/browse/MUSIC-156
Change-Id: Ia3f7305ccdc7811246f205f52c739e60d408a4ed
linus_lee [Fri, 31 Oct 2014 20:16:37 +0000 (13:16 -0700)]
Eleven: Fix perf for rearranging a very long list
The scroller would want to scroll through the list too quickly and the logic
would execute too much logic during the layout phase - for now just cap the max
scroll speed
https://cyanogen.atlassian.net/browse/MUSIC-174
Change-Id: I61ac30feb43afe672a8a38637b97ee622e332268
Wilhelm Fitzpatrick [Thu, 30 Oct 2014 00:05:59 +0000 (17:05 -0700)]
Eleven: deal with crashes/bad behavior when music files are deleted externally
https://cyanogen.atlassian.net/browse/MUSIC-163
Change-Id: Icb35ed12e6e71dc4ea57b9eb63fba89f7471ebc4
linus_lee [Thu, 30 Oct 2014 20:56:25 +0000 (13:56 -0700)]
Eleven: Fix action bar not updating when deleting a content
calling fragment remove doesn't incur a backstack changed even if it
is the top most fragment, so call popbackstack instead
https://cyanogen.atlassian.net/browse/MUSIC-169
Change-Id: I56314f61033013b736d7ce11178f2a92b52606a2
linus_lee [Tue, 28 Oct 2014 23:03:47 +0000 (16:03 -0700)]
Eleven: some perf improvements mainly when interacting with the widget
The main culprit is passing large default artwork to the remote views
It also appears that the events from the service may fire multiple times but
fixing that is not a small change - for now cache some of the heavier operations
instead
https://cyanogen.atlassian.net/browse/MUSIC-120
Change-Id: I8bbb10357c9d7d1c01ef5e7627efdf8e9b956421
linus_lee [Wed, 29 Oct 2014 23:16:10 +0000 (16:16 -0700)]
Eleven: Make Images load a bit faster
Load the images while the user is touching but not flinging
I tried a more in-depth solution by listening to the scroll listener
but you could see the scroll chop at the end. Probably looking into
loading an image per frame will be the only way to solve this route, but
I'm putting that on the backburner for now
https://cyanogen.atlassian.net/browse/MUSIC-86
Change-Id: I136688c6b6c380afcb34df0f7a7d6fc180da426c
Rohit Yengisetty [Fri, 31 Oct 2014 18:25:06 +0000 (11:25 -0700)]
Eleven - Remember the 'Shuffle' setting when switching playlists.
https://cyanogen.atlassian.net/browse/MUSIC-158
Change-Id: I2b7bec0e68e4976e020bea55e0c6ffbe338c01aa
Rohit Yengisetty [Tue, 28 Oct 2014 15:58:22 +0000 (08:58 -0700)]
Eleven - Modified HomeActivity#onNewIntent to handle media play
requests correctly. Also, transferred the playback control logic from
AudioPlayerFragment to HomeActivity.
https://cyanogen.atlassian.net/browse/MUSIC-4
Change-Id: I1abaa0be6d3a52526ff428b7eef6712e4d751119
Rohit Yengisetty [Thu, 30 Oct 2014 21:05:32 +0000 (14:05 -0700)]
Eleven - Modifying the removal behavior in Play Queue. Only the
selected song is removed from the list.
https://cyanogen.atlassian.net/browse/MUSIC-135
Change-Id: I2a1d89411891358207aa47930613574ba79e36e6
linus_lee [Thu, 30 Oct 2014 20:27:10 +0000 (13:27 -0700)]
Eleven: Handle partially downloaded images more gracefully
If the server interrupts the connection, we don't get a signal but
we can tell based on the content length
Also modified the code to read more than 1 byte at a time
I was able to simulate a repro by forcing the download to quit part
way through
https://cyanogen.atlassian.net/browse/MUSIC-147
Change-Id: I925fb9cef41485b55219ec4d2443ba809c83bce2
Wilhelm Fitzpatrick [Wed, 29 Oct 2014 01:17:15 +0000 (18:17 -0700)]
Eleven: prevent clicks from "leaking through" frontmost fragment
https://cyanogen.atlassian.net/browse/MUSIC-133
Change-Id: If0d7472f5406e946b1d924d6e61512436504255a
Wilhelm Fitzpatrick [Wed, 29 Oct 2014 00:38:56 +0000 (17:38 -0700)]
Eleven: add null-check while scrolling fading fragment to avoid crash
By inspection, it appears getContainingActivity() might return null while
the fragment is being destroyed. Added a null check to prevent a crash in
this eventuality.
https://cyanogen.atlassian.net/browse/MUSIC-129
Change-Id: I534e427f1e0b04a7acd3cca1632717a2b06f4923
Rohit Yengisetty [Tue, 28 Oct 2014 00:50:38 +0000 (17:50 -0700)]
Eleven - Modified overflow / popup menus to be black text on white bg
https://cyanogen.atlassian.net/browse/MUSIC-110
Change-Id: I0a49177d5f263dfa706544d33b6b8897264e584e
linus_lee [Tue, 28 Oct 2014 19:12:06 +0000 (12:12 -0700)]
Eleven: Don't show unknown artist/album entries
https://cyanogen.atlassian.net/browse/MUSIC-117
Change-Id: I02aeca81f35fa3b2f013d01d11e7c5611f70b943
linus_lee [Tue, 28 Oct 2014 02:18:38 +0000 (19:18 -0700)]
Eleven: Translation import
Pull down
9ed0c65dffe6a17550be6e60fb6d57c42b7c49df
Change-Id: I04c4500ef245c9b148cdc9df1705584fdc8ea5cb
linus_lee [Tue, 28 Oct 2014 18:44:03 +0000 (11:44 -0700)]
Eleven: Add a resume check to fix the action bar
https://cyanogen.atlassian.net/browse/MUSIC-62
Change-Id: I3e8d1aa9b805a4f70e35e9882f2c63b7fa537c01
linus_lee [Tue, 28 Oct 2014 01:30:24 +0000 (18:30 -0700)]
Eleven: Make fastforward/rewind more reliable
Part of the logic was in the ui to control the fastforward/rewind
when there is no need, and the asynchronisity of it was causing problems.
This moves the logic for seeking all into the service so that the ui only
tells the service that it should rewind/fastforward, and by how much
https://cyanogen.atlassian.net/browse/MUSIC-167
Change-Id: Id7623a1a755c7b1346874bdcf64126123eafc7d1
linus_lee [Mon, 27 Oct 2014 21:37:42 +0000 (14:37 -0700)]
Eleven: Remove some dead code and make app widgets just open up home activity
https://cyanogen.atlassian.net/browse/MUSIC-62
Change-Id: Ia92ea39f4b528a5f3958a8ce6877b9dc420bb838
linus_lee [Mon, 27 Oct 2014 18:54:59 +0000 (11:54 -0700)]
Eleven: Update Strings and logic based on localization feedback
https://cyanogen.atlassian.net/browse/MUSIC-134
Change-Id: I08f7f60134ceb1b77e37b5a0d33481c1fd0dd747
Raj Yengisetty [Fri, 24 Oct 2014 22:57:06 +0000 (15:57 -0700)]
Eleven: Fix IndexOutOfBounds exception when shuffling or repeating
an recently emptied queue
https://cyanogen.atlassian.net/browse/MUSIC-164
Change-Id: I6a8e2ed2b905901c275ccb7acb290574b54229b9
linus_lee [Fri, 24 Oct 2014 23:56:18 +0000 (16:56 -0700)]
Eleven: Fix soft keyboard on pop up dialog
https://cyanogen.atlassian.net/browse/MUSIC-79
Change-Id: I006926d9cdfce69c11927281ae7d8c1fc459ba80
linus_lee [Fri, 24 Oct 2014 23:42:41 +0000 (16:42 -0700)]
Eleven: Update music note asset
https://cyanogen.atlassian.net/browse/MUSIC-141
Change-Id: I1ec8d6793a9ebf320607bad7945ef00961e7fd27
Wilhelm Fitzpatrick [Thu, 23 Oct 2014 21:28:18 +0000 (14:28 -0700)]
Eleven: ignore clicks on ArtistDetail header
https://cyanogen.atlassian.net/browse/MUSIC-126
Change-Id: Ic338b3fc6f60cfb830c38651019b0d77653e9a90
linus_lee [Fri, 24 Oct 2014 00:05:58 +0000 (17:05 -0700)]
Eleven: Fix top tracks to play the track you select
There was a trade-off where we don't update the toptracks list while you are looking at it
because each song play could change the order, but the caveat was playing a song wouldn't
necessarily play the song you want. The fix is to use the adapter's list and not re-query
the list
https://cyanogen.atlassian.net/browse/MUSIC-127
Change-Id: Iec882e156658c76986d365d6b2e5d16416aca9ac
Rohit Yengisetty [Tue, 7 Oct 2014 23:49:19 +0000 (16:49 -0700)]
Eleven: Change the divider lines on Play Queue to light (used to be dark)
https://cyanogen.atlassian.net/browse/MUSIC-70
Change-Id: Ic4a2d367ca3bddbaa4b90047977034093c7ba96c
Rohit Yengisetty [Thu, 23 Oct 2014 20:03:08 +0000 (13:03 -0700)]
Eleven - Fixing an issue in ArtistDetail page wherein the hero image
reverts to an unscaled version on subsequent onResume() calls. Also
taking the opportunity to DRY-up ImageWorker#loadImage methods.
To reproduce the bug :
1. load ArtistDetail for any artist (hero image should be scaled)
2. Turn screen off and then back on again
3. hero image should revert back to an unscaled state
Change-Id: I687b192f8480e2cfa628b8ad3f4cb4bdfa6945e9
Raj Yengisetty [Thu, 23 Oct 2014 23:07:04 +0000 (16:07 -0700)]
Eleven: Update UI when removing tracks from Playlist
Change-Id: If03d79b88f422b1b1b68c87386d2dfbc8c209ce9
Raj Yengisetty [Wed, 22 Oct 2014 20:45:23 +0000 (13:45 -0700)]
Eleven: Show scroll bar in PlaylistDetailFragment
https://cyanogen.atlassian.net/browse/MUSIC-124
Change-Id: I1c2c2be670bf78f8b77f7592ddcd4cd27959e608
Raj Yengisetty [Wed, 22 Oct 2014 00:38:40 +0000 (17:38 -0700)]
Eleven: Fix action bar spacing
https://cyanogen.atlassian.net/browse/MUSIC-45
Change-Id: I02f4b72db7176eb815610133b1dc4c9507c196d7
Wilhelm Fitzpatrick [Wed, 22 Oct 2014 22:45:11 +0000 (15:45 -0700)]
Eleven: show empty view in Now Playing when queue empty
Change-Id: I79be089bf35735e391032116c85dfa5b73019faf
Wilhelm Fitzpatrick [Thu, 23 Oct 2014 19:46:16 +0000 (12:46 -0700)]
Eleven: update assets for Now Playing screen with proper sizes
Change-Id: I45229ff75686963b89df9b3f69999089b75a0d20
Raj Yengisetty [Thu, 23 Oct 2014 02:23:20 +0000 (19:23 -0700)]
Eleven: Fix DropSortListView in the QueueFragment
https://cyanogen.atlassian.net/browse/MUSIC-162
Change-Id: I31d2242507431e82fc7278f6dcbe64057e034d13
Rohit Yengisetty [Wed, 22 Oct 2014 00:24:59 +0000 (17:24 -0700)]
Eleven - Fix MusicPlaybackSerivce to show the proper metadata when a
downloaded audio file is playing. A call to notify UI of a change in
the song metada was missing which consequently led to song information
not updating in the audio player UI. The ability to handle download
uri ("content://downloads/*") has been added.
The Jira ticket states that there itself isn't working, but
MediaPlayer was able to handle download uri and playback the audio
file. There was code missing to get audio info in such a case.
https://cyanogen.atlassian.net/browse/MUSIC-4
Change-Id: I2c642c337c42c28ac28237de5a655ee55b5b8d33
Raj Yengisetty [Wed, 22 Oct 2014 21:55:55 +0000 (14:55 -0700)]
Eleven: Album art in bottom header bar doesn't get updated when
changing tracks to a track without album art
https://cyanogen.atlassian.net/browse/MUSIC-65
Change-Id: I90342190a7cd07559d54ee059dfe406bf08bea73
Raj Yengisetty [Wed, 22 Oct 2014 22:12:36 +0000 (15:12 -0700)]
Eleven: Only enable proguard obfuscation on user builds
Change-Id: Ib0c0ad1ada0bd29fff594baaf6b4a77740485416
Raj Yengisetty [Wed, 22 Oct 2014 19:25:49 +0000 (12:25 -0700)]
Eleven: Fix NPE when updating positions in DragSortListView
https://cyanogen.atlassian.net/browse/MUSIC-134
Change-Id: I3b68ed44db25b9dfddccd067fca4c2da9b25da90
linus_lee [Wed, 22 Oct 2014 01:14:41 +0000 (18:14 -0700)]
Eleven: Pull in string resources and make tweaks
https://cyanogen.atlassian.net/browse/MUSIC-54
Change-Id: Iee081700c62073d803b94663553c527e70c5c0f2
Wilhelm Fitzpatrick [Tue, 21 Oct 2014 23:26:12 +0000 (16:26 -0700)]
Eleven: update queue icon
Change-Id: I0eb9ddd918fb6935786acf39e0dc6b283baec7bb
Wilhelm Fitzpatrick [Tue, 21 Oct 2014 22:56:18 +0000 (15:56 -0700)]
Eleven: Queue redlines and miscellanious
Update play queue to bring as close to redlines as possible. Also fixed
padding for section headers and a few other small details.
https://cyanogen.atlassian.net/browse/MUSIC-57
Change-Id: I21b8642ee9013f071081c7415af770cf60acbd6b
Wilhelm Fitzpatrick [Tue, 21 Oct 2014 00:52:10 +0000 (17:52 -0700)]
Eleven: redlines for ArtistDetail
https://cyanogen.atlassian.net/browse/MUSIC-57
Change-Id: I48484c5c01eaa7ff7da3037bf16437a91b9a45b7