aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge "CMSDK: Hide CMContextConstants from docs." into cm-12.1Adnan Begovic2015-05-281-3/+3
|\
| * CMSDK: Hide CMContextConstants from docs.Adnan Begovic2015-05-271-3/+3
| | | | | | | | | | | | | | | | | | Until we can reference these managers through the current context, we should hide the constants that are utilized to retrieve them. Current implementations should stick to the singleton getInstance pattern. Change-Id: I6c084a3a5b0745b0b6c5d10e000a40f5e61117ea
* | Improve stringsMichael Bestas2015-05-251-4/+4
| | | | | | | | Change-Id: I65995f20e00b9b6068b3f93ae87da963e648d7fa
* | Automatic translation importMichael Bestas2015-05-2413-0/+280
|/ | | | Change-Id: I4ff725cb306ba6371233bb7c3d3991e344821511
* 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-193-9/+19
| | | | Change-Id: I1aac7721244a510acb967f5995303ab9d57a11d3
* CMSDK: Remove dead code.Adnan Begovic2015-05-181-3/+0
| | | | Change-Id: If08729e64271ed72545eddc8da3147f23c6f2d75
* Automatic translation importMichael Bestas2015-05-1613-0/+309
| | | | Change-Id: Icc92eb3452257cb6c4bbfc7c6558ba4708731a21
* Merge "Rename resource files" into cm-12.1Michael Bestas2015-05-132-0/+0
|\
| * Rename resource filesMichael Bestas2015-05-132-0/+0
| | | | | | | | | | | | No need for the cm_ prefix on non-AOSP projects Change-Id: I27360c49792093c90207950687ea4a61a9d8f3a3
* | CMSDK: Don't share a namespace with the library.Adnan Begovic2015-05-133-6/+6
|/ | | | | | | | | | | 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-133-6/+7
| | | | | | Package names must contain at least one period if they're not 'android'. Change-Id: I43658b30837efcaf099e8c02454154e9a57e1a91
* CMSDK: Make sure we're binding the correct permission for enforcement.Adnan Begovic2015-05-131-1/+1
| | | | Change-Id: Ie58b11cfa972f449bfc20b05f4b52b7cd28ab7d5
* CMSDK: Update tests for new permissions.Adnan Begovic2015-05-131-1/+1
| | | | Change-Id: I77d2cc332c453cfbd8aad375c482358039f13d03
* CMSDK: Update sample for new declared permission.Adnan Begovic2015-05-131-1/+1
| | | | Change-Id: I0ddc4808c24f21d9a0c604059dd86200329c77b3
* CMSDK: Ignore subdir layer for resource package.Adnan Begovic2015-05-121-0/+3
| | | | Change-Id: Id31db92d222e2edb7cf4725b4fcc58a154db0d69
* CMSDK: Create cyanogenmod platform resource package.Adnan Begovic2015-05-127-10/+186
| | | | | | | | | | | 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: Don't cancel pendingintent, update instead.Adnan Begovic2015-05-042-2/+2
| | | | Change-Id: I557b50fe024feb48c79f71d0ee8882ebaaa80f9f
* CMSDK: Add a sample showing custom tile toggle.Adnan Begovic2015-05-0111-0/+230
| | | | Change-Id: Icba72a5454b0245d9030e91020609b18ba503ef7
* CMSDK: Update permission for tests.Adnan Begovic2015-04-301-1/+1
| | | | Change-Id: I2ab6dd6120cfbb8e24445f3c5f6b49833afdd8b1
* CMSDK: Update implementation for permission declarations.Adnan Begovic2015-04-303-11/+27
| | | | Change-Id: I9cca55f693ef3f0363bac2f5c8ae1db07adc4f34
* CMSDK: Update READMEAdnan Begovic2015-04-302-0/+3
| | | | Change-Id: I1d2d0466a6d89d8dbdfbe2aeb21ffcbdd39d0212
* CMSDK: Update javadocs for onClick vs onClickUri.Adnan Begovic2015-04-301-2/+5
| | | | Change-Id: I79c9bcfb757e0c57bbfb5c44331a3a74490c5276
* CMSDK: Refactor compile, prepare for integration tests.Adnan Begovic2015-04-304-3/+8
| | | | | | Also don't build CMPlatformTests unless explicitely called. Change-Id: I3fd8f884d8815eab9987077766c0ff2fe3f98b4d
* CMSDK: Introduce preliminary automatable tests.Adnan Begovic2015-04-2911-0/+292
| | | | Change-Id: I27e21f64dee4aa93e5453ce49ec9fcac8f984d11
* CMSDK: Allow for a settings intent to be set by 3rd party.Adnan Begovic2015-04-291-0/+36
| | | | | | | This onSettingsClick intent will be triggered when the detail pane is shown in SystemuI and the user clicks "More Settings". Change-Id: I3ddb65c64e81cd230718e7e6e56c436e5b05df8c
* CMSDK: Create means of removing tiles via listener interface.Adnan Begovic2015-04-293-2/+65
| | | | Change-Id: I8934fe5c82963a3aba38ce5eec6e59e50a820d17
* CMSDK: Create Quick Settings Tile API.Adnan Begovic2015-04-2615-0/+2385
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Add initial README.Adnan Begovic2015-04-221-0/+0