Commit Graph

296 Commits

Author SHA1 Message Date
Adnan Begovic
d2bc093117 cmsdk: Update manual functional tests for shouldCollapsePanel.
Change-Id: I45028879e3cc259549b4ed43b9af15e062b07697
2015-07-27 13:16:38 -07:00
Adnan Begovic
5aa4db2e90 cmsdk: Add unit tests for shouldCollapsePanel
Change-Id: If9997c1be005f962dc628888f1090cb973588bb4
2015-07-27 13:16:38 -07:00
Adnan Begovic
3290540468 cmsdk: Add method for shouldCollapsePanel.
- Allow for disabling of panel collapse when
  handling an onClick or onClickUri event in
  CustomTile.

Change-Id: I73bd513baf0fb8b7db33020a3456430702ccd609
2015-07-27 13:16:38 -07:00
Michael Bestas
ff70bebdc9 Automatic translation import
Change-Id: I6dc975730af07f218b75edb2f0bc4616abc278ab
2015-07-27 20:52:29 +03:00
Adnan Begovic
f68c6c7e98 cmsdk: Hide PARCELABLE_VERSION constant which varies between releases.
Change-Id: I3bdeb9b359e46f0c02e833b23a958d071fc63df5
2015-07-21 15:51:59 -07:00
Adnan Begovic
a276a418f2 cmsdk: Update api text for recent changes.
- Specific parceleable version
  - Update constants for profile extras

Change-Id: Ibfad1c6b2549ff0bdf9ea4f9e580667e30830d63
2015-07-21 11:56:26 -07:00
Adnan Begovic
dbed0bfc68 cmsdk: Add tests for StatusBarPanelCustomTile parceling.
Change-Id: I10058517992cff27de86914c30e41a4b58958723
2015-07-20 22:07:15 -07:00
Adnan Begovic
33a24ad589 cmsdk: Declare a parcelable header.
- This change forces that a parcelable header is written as the
  first data positions in a parcel and defines a means to distinguish
  between old sdk class versions vs new ones to do proper unraveling
  of parcels.

Ticket: BAMBOO-152
Change-Id: I9cc762fe8a51cc527e85be7fe5de57e4613be019
2015-07-20 21:57:43 -07:00
Adnan Begovic
5ff5e10bf0 cmsdk: Make sure we're not including source from internal package.
Change-Id: Ib0d5be9894e7181a3481969eea8bba848f7fdbb8
2015-07-20 11:51:24 -07:00
Michael Bestas
f12419a12c Automatic translation import
Change-Id: Ic3e483b4231fbec721d1e23984164aa37ddb1d1f
2015-07-19 15:50:09 +03:00
Adnan Begovic
75cd945923 cmsdk: Update intent action extras to match new namespace.
Change-Id: Iad255ebc25b43aa582edf2bf496412d54c7216a9
2015-07-17 15:51:49 -07:00
Adnan Begovic
02e761ff28 cmsdk: Fix javadoc comment for CM_VERSION_CODES.
Change-Id: Ib5205051ffeb830df96b4c0fb30a9a0b5a7616ce
2015-07-17 13:55:06 -07:00
Adnan Begovic
ce52da697f cmsdk: Update api files for intent action change.
Change-Id: Ifd81f220a7c9430133446b2d1cc3520f6250790c
2015-07-17 13:54:46 -07:00
Adnan Begovic
af4e7b4cf0 cmsdk: Update PROFILE_PICKER intent action.
Change-Id: I2fc91a642b7947ac49a33232164fcaf88a4b95f4
2015-07-16 17:55:29 -07:00
Adnan Begovic
c67a9eb511 cmsdk: Clean up constant linking for javadoc.
Change-Id: I52c724b3f7caf66d24401c7f50435c42f4692d5a
2015-07-16 16:10:56 -07:00
Adnan Begovic
06fc4498e4 cmsdk: Return UNKNOWN for impossible sdk ints.
Change-Id: I77a44abba0db223b031d6714c4fd8beb03a43cdc
2015-07-16 16:03:36 -07:00
Adnan Begovic
6714bfe38b cmsdk: Add documentation for validating API level.
Change-Id: I9a9fd444e6e2682dc59b28b72db7a3d33eca10fa
2015-07-16 13:18:41 -07:00
Adnan Begovic
577fe6a5a0 cmsdk: Add copyright header for ProfileManagerTest.
Change-Id: Iee9094113aa6029202c79be2169a9440c97723f8
2015-07-15 12:56:42 -07:00
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