Adnan Begovic
cc979035e7
CMSDK: Make sure to initialize ProfileTriggerHelper.
...
OSS-JIRA: NIGHTLIES-1480
Change-Id: I48fbb350d96424b593858aca1b2343a79f298b0c
2015-07-01 01:04:29 -07:00
Adnan Begovic
4334b3d969
CMSDK: Introduce Profiles API from frameworks.
...
Refactor to create a system service in secondary
CM framework.
Change-Id: Ic69da01d941bbd09271c260429d744f8e79ab7b9
2015-06-25 17:35:48 -07:00
Jorge Ruesga
635f8f1657
cmsdk: notify new listeners all registered custom tiles
...
If a new listener is created, then notified all custom tiles that was previously registered
Change-Id: I9e8d9a1fa84d54b00ea7fd8ed400e172f17f06cc
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
2015-06-14 00:50:37 +02:00
Jorge Ruesga
08a3470a78
cmsdk: customtiles: allow load resources from external packages
...
Saved the context passed to CustomTile.Builder in other to differenciate from the context
used to publish the tile. This allow to load resources (icons) from other packages
Change-Id: I8e40bc59a66f371f3a02f0182e25c6e9eca73c63
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
2015-06-14 00:07:54 +02:00
Adnan Begovic
2217bb4197
CMSDK: Remove dead code.
...
Change-Id: If08729e64271ed72545eddc8da3147f23c6f2d75
2015-05-18 16:35:01 -07:00
Adnan Begovic
37c4b96e0b
CMSDK: Don't share a namespace with the library.
...
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
2015-05-13 04:54:40 -07:00
Danny Baumann
7267e32ca4
Fix package name.
...
Package names must contain at least one period if they're not 'android'.
Change-Id: I43658b30837efcaf099e8c02454154e9a57e1a91
2015-05-13 04:27:47 -07:00
Adnan Begovic
3f13414fde
CMSDK: Make sure we're binding the correct permission for enforcement.
...
Change-Id: Ie58b11cfa972f449bfc20b05f4b52b7cd28ab7d5
2015-05-13 01:39:34 -07:00
Adnan Begovic
37fc76fe96
CMSDK: Create cyanogenmod platform resource package.
...
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
2015-05-12 17:40:49 -07:00
Adnan Begovic
e54a96d647
CMSDK: Update implementation for permission declarations.
...
Change-Id: I9cca55f693ef3f0363bac2f5c8ae1db07adc4f34
2015-04-30 17:26:01 -07:00
Adnan Begovic
a7d6fc579f
CMSDK: Refactor compile, prepare for integration tests.
...
Also don't build CMPlatformTests unless explicitely called.
Change-Id: I3fd8f884d8815eab9987077766c0ff2fe3f98b4d
2015-04-30 11:10:56 -07:00