Commit Graph

626 Commits

Author SHA1 Message Date
Michael W
c50ddc2104 CMSDK: Tests: AIRPLANE_MODE_ON has moved
* Lives in "Global" now

Change-Id: Ib0a53e07af5f6ef2de735a818a5f505906f9d4d4
(cherry picked from commit a7e8c17e827abbed8c8bf9299f4c1440c8ae7d04)
2017-03-05 15:40:06 +00:00
Abhisek Devkota
8b77b66b55 Automatic translation import
Change-Id: I51b3fc4dbec074737772131632fa556e8fa752b0
2017-02-19 19:35:16 -08:00
Zhao Wei Liew
f50d55140f Add a proper description for CM_SETUP_WIZARD_COMPLETED deprecation
Change-Id: I7bf1ee5644b178173941803fccafbbd501289acd
2017-02-19 17:42:31 +08:00
Zhao Wei Liew
62edb35560 cmsdk: PerformanceManager: Update POWER_HINT_SET_PROFILE value
We removed POWER_HINT_AUDIO recently, thus moving the value of
POWER_HINT_SET_PROFILE up.

Change-Id: Ib1c4e1b2569064023a7951631ac1de120fcf47ef
2017-02-19 10:02:18 +08:00
Michael W
b1be9e0457 cmsdk: utils: Introduce PackageManagerUtils class
Partially based off the PackageManagerHelper class in Launcher3.

Change-Id: I0ed2ea210cb52ac4bd94c7bc5320c24e6d423279
2017-02-19 01:58:59 +00:00
Paul Keith
595640e86a cmsdk: Deprecate CM_SETUP_WIZARD_COMPLETED
Change-Id: I1ddf79d8308def2056fa509b64a2ec4af5c39f31
Signed-off-by: Paul Keith <javelinanddart@aidenswann.com>
2017-02-18 11:55:58 +08:00
Zhao Wei Liew
76c621480c Revert "You are now a developer!"
We no longer have an alternative drawable.

This reverts commit 2059ea6908.

Change-Id: I4ea4e81ae7c8b583fa107a0f32c3642f567bfb2d
2017-02-11 16:18:14 +08:00
Abhisek Devkota
960e278434 Automatic translation import
Change-Id: I387df8d83b70a6fe4018208f130ad3e7eb184589
2017-02-03 22:28:46 +00:00
Björn Lundén
08987c7691 Dexopt: Update brand logo
Change-Id: I39c3f4749781e9aed76a30ec8587dbb683e639b1
2017-02-02 21:57:57 -08:00
Abhisek Devkota
cedc79976b Dexopt: Remove brand logo
Change-Id: Ia4279a8e56794372a393c879dcf03b66416e1ecb
2017-02-02 23:35:33 +00:00
Abhisek Devkota
1cd78ecb9b Automatic translation import
Change-Id: Ia600426145700b4d4e1b87367aede39b503df5a3
2017-02-02 23:01:58 +00:00
Abhisek Devkota
d3dd6a46a7 Automatic translation import
Change-Id: I1fe5ebcf045cd31198134634e520cdaab3dbdba1
2017-01-27 02:07:42 +00:00
Zhao Wei Liew
4e300ec772 cmsdk: cmhw: Deprecate TAP_TO_WAKE feature
All devices should use the native implementation now.

Change-Id: Ic29472ba28569536a8556f61229a8a8fe783354a
2017-01-24 08:22:50 +00:00
Zhao Wei Liew
99bbee7bde cmsdk: Update README references for LineageOS
Change-Id: I924d89da6bc0dab94d8c6dadc26bc5c535db90ce
2017-01-15 09:16:14 +00:00
Zhao Wei Liew
8a975c045d cmsdk: Deprecate STATS_COLLECTION_REPORTED CMSetting
The functionality that uses this setting has been removed.
This setting should no longer be used.

Change-Id: Iff887a711a9f8cac18cf9938280ddc99a5787615
(cherry picked from commit 79cced08e745f7cc1d09d05f450335e75f32de35)
2016-12-31 14:16:40 +00:00
Simon Shields
a00aed7a52 cmsdk: Rebrand to LineageOS
Change-Id: I5ed247a25db28508d367662e16372e5391c3ae3d
2016-12-29 11:57:41 +08:00
blinky@build01
e7fb0e143c Automatic translation import
Change-Id: Id4f896f30ef0a374b16da111bc56663afe61b864
Ticket: -
2016-12-24 17:28:49 -08:00
blinky@build01
c2a0f08e49 Automatic translation import
Change-Id: I5b8d8a097f8ef0f1e71088a40b8735247baa6d93
Ticket: -
2016-12-22 18:18:21 -08:00
blinky@build01
132cb52ccc Automatic translation import
Change-Id: Id230e17118be81c994c059581036cd2ebab28016
Ticket: -
2016-12-21 17:20:23 -08:00
clyde@build01
a9c3f69dc3 Automatic translation import
Change-Id: I10db9721707dcc07bb8f8fa65f1e8c28dd59c12e
Ticket: -
2016-12-20 17:09:53 -08:00
clyde@build01
19cd1b9d0d Automatic translation import
Change-Id: I365d665a3e1288e311cd79a5be96e93a9b757158
Ticket: -
2016-12-16 17:43:41 -08:00
pinky@build01
db4e449eda Automatic translation import
Change-Id: Ia09863e934da99b3f58a93a33257f9c8c5fa6626
Ticket: -
2016-12-15 18:14:48 -08:00
clyde@build01
8bc08a9d2c Automatic translation import
Change-Id: I2159000bb50f8c77da3183f934f19ba85518b2bf
Ticket: -
2016-12-04 18:09:13 -08:00
inky@build01
493ad4fa9d Automatic translation import
Change-Id: Ied52767544df94dcf3f89a424dcc1adaa48c4e43
Ticket: -
2016-12-02 16:57:46 -08:00
inky@build01
82c2daeb6c Automatic translation import
Change-Id: I172e20f9c6f003de7b2e6510eb9f321e05ef8640
Ticket: -
2016-11-29 09:40:27 -08:00
Danny Baumann
fac872cfde Add option definition for vibration during zen mode.
Change-Id: I7398adbaa691bc6ec50b56328190a317bee805eb
2016-10-17 16:41:40 +02:00
Zhao Wei Liew
d755121d2c cmsdk: Remove duplicate legacy system element
This is already in the array several lines above.

Change-Id: I0e046902dc1bf01ea445587e1f8a4e7f8520051c
2016-10-08 19:54:34 -07:00
d34d
c4f27d5b81 Themes: Introduce theme mixes into ThemesContract
Change-Id: I6341bada8e3ef674b272621f90bc9beb28767a59
TICKET: CYNGNOS-2121
2016-10-07 10:14:28 -07:00
pinky@build01
2f32195b3a Automatic translation import
Change-Id: I01b303114376f6f8fe72d873d8cf3ce46ee05fd0
Ticket: -
2016-09-25 00:16:01 -07:00
d34d
06aec1f6f2 themes: Relabel theme dir after creation
After creating the theme directory it will be labeled as a
system_data_file.  By calling SELinux.restorecon() the directory
will be correctly labeled as a themeservice_app_data_file

Change-Id: I73a28da883a467bf8859d879dbe22962424e4a23
TICKET: NIGHTLIES-3349
2016-09-15 10:43:20 -07:00
Danny Baumann
fceb077b6f Don't unboundedly enqueue transition messages.
As long as the light sensor is providing values, each value change will
enqueue a transition message, which may queue up. Stop doing that and
ensure only one transition message is queued at any given time.

Change-Id: I6e9c5b265066089ff9e0cea7237c2023ed1af30c
2016-09-12 07:31:07 -07:00
clyde@build01
f15f366c62 Automatic translation import
Change-Id: Ia86641b028e5799beed97b40fe3f0c9326ceeacd
Ticket: -
2016-09-06 20:06:59 -07:00
Roman Birg
662cb51642 cmsdk: fix visible check in hasChanged
Previously the visible check was comparing the newly set value to
itself. Now we cache the old value, set new value, and can do a proper
comparison.

Change-Id: Idbe921bfe9e311551d6bfbad432c647c129f376e
Signed-off-by: Roman Birg <roman@cyngn.com>
2016-08-30 16:00:36 -07:00
pinky@build01
70da0ef9dc Automatic translation import
Change-Id: I40d9cfd605acd7af9349354de5e06c45c17932c0
Ticket: -
2016-08-29 14:02:09 -07:00
pinky@build01
86879d1fa5 Automatic translation import
Change-Id: I7c1f2ebb5c41b171d3a5defff0884d08ffee2514
Ticket: -
2016-08-27 14:23:12 -07:00
Michael Bestas
2059ea6908
You are now a developer!
* Show alternative brand logo in dexopt screen
  when developer options are enabled
* Drawable by Asher

Change-Id: Ie100d7c3e9c96a7ad64c4cd65195d6f531090140
2016-08-20 18:07:38 +03:00
Adnan Begovic
c349280cf8 cmsdk: Finalize api level 6 (Fig).
Change-Id: I529806e5526faf7d23689354a6cc958d9989b95c
2016-08-17 14:18:44 -07:00
Danesh M
e1ba9407f7 CMSDK : Fix generateAlertColorFromDrawable for non BitmapDrawable
In the case that the bitmap being passed in was not a bitmap drawable,
we were not retaining any of the attributes from the original drawable.
This patch ensures we ask that drawable to draw on the canvas/bitmap so we
can use that information. Also add tests around it.

Change-Id: I3eefba6e6624fe0bed4965ddf9029320c40f7420
2016-08-14 21:57:37 -07:00
blinky@build01
4ceac56022 Automatic translation import
Change-Id: I6265acef6112def3cd99b9e1b24fdd7ded26c515
Ticket: -
2016-08-13 18:07:36 -07:00
Luis Vidal
c487191476 CMSDK: Broker out WeatherManagerService
Change-Id: I1a2007f626c2943ff2cf5da2ab029250efef56f8
2016-08-12 12:39:15 -07:00
Roman Birg
da1776a8a8 cmsdk: allow MANAGE_AUDIO_SESSIONS to be whitelisted
So the implementing service doesn't have to be signed with platform
keys.

Change-Id: I635d79173bf1771b58e1cb2dd333cee091610a48
Signed-off-by: Roman Birg <roman@cyngn.com>
2016-08-11 16:20:16 -07:00
Alexander Martinz
6e5ab27fbb [1/2] cmsdk: cm custom boot dexopt UI
* Pass app info and number of installed packages to boot message UI
 * Ui by Asher and Joey, based on Alexander's previous work

Change-Id: I9298d7e2b85a703921abf62f8b91157e6f88803b
Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
2016-08-10 16:52:21 -07:00
Steve Kondik
db640a9648 livedisplay: Float-to-string conversions considered harmful
* Force US locale when doing internal flattening of HSIC objects
   into strings. This would crash in the validator if the user's
   local uses commands instead of dots to format floats.

Change-Id: I08f44238a486308a483205b97632114d2f7a77f1
2016-08-10 02:08:47 -07:00
Danny Baumann
c0dd46d30f Introduce a hysteresis for outdoor condition determination.
Avoids flicker when brightness is around the threshold.

Change-Id: I8658725450496b89123abb26b6ef8ce333c709e5
2016-08-09 15:14:01 -07:00
blinky@build01
d62a53f690 Automatic translation import
Change-Id: Ic90add544c2df37224eee1b7a62946d15c328f49
Ticket: -
2016-08-08 13:42:24 -07:00
Steve Kondik
87590f0b1e cmsdk/livedisplay: Add support for picture adjustment
* Allows adjustment of hue, saturation, intensity, and contrast.

Change-Id: Icf8ff6200a07b68e09dcd7f140a82e57b53944f7
2016-08-08 12:41:27 -07:00
Steve Kondik
3e7dac120a cmhw: Add support for display mode remapping
* Simple mechanism for mapping vendor names to the
   various modes used in CM (with translations).

Change-Id: I791e6302e48f1b886dfc3228a96176d7318679d5
2016-08-04 23:56:59 -07:00
Steve Kondik
19345cb1ca livedisplay: Enable by default
* LiveDisplay is a popular feature that is widely enabled,
   so let's enable it by default.

Change-Id: I6bc0240b0a79aa6a278ac83469d5cd9d63c682d1
2016-08-04 23:51:46 -07:00
d34d
c4ed8c84cd Themes: Broker the theme service
Change-Id: I429936f63d52eddcb1653515bc94e82f758b57d6
2016-08-02 14:40:34 -07:00
Steve Kondik
4cf18a3e36 livedisplay: Tweak defaults
* Raise the outdoor threshold to 12K lux to more accurately
   represent bright sunlight.
 * Raise the night color temperature to 4800K to provide a
   soft display look at night with less red.

Change-Id: I26bdea7fc97acb2a17944a1f25e5e11866a08e29
2016-08-01 15:28:20 -07:00