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
Danesh M
c56b48eac0
CmSdk : Update api text for thermal monitor
...
Change-Id: I5e58a86244dc40572305d52244dda6e230fb56f5
2015-09-24 18:19:23 -07:00
Danesh M
b4ef25ab19
CMSdk : Initial thermal state to STATE_UNKNOWN
...
Change-Id: I37c7fe7441d7f0f09d1b96be001f046417ffff12
2015-09-24 18:18:56 -07:00
Michael Bestas
ce92e371d0
Automatic translation import
...
Change-Id: I097602ee86881fcbd1d14ac9626f3f3119966df9
2015-09-24 13:47:57 -07:00
Danesh M
b4f88faa26
CMSdk : Add thermal monitor service impl
...
Change-Id: I54c4473a5fdd026958bc6bf170b2e8953aaa64af
2015-09-24 11:44:14 -07:00
Danesh M
2acf3ea1c4
CMSdk : Add ThermalMonitor
...
Change-Id: Iafc87cf4c79feac5e2c66bb3d1945da6d0b742da
2015-09-24 11:42:35 -07:00
Yvonne Wong
e2daff9588
CMSettingsProvider: Remove attempts at closing sqlite db
...
Change-Id: I89c83d2c8fa0cfc19bacb96fa145ffa93bd4ce0d
2015-09-21 17:31:56 -07:00
Brint E. Kriebel
806a91e3ba
packages: Remove CMResolver
...
This now lives in its own repo: android_packages_cyanogen_CMResolver
Change-Id: I69231b37a3770dce252f6d22e60d2e2bc81e1774
2015-09-20 02:06:59 -07:00
Adnan Begovic
0769cdbd0d
CMResolver: Optimize restart if we know we don't have suggestions.
...
Change-Id: Ibf0683fcc51bc7d882f66f949031a16b6c9d580f
2015-09-15 09:52:10 -07:00
Michael Bestas
0d5b0b7d3c
CMSettingsProvider: Update app name
...
* Match AOSP settings provider
Change-Id: I949bb7a3e748319a94f2029dac8a5beea6553635
2015-09-15 15:37:02 +03:00
Adnan Begovic
688a04562e
CMResolver: Fix bad equivalancy check by using known boolean.
...
Otherwise we throw an index out of bounds exception when trying
to fetch data from the wrong adapter when clicking a result.
Change-Id: I2269216c6d13fa7db3f8e7bc990cfaad6197d1c9
2015-09-14 23:47:52 -07:00
Adnan Begovic
3c456656b3
cmsdk: Make sure the ACCESS_APP_SUGGESTIONS perm is not hidden.
...
Change-Id: Ide2ce8de1db05a9ccbcb948429623cff481eec12
2015-09-14 17:39:51 -07:00
herriojr
e78ca4d6fe
Added Application Suggestions.
...
Added in custom Resolver to handle providing suggestions.
Added in Service to handle providing suggestions to custom resolver.
Added in ability to provider suggestions through a Proxy to another
application which must be installed during compile time if one is
to be used. This is a similar implementation to how the Location
Services work.
Change-Id: Id960260596b7bb6485caa1e1d07744e387a4c6e9
2015-09-14 14:29:43 -07:00
Michael Bestas
35df988aa5
Automatic translation import
...
Change-Id: I00f2ca510c5c449bc18ea5385510389e72efd539
2015-09-11 20:01:23 +03:00
Michael Bestas
d39c839727
Update persistent storage permission string
...
Change-Id: Id32018b2e6db156eefb124b646b08205e0dcd635
2015-09-11 19:23:37 +03:00
Michael Bestas
44b9ae46d2
Correct permission string.
...
* Be consistent
Change-Id: I5201f1f2e7ddbf3639985036444935aac3835683
2015-09-11 19:01:43 +03:00
Adnan Begovic
9f381bc89f
cmsdk: Update api text for Persistent Storage API.
...
Change-Id: Icdbe63ba416f62d12f25b521541162d72c8040d4
2015-09-09 17:29:30 -07:00
Steve Kondik
7cef6f6945
cmsdk: Add persistent properties API
...
* Add support for reading and writing values from/to persistent
storage. Requires the MANAGE_PERSISTENT_STORAGE permission, which
should not be available for general use by applications.
Change-Id: I8a793396d207f23fcda851c172372f2073778eec
2015-09-09 15:43:32 -07:00
Matt Garnes
087f2b536d
Update API txt files for cyanogenmod.media.MediaRecorder.
...
Update API txt files for PartnerInterface.
Change-Id: I9a7d184791f9078b724c46cb5c9f7f2fe4557719
2015-09-09 11:57:43 -07:00
Matt Garnes
eabd575721
Add Broadcast action and query API for AudioSource.HOTWORD.
...
- Add ACTION_HOTWORD_INPUT_CHANGED broadcast action and related extras.
- Add getCurrentHotwordPackageName() API to SettingsManager to query the
current package name of the application that controls the HOTWORD
input.
- Rename SettingsManager to PartnerInterface.
Change-Id: I5987499cd32908c47a7e8e95d644c483dc32914c
2015-09-08 17:28:20 -07:00
Matt Garnes
a458122384
Allow whitelist for MODIFY_NETWORK_SETTINGS permission.
...
Change-Id: If4e8137bd782b43f5bd6bd08804a5130deb05359
2015-09-03 14:49:03 -07:00
Matt Garnes
26272cd1ae
Add Hotword audio capture constants.
...
Add constants to expose the system level hotword audio capture
permission and input source.
Change-Id: Ibc52dc27097dcb69125fc9c6381e021583cba148
2015-09-03 11:42:17 -07:00
Adnan Begovic
99b8c5d9f3
cmsdk: Update documentation for Boysenberry release.
...
Change-Id: I5bbd18d2d182b0c2fbecdc19484a4e6533b0fb28
2015-09-02 10:36:38 -07:00
Adnan Begovic
bc2ea6b4a7
cmsdk: Update documentation for HAF permission.
...
Change-Id: I0b02f23335d13a95abef31bd4cbe6fac7c7b5519
2015-09-01 18:00:39 -07:00
Adnan Begovic
04569c79bf
cmsdk: Update tests for new ALARM permissions.
...
Change-Id: I51e8b503af22b23584a8f8bd552825a9cf0786a4
2015-09-01 17:22:33 -07:00
Adnan Begovic
9971604ed5
cmsdk: Update cm-api for hasSensitiveData() and new permissions.
...
Change-Id: Iffc308a434ee9c82ba4278972bbfe774436bcfab
2015-09-01 17:19:51 -07:00
Adnan Begovic
7f17704974
cmsdk: Add permissions for ALARMS.
...
Change-Id: Ibf8f8a51b97d4c90dcddb11f093e64d82b478f44
2015-09-01 17:14:11 -07:00
Adnan Begovic
052391135b
cmsdk: Enforce cyanogenmod.permission.MODIFY_PROFILES for profiles.
...
Change-Id: Id14bfd9b214b4f53960c55d8abab2764f990b1b6
2015-09-01 15:40:58 -07:00
Adnan Begovic
88bc9965e9
cmsdk: Fix toast in CMHardwareTest.
...
Change-Id: Ia565607b9b43ad57923c07830a3373c73060ea5d
2015-09-01 14:59:21 -07:00
Adnan Begovic
c0c27a6f94
cmsdk: Add preliminary hardware manager tests.
...
Change-Id: Ic01898fc9c1ae4d9c3b52ade8737ec6ab8388670
2015-09-01 14:13:03 -07:00
Adnan Begovic
3a502e91b2
cmsdk: Change parceling for DisplayMode.
...
Change-Id: Ied3521e3fb7c3f198c0b17d82638fa21ad5cd69a
2015-09-01 14:12:21 -07:00
Adnan Begovic
c5fa7bcf01
cmsdk: Fix spelling error in CMSettingsProvider makefile.
...
Change-Id: I21689c41a112995e133d4221a14e65e805b4cc31
2015-09-01 14:11:29 -07:00
BadDaemon
40a46bd09e
BugFix: Fix potential NPEs with getService()
...
Should fix
"java.lang.NullPointerException: Attempt to invoke interface method
'int cyanogenmod.hardware.ICMHardwareService.getSupportedFeatures()'
on a null object reference" and others
Change-Id: Ic5a02fc953376aa746844fd6c2f93b5f48246516
2015-09-01 14:11:01 -07:00
Michael Bestas
6850732052
Automatic translation import
...
Change-Id: I9dd6196fc0afa491fec0437e5a5d2fbe4d1ce4e2
2015-09-01 13:00:18 -07:00
Jorge Ruesga
95dadd837c
cmsdk: allow custom tiles to set the new qstile's sensitive data flag
...
Requires: topic:hide-qs-tiles
Change-Id: I71c85a00ae5797f1e142073b4d6a3a4c3274007b
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
2015-08-31 16:41:09 -07:00
Yvonne Wong
0eb2999091
Add CMSettingsProvider and CMDatabaseHelper
...
issue-id: CYNGNOS-828
Change-Id: I01c08c0e432d6a941950a565e5ab6664664e2a7f
2015-08-31 13:52:27 -07:00
Adnan Begovic
e949433c08
cmsdk: Build in the Manifest and R classes for the sdk.
...
Change-Id: I22f9c455a4a9b7bd03018cf1fe82222bc7b36083
2015-08-31 13:27:17 -07:00