8938932a0af1e3a51864cb54c8b67a9424f55bcf |
|
16-May-2018 |
Jason Monk <jmonk@google.com> |
Add some null checks to slices It'll make developer debugging experience sooo much nicer. Test: manual Bug: 79773776 Change-Id: Ie0a826c5572752e2bb50db7669374a1698333770
/frameworks/base/core/java/android/app/slice/Slice.java
|
3990ee1c9fcd8f801220edec94e6bef3009809b5 |
|
11-Apr-2018 |
Jeff Sharkey <jsharkey@android.com> |
Clean up APIs before declaring API 28. As part of finalizing an SDK, we need to ensure that no new APIs are marked @Deprecated, since they're typically cleanup that someone forgot to finish. Someone forgot to replace Slice.getTimestamp() with Slice.getLong(). Bug: 77588754 Test: builds, boots Exempt-From-Owner-Approval: SDK finalization Change-Id: Ic0ec91a43d161a69c1e840c42046ad500b7aeca0
/frameworks/base/core/java/android/app/slice/Slice.java
|
2d3932eb4df005b8ebb630ad89cd9a804fdd9ede |
|
08-Mar-2018 |
Jason Monk <jmonk@google.com> |
List<SliceSpec> -> Set<SliceSpec> Test: update-api Bug: 73123786 Change-Id: I5668023eda0efcadf40a20259a92624e6680659f
/frameworks/base/core/java/android/app/slice/Slice.java
|
e280990dd6d0041d66cd9cbb03062fe9439f45b4 |
|
11-Apr-2018 |
Jason Monk <jmonk@google.com> |
Revert "List<SliceSpec> -> Set<SliceSpec>" This reverts commit e2a04b3ea41ebec00afe50db89846920235f23cf. Bug: 73123786 Change-Id: I1f09893fb3c68650340495f2833eb678099a895f
/frameworks/base/core/java/android/app/slice/Slice.java
|
e2a04b3ea41ebec00afe50db89846920235f23cf |
|
08-Mar-2018 |
Jason Monk <jmonk@google.com> |
List<SliceSpec> -> Set<SliceSpec> Test: update-api Bug: 73123786 Change-Id: Ia618a35fbe81d2aeb5f58d58add0a14069f21bed
/frameworks/base/core/java/android/app/slice/Slice.java
|
209af08eca265eb2af741bd2fa807802636ec570 |
|
30-Mar-2018 |
Mady Mellor <madym@google.com> |
Add subtype for layout direction to Slice Test: make Bug: 73123366 Change-Id: I1446dadd8a50e7682d640aa55a7d4a20faf52416
/frameworks/base/core/java/android/app/slice/Slice.java
|
33c5a847079ba1b33f03ab1f1901b0e9f45c4659 |
|
20-Mar-2018 |
Mady Mellor <madym@google.com> |
Add permission hint, update permission slice structure Test: atest cts/tests/tests/slices Bug: 75500766 Change-Id: Ic26dbaa121a3745174a6e21171f35abad69c61de
/frameworks/base/core/java/android/app/slice/Slice.java
|
930f9a54b84b0c975241eaae1dbe99b8045d9456 |
|
16-Mar-2018 |
Mady Mellor <madym@google.com> |
Fix keywords hint and add some hints and a subtype to Slice Test: make Bug: 76461875 Bug: 74338434 Change-Id: If1357f7709cfa9c43fe6882f4b2979d9ab84067d
/frameworks/base/core/java/android/app/slice/Slice.java
|
106387f0b283beeb5318f05e2033f15798e274b3 |
|
06-Mar-2018 |
Jason Monk <jmonk@google.com> |
Some Slices API refinement Removing overloads, fixing documentation, adding stringdefs, etc. Test: update-api Change-Id: Iae902092a29d44c3f4735ad2c3392bb35988684a Fixes: 73124159 Bug: 73123366 Fixes: 73123451 Fixes: 73123651 Fixes: 73124123
/frameworks/base/core/java/android/app/slice/Slice.java
|
b8e5fa9deef74bfc5496caaa44a1cae6d7ade7f6 |
|
06-Mar-2018 |
Jason Monk <jmonk@google.com> |
Remove registerSliceCallback and formalize setCallerNeeded Test: update-api Change-Id: I690064fb416f017f7175a63980827a4ad773ad37 Fixes: 73124257
/frameworks/base/core/java/android/app/slice/Slice.java
|
15e2c5d54dbd83eebc9a5bc767fcdf30f659afca |
|
02-Mar-2018 |
Mady Mellor <madym@google.com> |
Add a HINT_KEYWORDS to Slice Want to be able to support allowing a Slice to specify some keywords associated with it; need a new hint to identify these. Bug: 74086214 Test: make Change-Id: I79d3f1806eecf416f5e3ae09451b90507b382c24
/frameworks/base/core/java/android/app/slice/Slice.java
|
d2613de5c6f4c98eeadb5635039c1437165c3b5a |
|
28-Feb-2018 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Update Slice.Builder#addInt javadoc."
|
3267ed8f74f5ab7330d74908a2e181a5ba225479 |
|
21-Feb-2018 |
Mady Mellor <madym@google.com> |
Move metadata key from Slice to SliceManager Bug: 73741418 Test: make -j20 Change-Id: Ia22b47d8b6d278944566641b07fcfb0fb7662d07
/frameworks/base/core/java/android/app/slice/Slice.java
|
31062cbd04ec2e698aae500b923cf323b791c131 |
|
16-Feb-2018 |
Amin Shaikh <ashaikh@google.com> |
Update Slice.Builder#addInt javadoc. Bug: 73392897 Test: make Change-Id: Iad638c8e1847f19fa9cc58d349410c7529c2140f
/frameworks/base/core/java/android/app/slice/Slice.java
|
60593c244432334770eee772f1492411159cf617 |
|
30-Jan-2018 |
Amin Shaikh <ashaikh@google.com> |
Update slice constants for range/input range. Test: make Bug: 68378584 Change-Id: Ie731edd779f60d0555ea3a573f465f4f3910a054
/frameworks/base/core/java/android/app/slice/Slice.java
|
a151170c59ba6f1917ef552c16c25fede560c510 |
|
17-Jan-2018 |
Amin Shaikh <ashaikh@google.com> |
Add slice subtype constants for sliders/progress. Test: treehugger Bug: 68378584 Change-Id: Ib06c068976d06931db22372fdecbd2946bd431b1
/frameworks/base/core/java/android/app/slice/Slice.java
|
f7be12dc75ff415a03da4fad4fc7c7f4d03f2004 |
|
24-Jan-2018 |
Jason Monk <jmonk@google.com> |
Merge "Expose permission-related Slice APIs"
|
d71d0fc50804120a41566f5e89aa96ebd0afbb0e |
|
24-Jan-2018 |
Jason Monk <jmonk@google.com> |
Merge "Remove old slice APIs for color"
|
888a664ad6bb7248125df90433c23ccb16474f24 |
|
21-Jan-2018 |
Jason Monk <jmonk@google.com> |
Remove old slice APIs for color Everyone is using ints now. Test: update-api Bug: 68378574 Change-Id: I9b379386fec4979dfe15ea520fc3f8541c2e2a04
/frameworks/base/core/java/android/app/slice/Slice.java
|
e696acbbd749b6e87844bf463a7cb3f76a49b7fe |
|
21-Jan-2018 |
Jason Monk <jmonk@google.com> |
Expose permission-related Slice APIs - Let providers know who is binding them - Let providers tell the system if a slice shouldn't be cached for different apps so the app can perform custom permission checks. Test: update-api Bug: 68751119 Change-Id: I9f74df5516e6efb354ad52fc5c266bd8d4da3c4d
/frameworks/base/core/java/android/app/slice/Slice.java
|
e8f8be7698ea7690b81736e766c7fa5b20045164 |
|
21-Jan-2018 |
Jason Monk <jmonk@google.com> |
Revert "Revert "Slices permission model"" This reverts commit 1214c878a839d99b1b29c8c31fc93af2ba949338. Test: boot device Bug: 72270082 Bug: 68751119 Change-Id: I7d0e709a04ffeb8b877aef539a978ee251a75742
/frameworks/base/core/java/android/app/slice/Slice.java
|
1214c878a839d99b1b29c8c31fc93af2ba949338 |
|
21-Jan-2018 |
Artem Iglikov <artikz@google.com> |
Revert "Slices permission model" This reverts commit f762496b7f51f7b00bcb624ecac94a0d72d0b711. Reason for revert: continuous crash, blocks LON from working on master Test: flashed build from TreeHugger and verified that it boots and doesn't crash anymore Bug: 72270082 Change-Id: I68d771357488c5c17ab00803d8f51a6c7ed37d01
/frameworks/base/core/java/android/app/slice/Slice.java
|
f762496b7f51f7b00bcb624ecac94a0d72d0b711 |
|
17-Jan-2018 |
Jason Monk <jmonk@google.com> |
Slices permission model - Launcher/assistant get access to all slices - Apps with uri access to access a specific slice - Apps without access get a permission granting slice - If the user authorizes access to the slice for the app then the app will be granted access to the app's slices (this happens through a temp grant in the service, and a full uri grant from the app the next time it binds) - Add a hint that apps to add to allow them to return different slices depending on the caller, this allows custom permission checks. Test: runtest --path frameworks/base/services/tests/uiservices Bug: 68751119 Change-Id: I8f8cd0182cfcbfba3f307e2eaba5aae6f6fbe214
/frameworks/base/core/java/android/app/slice/Slice.java
|
e8ffec166131d27e47fbf21c9db9f6812051b15f |
|
18-Jan-2018 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Add hint to indicate 'see more' type content"
|
b9e06a8458487892758e5ef1d374182f9a6c6c46 |
|
16-Jan-2018 |
Jason Monk <jmonk@google.com> |
Update slice APIs - Remove deprecated onBindSlice - Move bindSlice to SliceManager since it exists. Test: update-api Bug: 68378571 Change-Id: I1bfde10b5da5f80d395c69a6408fa5b13cd113f0
/frameworks/base/core/java/android/app/slice/Slice.java
|
fd1cbb8210a59359c353c1f98c7bd9c54660d881 |
|
10-Jan-2018 |
Mady Mellor <madym@google.com> |
Add hint to indicate 'see more' type content Test: none Bug: 68378574 Change-Id: Ifb90b4cf96154b9568811de67d61f9c2a58fb473
/frameworks/base/core/java/android/app/slice/Slice.java
|
0c99ecc515b44174df277a9a6a47d4e7b00cb901 |
|
20-Dec-2017 |
Mady Mellor <madym@google.com> |
Add subtype to indicate accessibility text Intended to use with SliceItem type text, to denote that text shouldn't be displayed but rather used for accessibility. Test: none Bug: 68378561 Change-Id: I8321fe1b2bccc4c7e26e376e346c29e71c92957b
/frameworks/base/core/java/android/app/slice/Slice.java
|
cdba028b5da3921432421b27619d201e64cd1bfa |
|
20-Dec-2017 |
Mady Mellor <madym@google.com> |
Merge "Add subtype for priority"
|
ca8e884b85e47262ff3f34f7ac1f9093ed477dd4 |
|
20-Dec-2017 |
Mady Mellor <madym@google.com> |
Add subtype for priority Intended to use with SliceItem type int to note the priority of an item (such as an action) within a template. Test: none Bug: 68378561 Change-Id: I109adf4ea77638b7d27f3aaa7f8eb1c325287f0c
/frameworks/base/core/java/android/app/slice/Slice.java
|
225e0dac45df9607dfcc9aa20f4a93c7492931fb |
|
02-Nov-2017 |
Mady Mellor <madym@google.com> |
Unhide HINT_HIDDEN from slices api and rename to HINT_SHORTCUT Test: manual, build a slice with HINT_SHORTCUT, note content doesn't appear in slice template but can appear when displayed as shortcut Bug: 68378574 Change-Id: I4f7d0b8dbbcb0da4efe79a709b0d9fbf24026a6e
/frameworks/base/core/java/android/app/slice/Slice.java
|
73617b0cc04e82a79721a77b73daefe5a93c223f |
|
16-Dec-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Add hints for toggles in Slice"
|
414ad1835878980a8784d6c511187a338b349fbe |
|
14-Dec-2017 |
Mady Mellor <madym@google.com> |
Merge "Adds hint summary to slice"
|
fed72bf1991c7e35279a8c3d26caa7ff6c8bc7a1 |
|
09-Dec-2017 |
Jason Monk <jmonk@google.com> |
Add Slice.Builder#addBundle Its for support lib expansion in the future, not for dev use. Bug: 68378561 Test: atest cts/tests/tests/slice Change-Id: Ifc73e56c391bd4abed3b8db3c597d7dc794c1a3c
/frameworks/base/core/java/android/app/slice/Slice.java
|
79e7ce39e94597be98786119121e0d6a37b840f3 |
|
28-Nov-2017 |
Mady Mellor <madym@google.com> |
Add hints for toggles in Slice Test: Manual, build a slice with a toggle needs the support lib CL to present the toggle Bug: 68378574 Change-Id: I3067cfee49be17c2688de6d4ce9569e490280705
/frameworks/base/core/java/android/app/slice/Slice.java
|
39bf43519dc13302cb78aea1e6907542e3337177 |
|
12-Dec-2017 |
Mady Mellor <madym@google.com> |
Adds hint summary to slice Test: manual -- in support lib with slice demo app, add a summary note that it appears when slice is in small format and doesn't appear when slice is in large format Bug: 68378574 Change-Id: Id96e5597311189b0352e1763c678ccf7079d2db1
/frameworks/base/core/java/android/app/slice/Slice.java
|
740a650dacb950823d0b4b0d1c8c29f0721fc86d |
|
10-Dec-2017 |
Jason Monk <jmonk@google.com> |
Change colors to allow transport of more generic ints This is in preparation for sliders, also add some hints/types that will be used for sliders. Test: atest cts/tests/tests/slice Bug: 68378584 Change-Id: I8f6a8bb7c80854b51c421a437318975f517a2169
/frameworks/base/core/java/android/app/slice/Slice.java
|
5db9a911354271abdc13a2a645d0de7d2619010e |
|
09-Dec-2017 |
Jeff Sharkey <jsharkey@android.com> |
Add auto-doc support for @StringDef. Behaves pretty much the same as @IntDef, but now supports "suffix" in addition to "prefix" when matching constants. Test: manual docs output looks sane Bug: 70406696 Change-Id: I35064b0f9f36f1f13ccdb40302d818a004014f15
/frameworks/base/core/java/android/app/slice/Slice.java
|
da34022d1226782e830845c5a83ce355c3d76ea4 |
|
22-Nov-2017 |
Jason Monk <jmonk@google.com> |
Add meta-data constant for activity->slice Test: its a constant Change-Id: I331358bd9619beb413dfa98525b0f2589eaea8ae
/frameworks/base/core/java/android/app/slice/Slice.java
|
d054fb36c79e4d10c8d35e2518923dc6f7c85e50 |
|
08-Nov-2017 |
Jason Monk <jmonk@google.com> |
Convert Slice type to string and add optional sub-type The type will control the serialization that the platform uses to get the object from one place to another. The sub-type optionally will specify a specific interpretation of this object. Test: cts Bug: 68378558 Change-Id: I78f41f6e5b6c91c510e4f968c32d96e9030d0e8a
/frameworks/base/core/java/android/app/slice/Slice.java
|
2af1998e59caa897ef4400b333febba2e5b101c0 |
|
08-Nov-2017 |
Jason Monk <jmonk@google.com> |
Add SliceSpec to Slice API SliceSpec will be used to handshake versions between Slice renderers and Slice providers. The renderer will pass in info about supported specs, and expect that the returned slice will be compatible. Test: manual Bug: 68378561 Change-Id: Id094ec3b6f682a3d84a2b992e1a8274212778970
/frameworks/base/core/java/android/app/slice/Slice.java
|
e1b070fe46ac3f4f3d7d53ca09809296bc643d8e |
|
10-Nov-2017 |
Jason Monk <jmonk@google.com> |
Remove SliceView (its moving to support) Test: manual Bug: 68378561 Change-Id: I33b5a709da39c83e047e9005a20afc0ebde7f85f
/frameworks/base/core/java/android/app/slice/Slice.java
|
d28796d32cfd45ae08b787dbf80cb64bbdfbb018 |
|
15-Nov-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Implement intent to uri mapping for slices"
|
3b0a72f0228869e17f0322948bd48fec871b5e3e |
|
19-Oct-2017 |
Mady Mellor <madym@google.com> |
Implement intent to uri mapping for slices This adds the notion of creating a slice based on an intent. To use this developers can implement onMapIntentToUri and return a uri based on the intent. This enables SliceView to be populated via an intent. Test: to be added... Change-Id: I2abd861f2a3dff80ab8b6492a5c3205bc891d19c
/frameworks/base/core/java/android/app/slice/Slice.java
|
fc2b340cf4e20e91ee77f2d843a289cb37908379 |
|
08-Nov-2017 |
Mady Mellor <madym@google.com> |
Add hints for toggles in Slice Test: Manual, build a slice with a toggle needs the support lib CL to present the toggle Bug: 68378574 Change-Id: I4cdae84e11e2b182663186f862fed95e3bacbac5
/frameworks/base/core/java/android/app/slice/Slice.java
|
b367fb754a15fc07126b10a64a4e98cf9ea4b134 |
|
24-Oct-2017 |
Mady Mellor <madym@google.com> |
Update shortcuts to match spec Necessary information for a shortcut is label, icon, intent. This alters how that information is retrieved from a Slice and falls back to using the app icon / title / intent if any of the information is missing from the slice ensuring that there is always an actionable shortcut. Also adds notion of HINT_HIDDEN, allowing apps to exclude parts of a slice from being visible in a template, note when creating a shortcut HINT_HIDDEN is ignored. Test: Manual with SlicesApp, test different varients of having HINT_TITLE and not having HINT_TITLE on an action / icon / label as well as not having an icon / label / or action. Bug: 68378574 Change-Id: I1de9e502204dfb7fd83a7ec7622e8fd464146cfd
/frameworks/base/core/java/android/app/slice/Slice.java
|
800ba36336d86fc8f26209cb30b845127133d7c2 |
|
07-Oct-2017 |
Mady Mellor <madym@google.com> |
Unhide slice view APIs Test: to be added Change-Id: I10e6c3259a3cde6f02c968b24f891b1215e12b1b
/frameworks/base/core/java/android/app/slice/Slice.java
|
d18651fa892b70afd21ded4ee56e1f2e3e7614c6 |
|
05-Oct-2017 |
Jason Monk <jmonk@google.com> |
Unhide slice data APIs Test: CTS Change-Id: Ie2a05e30e5ac6c830b6a9a14b2d207b7e2fbe9da
/frameworks/base/core/java/android/app/slice/Slice.java
|