Commit Graph

78 Commits

Author SHA1 Message Date
Adnan Begovic
d848990b8d cmsdk: Add functional manual test for custom uri publish tile.
Change-Id: I0c4dd084499a06d8e8a9a1045f486655ef1a5c73
2015-07-15 12:56:15 -07:00
Adnan Begovic
32e97d8ace cmsdk: Add unit tests for CustomTile parceling.
Change-Id: Ic558dcdb70a795c9ffa2e56958228eae906b90a6
2015-07-15 12:55:44 -07:00
Adnan Begovic
1f5ae92f44 cmsdk: Add simple profile manager tests.
Change-Id: I73af75d956eeef0a621c713806245b51bacdbc18
2015-07-15 11:50:01 -07:00
Adnan Begovic
662628ae2b cmsdk: Add unit tests for Profile parceling.
Change-Id: I4230b1340ff3cce34defb88e50adb4cf48ab4c7a
2015-07-15 11:23:14 -07:00
Adnan Begovic
acc870807d cmsdk: Add unit tests for versioning with os.Build
Change-Id: I0efbd7a3d23dc3b29b06219ecbf3887f17fe6801
2015-07-15 11:23:13 -07:00
Adnan Begovic
e341fb2618 cmsdk: Fix Profile parceling.
Change-Id: I5cc260e902ef96f209ba55361374f795b81cc592
2015-07-14 18:09:13 -07:00
Adnan Begovic
e953794896 cmsdk: Add CMStatusBarManager and CustomTile.Builder tests.
Change-Id: I9df217cd94d489204f51de220bdf4c0b0b677e15
2015-07-14 15:13:30 -07:00
Adnan Begovic
ca648dc879 cmsdk: Update profiles functional tests.
Change-Id: I815e19ce51efaa973734ac45fc3cd8d28b9f0db0
2015-07-14 13:56:03 -07:00
Adnan Begovic
c9295fb9cc cmsdk: Clear calling identity when resetAll is called.
Change-Id: Id39eb18165d12a792c141dc44840a122d509dece
2015-07-14 13:42:41 -07:00
Adnan Begovic
f9ec3a4da3 cmsdk: Add boysenberry to api text.
Change-Id: Ifaa252536a2b11aca7951d1fcd52a189755f7909
2015-07-13 17:14:30 -07:00
Adnan Begovic
a7fb315791 cmsdk: Name api level 2 as boysenberry.
Change-Id: I4a70218b3c8f43771bfc7050d805244ef96785e6
2015-07-13 17:13:38 -07:00
Jorge Ruesga
63524972a3 cmsdk: fix cannot create handler
Change-Id: I34153f6199d46b7fa9a914efa38552b8d66c0c99
JIRA: NIGHTLIES-1532
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
2015-07-13 16:58:16 -07:00
Adnan Begovic
eddb89c527 cmsdk: Update api text files.
Change-Id: Iee8a09bfecf0060242468d995e9aa7a79eb18de7
2015-07-13 15:22:34 -07:00
Adnan Begovic
e3ad391d35 cmsdk: Target 2nd API level on documentation generation.
Change-Id: I86a2d8e8111dde01c878020cd38ff58bea09cbe5
2015-07-13 15:18:07 -07:00
Adnan Begovic
6f584468bc cmsdk: @hide everything relating to ProfileGroups, until complete.
Change-Id: Ic1ad2183bd6cdbf5d3bb5a8ac6d2d14199073c98
2015-07-13 14:01:03 -07:00
Adnan Begovic
5c8fe31f73 cmsdk: Update profile settings documentation.
Change-Id: Ifbe9c2beb880773fccad495e35de3e290980bd9d
2015-07-13 12:34:34 -07:00
Michael Bestas
a7579da079 Automatic translation import
Change-Id: I0c0bee3916767b92b42a616aef41e87d97ed1118
2015-07-13 01:03:20 +03:00
Adnan Begovic
cf0bfd333e CMSDK: Begin documentation and testing for profiles.
Change-Id: I06c02f6aed63cfa0483376ae93a3f9a594aff201
2015-07-10 14:40:52 -07:00
Adnan Begovic
125c8993ca CMSDK: Utilize CMSDK_PACKAGE_ID.
Change-Id: I98a995959226c1feaa0a6ece447e557857a84f99
2015-07-10 11:01:28 -07:00
Adnan Begovic
6e46829eb7 CMSDK: Introduce factored out resources from framework.
Change-Id: I4193db99f3f883260354cde98366f94c608f6163
2015-07-09 20:05:29 -07:00
Michael Bestas
1ba6ee279a Automatic translation import
Change-Id: Ib56e96268fbbb444d4cbfab7994a6913b96f1aa2
2015-07-02 00:22:13 +03:00
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
Adnan Begovic
4e081aef67 CMSDK: Update iconography for resource package.
Change-Id: I6259d4dde7af32bb99263227bb93a5dee3a972d0
2015-06-23 19:24:18 -07:00
Adnan Begovic
f1f9f25a34 CMSDK: Only target specific packages for checkapi.
Change-Id: I0dce0c9ff92f6b5fb670c17660ffa9dfaca79d79
2015-06-23 03:38:36 +00:00
Adnan Begovic
3ca85b345d CMSDK: Add SINCE API level for docs.
Change-Id: I2f0dbab313e07221e2b2fb06894d3eff0d011d00
2015-06-23 03:38:22 +00:00
Michael Bestas
c8b2fbaad1 Automatic translation import
Change-Id: I700fa5f8c4c8ec9964dbf78e5fc57718e1db04ef
2015-06-23 01:03:13 +03: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
Michael Bestas
6b9dbb295d Automatic translation import
Change-Id: I11386e177982008fb052829bdcfd9969145ef587
2015-06-13 21:11:36 +03:00
Jorge Ruesga
9567e3eb67 cmsdk: fix customtile listener service registering logic
mWrapper was never sets. getStatusBarInterface() before check mWrapper instance

Change-Id: Ib280fdf70bc96dcc2ec6c86c6a8bc380dc1e3da1
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
2015-06-11 02:35:20 +02:00
Michael Bestas
c616c93749 Merge "Automatic translation import" into cm-12.1 2015-06-09 18:52:51 +00:00
Jorge Ruesga
f58b595b6f cmsdk: do not crash system if CustomTileListenerService isn't present
Change-Id: I786f3e791f0fe9fad12cc48846b6d4f8687dff8c
JIRA: NIGHTLIES-1249
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
2015-06-09 18:15:21 +00:00
Adnan Begovic
3f7e428fdd CMSDK: Update current and system api texts.
Change-Id: I7ac3a72cb7d2a840614801a85bad4db099245216
2015-06-09 11:03:37 -07:00
Michael Bestas
853240ece1 Automatic translation import
Change-Id: I3ec69dfc486ec5b10461c3a8e8cf6ce60a24fa0b
2015-06-09 20:36:55 +03:00
Adnan Begovic
5024f16809 CMSDK: Utilize a SparseArray instead of Map, avoid autoboxing.
Change-Id: I207c4d323968f3491b0635859a52402215cdc599
2015-06-08 16:39:58 -07:00
Adnan Begovic
757d564a12 CMSDK: Update for versioning tests.
Change-Id: I0dfd4a9a158b08fc556ddf9c20e0167f99827d17
2015-06-08 16:20:06 -07:00
Adnan Begovic
e08be735a4 CMSDK: Create versioning for platform SDK.
Introduce Apricot, the first version for the
  platform sdk.

Change-Id: I4963650cb861725508aa71276977ac6157f248fc
2015-06-08 16:19:57 -07:00
Adnan Begovic
16cd8dd48f CMSDK: Update tests for ExpandedStyles
Change-Id: Ie1dd9a4d02a71845bfdc9c2096a570e3ba75fee9
2015-06-04 17:33:03 -07:00
Adnan Begovic
1299f2b0e5 CMSDK: Document the capabilities of ExpandedStyles for CustomTile.
Change-Id: I4e609a9ad7ec17d18271334dfb087a51eb5d5bd6
2015-06-04 17:33:03 -07:00
Adnan Begovic
ee4e8f9bea CMSDK: Update samples for expanded styles.
Change-Id: I2421ce3f2cf349acf726554f22108bbfcf895bfb
2015-06-04 17:33:03 -07:00
Adnan Begovic
eac6272970 CMSDK: Create support for ExpandedStyles in CustomTiles.
Applications can now set and expanded style for either a
  gridview layout or a listview layout when providing content
  to be shown in the details panel.

  The mechanism is shown below

  mCustomTile = new CustomTile.Builder(this)
        ...
        .setExpandedStyle(new CustomTile.ListExpandedStyle())
        .build()

  Within SystemUI, if your application states that it wants an expanded
  view, the expanded view onclick will take priority over both
  the onClick intent as well as the onClickUri.

Change-Id: Ib181dab32d1792b6b778fd1ea2f0531bdf407c5f
2015-06-04 17:33:02 -07:00
Adnan Begovic
2c6734a167 CMSDK: Actually hide ThemeVersion.
Change-Id: If30819b969719f8af5693e37eb825d615c555131
2015-06-05 00:32:21 +00:00
Adnan Begovic
273f2dbd6e CMSDK: Add check-api generated texts.
Change-Id: I3742459a49795860cf91368b356850ae65b8eeae
2015-06-01 10:11:30 -07:00
Adnan Begovic
62c951ef68 CMSDK: Setup initial check-api mechanism.
Change-Id: I05b6dc7bde4037fbbe1b41ebb3ade8226d274199
2015-06-01 10:11:30 -07:00
Andy Mast
25410f2426 Introduce Theme Versioning [2/2]
See also frameworks/base

Change-Id: I17fd6bfa39ce04fcfb344d14a6af1a6a09ed3f2f
2015-06-01 17:10:07 +00:00
Michael Bestas
cbc19f5cf2 Automatic translation import
Change-Id: I7456865cffd86c885403e4406dbfa405f477e86d
2015-05-31 16:59:52 +03:00
Adnan Begovic
064eda25fa Merge "CMSDK: Hide CMContextConstants from docs." into cm-12.1 2015-05-28 21:41:16 +00:00
Adnan Begovic
e2feecb3f1 CMSDK: Hide CMContextConstants from docs.
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
2015-05-27 15:34:34 -07:00
Michael Bestas
0b75e32039 Improve strings
Change-Id: I65995f20e00b9b6068b3f93ae87da963e648d7fa
2015-05-25 22:48:37 +03:00