c0550032b3b28a3ea8651819fa161e2b00f28283 |
23-Apr-2018 |
Jason Monk <jmonk@google.com> |
Don't crash on null slices. Test: existing tests Change-Id: I901d0ac993dfc448928fd0a6eb786ea88366aa53 Fixes: 78304470
ain/java/androidx/slice/compat/SliceProviderCompat.java
|
b33434b1ffcb7f3259e3475c207f8349ef660c56 |
23-Apr-2018 |
Jason Monk <jmonk@google.com> |
Slices: Make sure we have null protections on all calls Test: existing tests Change-Id: I19e715b04de55e40bc6f4b4248d33fab600ca408 Fixes: 78305434
ain/java/androidx/slice/compat/SliceProviderCompat.java
|
8da82d8108ae367bc780291966de6aec85e35459 |
18-Apr-2018 |
Jason Monk <jmonk@google.com> |
Add SliceProvider auto permission constructor Fix up tests as well Test: :slice-core:connectedCheck Bug: 77313888 Change-Id: I437d7ffc98b0b20f5dea1bf042968ab36f673bec
ndroidTest/java/androidx/slice/compat/CompatPermissionManagerTest.java
ndroidTest/java/androidx/slice/compat/SliceProviderCompatTest.java
ain/java/androidx/slice/SliceProvider.java
ain/java/androidx/slice/compat/CompatPermissionManager.java
ain/java/androidx/slice/compat/SliceProviderCompat.java
ain/java/androidx/slice/compat/SliceProviderWrapperContainer.java
|
38db00ef5d4b5a9d0d171f1bb15a5df567d448f6 |
17-Apr-2018 |
Jason Monk <jmonk@google.com> |
Fix slices on old devices We were using some methods that didn't exist, now all tests plass and renders don't look too terrible... Test: :slices-core:connectedCheck Test: :slices-view:connectedCheck Test: :slices-builders:connectedCheck Change-Id: Ifecae278a1168e39a7c935127b44b46c23b86eda
ain/java/androidx/slice/compat/SliceProviderCompat.java
|
53f3813122f6ca9e4aedd59b991b981e937aa08f |
17-Apr-2018 |
Jason Monk <jmonk@google.com> |
Fix slice compat permission check It wasn't checking the new permissions Test: :slice-core:connectedCheck Test: :slice-view:connectedCheck Bug: 77323760 Change-Id: Ib2beda70a2a81698dcbc019fefea5e134993b6f4
ndroidTest/java/androidx/slice/compat/SliceProviderCompatTest.java
ain/java/androidx/slice/SliceProvider.java
ain/java/androidx/slice/compat/CompatPermissionManager.java
ain/java/androidx/slice/compat/SliceProviderCompat.java
|
432265f1922d8d6bf208825855b2d16160599199 |
13-Apr-2018 |
Mady Mellor <madym@google.com> |
Fix some things in alpha branch * Ensure mode gets set on child views properly * Removes auth all grant code from slice browser * Exports SliceProvider * Removes unnecessary calling id check in METHOD SLICE that breaks backcompat * Fixes crash in ShortcutView when no action is set Test: ./gradlew slice-view:connectedCheck Change-Id: Ie1569da517ff1b1e5ecc692455ffa82d8302c423
ain/java/androidx/slice/Slice.java
ain/java/androidx/slice/compat/SliceProviderCompat.java
|
4b4e02aa45064c81de7b3d17eede71c381a2f19e |
08-Apr-2018 |
Jason Monk <jmonk@google.com> |
Protect against html craziness in slices permissions Test: visual Bug: 72749457 Change-Id: Ia0c66ee458c94f4b39be4942c79cf982ae0c0715
ain/java/androidx/slice/compat/SlicePermissionActivity.java
|
9e9f857ec07b05e1a6885c9fc6a2bf25b813259b |
13-Apr-2018 |
Jason Monk <jmonk@google.com> |
Fix breakages in SDK drop Test: buildOnServer Bug: 73123786 Change-Id: Ic8f774caa4ae1c00119e58d9e6fd31cc68016c94
ndroidTest/java/androidx/slice/SliceTest.java
ain/java/androidx/slice/Slice.java
ain/java/androidx/slice/SliceConvert.java
ain/java/androidx/slice/SliceItem.java
ain/java/androidx/slice/compat/SliceProviderWrapperContainer.java
|
2b05681de0cb6f58f4bd66a67035899b5984c066 |
12-Apr-2018 |
Jason Monk <jmonk@google.com> |
Add getPinnedSlices to supportlib Test: :slice-view:connectedCheck Bug: 73123411 Change-Id: I47efb3e70c532839fb8d815274dec085223d712a
ain/java/androidx/slice/compat/CompatPinnedList.java
ain/java/androidx/slice/compat/SliceProviderCompat.java
|
e7afe0ae24ffb00408f8903682a7d49a63c10d85 |
11-Apr-2018 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Add/fixup toString for slices" into pi-androidx-dev
|
89cf18f3de0356f0a5a063e05ba7c90cc7f1c1db |
11-Apr-2018 |
Jason Monk <jmonk@google.com> |
Add/fixup toString for slices Test: log toString results Change-Id: I06e5f17fa4b108628997416ef1ac228f87521c4b
ain/java/androidx/slice/Slice.java
ain/java/androidx/slice/SliceItem.java
|
71dd8103215b64d93217f04c2ceb21a63feff75e |
10-Apr-2018 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Bring SliceManagerCompat up to date with platform" into pi-androidx-dev
|
acf55343b1f323757dea6b9e2bda9c6f4931aa51 |
10-Apr-2018 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Support slice permissions++" into pi-androidx-dev
|
9532b516234612b15de3d0ce858cf6a05954bfbf |
10-Apr-2018 |
Jason Monk <jmonk@google.com> |
Bring SliceManagerCompat up to date with platform Need to support using the category to find slice providers. Test: :slices-view:connectedCheck Bug: 73123733 Change-Id: Ie6be66879854d2a7ce29083927b739b8d035dfa6
ain/java/androidx/slice/compat/SliceProviderCompat.java
|
43ba1c3f098b58d605fa100ab977cfc5e299309a |
07-Apr-2018 |
Jason Monk <jmonk@google.com> |
Support slice permissions++ These are much less interesting than the platform side. The prefix path matching code is copied from there, everything else is just storing/loading shared prefs. Ported the relevant CTS tests to be unit tests for slice manager. Test: :slices-view:connectedCheck Bug: 77323760 Change-Id: I1d7e6cac178e19f599475fe688b3ba463632d579
ain/java/androidx/slice/SliceProvider.java
ain/java/androidx/slice/compat/CompatPermissionManager.java
ain/java/androidx/slice/compat/SlicePermissionActivity.java
ain/java/androidx/slice/compat/SliceProviderCompat.java
|
804df9765a02a82283e93afbd16a5d2effbf833e |
10-Apr-2018 |
Aurimas Liutikas <aurimas@google.com> |
Merge changes I42b0cabe,I994fa62e into pi-androidx-dev * changes: Fix and enforce ReferenceEquality check. Start enforcing StringSplitter warnings.
|
04142429fa87e7fd8b4eb47887cbfc67c93d7090 |
09-Apr-2018 |
Mady Mellor <madym@google.com> |
Merge "Add min to InputRangeBuilder + support in RowView" into pi-preview1-androidx-dev am: d3a7dbaa6e Change-Id: I45725bf5bcb57e5e9c4888ef1f2465c0092242ca
|
3bc2c820c8cbab1cf67dbd836697f780265f0e7a |
06-Apr-2018 |
Mady Mellor <madym@google.com> |
Add min to InputRangeBuilder + support in RowView * Adds subtype that only exists in support lib for noting MIN values, removed some hints that can rely on FWK * Adds notion of setMin to InputRangeBuilder, does not set this for RangeBuilder (progressbar) because that seems weird and unnecessary?? * Adds API for metadata to retrieve minimum * Adds test for metadata API * Updates view side to handle this * Updates sample in Demos + Renders Test: ./gradlew slices-view:connectedCheck Bug: 77646495 Change-Id: I84da07906d7dcf405ba939f78d4ca362b15a3008
ain/java/androidx/slice/core/SliceHints.java
|
244232024786c3715124b4488fd48722f10c22fb |
05-Apr-2018 |
Aurimas Liutikas <aurimas@google.com> |
Start enforcing StringSplitter warnings. For the fixes see details here: http://errorprone.info/bugpattern/StringSplitter Test: ./gradlew assembleErrorProne Change-Id: I994fa62edaa734f08e846298d1286905b7b11a73
ain/java/androidx/slice/compat/CompatPinnedList.java
|
2e60beb64db1e59890f6a0674a93963e36629b6e |
04-Apr-2018 |
Jason Monk <jmonk@google.com> |
Fix crash if referencing context in onCreate Test: :slices-core:connectedCheck Bug: 77482321 Change-Id: Ifa17c6aa550eedec5d760a26e9e46337a9c336eb
ndroidTest/java/androidx/slice/SliceTestProvider.java
ain/java/androidx/slice/compat/SliceProviderWrapperContainer.java
|
fff563e49e127ad2b949f14a22534d6503fb21f5 |
04-Apr-2018 |
Jason Monk <jmonk@google.com> |
Add retentions to IntDefs that don't have them Test: build Bug: 77482321 Change-Id: I940e7aeca3f5c4e852d2ee8522a853c921d42545
ain/java/androidx/slice/core/SliceHints.java
|
6725bea2d0183972cc43c97f70b8f6427e5b4319 |
03-Apr-2018 |
Jason Monk <jmonk@google.com> |
Revert "Switch slice compat over to AppComponentFactory DO NOT MERGE" This reverts commit 13ae616e8b5dc3f1058480150175fd885d1ce894. Bug: 77540047 Change-Id: I87de8d1b7de494f12a4f39babaa855aa342f8b33
ain/java/androidx/slice/SliceProvider.java
ain/java/androidx/slice/compat/ContentProviderWrapper.java
ain/java/androidx/slice/compat/SliceProviderCompat.java
ain/java/androidx/slice/compat/SliceProviderWrapperContainer.java
|
eec929d27877c79f09c0c1c143a1daf12ba5f5b6 |
23-Mar-2018 |
Jason Monk <jmonk@google.com> |
Add getSliceDescendants to supportlib Test: slices-view:connectedCheck Change-Id: I70d869aa88f310f0d59d389c3b177f044b7c2913 Fixes: 76033313
ain/java/androidx/slice/SliceProvider.java
ain/java/androidx/slice/compat/SliceProviderWrapperContainer.java
|
180c9b580c5e49844beb3eff1c554b548691028e |
23-Mar-2018 |
Jason Monk <jmonk@google.com> |
Add getSliceDescendants to supportlib DO NOT MERGE Test: slices-view:connectedCheck Change-Id: I70d869aa88f310f0d59d389c3b177f044b7c2913 Fixes: 76033313
ain/java/androidx/slice/SliceProvider.java
ain/java/androidx/slice/compat/SliceProviderWrapperContainer.java
|
cc6dd6a065a0fc911813669d2be3a36b38c5ef03 |
03-Apr-2018 |
Jake Wharton <jakew@google.com> |
Add private constructors to static utility classes. am: a2870049af Change-Id: Ifa01f2b0a7e6080fe161c4d11c5600e2d9628af5
|
a2870049af171123f2ae34095fa930202c2a67cc |
03-Apr-2018 |
Jake Wharton <jakew@google.com> |
Add private constructors to static utility classes. Bug: 37063037 Test: none Change-Id: I132ed5f077d060ff5642bfc78c42ea00c4060770
ain/java/androidx/slice/compat/SliceProviderCompat.java
|
9399b1430f150241bd4ddbd89b78f3c352420f09 |
02-Apr-2018 |
Jason Monk <jmonk@google.com> |
Switch slice compat over to AppComponentFactory DO NOT MERGE Test: existing tests Bug: 77482321 Change-Id: Ia7ccc08d6412fbac463e1bec370fa98b7f09c703 (cherry picked from commit 13ae616e8b5dc3f1058480150175fd885d1ce894)
ain/java/androidx/slice/SliceProvider.java
ain/java/androidx/slice/compat/ContentProviderWrapper.java
ain/java/androidx/slice/compat/SliceProviderCompat.java
ain/java/androidx/slice/compat/SliceProviderWrapperContainer.java
|
13ae616e8b5dc3f1058480150175fd885d1ce894 |
02-Apr-2018 |
Jason Monk <jmonk@google.com> |
Switch slice compat over to AppComponentFactory DO NOT MERGE Test: existing tests Bug: 77482321 Change-Id: Ia7ccc08d6412fbac463e1bec370fa98b7f09c703
ain/java/androidx/slice/SliceProvider.java
ain/java/androidx/slice/compat/ContentProviderWrapper.java
ain/java/androidx/slice/compat/SliceProviderCompat.java
ain/java/androidx/slice/compat/SliceProviderWrapperContainer.java
|
d52507973fc77d4d3f2f5d62771d7eea2f0f19cb |
31-Mar-2018 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Import translations. DO NOT MERGE" into pi-dev
|
669f11159fc3182b284cc40d4387221da13e85e2 |
31-Mar-2018 |
Bill Yi <byi@google.com> |
Import translations. DO NOT MERGE Auto-generated-cl: translation import Bug: 64712476 Change-Id: I0e4c4a8c0eff645758c15755e2d2819aa238b14e
ain/res/values-as/strings.xml
ain/res/values-be/strings.xml
ain/res/values-ja/strings.xml
ain/res/values-or/strings.xml
|
07a4a56611cc044fd48b052db05aea332201216e |
29-Mar-2018 |
Jason Monk <jmonk@google.com> |
Slices: Icon serialization Test: connectedTests Test: Added renders for serialized versions Bug: 73943728 Change-Id: I17ab20113c7b9068bf9a8dc7af0c701302736610
ain/java/androidx/slice/Slice.java
ain/java/androidx/slice/SliceItem.java
ain/java/androidx/slice/core/SliceActionImpl.java
|
9cd60f3feb3bdf001c19bbb2040ce8d53d5ba9a8 |
29-Mar-2018 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge changes I16af40f6,If6280b7b into pi-preview1-androidx-dev * changes: Mark erroneously public constructors as depreacted. Add private constructors to slice utility types.
|
82dc1e2794dea8450d540001f92cb67aeec28d24 |
29-Mar-2018 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Add private constructors to static utility classes." into pi-preview1-androidx-dev
|
3f9fe2c708b07e0bbbb3256e410919f539a7116c |
29-Mar-2018 |
Mady Mellor <madym@google.com> |
Merge "Unhide / improve toString methods" into pi-preview1-androidx-dev
|
db28b075f0775486dabb2db176bb02c2e86ca01e |
29-Mar-2018 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Add way to identify if slice is permission slice" into pi-preview1-androidx-dev
|
9d2a41cc44f6e93d8685701df02fd02667538150 |
29-Mar-2018 |
Jason Monk <jmonk@google.com> |
Slices: fix mapping intents and fix testing for it DO NOT MERGE Test: :slices-view:connectedCheck Change-Id: I31969526bc01e2eda573ebe1152b2e2e77ed993a Fixes: 77242881
ain/java/androidx/slice/compat/SliceProviderCompat.java
|
b7276ca31e431ea34a8d4c4897e83145a213d4a2 |
29-Mar-2018 |
Mady Mellor <madym@google.com> |
Unhide / improve toString methods Also removes unused @RestrictTo method in SliceView Test: adb logcat | grep “SlicePresenter” - Look at output when tapping on slice in SliceBrowser Bug: 75498818 Change-Id: I2792964ff51f9ec09185c71d86c76b6daabc3525
ain/java/androidx/slice/Slice.java
ain/java/androidx/slice/SliceItem.java
|
ac7a30acc7b945a83e70f94375a172acc16e2e7d |
16-Mar-2018 |
Mady Mellor <madym@google.com> |
Add way to identify if slice is permission slice * Update permission slice structure, add to render tests * Add hint for permission * Add SliceMetadata method to check for permission, add to tests Test: ./gradlew slices-view:connectedCheck Bug: 75500766 Change-Id: I5d1ee6b5690bd206e6514577940dc1d58d04a4bf
ain/java/androidx/slice/Slice.java
ain/java/androidx/slice/compat/SliceProviderCompat.java
ain/java/androidx/slice/core/SliceHints.java
|
f68dde011de8fb4d616a09292524869f56d94110 |
27-Mar-2018 |
Jason Monk <jmonk@google.com> |
Lower slices minSdk to 19 Test: lintRelease Bug: 73453359 Change-Id: If2dceae254b125cbe9b37a47e49edab5d8df93b6
ain/java/androidx/slice/SliceItem.java
ain/java/androidx/slice/SliceSpec.java
ain/java/androidx/slice/compat/SlicePermissionActivity.java
ain/java/androidx/slice/compat/SliceProviderCompat.java
ain/java/androidx/slice/core/SliceQuery.java
|
0707dbe9fa3225cc921a2305a611272f0dee1ca8 |
28-Mar-2018 |
Mady Mellor <madym@google.com> |
Update key words to be keywords Test: ./gradlew createArchive Bug:76461875 Change-Id: Ifd975ff75f248d70bd0f40992fcdd5a964b37313
ain/java/androidx/slice/Slice.java
ain/java/androidx/slice/core/SliceHints.java
|
0f4ca634bbc43ddff900c35f7d2a43b55d8c830d |
28-Mar-2018 |
Jake Wharton <jakew@google.com> |
Add private constructors to static utility classes. This only covers those which are not public API. Bug: 37063037 Test: ./gradlew aEP (with PrivateConstructorForUtilityClass turned on) Change-Id: I185cad1ac0634a2c2f53f763f4f044f79a860327
ain/java/androidx/slice/ArrayUtils.java
ain/java/androidx/slice/SliceSpecs.java
ain/java/androidx/slice/compat/SliceProviderWrapperContainer.java
ain/java/androidx/slice/core/SliceHints.java
ain/java/androidx/slice/core/SliceQuery.java
|
9e4b4dd588e3b9a1496e3ae63958081f27ae6acb |
28-Mar-2018 |
Jake Wharton <jakew@google.com> |
Add private constructors to slice utility types. Bug: 37063037 Test: ./gradlew aEP (with PrivateConstructorForUtilityClass enabled) Change-Id: If6280b7b5e5159cd22e00c2bb09e7cb4a09308ea
ain/java/androidx/slice/SliceConvert.java
|
3ec422a2e2a46b51d4cc6926fcaa35caacbdf98d |
21-Mar-2018 |
Jason Monk <jmonk@google.com> |
Switch slices over to IconCompat In prep for lowering min Test: connectedChecks and renders look ok Bug: 73453359 Change-Id: I59ab479348dee1c1ae66059a7dac7c4a7a2f0e71
ndroidTest/java/androidx/slice/SliceTest.java
ndroidTest/java/androidx/slice/SliceTestProvider.java
ain/java/androidx/slice/Slice.java
ain/java/androidx/slice/SliceConvert.java
ain/java/androidx/slice/SliceItem.java
ain/java/androidx/slice/compat/SliceProviderCompat.java
ain/java/androidx/slice/core/SliceAction.java
ain/java/androidx/slice/core/SliceActionImpl.java
|
266eb4cb3444a785fa6cc1136e5357aec54908f9 |
20-Mar-2018 |
Mady Mellor <madym@google.com> |
Replace ActionContent with SliceAction; move SliceAction to core * Interface and impl for SliceAction in core * SliceAction in builders needs to extend SliceAction because I’m planning on returning it from SliceMetadata in ag/3771557 This does some of the work to remove slices-view dependency on builders; need to get render tests out of slices-view to do rest of that. Test: ./gradlew slices-view:connectedCheck; also tried tapping on different actions in SliceBrowser slices. Bug: 74074403 Bug: 76166073 Change-Id: I1f52abefa3d3914351852e3160631d81aad2240f
ain/java/androidx/slice/core/SliceAction.java
ain/java/androidx/slice/core/SliceActionImpl.java
ain/java/androidx/slice/core/SliceHints.java
|
e7f1c6cf75ce36c633075445bd676572a9fe0f47 |
09-Mar-2018 |
Mady Mellor <madym@google.com> |
Add TTL notion to list builder * TTL is required to be explicitly set, new constant INFINITY to use for infinite TTL * Also saves when the slice was built (HINT_LAST_UDPATED) * Introduces SliceMetadata which will be the class for all info queries about the slice / slice template that a presenter might need. * Adds methods for expiry and last updated time to SliceMetadata * Moves the keywords / loaded state / action methods in SliceUtils into SliceInfo; deprecates them SliceUtils version * Adds tests for SliceMetadata Test: ./gradlew slices-view:connectedCheck Bug: 74338434 Change-Id: Id00e8dd49d52b1ade2ffbd823c56e38338a12dd0
ain/java/androidx/slice/Slice.java
ain/java/androidx/slice/core/SliceHints.java
|
be0578c6d12f8acc0bbd136cf3239b26de111ae2 |
21-Mar-2018 |
Jason Monk <jmonk@google.com> |
Run slice callbacks on thread they come in on DO NOT MERGE Instead post a runnable that will trigger an ANR+crash if the app doesn't respond in time. Test: :slices-core:connectedCheck Change-Id: Iee2a75fd92fbbef624e15abcbb94bafb59be04cb Fixes: 74251457
ain/java/androidx/slice/SliceProvider.java
ain/java/androidx/slice/compat/SliceProviderCompat.java
|
c33656326970bc4b7a4bd817892f4c10fa339402 |
16-Mar-2018 |
Jason Monk <jmonk@google.com> |
List<SliceSpec> -> Set<SliceSpec> Test: connectedChecks Bug: 73123786 Change-Id: I22aa8c2b6ef9b2a58a1add564aef3b7631cb5321
ndroidTest/java/androidx/slice/SliceTest.java
ndroidTest/java/androidx/slice/compat/CompatPinnedListTest.java
ain/java/androidx/slice/Slice.java
ain/java/androidx/slice/SliceConvert.java
ain/java/androidx/slice/SliceProvider.java
ain/java/androidx/slice/SliceSpec.java
ain/java/androidx/slice/compat/CompatPinnedList.java
ain/java/androidx/slice/compat/SliceProviderCompat.java
ain/java/androidx/slice/compat/SliceProviderWrapperContainer.java
|
6356d81d685e0e35f360f8e2aee1991c06274a0b |
13-Mar-2018 |
Mady Mellor <madym@google.com> |
Fix a lint error Support lib builds with outdated version of lint and this causes an error in a branch that does not build with an outdated version of lint. Test: none Change-Id: Ied5f0d6b74d89b28e70df0e8423b2667e06f5065
ain/java/androidx/slice/Slice.java
|
ebdd84b863747bae349407af37f8822c5c589d95 |
09-Mar-2018 |
Mady Mellor <madym@google.com> |
Add method for ‘add keywords’ to list builder * Keywords can be added at top-level of ListBuilder * Also adds SliceUtils method to extract this list of keywords if it exists; add simple test for it Test: ./gradlew slices-view:connectedCheck Bug: 74086214 Change-Id: I4af676b51c9e6e7f2d528b0cf8b06a38cda6c590
ain/java/androidx/slice/core/SliceHints.java
|
ac5fe7c617c66850fff75a9fce9979c6e5674b0f |
06-Mar-2018 |
Aurimas Liutikas <aurimas@google.com> |
Refactor support library Test: None Change-Id: I92e450c739fc9d77e8f8840bed4165ab88247fd6
ain/java/androidx/slice/ArrayUtils.java
ain/java/androidx/slice/Slice.java
ain/java/androidx/slice/SliceConvert.java
ain/java/androidx/slice/SliceItem.java
ain/java/androidx/slice/SliceProvider.java
ain/java/androidx/slice/SliceSpec.java
ain/java/androidx/slice/SliceSpecs.java
ain/java/androidx/slice/compat/CompatPinnedList.java
ain/java/androidx/slice/compat/ContentProviderWrapper.java
ain/java/androidx/slice/compat/SlicePermissionActivity.java
ain/java/androidx/slice/compat/SliceProviderCompat.java
ain/java/androidx/slice/compat/SliceProviderWrapperContainer.java
ain/java/androidx/slice/core/SliceHints.java
ain/java/androidx/slice/core/SliceQuery.java
|
f27b1ffc67228d73326ec3426fef4c9db75cd6fd |
06-Mar-2018 |
Aurimas Liutikas <aurimas@google.com> |
Revert "Refactor support library." This reverts commit b31c3281d870e9abb673db239234d580dcc4feff. Change-Id: Icfa5b9af633739ad2c857dff22a2181bac6661ef
ain/java/androidx/slice/ArrayUtils.java
ain/java/androidx/slice/Slice.java
ain/java/androidx/slice/SliceConvert.java
ain/java/androidx/slice/SliceItem.java
ain/java/androidx/slice/SliceProvider.java
ain/java/androidx/slice/SliceSpec.java
ain/java/androidx/slice/SliceSpecs.java
ain/java/androidx/slice/compat/CompatPinnedList.java
ain/java/androidx/slice/compat/ContentProviderWrapper.java
ain/java/androidx/slice/compat/SlicePermissionActivity.java
ain/java/androidx/slice/compat/SliceProviderCompat.java
ain/java/androidx/slice/compat/SliceProviderWrapperContainer.java
ain/java/androidx/slice/core/SliceHints.java
ain/java/androidx/slice/core/SliceQuery.java
|
b31c3281d870e9abb673db239234d580dcc4feff |
20-Feb-2018 |
Aurimas Liutikas <aurimas@google.com> |
Refactor support library. Test: None Change-Id: I11a047324832801555673dac45ec1d6590a6338b
ain/java/androidx/slice/ArrayUtils.java
ain/java/androidx/slice/Slice.java
ain/java/androidx/slice/SliceConvert.java
ain/java/androidx/slice/SliceItem.java
ain/java/androidx/slice/SliceProvider.java
ain/java/androidx/slice/SliceSpec.java
ain/java/androidx/slice/SliceSpecs.java
ain/java/androidx/slice/compat/CompatPinnedList.java
ain/java/androidx/slice/compat/ContentProviderWrapper.java
ain/java/androidx/slice/compat/SlicePermissionActivity.java
ain/java/androidx/slice/compat/SliceProviderCompat.java
ain/java/androidx/slice/compat/SliceProviderWrapperContainer.java
ain/java/androidx/slice/core/SliceHints.java
ain/java/androidx/slice/core/SliceQuery.java
|
06ab4aa38f82b8e2d9af769f7c777253f2497f93 |
06-Mar-2018 |
Jake Wharton <jakew@google.com> |
Get slices libraries closer to a lower minSdk. Test: ./gradlew :slices-core:build :slices-view:build :slices-builder:build Change-Id: Iad23a068e6fbac0eefda2c2ae8dfbc18ac8a317f
ain/java/androidx/slice/ArrayUtils.java
ain/java/androidx/slice/Slice.java
ain/java/androidx/slice/compat/CompatPinnedList.java
ain/java/androidx/slice/compat/ContentProviderWrapper.java
ain/java/androidx/slice/core/SliceQuery.java
|
85ef1446b82c8783a50af92c4cb1389fe0d0e907 |
02-Mar-2018 |
Aurimas Liutikas <aurimas@google.com> |
Move slices to androidx.slice package. Bug: 74113185 Test: ./gradlew buildOnServer Change-Id: I7738e22118cb0b1efcb158a1d5138124e721e8e6
ndroidTest/AndroidManifest.xml
ndroidTest/java/androidx/app/slice/SliceTest.java
ndroidTest/java/androidx/app/slice/SliceTestProvider.java
ndroidTest/java/androidx/app/slice/compat/CompatPinnedListTest.java
ndroidTest/java/androidx/slice/SliceTest.java
ndroidTest/java/androidx/slice/SliceTestProvider.java
ndroidTest/java/androidx/slice/compat/CompatPinnedListTest.java
ain/AndroidManifest.xml
ain/java/androidx/app/slice/ArrayUtils.java
ain/java/androidx/app/slice/Slice.java
ain/java/androidx/app/slice/SliceConvert.java
ain/java/androidx/app/slice/SliceItem.java
ain/java/androidx/app/slice/SliceProvider.java
ain/java/androidx/app/slice/SliceSpec.java
ain/java/androidx/app/slice/SliceSpecs.java
ain/java/androidx/app/slice/compat/CompatPinnedList.java
ain/java/androidx/app/slice/compat/ContentProviderWrapper.java
ain/java/androidx/app/slice/compat/SlicePermissionActivity.java
ain/java/androidx/app/slice/compat/SliceProviderCompat.java
ain/java/androidx/app/slice/compat/SliceProviderWrapperContainer.java
ain/java/androidx/app/slice/core/SliceHints.java
ain/java/androidx/app/slice/core/SliceQuery.java
ain/java/androidx/slice/ArrayUtils.java
ain/java/androidx/slice/Slice.java
ain/java/androidx/slice/SliceConvert.java
ain/java/androidx/slice/SliceItem.java
ain/java/androidx/slice/SliceProvider.java
ain/java/androidx/slice/SliceSpec.java
ain/java/androidx/slice/SliceSpecs.java
ain/java/androidx/slice/compat/CompatPinnedList.java
ain/java/androidx/slice/compat/ContentProviderWrapper.java
ain/java/androidx/slice/compat/SlicePermissionActivity.java
ain/java/androidx/slice/compat/SliceProviderCompat.java
ain/java/androidx/slice/compat/SliceProviderWrapperContainer.java
ain/java/androidx/slice/core/SliceHints.java
ain/java/androidx/slice/core/SliceQuery.java
ain/res-public/values-v28/strings.xml
ain/res-public/values/strings.xml
|
c5da2b6cfcb63fa0527b9a002ff780435d81a660 |
23-Feb-2018 |
Jason Monk <jmonk@google.com> |
Add mapIntentToUri to support lib Its hidden for now Test: :slices-view:connectedCheck Bug: 73741418 Change-Id: Ia56ed6be67798832020f8189ba31be1bd5cb9320
ain/java/androidx/app/slice/compat/SliceProviderCompat.java
ain/java/androidx/app/slice/core/SliceHints.java
|
e51c6d92f3e174c12d70df11dd7cbf811a7ab87c |
22-Feb-2018 |
Bill Yi <byi@google.com> |
Import translations. DO NOT MERGE Change-Id: Icdb9c5268f236af5a0c02e9dc4154226cf943785 Auto-generated-cl: translation import
ain/res/values-af/strings.xml
ain/res/values-am/strings.xml
ain/res/values-ar/strings.xml
ain/res/values-az/strings.xml
ain/res/values-b+sr+Latn/strings.xml
ain/res/values-be/strings.xml
ain/res/values-bg/strings.xml
ain/res/values-bn/strings.xml
ain/res/values-bs/strings.xml
ain/res/values-ca/strings.xml
ain/res/values-cs/strings.xml
ain/res/values-da/strings.xml
ain/res/values-de/strings.xml
ain/res/values-el/strings.xml
ain/res/values-en-rAU/strings.xml
ain/res/values-en-rCA/strings.xml
ain/res/values-en-rGB/strings.xml
ain/res/values-en-rIN/strings.xml
ain/res/values-en-rXC/strings.xml
ain/res/values-es-rUS/strings.xml
ain/res/values-es/strings.xml
ain/res/values-et/strings.xml
ain/res/values-eu/strings.xml
ain/res/values-fa/strings.xml
ain/res/values-fi/strings.xml
ain/res/values-fr-rCA/strings.xml
ain/res/values-fr/strings.xml
ain/res/values-gl/strings.xml
ain/res/values-gu/strings.xml
ain/res/values-hi/strings.xml
ain/res/values-hr/strings.xml
ain/res/values-hu/strings.xml
ain/res/values-hy/strings.xml
ain/res/values-in/strings.xml
ain/res/values-is/strings.xml
ain/res/values-it/strings.xml
ain/res/values-iw/strings.xml
ain/res/values-ja/strings.xml
ain/res/values-ka/strings.xml
ain/res/values-kk/strings.xml
ain/res/values-km/strings.xml
ain/res/values-kn/strings.xml
ain/res/values-ko/strings.xml
ain/res/values-ky/strings.xml
ain/res/values-lo/strings.xml
ain/res/values-lt/strings.xml
ain/res/values-lv/strings.xml
ain/res/values-mk/strings.xml
ain/res/values-ml/strings.xml
ain/res/values-mn/strings.xml
ain/res/values-mr/strings.xml
ain/res/values-ms/strings.xml
ain/res/values-my/strings.xml
ain/res/values-nb/strings.xml
ain/res/values-ne/strings.xml
ain/res/values-nl/strings.xml
ain/res/values-pa/strings.xml
ain/res/values-pl/strings.xml
ain/res/values-pt-rBR/strings.xml
ain/res/values-pt-rPT/strings.xml
ain/res/values-pt/strings.xml
ain/res/values-ro/strings.xml
ain/res/values-ru/strings.xml
ain/res/values-si/strings.xml
ain/res/values-sk/strings.xml
ain/res/values-sl/strings.xml
ain/res/values-sq/strings.xml
ain/res/values-sr/strings.xml
ain/res/values-sv/strings.xml
ain/res/values-sw/strings.xml
ain/res/values-ta/strings.xml
ain/res/values-te/strings.xml
ain/res/values-th/strings.xml
ain/res/values-tl/strings.xml
ain/res/values-tr/strings.xml
ain/res/values-uk/strings.xml
ain/res/values-ur/strings.xml
ain/res/values-uz/strings.xml
ain/res/values-vi/strings.xml
ain/res/values-zh-rCN/strings.xml
ain/res/values-zh-rHK/strings.xml
ain/res/values-zh-rTW/strings.xml
ain/res/values-zu/strings.xml
|
6d23526ab0ebfee286a772d3038fb194a88c0c0e |
21-Feb-2018 |
Jason Monk <jmonk@google.com> |
Don't use APIs that are going to be removed Also fix the render test Test: :slices-view:connectedCheck Change-Id: I7935b9ff715d114122051e6b7805dd2652b4677c
ain/java/androidx/app/slice/Slice.java
|
e338c3663379b8b6d82a55f766364f99be5b3e4c |
17-Feb-2018 |
Aurimas Liutikas <aurimas@google.com> |
Move more code to standard directories. The only thing left to move are per api directories and res/ directories (these require moving make to aapt2) Test: ./gradlew buildOnServer Change-Id: Iae3b4dbeb76849c3376a4ce5b79f124212d8bb10
ndroidTest/NO_DOCS
|
9b0a49d6b4359f229edd76d1816ba4d8dd546589 |
13-Feb-2018 |
Mady Mellor <madym@google.com> |
Make GridBuilder not a parent; it can only be a child of ListBuilder I think this makes more sense long-term since most things will want a header / shortcut etc. instead of duplicating that in GB, just use LB. Bug: 68378561 Test: manual, check weather / contact / gallery / loading slices check that weather is tappable Change-Id: Ic0c3c2209f414c48e2bb9cb4dd0b739b53a27795
ain/java/androidx/app/slice/SliceSpecs.java
|
af76b3bd62a6b218bb44917b1dddfa1ee4803149 |
07-Feb-2018 |
Mady Mellor <madym@google.com> |
Create an SliceAction object to represent icon actions (and shortcuts) * SliceAction supports icon actions and toggles and everything we need to represent a shortcut * Removes previous ActionBuilder that was for a group of actions instead actions can be added via ListBuilder#addAction * Any instances where we’d add an action with pending intent / icon is replaced with SliceAction in RowBuilder * Start items and end items are now encapsulated in a Slice so some changes to support ‘unwrapping’ that in view / content code * ActionContent to pull out bits from an SliceAction * Updates SliceBrowser + render tests to use new builders Bug: 68378561 Test: ./gradlew slices-view:connectedCheck; make sure screenshots look as expected Change-Id: I48cae55eed7e86124b74f479620e57e05451f2aa
ain/java/androidx/app/slice/Slice.java
|
1f5136a4c35102f39d94edd220d753d229a09e43 |
10-Feb-2018 |
Aurimas Liutikas <aurimas@google.com> |
Remove minSdkVersion tags from library manifest files. These tags are no longer needed that we don't need to support make as gradle puts these values based on build.gradle files. Test: none Change-Id: Id936e42d37fa03fe283d346f4fd9357f64f1be64
ain/AndroidManifest.xml
|
f6b7a703cedbe1e6634c5b798954eb4672df6f38 |
08-Feb-2018 |
Mady Mellor <madym@google.com> |
Merge "Add API for adding "see more" row / action to a list or grid slice"
|
3f3520e075a907b98e506e28ece91f641d072b49 |
02-Feb-2018 |
Mady Mellor <madym@google.com> |
Associate hints from the slice on the action with the action Test: ./gradlew :slices-view:connectedCheck; look at screenshots make sure they look normal Change-Id: I2a8bdccf8a9ef85ebdda26278b2ad5938e7a2406
ain/java/androidx/app/slice/Slice.java
|
ef79faf9cca366946646c40913ccf3361cd914d2 |
31-Jan-2018 |
Aurimas Liutikas <aurimas@google.com> |
Set proper targetSdk value for a set of libs that did not do that. Bug: 72713396 Test: ./gradlew assembleAndroidTest still builds Change-Id: I5044961afae8c37970e2ec8f5013c588db58977c
ndroidTest/AndroidManifest.xml
|
e3b00e2b2346e4da67d083b3475ffc9302d72898 |
10-Jan-2018 |
Mady Mellor <madym@google.com> |
Add API for adding "see more" row / action to a list or grid slice Since the presenter of the slice can disable scrolling on the slice not all content is guaranteed to be shown. This CL adds an option on the template builders to add either: * custom row to be displayed when content is cut off * custom action that will be hooked up to SliceView's default presentation of "see more" (presentation bit will come in later CL) This change only adds the API and does none of the actual work. Test: none Bug: 69472451 Change-Id: Ic283efee624ebb2425914f835c1ffb30e9ccc7b0
ain/java/androidx/app/slice/Slice.java
|
853c11f11cd3d1378eac2c37d1e8c258420644a8 |
17-Jan-2018 |
Amin Shaikh <ashaikh@google.com> |
Add builder for range/input range - Add InputRangeBuilder and RangeBuilder to ListBuilder - Added sample slices for these row types Test: manually tested SliceBrowser with sample progress and slider slices Bug: 68378584 Change-Id: If2807935ff0d921de1dd0b7dd16c9b86a0d37792
ain/java/androidx/app/slice/core/SliceHints.java
|
dca5a9a4f886e6a01796053f7a92a6118ea885c5 |
29-Jan-2018 |
Mady Mellor <madym@google.com> |
Merge "Update hint / subtype usage to use framework ones instead of SliceHints"
|
7100ce14b1e04f3034a9daebda22012eeef45f63 |
26-Jan-2018 |
Jason Monk <jmonk@google.com> |
Merge "Expose slice pinning APIs"
|
6946d762c0926b683f176edbb4a97a118acadc61 |
26-Jan-2018 |
Mady Mellor <madym@google.com> |
Update hint / subtype usage to use framework ones instead of SliceHints These are in framework now and we no longer need support lib references. Test: manual - sanity check templates in SliceBrowser Change-Id: I7a31eb8b0b4fcbc0a2359b957086c85d8b784b6e
ain/java/androidx/app/slice/Slice.java
ain/java/androidx/app/slice/core/SliceHints.java
|
79f1cc991dfe86867af5b436ecbe3bc8f4f83be6 |
21-Jan-2018 |
Jason Monk <jmonk@google.com> |
Expose slice pinning APIs - Callbacks for pinned-unpinned state - SliceManager for hosts to manage pinned state Test: updateApi Bug: 68751119 Change-Id: I1f2b9433121ae4a623c4c36fd535009ad0a0fb1d
ain/java/androidx/app/slice/SliceProvider.java
|
00eb37b54ced3453115b09db7834e2f2dac8f3e1 |
12-Jan-2018 |
Jason Monk <jmonk@google.com> |
Update APIs after builder refactor Test: manual Bug: 68378561 Change-Id: I8dde59c5b5b60488f235dcb835eccd53be65f046
ain/java/androidx/app/slice/Slice.java
|
eedc0e3ddc86b7a06db3b8a56f580e94f6bc8654 |
21-Jan-2018 |
Jason Monk <jmonk@google.com> |
Add permission model to support lib Support permissions on compat SliceProvider Test: connectedCheck Bug: 68751119 Change-Id: I5961dd3f15228171eea38db157e2f8dc4528fb11
ain/AndroidManifest.xml
ain/java/androidx/app/slice/compat/SlicePermissionActivity.java
ain/java/androidx/app/slice/compat/SliceProviderCompat.java
ain/res/layout/abc_slice_permission_request.xml
ain/res/values/strings.xml
|
731b13dc17ec2ef2d83efdffde6e1c22a2bd2190 |
11-Jan-2018 |
Jason Monk <jmonk@google.com> |
Add pinning to supportlib Add compat support for all the stuff that SliceService does. Test: ./gradlew :slices-core:connectedCheck :slices-view:connectedCheck Bug: 68378561 Change-Id: I3efa5bdcc02034f3a7081b0fa02fefe200a59cf8
ndroidTest/java/androidx/app/slice/compat/CompatPinnedListTest.java
ain/java/androidx/app/slice/SliceProvider.java
ain/java/androidx/app/slice/compat/CompatPinnedList.java
ain/java/androidx/app/slice/compat/SliceProviderCompat.java
ain/java/androidx/app/slice/compat/SliceProviderWrapper.java
ain/java/androidx/app/slice/compat/SliceProviderWrapperContainer.java
ain/res-public/values-v28/strings.xml
|
75b023dab037d18b265c4fe605ed4e59f65c14dd |
18-Jan-2018 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Hide message / remote input references"
|
f2cdc3aa79e0798d6987985ab94395914b83b7e4 |
17-Jan-2018 |
Amin Shaikh <ashaikh@google.com> |
Add view to support progress bars and sliders. - Add subtypes for max and progress attributes Test: commit on top of this includes samples to test these views Bug: 68378584 Change-Id: Ie94de479100b0d351d06fd2ea8bc863283329cd6
ain/java/androidx/app/slice/core/SliceHints.java
|
c779101e354765219bac732798b109c10f49ff8a |
17-Jan-2018 |
Mady Mellor <madym@google.com> |
Hide message / remote input references Don't need these right now Bug: 68378574 Test: build core / builders / view Change-Id: I8a929aa2a10f43777e6b6c9f615cfde81334eda7
ain/java/androidx/app/slice/Slice.java
ain/java/androidx/app/slice/SliceItem.java
|
73937a48eb731f007d52bb8116addf761fab727f |
12-Jan-2018 |
Mady Mellor <madym@google.com> |
Merge "Add ability to listen for interaction events on a slice view."
|
a09cb677db982c92d3172fa79a6a4585fc29da14 |
08-Jan-2018 |
Jason Monk <jmonk@google.com> |
Refactor builders to support multiple versions This is how we will handle differing versions of support lib. We will run down a list of supported specs until an implementation of the builder is selected. Test: manual Bug: 68378561 Change-Id: I948ad7f2ba1fd91f1090e062600fd000fb29a9c7
ndroidTest/java/androidx/app/slice/SliceTest.java
ain/java/androidx/app/slice/Slice.java
ain/java/androidx/app/slice/SliceSpecs.java
ain/java/androidx/app/slice/compat/SliceProviderCompat.java
ain/java/androidx/app/slice/compat/SliceProviderWrapper.java
|
238b9b6aad4ef0c63acbecfa89605a3d753931fe |
10-Jan-2018 |
Mady Mellor <madym@google.com> |
Add ability to listen for interaction events on a slice view. * EventInfo - new class that captures information about the interaction * SliceObserver - listener that is added to SliceView that gets notified * Moves some presentation logic out of RowView -> RowContent Test: manual — tap on things and observer logs in SliceBrowser Bug: 70673860 Change-Id: I4e07bc4aa7eee992dac45386dd3013929251a99b
ain/java/androidx/app/slice/SliceItem.java
|
6b5cd6162737bc3a885d58c22549e5b17beded1a |
14-Dec-2017 |
Mady Mellor <madym@google.com> |
Refactor logic to extract template content from a Slice Previously all of the logic to identify what bits of content in a slice go into which parts of a template were within the related view. This CL moves that logic into separate classes which process the slice and provide getters for the different bits of info. This only does list / row content, grid / messaging will come in follow up. Test: manual, use slice browser make sure list-based slices look normal Change-Id: Iae4876c23b9331f961ba1fd23e53e5228b70ce94
ain/java/androidx/app/slice/Slice.java
ain/java/androidx/app/slice/SliceItem.java
ain/java/androidx/app/slice/core/SliceQuery.java
|
901e2a634a8fce0c5e5acaa369e4e69326980b96 |
18-Dec-2017 |
Jason Monk <jmonk@google.com> |
Allow serialization of slices Test: :slices-view:connectedCheck Change-Id: I0a61bf7f02a4e5850f9d518aa05343a3ba5b012d
ain/java/androidx/app/slice/Slice.java
|
98ae4f80b7244070c20d5c3a16245df5cd0c5df8 |
18-Dec-2017 |
Jason Monk <jmonk@google.com> |
Convert supportlib over to addInt from addColor Test: :slices-core:connectedCheck Bug: 68378561 Change-Id: I04e9a136436ad670a8c775e10de60d0390bbd89a
ndroidTest/java/androidx/app/slice/SliceTest.java
ndroidTest/java/androidx/app/slice/SliceTestProvider.java
ain/java/androidx/app/slice/Slice.java
ain/java/androidx/app/slice/SliceConvert.java
ain/java/androidx/app/slice/SliceItem.java
ain/java/androidx/app/slice/core/SliceQuery.java
|
0dd353b1615ac0efa2045ea1274830462e1fbeda |
18-Dec-2017 |
Jason Monk <jmonk@google.com> |
Hide slice builder from supportlib API We don't want apps using it directly, they should instead be using the builders from slices-builders. Test: updateApi Bug: 68378561 Change-Id: I2037a99848d7719d231de1acd5fa9912a9d2ba83
ain/java/androidx/app/slice/Slice.java
|
7d85d204b99c7d9f7d54d17fde375bc9c070ec23 |
19-Dec-2017 |
Mady Mellor <madym@google.com> |
Merge changes Idbbf8dd8,I1142b508 * changes: Support summary content and restrict end items (builders) Support summary and restrict end items in RowView (views)
|
6fa0c9b0875cd65066082d047f617d689fd92018 |
13-Dec-2017 |
Jason Monk <jmonk@google.com> |
Add SliceSpec to slices-core Test: :slices-core:connectedCheck Bug: 68378561 Change-Id: Id33419562e19150e9ab6bd3ba561e8638e29eb2c
ndroidTest/AndroidManifest.xml
ndroidTest/NO_DOCS
ndroidTest/java/androidx/app/slice/SliceTest.java
ndroidTest/java/androidx/app/slice/SliceTestProvider.java
ndroidTest/res/drawable/size_48x48.jpg
ain/java/androidx/app/slice/Slice.java
ain/java/androidx/app/slice/SliceConvert.java
ain/java/androidx/app/slice/SliceProvider.java
ain/java/androidx/app/slice/SliceSpec.java
ain/java/androidx/app/slice/compat/SliceProviderCompat.java
ain/java/androidx/app/slice/compat/SliceProviderWrapper.java
ain/java/androidx/app/slice/core/SliceSpecs.java
|
71ef84d00c21e25e0e3d4dba324ef5c2bab10d39 |
11-Dec-2017 |
Mady Mellor <madym@google.com> |
Support summary and restrict end items in RowView (views) - Ensures icons or actions are shown at the end of the row but not both - RowView will look for a summary slice when showing in small format Test: manual with demo app + new builders from other CL Bug: 68378574 Change-Id: I1142b5089e6e62c75b194c26f064512e302074b5
ain/java/androidx/app/slice/Slice.java
ain/java/androidx/app/slice/SliceItem.java
ain/java/androidx/app/slice/core/SliceHints.java
|
86800ccab6402e3ef6fc610b22e65d8d8eaf1eec |
09-Dec-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Improvements to GridView and size adjustments for RowView"
|
5b2c0ce4135a0531d1b8ddb4bd35698859678b83 |
08-Dec-2017 |
Mady Mellor <madym@google.com> |
Improvements to GridView and size adjustments for RowView - Updates to GridView to adhere to rules of types of content that can be added (e.g. max 2 text) - Updates GridView to handle actions - Adds notion of ‘small template’ version of grid showing only 1 text item (title preferred if it exists) Test: build with ag/3259824, run sample app, look at contact, gallery, weather slices Bug: 68378574 Change-Id: Ieb25a1c4cbe8217d344ad833958a199a0c1b657a
ain/java/androidx/app/slice/core/SliceQuery.java
|
cd48bce30fbcebfee85e53596db1075871d5503d |
04-Dec-2017 |
Jake Wharton <jakew@google.com> |
Use ArrayDeque instead of LinkedList. This is a precursor to turning on the JdkObsolete error-prone check: http://errorprone.info/bugpattern/JdkObsolete. Test: ./gradlew -p app-toolkit test Change-Id: Iec9f5f7158e90f0342d7cdcaefa07aaf7ed2021c
ain/java/androidx/app/slice/core/SliceQuery.java
|
28c99a004d8c6f92c49c14d08731725b870c710d |
30-Nov-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Fix not having context in onCreateSliceProvider"
|
c1334184900d93f73e879d02a32715a5579aa55f |
11-Nov-2017 |
Mady Mellor <madym@google.com> |
Small template improvements and better builders - Disables “start items” from being displayed in the first element of a template (small or large), rows after that can have start items - Adds proper builder for row elements, marking a row element as a header indicates which row should be used for the small template - Adds custom toggle icon as an option for toggles - Adds a couple more examples to the demo app - Update the builder model to not have sub-builders Bug: 68378574 Test: select small template in demo app and look at wifi toggle slices Change-Id: I237a16e25b588b23ef7ba40fb41ed2e543c204af
ain/java/androidx/app/slice/Slice.java
ain/java/androidx/app/slice/core/SliceHints.java
ain/java/androidx/app/slice/core/SliceQuery.java
|
b12cda70d5067f7cbed6b20b29ea4c8e91e63288 |
29-Nov-2017 |
Mady Mellor <madym@google.com> |
Fix not having context in onCreateSliceProvider Test: manual Change-Id: I22552b18d8a744ef42aa38874f44963358950d27
ain/java/androidx/app/slice/compat/ContentProviderWrapper.java
|
ed97495ab4fc5b6f16b022bbfbc37f0cd835cce3 |
27-Nov-2017 |
Jason Monk <jmonk@google.com> |
Add SliceLiveData.fromIntent Test: samples Fixes: 68378579 Change-Id: I9ba7b560d1bf850d0f150cdc6c64882c3eb602d1
ain/java/androidx/app/slice/compat/SliceProviderCompat.java
|
2a7d0fcd09ed39bbeda29e024c47fca617050094 |
15-Nov-2017 |
Jason Monk <jmonk@google.com> |
Lower slices minsdk Will need a bit more work as we add backcompat to do proper checks of SDK. Test: build Change-Id: Ibbd16af77ac4ea8b6f985def1669e554aaae2346
ain/java/androidx/app/slice/Slice.java
ain/java/androidx/app/slice/SliceConvert.java
ain/java/androidx/app/slice/SliceItem.java
ain/java/androidx/app/slice/compat/ContentProviderWrapper.java
ain/java/androidx/app/slice/compat/SliceProviderCompat.java
ain/java/androidx/app/slice/compat/SliceProviderWrapper.java
ain/java/androidx/app/slice/core/SliceQuery.java
|
dcb5e2f13fa8471f62a7f4625b4dc6e449358cbd |
16-Nov-2017 |
Jason Monk <jmonk@google.com> |
Compat for slices Support back to v19. Test: Run samples on API 28 and API 27 Change-Id: Ib8f7b30575f6c2126eab4a285780a68858629396
ain/java/androidx/app/slice/ArrayUtils.java
ain/java/androidx/app/slice/Slice.java
ain/java/androidx/app/slice/SliceConvert.java
ain/java/androidx/app/slice/SliceItem.java
ain/java/androidx/app/slice/SliceProvider.java
ain/java/androidx/app/slice/compat/ContentProviderWrapper.java
ain/java/androidx/app/slice/compat/SliceProviderCompat.java
ain/java/androidx/app/slice/compat/SliceProviderWrapper.java
ain/java/androidx/app/slice/core/SliceQuery.java
ain/res-public/values-v28/strings.xml
ain/res-public/values/strings.xml
|
8b099f294dac82878af162e6b5842413abbee2a6 |
15-Nov-2017 |
Jason Monk <jmonk@google.com> |
Add make files for slices Test: make Change-Id: I1e1b93c365074b40dc7bfa7f41c7ad7f8d523f10
ain/java/androidx/app/slice/core/SliceHints.java
ain/java/androidx/app/slice/core/SliceQuery.java
|
0c76d3038c814e26f15b16ce2e09e28bcbcedcc6 |
21-Nov-2017 |
Jason Monk <jmonk@google.com> |
Slice updates to follow platform API changes Test: run sample app Change-Id: I8ca7e54dd03a0233dd8e1fe8cbdeeeae2896807e
ain/java/androidx/app/slice/core/SliceQuery.java
ain/java/androidx/app/slice/core/SliceSpecs.java
|
db8aa8c68d0e51eddc1f58140e292fe5164bb52b |
08-Nov-2017 |
Mady Mellor <madym@google.com> |
Updates SmallTemplate to allow presentation of toggles, add sample to demo - Adds temporary class to contain hints until things are in framework - Supports single toggle or toggle with content intent a la settings style. - Adds a new hint to indicate toggles, hint selected can be used to indicate the toggle is selected. - Adds an intent extra that indicates the toggle state when toggle action is performed. - Some updates to small template to be more inline with spec - Adds a sample toggle slice to the demo app Test: Manual with SliceDemos - Search for the /wifi slice from the menu Bug: 68378574 Change-Id: I015eed3fc89a66622d0f521ae6c288c7482b5bb2
ain/java/androidx/app/slice/core/SliceQuery.java
|
8a452e96e2308fe9515aa91b8e5b369eeefc25e7 |
01-Nov-2017 |
Jason Monk <jmonk@google.com> |
Add slices modules to supportlib - Core: contains common slice utilities, all hidden - Builders: contains builders that translate templates into hints - Views: contains SliceView and code to interpret hints into slice rendering - Samples: Generate one template and add Slice Browser Test: Manual, code copied/ported from P Bug: 68378561 Change-Id: I3193db81090b45f32365f496aa0141ed5ccb8770
ain/AndroidManifest.xml
ain/java/androidx/app/slice/core/SliceQuery.java
|