OSDN Git Service

android-x86/packages-apps-Eleven.git
4 years agoAutomatic translation import oreo-x86 android-x86-8.1-r3 android-x86-8.1-r4 android-x86-8.1-r5 android-x86-8.1-r6
Michael Bestas [Tue, 6 Aug 2019 14:33:24 +0000 (17:33 +0300)]
Automatic translation import

Change-Id: Ic3bdfe5c88c5434efc8b46eabad8f65b239066c8

4 years agoAutomatic translation import
Michael W [Wed, 19 Jun 2019 21:30:37 +0000 (23:30 +0200)]
Automatic translation import

Change-Id: I27087ad573eeb7fef31b06b6edf90a1550023631

4 years agoAutomatic translation import android-x86-8.1-r2
Michael Bestas [Sun, 26 May 2019 12:24:28 +0000 (15:24 +0300)]
Automatic translation import

Change-Id: I0d2a86907e6d67d1d25ff9106b59fb7b9929a370

5 years agoMusicPlaybackService: catch IllegalStateException for duration and position
Alexander Martinz [Thu, 28 Feb 2019 10:35:53 +0000 (11:35 +0100)]
MusicPlaybackService: catch IllegalStateException for duration and position

On some where short tracks, which eg last one second, this can crash
the service.

Change-Id: I3db9bb70bd952554b44151b457963507174208bf
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
5 years agono_results: also tint image drawable
Alexander Martinz [Wed, 27 Feb 2019 15:01:53 +0000 (16:01 +0100)]
no_results: also tint image drawable

If we are setting color for it, the drawable got ignored, resulting
in eg white text and a black drawable.

Tint drawable as well when setting text to make all match.

Change-Id: I29cda801a0319699bb87213bc702e3a28ec4fae8
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
5 years agoPlaylists: sort ignoring case
Alexander Martinz [Wed, 27 Feb 2019 13:32:00 +0000 (14:32 +0100)]
Playlists: sort ignoring case

Change-Id: I5c0a239afa7e033f0db5ec16845d942c2ecbeb15
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
5 years agoPlaylistArtworkStore: use try-with-resources and cleanup
Alexander Martinz [Wed, 27 Feb 2019 12:06:12 +0000 (13:06 +0100)]
PlaylistArtworkStore: use try-with-resources and cleanup

Change-Id: Iecbc9f64975f23d95e7161c9ada20d61754a9d01
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
5 years agoMusicUtils: handle exceptions and clean up
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>
5 years agoImageCache: add missing close call and cleanup
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>
5 years agoDiskLruCache: update from upstream
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>
5 years agoVisualizerView: pull in updates from system implementation
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>
5 years agoRemove hardcoded package name references
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>
5 years agoCorrect some lint warnings
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>
5 years agoAndroidManifest: add Foreground Service permission
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>
5 years agoAdd BuildConfig to allow using gradle compile time fields
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>
5 years agoEleven: add initial gradle support
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>
5 years agoGet rid of icu4j dependency
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>
5 years agoAutomatic translation import
Michael W [Mon, 11 Mar 2019 10:04:59 +0000 (11:04 +0100)]
Automatic translation import

Change-Id: Iebab61b42535b21109099829ac5289f6a0f64972

5 years agoAutomatic translation import
Michael W [Sun, 10 Mar 2019 16:21:00 +0000 (17:21 +0100)]
Automatic translation import

Change-Id: Ic61a5f8e55316778d95d59f282370c4b4deb38a2

5 years agoAutomatic translation import
Michael W [Fri, 1 Mar 2019 11:36:11 +0000 (12:36 +0100)]
Automatic translation import

Change-Id: I77710a4757b62aad7873d36a6a954f1ddbf3f6e0

5 years agoPopups: use AlertDialog instead of private APIs
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>
5 years agoRemove some more private API usages
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>
5 years agoLocalization: do not use private ICU APIs
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>
5 years agoEleven: remove guava dependency
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>
5 years agoEleven: remove junit dependency
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>
5 years agoLocaleChangeReceiver: check intent action
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>
5 years agoAutomatic translation import android-x86-8.1-r1
Michael W [Sat, 5 Jan 2019 15:02:35 +0000 (16:02 +0100)]
Automatic translation import

Change-Id: I9129024713dbef4fb0493dc9b78d6513aedc86c0

5 years agoAutomatic translation import
Michael Bestas [Fri, 14 Dec 2018 21:47:42 +0000 (23:47 +0200)]
Automatic translation import

Change-Id: I88c8f79efa787a9ee952f066e9466d79a7ef2ee1

5 years agoAutomatic translation import
Michael Bestas [Sun, 25 Nov 2018 23:50:09 +0000 (01:50 +0200)]
Automatic translation import

Change-Id: Iafffd8767c4f49869d3f065d9c083b10c86a69ef

5 years agoAutomatic translation import
Michael Bestas [Thu, 15 Nov 2018 19:40:24 +0000 (21:40 +0200)]
Automatic translation import

Change-Id: I99b1b697f990cea1d2d0fe97c6eabf69e9aa7a27

5 years agoAutomatic translation import
Michael Bestas [Sun, 4 Nov 2018 22:36:47 +0000 (00:36 +0200)]
Automatic translation import

Change-Id: I393e2e84f3f14fdd360f7f02e79944b16f6bb90b

5 years agoEleven: Fix crash after receiving media button intent
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

5 years agoAutomatic translation import
Michael Bestas [Sat, 13 Oct 2018 14:14:51 +0000 (17:14 +0300)]
Automatic translation import

Change-Id: Iad9cf891c22e0ded7cf2ba92582194399dbef1a3

5 years agoEleven: bump to api26
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>
5 years agoAutomatic translation import
Michael Bestas [Mon, 9 Jul 2018 19:03:04 +0000 (22:03 +0300)]
Automatic translation import

Change-Id: I4da9a9b99fcf246733985128f4e96534242d48eb

5 years agoEleven: Catch unsupported bitmap exception
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

5 years agoAutomatic translation import
Michael Bestas [Tue, 8 May 2018 16:46:45 +0000 (19:46 +0300)]
Automatic translation import

Change-Id: I019df241f92e6f264dc501dd64717ee3a33802d9

6 years agoEleven: fix card styles... 2 years later
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>
6 years agoEleven: update accent color to match new icon
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>
6 years agoEleven: build with AAPT2
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>
6 years agoEleven: default android animations for activities and fragments
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

6 years agoEleven: fix genres not updating for subsequent albums
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

6 years agoAutomatic translation import
Michael Bestas [Sun, 1 Apr 2018 19:32:02 +0000 (22:32 +0300)]
Automatic translation import

Change-Id: I44bb455c2ccde3f125d3bbe388e96f1f84ec75e3

6 years agoAutomatic translation import
Michael Bestas [Thu, 8 Mar 2018 22:35:13 +0000 (00:35 +0200)]
Automatic translation import

Change-Id: I9710ba15de589c0ddb204dc2f2bb65e442b919d8

6 years agoAutomatic translation import
Michael Bestas [Sun, 25 Feb 2018 20:03:23 +0000 (22:03 +0200)]
Automatic translation import

Change-Id: I6fc0310502a2fd2fb454b4859d879525d824f6d5

6 years agoAutomatic translation import
Michael Bestas [Thu, 22 Feb 2018 01:48:51 +0000 (03:48 +0200)]
Automatic translation import

Change-Id: I2f221423bd2933c3b51a9245ebee7232952aa5bb

6 years agoEleven: adaptive icon
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>
6 years agoEleven: define app category
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>
6 years agoEleven: Remove obsolete references to cyngn jira tickets
Michael Bestas [Mon, 22 Jan 2018 19:13:17 +0000 (21:13 +0200)]
Eleven: Remove obsolete references to cyngn jira tickets

Change-Id: Iaaf59d22665920a9fc30c88bf5fb1387f350de81

6 years agoEleven: Complete Apollo rebrand.
Michael Bestas [Mon, 22 Jan 2018 19:09:58 +0000 (21:09 +0200)]
Eleven: Complete Apollo rebrand.

* Fix remaining Apollo references

Change-Id: I7f0efcec2658f22467ba8aa5e08e7022bedfab1b

6 years agoEleven: rebrand step 2: update file contents
Michael Bestas [Mon, 22 Jan 2018 19:06:57 +0000 (21:06 +0200)]
Eleven: rebrand step 2: update file contents

Change-Id: Ib99317dbf3b1f91222461d6c1fd1b3568268e3af

6 years agoEleven: rebrand step 1: update paths
Michael Bestas [Mon, 22 Jan 2018 19:02:42 +0000 (21:02 +0200)]
Eleven: rebrand step 1: update paths

Change-Id: Iab35e4024e20c48e7439e78d1c6efe0ef4f730ca

6 years agoFix dependencies of packages that target earlier releases
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>
6 years agoAutomatic translation import
Abhisek Devkota [Sat, 16 Dec 2017 19:33:21 +0000 (11:33 -0800)]
Automatic translation import

Change-Id: I976f5acb811c4d61b418191d40d87122f35fdaf1

6 years agoAutomatic translation import
Abhisek Devkota [Tue, 12 Dec 2017 05:55:22 +0000 (21:55 -0800)]
Automatic translation import

Change-Id: I689fe018985be92f46c14ddcc8c6fc40bc5195d1

6 years agoEleven: Fix potential NPE when media server crashes
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

6 years agoEleven: Don't use a sticky service
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

6 years agoRemove obsolete values-be translations
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

6 years agoAutomatic translation import
Abhisek Devkota [Mon, 18 Sep 2017 18:47:53 +0000 (11:47 -0700)]
Automatic translation import

Change-Id: If43ca98626cf8214863106c1b47fc9cd95fe707b

6 years agoEleven: Create one cursor per background task
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

6 years agoEleven: Fix restoring user settings
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

6 years agoAutomatic translation import
Abhisek Devkota [Sat, 19 Aug 2017 22:34:31 +0000 (15:34 -0700)]
Automatic translation import

Change-Id: I1751e5618ee0758086641816bdc1f6c2158f6da2

6 years agoAutomatic translation import
Abhisek Devkota [Fri, 4 Aug 2017 05:46:53 +0000 (22:46 -0700)]
Automatic translation import

Change-Id: Ic08ec3ac8f84bc44a07017015c32af3caf59d07a

6 years agoEleven: Add WRITE_MEDIA_STORAGE permission
Arne Coucheron [Sun, 30 Jul 2017 22:17:51 +0000 (00:17 +0200)]
Eleven: Add WRITE_MEDIA_STORAGE permission

Change-Id: I492be9ef16abd0ac5ed2bfc92e792b329768609f

6 years agoEleven: Promote to privileged app
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

6 years agoEleven: allow artwork to scale down
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

6 years agoAutomatic translation import
Abhisek Devkota [Fri, 28 Jul 2017 02:52:47 +0000 (19:52 -0700)]
Automatic translation import

Change-Id: I9543d204c5842b0585883719e8abcdcde8a49365

6 years agoAutomatic translation import
Abhisek Devkota [Sat, 22 Jul 2017 19:41:48 +0000 (12:41 -0700)]
Automatic translation import

Change-Id: Ic5bc9af07f22e0169ea8731d83a4c5bc1fc8a294

6 years agoAutomatic translation import
Abhisek Devkota [Sat, 1 Jul 2017 05:06:33 +0000 (22:06 -0700)]
Automatic translation import

Change-Id: I8fd0975139bc04d09ed3164ec27c8f1647200f00

6 years agoEleven: request record audio permission for visualizer
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

6 years agoEleven: Remove unused permission REAL_GET_TASKS
Arne Coucheron [Mon, 12 Jun 2017 22:37:07 +0000 (00:37 +0200)]
Eleven: Remove unused permission REAL_GET_TASKS

Change-Id: I252573e3fdf8185b2d514ea0c2a91b129cbfeef1

6 years agoAutomatic translation import
Abhisek Devkota [Thu, 18 May 2017 05:22:38 +0000 (22:22 -0700)]
Automatic translation import

Change-Id: Ibc319d97802047dba2716a1309072785061e6de2

6 years agoAutomatic translation import
Abhisek Devkota [Thu, 20 Apr 2017 19:08:19 +0000 (12:08 -0700)]
Automatic translation import

Change-Id: Id723f4dc80e524e8d748c5aa8cf30957cf22bb69

7 years agoAutomatic translation import
Abhisek Devkota [Wed, 29 Mar 2017 21:25:12 +0000 (14:25 -0700)]
Automatic translation import

Change-Id: I8be5db2787008c64825a41476fa8535d9e0618c6

7 years agoAutomatic translation import
Abhisek Devkota [Mon, 20 Mar 2017 20:54:26 +0000 (13:54 -0700)]
Automatic translation import

Change-Id: Icfb4287533a372de6ed71f73bc471db493739eaf

7 years agoAutomatic translation import
Abhisek Devkota [Wed, 15 Mar 2017 20:36:55 +0000 (13:36 -0700)]
Automatic translation import

Change-Id: I9e54f6051072149cf010135153709596a927cb93

7 years agoAutomatic translation import
Abhisek Devkota [Wed, 8 Mar 2017 22:04:28 +0000 (14:04 -0800)]
Automatic translation import

Change-Id: I76021f8b98378291368915015a029866720d06b9

7 years agoAutomatic translation import
Michael W [Thu, 2 Mar 2017 14:44:41 +0000 (15:44 +0100)]
Automatic translation import

Change-Id: Icff91d3ae6a4c0f9902513571d06ecfef02b2201

7 years agoAutomatic translation import
Abhisek Devkota [Fri, 24 Feb 2017 03:16:38 +0000 (19:16 -0800)]
Automatic translation import

Change-Id: I9f2701604c6bcc2064e374f2c958aff1af7463d3

7 years agoAutomatic translation import
Abhisek Devkota [Thu, 16 Feb 2017 18:42:01 +0000 (10:42 -0800)]
Automatic translation import

Change-Id: I6a6e9ac2f949845ebabb3f49b0e0db526d0e36e1

7 years agoAutomatic translation import
Abhisek Devkota [Tue, 14 Feb 2017 01:37:07 +0000 (17:37 -0800)]
Automatic translation import

Change-Id: I1031ea77645a92c10d1bdd3b38b56d56090a239d

7 years agoAutomatic translation import
Abhisek Devkota [Sat, 11 Feb 2017 20:42:12 +0000 (12:42 -0800)]
Automatic translation import

Change-Id: I915472149c009f3e7c9767065975301ad66c2848

7 years agoAutomatic translation import
Abhisek Devkota [Sun, 5 Feb 2017 00:20:02 +0000 (16:20 -0800)]
Automatic translation import

Change-Id: Ie801ea845202b285061629653760ad3cacd11240

7 years agoAutomatic translation import
Abhisek Devkota [Wed, 1 Feb 2017 05:40:42 +0000 (21:40 -0800)]
Automatic translation import

Change-Id: I7e75ca593e955ffa9e38704c3d992f16fa958a87

7 years agoAutomatic translation import
Abhisek Devkota [Wed, 25 Jan 2017 21:46:37 +0000 (13:46 -0800)]
Automatic translation import

Change-Id: Id68c0a1676b7a739d75cbfbab4ca607e37c0bdaa

7 years agoAutomatic translation import
pinky@build01 [Sun, 25 Dec 2016 02:44:36 +0000 (18:44 -0800)]
Automatic translation import

Change-Id: I0e54e908065b03fe153d15156c5a5a5ab1125ffa
Ticket: -

7 years agoAutomatic translation import
clyde@build01 [Thu, 22 Dec 2016 02:28:43 +0000 (18:28 -0800)]
Automatic translation import

Change-Id: Ifb1fe5de05ce2b787eaa2f2944d2d9dfdb124410
Ticket: -

7 years agoAutomatic translation import
inky@build01 [Fri, 9 Dec 2016 06:51:41 +0000 (22:51 -0800)]
Automatic translation import

Change-Id: Ie4cd944ce175d73d2f029f86d679908ff1ff6605

7 years agoFix MediaSession queue handling.
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

7 years agoEleven: Simplify MediaSession queue processing
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

7 years agoEleven: Correctly set shake to play
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

7 years agoeleven: Add support for the MediaSession queue
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

7 years agoAvoid NPE
Marcos Marado [Fri, 23 Sep 2016 16:29:38 +0000 (17:29 +0100)]
Avoid NPE

Change-Id: Ib6a44e2f2ee023992ce3539a9aa1b7ed0be9d3ef

7 years agoeleven: Fix crash when unplugging headphones
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

7 years agoEleven: Set preferences on play
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

7 years agoEleven: Do not uppercase unnecessarily
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

7 years agoeleven: Runtime permissions
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

7 years agoeleven: cm-14.0 time
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

7 years agoHandle headset hook multi click in playback service.
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

7 years agoConvert to new media button receiver logic.
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