aboutsummaryrefslogtreecommitdiffstats
path: root/Android.mk
Commit message (Collapse)AuthorAgeFilesLines
* cmsdk: include our own consumer proguard rulesJorge Ruesga2016-05-021-0/+1
| | | | | | | | | | | Include a proguard file with can be consumed by the latest gradle plugin to merge this ones rules without the rules of the app linked to. This way devs doesn't need to declare (in a recent version of the gradle plugin) -dontwarn and -dontnote for cyanogenmod.library when linked to it, because proguard crashes the build because it cannot access to cm system private classes. Change-Id: I7c94a9119db744b0029b4d9a8aa782adcbd47b93 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* cmsdk: Exclude compiled 'cyanogenmod/library' java package.Adnan Begovic2016-04-141-0/+4
| | | | | | | | | | | | | Since aar's contain the raw resource to be compiled into the consumer package, having the compiled java from the resources inside of the java archive can lead to multiple instances of the class in the target package during compilation. Avoid that scenario by excluding the compile 'cyanogenmod/library' package from the final aar. TICKET: CYNGNOS-2305 Change-Id: I3b40205f4c2173ecd059e034312ed18dc9c6de34
* cmsdk: compile as aarRoman Birg2016-04-121-16/+9
| | | | | | | | | for common resources TICKET: CYNGNOS-2305 Change-Id: Idc1872b5fa3884754b49b08d2f8381f18fba234d Signed-off-by: Roman Birg <roman@cyngn.com> Signed-off-by: Adnan Begovic <adnan@cyngn.com>
* cmsdk: Introduce Fig, api level 6.Adnan Begovic2016-04-011-2/+3
| | | | | Change-Id: I2916b1462c1f0b9582f4fefac82f60c20f820b85 TICKET: CYNGNOS-2303
* cmsdk: Move sdk classes under new sdk directory.Adnan Begovic2016-04-011-22/+22
| | | | | TICKET: CYNGNOS-2299 Change-Id: Ia6c6a1ee901f4f94446c379cbceabfdfced651ef
* Revert "cmsdk: Fix cm system api stub generation."Adnan Begovic2016-04-011-2/+2
| | | | | | This reverts commit d2e7e04bc43efa9cb4a93e8c0218660ac1adb475. Change-Id: I307847bfa41cf2dcf3203ff199188422150618be
* cmsdk: Fix cm system api stub generation.Adnan Begovic2016-03-311-2/+2
| | | | Change-Id: I04287107d1f2cdfdf9c8cd7f5b713db3466239ec
* Add Weather Content Provider [4/5]Luis Vidal2016-03-311-1/+1
| | | | | | | | | | | | | Introduce CM Weather Manager and Weather Provider Services API. The CM Weather Manager can be used by apps to request weather updates. The Weather Provider Services API allows a third party developer to implement a weather service to process weather update requests and update the CM Weather Content Provider data which can be consumed by any other app holding the required permission. Change-Id: Idcc80712ba92715109d3577d120f7fea85d6c996
* Update stubs to include cyanogenmod.themes packaged34d2016-03-041-2/+5
| | | | | | | | This patch also adds a new variable stub_packages which is used when generating docs for public and system api, instead of defining it twice. Change-Id: I7d87b94088fca5b053f0447067c239006af72ad9
* cmsdk: Add cyanogenmod.util to stubs and update APISteve Kondik2016-03-041-2/+2
| | | | | | | * ColorUtils was recently added here and it's suitable for general consumption. Add this to the API. Change-Id: Iff89d5714092d02070f1c6805e0e8f95debd980d
* cmsdk: Set explicity dependency for res package files.Adnan Begovic2016-02-171-0/+6
| | | | | | | | | | During checkapi-cm invocation under make, the api text generation dependant on the stubs (which depend on the sdk intermediates) needs the res package files: Manifest and R.java, to be available in the intermediates. Change-Id: I19921f1b5531822341a6804cf83e1b0b21b9f8bf TICKET: CYNGNOS-2049
* cmsdk: Disable verbose logging on doclava, add cleanspec.Adnan Begovic2016-02-091-4/+2
| | | | | Change-Id: I44e8b458d4e46cf03ec18776c4ca296c53b440dd TICKET: CYNGNOS-1950
* cmsdk: Introduce Elderberry, api level 5.Adnan Begovic2016-01-181-2/+3
| | | | Change-Id: I916cb96e86e7dcee04b3b4cd08fec934b1ce5876
* cmsdk: Add external views package for api stubs.Adnan Begovic2016-01-061-2/+2
| | | | Change-Id: I96b5e77331910765b5762d645fa9adbff46281fd
* cmsdk: Add cmsdk non-jack target module.Adnan Begovic2016-01-051-0/+27
| | | | | | | | | Since LOCAL_JACK_ENABLED isn't flexible enough to have generation of both java archives and jack binaries, we can work around this by having a secondary module defined that disables jack compile. Change-Id: Ied647b659c13b672621d82af536d1ed447d5f7fa
* cmsdk: Also hide internal package from docs.Adnan Begovic2016-01-021-0/+1
| | | | Change-Id: I278e00dbf4f1661383b3a6e3c67987c67ff202d7
* cmsdk: Fixup stub generation.Adnan Begovic2015-12-221-10/+15
| | | | Change-Id: I1b033ff646dbbdafa5d0efcaf110b76ca48980e3
* cmsdk: Compile in internal java src files to internal sdk.Adnan Begovic2015-12-011-0/+1
| | | | Change-Id: Id649dca11f506bae78345dbebb2061312e6973b7
* cmsdk: Refactor the PerformanceManagerSteve Kondik2015-11-031-2/+2
| | | | | | | * Remove all code and configuration into CMSDK. * Deprecate the properties-based API Change-Id: Ib14ce5b8623cb368e6b545d1f82bc9c58580e13b
* cmsdk: Add an internal target which includes all resourcesSteve Kondik2015-11-031-0/+29
| | | | | | | | * 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
* cmsdk: Fix issue with intermediates not readySteve Kondik2015-11-031-0/+1
| | | | Change-Id: Id0dcfd7dc4a3ce50bed3dcd61c6d402c872c74de
* cmsdk: Introduce content classes.Adnan Begovic2015-10-291-2/+2
| | | | Change-Id: I6306a3b240de2777f1ed8482eb4a76d4d7ea0237
* cmsdk: API level 4 for M release.Adnan Begovic2015-10-071-1/+2
| | | | Change-Id: Ieed8ebf256e91515b6921186487b83462910bca9
* cmsdk: Create api level 3, cantaloupe.Adnan Begovic2015-09-291-1/+2
| | | | Change-Id: I5cefacf1196261b071ce2c3561f18ebaf74de604
* Add Hotword audio capture constants.Matt Garnes2015-09-031-2/+2
| | | | | | | Add constants to expose the system level hotword audio capture permission and input source. Change-Id: Ibc52dc27097dcb69125fc9c6381e021583cba148
* Add CMSettingsProvider and CMDatabaseHelperYvonne Wong2015-08-311-2/+2
| | | | | | issue-id: CYNGNOS-828 Change-Id: I01c08c0e432d6a941950a565e5ab6664664e2a7f
* cmsdk: Build in the Manifest and R classes for the sdk.Adnan Begovic2015-08-311-0/+7
| | | | Change-Id: I22f9c455a4a9b7bd03018cf1fe82222bc7b36083
* cmsdk: Transplant CMHW into CMSDKSteve Kondik2015-08-191-3/+4
| | | | | | * Moving CMHW out of the framework and into CMSDK. Change-Id: I0b68b67d059e2310c83e253a9071d886ed6760cb
* Add AlarmClock support for CM DeskClock manipulation.Matt Garnes2015-08-061-2/+2
| | | | | | | | | | - In order to externalize the AlarmClock provider within DeskClock, move the database contract, ClockContract, into the SDK so that interested parties can reference it. - Add CyanogenModAlarmClock to add new utilities for turning existing alarms on/off and creating new alarms. Change-Id: I1f11ccc3988bdef10d721e2038b2c7d69a4ae598
* cmsdk: Make sure we're not including source from internal package.Adnan Begovic2015-07-201-7/+11
| | | | Change-Id: Ib0d5be9894e7181a3481969eea8bba848f7fdbb8
* cmsdk: Target 2nd API level on documentation generation.Adnan Begovic2015-07-131-3/+4
| | | | Change-Id: I86a2d8e8111dde01c878020cd38ff58bea09cbe5
* CMSDK: Only target specific packages for checkapi.Adnan Begovic2015-06-231-9/+6
| | | | Change-Id: I0dce0c9ff92f6b5fb670c17660ffa9dfaca79d79
* CMSDK: Add SINCE API level for docs.Adnan Begovic2015-06-231-0/+1
| | | | Change-Id: I2f0dbab313e07221e2b2fb06894d3eff0d011d00
* CMSDK: Setup initial check-api mechanism.Adnan Begovic2015-06-011-18/+97
| | | | Change-Id: I05b6dc7bde4037fbbe1b41ebb3ade8226d274199
* Merge "CMSDK: Make sure to hide internal package from docs." into cm-12.1Adnan Begovic2015-05-191-0/+1
|\
| * CMSDK: Make sure to hide internal package from docs.Adnan Begovic2015-05-191-0/+1
| | | | | | | | Change-Id: Ia12c04af7106113aadd3a822bd2b3f1606331726
* | CMSDK: Point to vendor/cm cmsdk templates for web.Adnan Begovic2015-05-191-1/+1
|/ | | | Change-Id: I2d9c266b129a918b9315cf797d82ad07c181b4a1
* CMSDK: Update code comments for permission changes.Adnan Begovic2015-05-191-1/+5
| | | | Change-Id: I1aac7721244a510acb967f5995303ab9d57a11d3
* CMSDK: Don't share a namespace with the library.Adnan Begovic2015-05-131-2/+2
| | | | | | | | | | | Otherwise PackageParser will skip you. W/ResourceType( 3077): ResTable_typeSpec entry count inconsistent: given 6, previously 1003 I/PackageManager( 3077): /system/framework/org.cyanogenmod.platform-res.apk changed; collecting certs W/PackageManager( 3077): Failed to parse /system/framework/org.cyanogenmod.platform-res.apk: Application package org.cyanogenmod.platform already installed. Skipping duplicate. Change-Id: Iddea111f4c9bbe69939266ce5c6902d176407b14
* Fix package name.Danny Baumann2015-05-131-2/+2
| | | | | | Package names must contain at least one period if they're not 'android'. Change-Id: I43658b30837efcaf099e8c02454154e9a57e1a91
* CMSDK: Create cyanogenmod platform resource package.Adnan Begovic2015-05-121-7/+32
| | | | | | | | | | | org.cyanogenmod.platform-res provides resources that, if public, are globally accessible. This allows us to declare public and internal permissions as well as reference permissions declared by the android framework core Change-Id: Ia7d541f4b403585f7479ecd87895987b8471005b
* CMSDK: Refactor compile, prepare for integration tests.Adnan Begovic2015-04-301-3/+1
| | | | | | Also don't build CMPlatformTests unless explicitely called. Change-Id: I3fd8f884d8815eab9987077766c0ff2fe3f98b4d
* CMSDK: Create Quick Settings Tile API.Adnan Begovic2015-04-261-0/+131
Create a simple CustomTile object with builder which lets a 3rd party application publish a quick settings tile to the status bar panel. An example CustomTile build: CustomTile customTile = new CustomTile.Builder(mContext) .setLabel("custom label") .setContentDescription("custom description") .setOnClickIntent(pendingIntent) .setOnClickUri(Uri.parse("custom uri")) .setIcon(R.drawable.ic_launcher) .build(); Which can be published to the status bar panel via CMStatusBarManager#publishTile. The CustomTile contains a click intent and click uri which can be sent or broadcasted when the CustomQSTile's handleClick is fired. This implementation closely mirrors that of NotificationManager#notify for notifications. In that each CMStatusBarManager#publishTile can have an appended id which can be kept by the 3rd party application to either update the tile with, or to remove the tile via CMStatusBarManager#removeTile. Change-Id: I4b8a50e4e53ef2ececc9c7fc9c8d0ec6acfd0c0e