Commit Graph

321 Commits

Author SHA1 Message Date
Adnan Begovic
1f6c75a4cf cmsdk: Move NAVBAR_LEFT_IN_LANDSCAPE to CMSettings.
Change-Id: I415288feef8d32613f9a7f8bbe1b748eaa7d459d
2015-11-11 13:31:46 -08:00
Adnan Begovic
5659f5355d cmsdk: Move RECENTS_SHOW_SEARCH_BAR to CMSettings.
Change-Id: Ie34d57b547eb27f4f7629ed6d1fd9cced0ce7fff
2015-11-11 13:20:29 -08:00
Adnan Begovic
063c9854b2 cmsdk: Move STATUS_BAR_SHOW_WEATHER to CMSettings.
Change-Id: I792e8d04c1b70749db78f0bd5142d489aebd6d51
2015-11-11 12:38:26 -08:00
Adnan Begovic
6694ce0ca0 cmsdk: Move DOUBLE_TAP_SLEEP_GESTURE to CMSettings.
Change-Id: I88b255a5ddeff9520905c4a8b612c9fdbf3b4411
2015-11-11 12:26:40 -08:00
Adnan Begovic
a09defa3c9 cmsdk: Move LiveDisplay settings and resources.
Change-Id: I6d0c3f8b645e2c8cca059ff343a774eab1933a9b
2015-11-10 18:10:54 -08:00
Adnan Begovic
b006e980e7 cmsdk: Move WIFI_AUTO_CONNECT_TYPE to CMSettings.
Change-Id: I3a0447006d29cc8d2b1bbed6f841ce9ae55be94f
2015-11-10 14:15:12 -08:00
Adnan Begovic
dac1c3eac1 cmsdk: Move lookup provider logic to CMSettings.
Change-Id: I239b1d5b56b940e591547ab1c50b6c1d34af586c
2015-11-10 13:31:03 -08:00
Adnan Begovic
b2093b969f CMSettingsProvider: Map LegacyCMSettings to CMSettings constants.
Change-Id: I07537650cc536877ec4492af43e88ce8d60342fd
2015-11-10 12:05:03 -08:00
Adnan Begovic
d977ffa305 CMSettingsProvider: Make sure to migrate proxmity settings.
Change-Id: I434a88220191a6491f6e0f001e72a26a45f8043f
2015-11-09 18:13:11 -08:00
Adnan Begovic
3c42b723c3 cmsdk: Move proximitycheck to CMSettings.
Change-Id: If9e097c373404fe8983fd9160ebeb8405bd363d8
2015-11-09 18:00:32 -08:00
Adnan Begovic
50fc22b8a1 cmsdk: Move battery light settings to CMSettings.
Change-Id: I11a80bdeab369f851017c516039adc6400572b09
2015-11-09 16:24:29 -08:00
Adnan Begovic
dc8f675bb9 cmsdk: Fix readme.
Change-Id: Ib848f638ed614b9f9ff4739ee7f507eda6c2d78f
2015-11-09 14:38:40 -08:00
Adnan Begovic
0a21c75cb5 cmsdk: Move numerous buttons settings into CMSettings.
Change-Id: I7a0832745b9d81ad8d20afad8f17865932c6aad1
2015-11-09 10:31:01 -08:00
d34d
2927d19d86 CMSettings: Port "Development shortcut" (3/3)
Change-Id: Icffcfafab9f971787e15ec5fc2892e5a6f83f553
2015-11-07 14:44:58 -08:00
Adnan Begovic
f3583e75dc CMSettings: Add migrate step for NAV_BUTTONS.
Change-Id: Ia17ccba0e0b66ee35f3ac7f125f909dc010514d6
2015-11-06 11:30:45 -08:00
Adnan Begovic
6a79d5714c cmsdk: Fix cm settings provider tests.
Change-Id: Iedb9c3278f5fa872ffd28682fb3ef48ceb163dba
2015-11-05 17:06:22 -08:00
Adnan Begovic
8c65e15e74 cmsdk: Finish migrating "last app" logic to cmsdk.
Change-Id: I94dbd41639c734f53000b975685bf42d046a7e84
2015-11-05 17:06:22 -08:00
Danesh M
d4ae0653e2 CMSDK : Add lockscreen shortcuts and navigation bar ime
Change-Id: If984849a06c7002b35734209a38d422b4f9e4553
2015-11-05 15:15:12 -08:00
Danesh M
6d2f22ad19 CMSDK : Add functions for delimited strings
Change-Id: Ifccd6c7266cacdcd1413b221546be77eade9c501
2015-11-05 15:14:46 -08:00
Danesh M
b56f346814 CMSDK : Change protection level system to privileged
Change-Id: I8e5e8c17a9d7e2399155b34e63bdd55e19a59362
2015-11-05 15:14:19 -08:00
d34d
74c2b772e5 Themes: Uncomment ThemeVersion code
Change-Id: I09ea6c4f2923a0d49f6bd3ecb05e237062241433
2015-11-05 13:13:17 -08:00
Steve Kondik
ac36cbe559 perf: Remove logspam
Change-Id: Id7c54851950eedc77ab6bc085fe515b6e7aaaac5
2015-11-04 04:39:31 -08:00
Steve Kondik
620c35bd6b cmsdk: Refactor the PerformanceManager
* Remove all code and configuration into CMSDK.
 * Deprecate the properties-based API

Change-Id: Ib14ce5b8623cb368e6b545d1f82bc9c58580e13b
2015-11-03 17:59:44 -08:00
Steve Kondik
5e522e6805 cmsdk: Add an internal target which includes all resources
* This can be referenced instead of the standard jar if internal
   resource identifiers are needed for sharing between platform apps
   (systemui + settings is a good use case).

Change-Id: Ib078f6dd861a0a3a4cdcfccd6e245200d18368c4
2015-11-03 17:40:34 -08:00
Steve Kondik
1a5c249b67 cmsdk: Fix issue with intermediates not ready
Change-Id: Id0dcfd7dc4a3ce50bed3dcd61c6d402c872c74de
2015-11-03 10:13:42 -08:00
AdrianDC
4eb54afce0 HighTouchSensitivity [1/2]: Add Settings preference
* Allows the HighTouchSensitivity (Glove mode)
   value to be saved in the CMSettings provider

 * Can be used in a device specific service to handle
   the Glove mode in a way closer to the device's vendor

 * Changes include :
     android_packages_apps_Settings
     cm_platform_sdk

Change-Id: Ib3cb8c4c67fb2397136ccfdf08cd8e7d938e898d
Signed-off-by: AdrianDC <radian.dc@gmail.com>
2015-10-30 20:29:48 +01:00
Adnan Begovic
06b49a6237 cmsdk: Introduce content classes.
Change-Id: I6306a3b240de2777f1ed8482eb4a76d4d7ea0237
2015-10-29 17:38:37 -07:00
Adnan Begovic
f24f7a5fd4 cmsdk: Introduce various new Settings from fwb.
Change-Id: I93e8be7e5d6c80feccdbe248fa265538e6ae4893
2015-10-29 17:38:37 -07:00
Adnan Begovic
241e559538 cmsdk: Remove systemserverclasspath test.
The jars all have oat files now, so iterating them and seeing
  if they're "clean" is pointless since they're not part of the
  processes runtime libraries on zygote fork.

Change-Id: I8c0e0ce16a84c423e68f8c1749f3676c3bd2931f
2015-10-29 17:37:32 -07:00
Adnan Begovic
9ad39bfbab cmsdk: Introduce CYANOGENMOD_DISPLAY_VERSION
Change-Id: I4689d141bebfbfecef1fe28af30a4ccce3ea4ba7
2015-10-29 17:37:32 -07:00
Roman Birg
f61f9d079f CMSettings: add privacy guard default key
Change-Id: Iba10fcf3978e308f1b25a8d13570c420f7589a1b
Signed-off-by: Roman Birg <roman@cyngn.com>
2015-10-28 17:51:14 -07:00
Danesh M
ec9828bf31 CMSDK : Add statusbar constants
Change-Id: I678078429a1c90a26f371db6ff4313f76e4b5169
2015-10-28 14:05:51 -07:00
Adnan Begovic
99f872ffcf cmsdk: Make sure we're generating as 0x3F res id
Change-Id: I2a55e65d7b9746dfd005d04c39024490a5b1d2b1
2015-10-26 15:38:23 -07:00
Adnan Begovic
ce2636010c cmsdk: Point at cmsettings for system profiles.
Change-Id: I61497111f1bf1873554c4185b4424662dcb8c7e5
2015-10-26 15:37:55 -07:00
Yvonne Wong
49b98823f6 CMSettingsProvider: Add ability to read region locked themes
Change-Id: I51c0d68d763e7cfec7bdc7b18782d66732fb2160
(cherry picked from commit 20cecb7dec7efb35277138bc7fa57704c3757414)
2015-10-26 15:16:39 -07:00
Roman Birg
060a6a6d3e CMSettings: add notification play queue setting
Ref: CYNGNOS-217

Change-Id: I2f2df00ce12aaaa300c083b01690282dbf29f10c
Signed-off-by: Roman Birg <roman@cyngn.com>
(cherry picked from commit e6491468ea869909ec276bc272689cc64cc232aa)
2015-10-20 15:01:48 -07:00
Matt Garnes
9e69abb862 Improve several permission description Strings.
The MODIFY_NETWORK_SETTINGS and MODIFY_SOUND_SETTINGS permissions were
not descriptive enough. Improve the strings to enumerate exactly what
settings these permissions protect.

Fixes FOR-23.

Change-Id: Idd64738c21d879462a7e7e6c65ceefdc771f1bcd
2015-10-14 14:58:56 -07:00
Adnan Begovic
fe7a368a69 cmsdk: Temporary build fixes
Change-Id: I18a1aa9ade95de63fe18eaaeca388b118c8ffe8c
2015-10-09 14:56:20 -07:00
Adnan Begovic
a79a53b8ea cmsdk: mContext is private with SystemService now.
YOU MEAN WE HAVE SANE ABSTRACTION NOW?!

Change-Id: I5b37b656b2002013b368b43153927b796ec46e6a
2015-10-09 14:56:20 -07:00
Adnan Begovic
27a874f307 CMSettingsProvider: Define legacy constants within package.
Change-Id: Iceb06730a19b7b1d5d7633f3f85be9bb2a4ab195
2015-10-09 14:56:14 -07:00
Yvonne Wong
5fdff90050 Remove AOSP settings from CMSettings/CMSettingsProvider
Change-Id: I85eee73bf215c72f42067c0e3d2f68946485a10f
2015-10-09 14:26:53 -07:00
Adnan Begovic
4e53461e71 cmsdk: API level 4 for M release.
Change-Id: Ieed8ebf256e91515b6921186487b83462910bca9
2015-10-07 11:32:41 -07:00
Yvonne Wong
5c29aa4e50 CMSettings: Remove write check in query method and add values for heads up notification
Change-Id: I72ad8039757da5e66809134bdddd463c512de157
2015-10-07 11:23:44 -07:00
Michael Bestas
7f34720a99 Automatic translation import
Change-Id: If46cee0ac3a60de651bcb20c54c19add9d2bbd3b
2015-10-03 00:23:59 +03:00
Adnan Begovic
3bee029cd7 cmsdk: Update README.
Change-Id: I6601bfe9fa2afe953d5150236759ef82be3b9b80
2015-10-01 16:49:18 -07:00
Adnan Begovic
10d20252e4 cmsdk: Update API text for constants changes.
Change-Id: Ie820bae6db375e6d5429f495829d3d24f8a3469c
2015-09-30 17:49:52 -07:00
Wilhelm Fitzpatrick
0ba3889323 cmdsk: rename thermal constants to reflect actual event semantics
cool, warm, critical reflect the threshold names used in the
lower level code, and warm has directional states depending on
whether the temp is rising or falling.

SAMBAR-266

Change-Id: Ifc0ad415f3d8409b6237d2715534d7e7ff3455f7
2015-09-29 16:30:43 -07:00
Adnan Begovic
38e8b11ea7 cmsdk: Create api level 3, cantaloupe.
Change-Id: I5cefacf1196261b071ce2c3561f18ebaf74de604
2015-09-29 11:40:29 -07:00
Yvonne Wong
05d0129478 Add way to migrate CM specific settings to CMSettingsProvider
issue-id: CYNGNOS-829

Change-Id: I08743ebf9ffd3846ae501ed41e396b1556dc41cf
2015-09-25 13:17:19 -07:00
Adnan Begovic
8fc6affd38 cmsdk: Add classpathtests.
Change-Id: I78f21934046a8a8917dc59f5423986a7077f4531
2015-09-25 01:08:16 -07:00