OSDN Git Service
Alexander Martinz [Tue, 26 Feb 2019 21:44:47 +0000 (22:44 +0100)]
MusicUtils: handle exceptions and clean up
Change-Id: Iab3d71742ef16ac056ea6904b9c0a2454847b53b
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
Alexander Martinz [Tue, 26 Feb 2019 16:31:45 +0000 (17:31 +0100)]
ImageCache: add missing close call and cleanup
Change-Id: Id75ae226307c1045d2533e4f61443aee3d076c3e
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
Alexander Martinz [Tue, 26 Feb 2019 19:04:20 +0000 (20:04 +0100)]
DiskLruCache: update from upstream
Upstream: https://github.com/JakeWharton/DiskLruCache
Change-Id: I843bb554cb1118be7e67dad9547b04490b6351d2
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
Alexander Martinz [Tue, 26 Feb 2019 14:29:26 +0000 (15:29 +0100)]
VisualizerView: pull in updates from system implementation
Change-Id: I7c5b64bc6e601873ad7ff4f0a84416f316dd97ed
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
Alexander Martinz [Thu, 31 Jan 2019 17:08:07 +0000 (18:08 +0100)]
Remove hardcoded package name references
Change-Id: I9992994eb45c9e83dfa55b0a5277dce97afa26d3
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
Alexander Martinz [Thu, 31 Jan 2019 17:48:29 +0000 (18:48 +0100)]
Correct some lint warnings
Correcting lint issues such as:
- if -> switch
- unnecessary (un)boxing
- for / while -> foreach where appropriate
- remove unused imports
- remove obsolete SDK_INT checks
Change-Id: Icb7170b0564b9c1cf191a0a102d1babab61e2ec2
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
Alexander Martinz [Tue, 26 Feb 2019 19:54:02 +0000 (20:54 +0100)]
AndroidManifest: add Foreground Service permission
This is required since API 28 to be able to start services
in foreground.
Change-Id: Iae6dc836cfee9d1fc0231f54bb878a2b78dbb15e
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
Alexander Martinz [Tue, 26 Feb 2019 16:20:46 +0000 (17:20 +0100)]
Add BuildConfig to allow using gradle compile time fields
Change-Id: Id041904e356ee1e9205babbbbcaf31b2ffe9c3ef
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
Alexander Martinz [Wed, 30 Jan 2019 21:10:13 +0000 (22:10 +0100)]
Eleven: add initial gradle support
* add AndroidManifest without uses-sdk tags for gradle
as it recently started to complain a lot.
Change-Id: I91bc2ba73acdd13e6a0147bbca41323983bf8483
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
Alexander Martinz [Tue, 26 Feb 2019 17:31:06 +0000 (18:31 +0100)]
Get rid of icu4j dependency
Change-Id: I0eb134110fc6116a89600b6d343d775da2f13530
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
Alexander Martinz [Wed, 30 Jan 2019 23:25:50 +0000 (00:25 +0100)]
Popups: use AlertDialog instead of private APIs
Change-Id: Id6b4ee753cd498055b7cac0fe27b4e014e548d89
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
Alexander Martinz [Wed, 30 Jan 2019 22:25:12 +0000 (23:25 +0100)]
Remove some more private API usages
Change-Id: I4132779250fe955a7d0753167bb3921fa751c8aa
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
Alexander Martinz [Wed, 30 Jan 2019 22:05:12 +0000 (23:05 +0100)]
Localization: do not use private ICU APIs
Instead of using private ICU APIs for checking, if the ICU's version
has been updated, use the android sdk version.
It is safe to assume, that ICU version does not change randomly and if
then only on major Android version upgrades.
Change-Id: Ia348a5597aa472d44b766b869a31a3935723f210
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
Alexander Martinz [Wed, 30 Jan 2019 22:29:21 +0000 (23:29 +0100)]
Eleven: remove guava dependency
Pulling in guava just for an annotation, which is available in the
support library as well is a bad idea.
Change-Id: I0e02943616c41077071e4ccba9125c73fb574d3b
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
Alexander Martinz [Wed, 30 Jan 2019 21:13:39 +0000 (22:13 +0100)]
Eleven: remove junit dependency
We are just pulling in junit for an runtime assertion call
within a method, which is even unused.
Remove junit call and dependency but leave the unused method there
which will be rm -rf'ed in followup changes.
Change-Id: Ib71ac78f3e0bbabcb5b4acdaa34e853e39b616aa
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
Alexander Martinz [Thu, 31 Jan 2019 17:13:35 +0000 (18:13 +0100)]
LocaleChangeReceiver: check intent action
Without checking the intent action anyone could send spoofed intents with
empty or different action strings to trigger the BroadcastReceiver.
Change-Id: I4d78ed9d7466df47b17091e998cb67d46e98e612
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
Joey [Sun, 29 Jul 2018 13:32:11 +0000 (15:32 +0200)]
Eleven: bump to api26
Change-Id: Ib2099cf0852ce2194fbd1058ab74c0710746c7d8
Signed-off-by: Joey <joey@lineageos.org>
Michael W [Sun, 10 Mar 2019 23:21:25 +0000 (00:21 +0100)]
Automatic translation import
Change-Id: Idc4d91c39ae996e06ac3779c33c6e342b5ddcd29
Michael Bestas [Tue, 26 Feb 2019 17:00:47 +0000 (19:00 +0200)]
Automatic translation import
Change-Id: Ie591875e73193f295a656a9edd2d92f3592846ec
Michael Bestas [Sat, 12 Jan 2019 18:03:04 +0000 (20:03 +0200)]
Automatic translation import
Change-Id: I1d38c2728c5921752f9fc0a3cdd059a78a1a577d
LuK1337 [Wed, 10 Oct 2018 16:26:40 +0000 (18:26 +0200)]
Eleven: Fix crash after receiving media button intent
* Since eleven is not allowed to launch background services
we need to use ctx.startForegroundService().
Change-Id: Id8eea0f43c3fec982dc14ee289229793ab908739
Anton Hansson [Wed, 21 Feb 2018 14:11:44 +0000 (14:11 +0000)]
Eleven: Set LOCAL_PRIVATE_PLATFORM_APIS
This change sets LOCAL_SDK_VERSION for all packages where
this is possible without breaking the build, and
LOCAL_PRIVATE_PLATFORM_APIS := true otherwise.
Setting one of these two will be made required soon, and this
is a change in preparation for that. Not setting LOCAL_SDK_VERSION
makes the app implicitly depend on the bootclasspath, which is
often not required. This change effectively makes depending on
private apis opt-in rather than opt-out.
Bug:
73535841
Change-Id: Iabb0556dc1c80c7fc7f6c76d61d5e441b03cdce0
Michael Bestas [Mon, 9 Jul 2018 19:03:04 +0000 (22:03 +0300)]
Automatic translation import
Change-Id: I4da9a9b99fcf246733985128f4e96534242d48eb
Matthias Yzusqui [Fri, 6 Apr 2018 09:57:43 +0000 (11:57 +0200)]
Eleven: Catch unsupported bitmap exception
Android's renderscript allocation class only supports creating
elements from ALPHA_8, ARGB_4444, ARGB_8888 and RGB_565 bitmaps.
Change-Id: Ib3e40755e7eacd9725b97ae9ab4bde34c6eec70d
Michael Bestas [Tue, 8 May 2018 16:46:45 +0000 (19:46 +0300)]
Automatic translation import
Change-Id: I019df241f92e6f264dc501dd64717ee3a33802d9
Joey [Fri, 30 Mar 2018 14:46:04 +0000 (16:46 +0200)]
Eleven: fix card styles... 2 years later
This style was just an experiment and it was
never supposed to be shipped (
120fc6d ).
Change-Id: I302ded8c0ca6e6fdc4b0de6eba489531cda43015
Signed-off-by: Joey <joey@lineageos.org>
Joey [Fri, 30 Mar 2018 14:12:44 +0000 (16:12 +0200)]
Eleven: update accent color to match new icon
Change-Id: I60a4ba91d801a28894f28807ec27765cf1c488af
Signed-off-by: Joey <joey@lineageos.org>
Joey [Fri, 30 Mar 2018 14:09:35 +0000 (16:09 +0200)]
Eleven: build with AAPT2
Change-Id: I967de35845d1b99508ec1eef6151a63b9b174120
Signed-off-by: Joey <joey@lineageos.org>
Matthias Yzusqui [Sun, 4 Mar 2018 18:45:04 +0000 (19:45 +0100)]
Eleven: default android animations for activities and fragments
- use the default android 'slide-up + fade-in' animation for activities
- get rid of the custom fade_out animation for fragments as it is causing
a buggy double close effect.
Change-Id: I597985b11a35e2a3d0e6c764aa09d26e97a24b70
Matthias Yzusqui [Tue, 20 Mar 2018 21:14:28 +0000 (22:14 +0100)]
Eleven: fix genres not updating for subsequent albums
use restartLoader as subsequent calls to initLoader will reuse the
previous loader and its data (i.e. previous queried genre).
Change-Id: I6761f6aeb61d066aec0876062f3da88cce0b56a5
Michael Bestas [Sun, 1 Apr 2018 19:32:02 +0000 (22:32 +0300)]
Automatic translation import
Change-Id: I44bb455c2ccde3f125d3bbe388e96f1f84ec75e3
Michael Bestas [Thu, 8 Mar 2018 22:35:13 +0000 (00:35 +0200)]
Automatic translation import
Change-Id: I9710ba15de589c0ddb204dc2f2bb65e442b919d8
Michael Bestas [Sun, 25 Feb 2018 20:03:23 +0000 (22:03 +0200)]
Automatic translation import
Change-Id: I6fc0310502a2fd2fb454b4859d879525d824f6d5
Michael Bestas [Thu, 22 Feb 2018 01:48:51 +0000 (03:48 +0200)]
Automatic translation import
Change-Id: I2f221423bd2933c3b51a9245ebee7232952aa5bb
Asher Simonds [Mon, 12 Feb 2018 09:30:08 +0000 (10:30 +0100)]
Eleven: adaptive icon
Change-Id: I2c9f883489b068dbce3946ffa12a12d38f276c8a
Signed-off-by: Joey <joey@lineageos.org>
Joey [Thu, 25 Jan 2018 11:16:58 +0000 (12:16 +0100)]
Eleven: define app category
Change-Id: Icfe797fa15fffa03be6f19edd5e57b6ad661b2c2
Signed-off-by: Joey <joey@lineageos.org>
Michael Bestas [Mon, 22 Jan 2018 19:13:17 +0000 (21:13 +0200)]
Eleven: Remove obsolete references to cyngn jira tickets
Change-Id: Iaaf59d22665920a9fc30c88bf5fb1387f350de81
Michael Bestas [Mon, 22 Jan 2018 19:09:58 +0000 (21:09 +0200)]
Eleven: Complete Apollo rebrand.
* Fix remaining Apollo references
Change-Id: I7f0efcec2658f22467ba8aa5e08e7022bedfab1b
Michael Bestas [Mon, 22 Jan 2018 19:06:57 +0000 (21:06 +0200)]
Eleven: rebrand step 2: update file contents
Change-Id: Ib99317dbf3b1f91222461d6c1fd1b3568268e3af
Michael Bestas [Mon, 22 Jan 2018 19:02:42 +0000 (21:02 +0200)]
Eleven: rebrand step 1: update paths
Change-Id: Iab35e4024e20c48e7439e78d1c6efe0ef4f730ca
Paul Duffin [Tue, 13 Jun 2017 11:28:59 +0000 (12:28 +0100)]
Fix dependencies of packages that target earlier releases
A previous change added legacy-android-test as a static dependency to
all packages that build against the current, test_current or
system_current and failed to compile when the junit and android.test
classes were removed from the API. Unfortunately, those changes did not
take into account that some of those packages target earlier API
versions and so will always have the classes available at runtime.
Bug:
30188076
Test: make checkbuild and ran a sample of tests
Change-Id: I78863420bcfd401b63b35ef5a9252024d1550b27
Signed-off-by: Adrian DC <radian.dc@gmail.com>
Abhisek Devkota [Sat, 16 Dec 2017 19:33:21 +0000 (11:33 -0800)]
Automatic translation import
Change-Id: I976f5acb811c4d61b418191d40d87122f35fdaf1
Abhisek Devkota [Tue, 12 Dec 2017 05:55:22 +0000 (21:55 -0800)]
Automatic translation import
Change-Id: I689fe018985be92f46c14ddcc8c6fc40bc5195d1
Gabriele M [Sun, 1 Oct 2017 16:37:38 +0000 (18:37 +0200)]
Eleven: Fix potential NPE when media server crashes
If the service doesn't exist when the media server crashes, Eleven
will crash when creating the TrackErrorInfo object. The SERVER_DIED
message is processed only when the service is not null, so just
ignore the MEDIA_ERROR_SERVER_DIED message if service is null.
BUGBASH-1045
Change-Id: Idaf3e238eefd412ebb85244b48ad7b20bc049ff0
Gabriele M [Sat, 23 Sep 2017 17:06:04 +0000 (19:06 +0200)]
Eleven: Don't use a sticky service
If the user removes Eleven from recents while the service is active
in background with nothing being played, the service is immediately
restarted and the notification re-created, even if there wasn't one.
Since the service doesn't resume music playback when restarted after
being killed because of OOM, there's really no point in using a sticky
service, so just switch to a non-sticky service.
Change-Id: I2a14176e60f535981a27af3536bd89b6d443d20e
Michael Bestas [Sat, 30 Sep 2017 15:37:05 +0000 (18:37 +0300)]
Remove obsolete values-be translations
* values-be-rBY is used now
Change-Id: I1ca35f08b484e447d6298d46b83c1a348240ab8a
Abhisek Devkota [Mon, 18 Sep 2017 18:47:53 +0000 (11:47 -0700)]
Automatic translation import
Change-Id: If43ca98626cf8214863106c1b47fc9cd95fe707b
Gabriele M [Sun, 17 Sep 2017 20:56:54 +0000 (22:56 +0200)]
Eleven: Create one cursor per background task
If we call loadInBackground() twice we will have conflicts since
the two threads will share the cursor. The cursor is only used by
loadInBackground(), there's no need to have a class member for it,
so just keep it in a local variable to prevent conflicts.
BUGBASH-1045
Change-Id: Id484bee852d886c3a49ec8c84ef821f969db9a54
Sultanxda [Sat, 6 May 2017 07:58:11 +0000 (00:58 -0700)]
Eleven: Fix restoring user settings
*Fix saved repeat-mode and shuffle-mode settings not being restored
Change-Id: I7ebf1d3e17c00236eb2dd6cf504a76f1dba4ee19
Abhisek Devkota [Sat, 19 Aug 2017 22:34:31 +0000 (15:34 -0700)]
Automatic translation import
Change-Id: I1751e5618ee0758086641816bdc1f6c2158f6da2
Abhisek Devkota [Fri, 4 Aug 2017 05:46:53 +0000 (22:46 -0700)]
Automatic translation import
Change-Id: Ic08ec3ac8f84bc44a07017015c32af3caf59d07a
Arne Coucheron [Sun, 30 Jul 2017 22:17:51 +0000 (00:17 +0200)]
Eleven: Add WRITE_MEDIA_STORAGE permission
Change-Id: I492be9ef16abd0ac5ed2bfc92e792b329768609f
Arne Coucheron [Sat, 29 Jul 2017 22:22:24 +0000 (00:22 +0200)]
Eleven: Promote to privileged app
Eleven needs privileges to delete files on external storage.
Change-Id: Ie720f7e1856f22bea21aacf0a4e5e0d63d6f0b8e
Tetsuo Osaka [Wed, 24 May 2017 12:34:57 +0000 (14:34 +0200)]
Eleven: allow artwork to scale down
when not enough vertical space is available
for controls and artwork in player view
Change-Id: If8cc0957b096d3bd7630668b25afcc89e2f69778
Abhisek Devkota [Fri, 28 Jul 2017 02:52:47 +0000 (19:52 -0700)]
Automatic translation import
Change-Id: I9543d204c5842b0585883719e8abcdcde8a49365
Abhisek Devkota [Sat, 22 Jul 2017 19:41:48 +0000 (12:41 -0700)]
Automatic translation import
Change-Id: Ic5bc9af07f22e0169ea8731d83a4c5bc1fc8a294
Abhisek Devkota [Sat, 1 Jul 2017 05:06:33 +0000 (22:06 -0700)]
Automatic translation import
Change-Id: I8fd0975139bc04d09ed3164ec27c8f1647200f00
Demon000 [Sat, 24 Jun 2017 13:49:39 +0000 (16:49 +0300)]
Eleven: request record audio permission for visualizer
Visualizer needs audio recording permission.
* set visualizer to disabled by default
* ask for audio recording permission when visualizer is enabled
* fix a case where visualizer visibility would be set multiple times in a row
* if visualizer is enabled but audio recording permission is not granted
ask for it when the audio player fragment gets focus
Change-Id: I2c175915cc686ce37e6e94d113e767a75ef68492
Arne Coucheron [Mon, 12 Jun 2017 22:37:07 +0000 (00:37 +0200)]
Eleven: Remove unused permission REAL_GET_TASKS
Change-Id: I252573e3fdf8185b2d514ea0c2a91b129cbfeef1
Abhisek Devkota [Thu, 18 May 2017 05:22:38 +0000 (22:22 -0700)]
Automatic translation import
Change-Id: Ibc319d97802047dba2716a1309072785061e6de2
Abhisek Devkota [Thu, 20 Apr 2017 19:08:19 +0000 (12:08 -0700)]
Automatic translation import
Change-Id: Id723f4dc80e524e8d748c5aa8cf30957cf22bb69
Abhisek Devkota [Wed, 29 Mar 2017 21:25:12 +0000 (14:25 -0700)]
Automatic translation import
Change-Id: I8be5db2787008c64825a41476fa8535d9e0618c6
Abhisek Devkota [Mon, 20 Mar 2017 20:54:26 +0000 (13:54 -0700)]
Automatic translation import
Change-Id: Icfb4287533a372de6ed71f73bc471db493739eaf
Abhisek Devkota [Wed, 15 Mar 2017 20:36:55 +0000 (13:36 -0700)]
Automatic translation import
Change-Id: I9e54f6051072149cf010135153709596a927cb93
Abhisek Devkota [Wed, 8 Mar 2017 22:04:28 +0000 (14:04 -0800)]
Automatic translation import
Change-Id: I76021f8b98378291368915015a029866720d06b9
Michael W [Thu, 2 Mar 2017 14:44:41 +0000 (15:44 +0100)]
Automatic translation import
Change-Id: Icff91d3ae6a4c0f9902513571d06ecfef02b2201
Abhisek Devkota [Fri, 24 Feb 2017 03:16:38 +0000 (19:16 -0800)]
Automatic translation import
Change-Id: I9f2701604c6bcc2064e374f2c958aff1af7463d3
Abhisek Devkota [Thu, 16 Feb 2017 18:42:01 +0000 (10:42 -0800)]
Automatic translation import
Change-Id: I6a6e9ac2f949845ebabb3f49b0e0db526d0e36e1
Abhisek Devkota [Tue, 14 Feb 2017 01:37:07 +0000 (17:37 -0800)]
Automatic translation import
Change-Id: I1031ea77645a92c10d1bdd3b38b56d56090a239d
Abhisek Devkota [Sat, 11 Feb 2017 20:42:12 +0000 (12:42 -0800)]
Automatic translation import
Change-Id: I915472149c009f3e7c9767065975301ad66c2848
Abhisek Devkota [Sun, 5 Feb 2017 00:20:02 +0000 (16:20 -0800)]
Automatic translation import
Change-Id: Ie801ea845202b285061629653760ad3cacd11240
Abhisek Devkota [Wed, 1 Feb 2017 05:40:42 +0000 (21:40 -0800)]
Automatic translation import
Change-Id: I7e75ca593e955ffa9e38704c3d992f16fa958a87
Abhisek Devkota [Wed, 25 Jan 2017 21:46:37 +0000 (13:46 -0800)]
Automatic translation import
Change-Id: Id68c0a1676b7a739d75cbfbab4ca607e37c0bdaa
pinky@build01 [Sun, 25 Dec 2016 02:44:36 +0000 (18:44 -0800)]
Automatic translation import
Change-Id: I0e54e908065b03fe153d15156c5a5a5ab1125ffa
Ticket: -
clyde@build01 [Thu, 22 Dec 2016 02:28:43 +0000 (18:28 -0800)]
Automatic translation import
Change-Id: Ifb1fe5de05ce2b787eaa2f2944d2d9dfdb124410
Ticket: -
inky@build01 [Fri, 9 Dec 2016 06:51:41 +0000 (22:51 -0800)]
Automatic translation import
Change-Id: Ie4cd944ce175d73d2f029f86d679908ff1ff6605
Danny Baumann [Mon, 31 Oct 2016 12:29:51 +0000 (13:29 +0100)]
Fix MediaSession queue handling.
- Go back to using the queue position instead of the track ID as queue
item ID, as the track ID can be present multiple times in the queue
and the queue item ID is supposed to be unique in the whole queue
- Make sure no null items are passed in
Change-Id: I9390ab8c7a5a20f2a2bb1efad02e460ecf7dc2e5
Danny Baumann [Fri, 7 Oct 2016 07:08:00 +0000 (15:08 +0800)]
Eleven: Simplify MediaSession queue processing
* Simplify the loop
* Push the processing to a background thread
Change-Id: I8106925c0d351f8135f5fbc4bb0e15e084adbea9
Sean Maas [Sat, 8 Oct 2016 01:33:20 +0000 (18:33 -0700)]
Eleven: Correctly set shake to play
Oops, this is disabled by default.
Change-Id: Ifc30a1311c3f0c3665f3296c1247822ffe7f81e6
Steve Kondik [Thu, 6 Oct 2016 21:07:44 +0000 (14:07 -0700)]
eleven: Add support for the MediaSession queue
* This allows remote controls to view the contents of the queue
and select the active track based on the queue id.
Change-Id: I205225864d10044ef60c3fe2bc877525c437d506
Marcos Marado [Fri, 23 Sep 2016 16:29:38 +0000 (17:29 +0100)]
Avoid NPE
Change-Id: Ib6a44e2f2ee023992ce3539a9aa1b7ed0be9d3ef
Steve Kondik [Sat, 1 Oct 2016 05:15:09 +0000 (22:15 -0700)]
eleven: Fix crash when unplugging headphones
* Don't crash if the handler was never created.
Change-Id: I22aedbf5e912e086db04bbb0dc09d7434dba99b9
Sean Maas [Thu, 29 Sep 2016 22:10:49 +0000 (18:10 -0400)]
Eleven: Set preferences on play
The shake to play and lockscreen album art settings were not
being set when playback started without the app, ex. with a
headphone button. This caused them both to be set to false
until the app was opened.
Change-Id: Id15c134e9001bba62faa04266726c1e10fbfb9dd
Zhao Wei Liew [Thu, 29 Sep 2016 09:28:32 +0000 (17:28 +0800)]
Eleven: Do not uppercase unnecessarily
Please do not yell in my face.
Change-Id: I8f1aa19ad8239aa093e6af78df18bdd4387f84a1
Steve Kondik [Sun, 4 Sep 2016 18:27:33 +0000 (11:27 -0700)]
eleven: Runtime permissions
* Add prompting for storage permissions in order to bump the
API level up to level 24.
Change-Id: Id3fc4ee06fe3534b2f94408e96a8163f4fae8f98
Diogo Ferreira [Fri, 26 Aug 2016 20:37:22 +0000 (21:37 +0100)]
eleven: cm-14.0 time
- Adds librsjni as a dependency
- Changes icu4j imports to use the public API
- Minor adjustments to internal API usage
- min/targetSDK is now 24
Change-Id: I2de170f68f9488f8e21b4c05c1c5d4518c5e8a1a
Danny Baumann [Fri, 12 Aug 2016 08:34:45 +0000 (10:34 +0200)]
Handle headset hook multi click in playback service.
We usually get media button events via the session callback now, so only
handling those events in the button receiver (which is only triggered if
e.g. media buttons are pressed without us running after reboot) is not
sufficient.
Change-Id: I50ff266af826edd016804b267323effe1056f045
Danny Baumann [Fri, 12 Aug 2016 07:33:17 +0000 (09:33 +0200)]
Convert to new media button receiver logic.
Commit Ide906efdf90a6f42f3fcb6c5386328301165cb7c changed the media
button receiving logic to be routed through MediaSession, but missed to
also convert the media button intent receiver registration used for
receiving button events if our playback is stopped.
Also add the possible stop action (we're handling onStop after all)
missing in the aforementioned commit.
Change-Id: Idd4b8bc00f58eee2ff7fc2e5a685b7918988c37c
Danny Baumann [Wed, 3 Aug 2016 12:17:23 +0000 (05:17 -0700)]
Merge "handle media keys" into cm-13.0
Abhisek Devkota [Wed, 27 Jul 2016 17:19:04 +0000 (10:19 -0700)]
Merge "Eleven: fix possible NPE" into cm-13.0
Shaleen Jain [Fri, 15 Jul 2016 11:11:21 +0000 (16:41 +0530)]
handle media keys
This lets Eleven respond to physical media keys on some devices
as well as when the volumn buttons are long pressed when the screen
is off and the 'Playback control' preference is true in settings.
Change-Id: Ide906efdf90a6f42f3fcb6c5386328301165cb7c
inky@build01 [Fri, 15 Jul 2016 17:00:53 +0000 (10:00 -0700)]
Automatic translation import
Change-Id: I3c875af47cea5b80a1fd97473cf4c6d2865e3f3c
Ticket: -
Michael W [Sat, 18 Jun 2016 20:40:54 +0000 (22:40 +0200)]
Eleven: fix possible NPE
Fix for the case when name is null
Change-Id: I90909497129c09f6ab8a4eebd0935c2d38de5b39
Reference: BugDump 13-
20160610-16 L#80
inky@build01 [Wed, 1 Jun 2016 19:02:37 +0000 (12:02 -0700)]
Automatic translation import
Change-Id: I74b0fb60cf6c84e21ba19c6b6ead2227827afc69
Dave Kover [Thu, 5 May 2016 22:26:49 +0000 (15:26 -0700)]
Merge "Themes: Expose and separate values for themes" into cm-13.0
jrizzoli [Mon, 2 May 2016 18:06:23 +0000 (20:06 +0200)]
Eleven: new icon
Asher made it
Change-Id: If79dc0f471b2faef0fcffb2746ec463cf4319859
Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
Bryan Owens [Sun, 1 May 2016 21:31:47 +0000 (16:31 -0500)]
Themes: Expose and separate values for themes
Change-Id: Ifeff7fa28707de84af3c40f910787092f56c65b5
Signed-off-by: Bryan Owens <djbryan3540@gmail.com>
Danny Baumann [Wed, 27 Apr 2016 11:33:20 +0000 (13:33 +0200)]
Generate all color swatches.
While we only use the vibrant colors in the UI, we also use the palette
to determine the dominant color and compare the vibrant colors against
that. If the dominant color is one of the muted swatches, by only generating
the vibrant swatches we needlessly exclude one of the vibrant colors
from being used as visualizer color.
Change-Id: I3ca1059a653ff39b49b6a38a934863ef6ad2d976
Danny Baumann [Wed, 27 Apr 2016 11:32:53 +0000 (13:32 +0200)]
Add toString() methods to BitmapWithColors class.
Eases debugging.
Change-Id: I34d4d0ae888f4768232fd8a526a47111720d1faf
Danny Baumann [Wed, 27 Apr 2016 11:20:08 +0000 (13:20 +0200)]
Load palette in background.
Change-Id: I03322c552ee1151be14e1d7c4db2a8f493d34580