• Home
  • History
  • Annotate
  • only in /frameworks/support/compat/api26/
History log of /frameworks/support/compat/api26/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7436aae2dab3de3205c13ee283d29969c1b40f6f 19-May-2017 Aurimas Liutikas <aurimas@google.com> Combine JobServiceEngineImpl and JobIntentService

This is part of the process of killing api* directories. We no longer
need to split it by API level since we have lint to catch incorrect uses.

Test: ./gradlew assemble
Change-Id: I8017a3e43cb3daf08e001547137c29823ef822fa
ndroid/support/v4/app/JobServiceEngineImpl.java
45f7d91ddfdd025eb6fbf9453bf78403cb123280 22-Apr-2017 Dianne Hackborn <hackbod@google.com> New JobIntentService.

This is a new, modern replacement for IntentService. They key feature
is it uses JobScheduler when running on O+ platforms. You only need
to implement one service class, which will run as a job on O+ or a plain
service on pre O. This also removes the use of WakefulBroadcastReceiver,
as it builds wake lock handling into itself (since starting with O, when
using JobScheduler, the app no longer needs to take care of this).

Test: added test, runs on O and N.
Change-Id: I08062bc568d563c70eb49154bff80788865354b2
ndroid/support/v4/app/JobServiceEngineImpl.java
034b44190d41bf381f529e8e398c8bea8ac373ff 04-May-2017 Aurimas Liutikas <aurimas@google.com> Revert "New JobIntentService."

This reverts ag/2145277. That change added a flaky test and is causing presubmit test runs to randomly fail.

Bug: 37982100
Change-Id: I820f866c2f91b9561206c4db12d991838d9753e1
ndroid/support/v4/app/JobServiceEngineImpl.java
385164d4cb288eb6adb804f7013fbcc8188e4251 22-Apr-2017 Dianne Hackborn <hackbod@google.com> New JobIntentService.

This is a new, modern replacement for IntentService. They key feature
is it uses JobScheduler when running on O+ platforms. You only need
to implement one service class, which will run as a job on O+ or a plain
service on pre O. This also removes the use of WakefulBroadcastReceiver,
as it builds wake lock handling into itself (since starting with O, when
using JobScheduler, the app no longer needs to take care of this).

Test: added test, runs on O and N.

Change-Id: Ia8130f1d1e09bb1659b127132ad092be80625ab0
ndroid/support/v4/app/JobServiceEngineImpl.java
8c2ee58bb9538e43225d7553fd6479a68619a149 27-Apr-2017 Julia Reynolds <juliacr@google.com> Add groupAlertBehavior to notificationcompat

Pre O this will remove all sounds and vibrations from
relevant grouped notifications. In O+ it'll just set
the field on notification.

Test: NotificationCompatTest
Change-Id: Ida0a26d21f42876f399c3049324cd909d6180c5c
Fixes: 37478457
ndroid/support/v4/app/NotificationCompatApi26.java
7595e76ee632cd048733ff2fa8ab7df26d55179d 29-Apr-2017 Jeff Sharkey <jsharkey@android.com> Updates based on API council guidance.

Test: builds, boots
Change-Id: I8da189362c253a8cd4e05f8eb9548beeda1fb5cf
Fixes: 37775662
Fixes: 37748635
Fixes: 37673408
Fixes: 37672564
Fixes: 37672218
Fixes: 37638323
Fixes: 37637423
ndroid/support/v4/app/NotificationCompatApi26.java
a799d99cf8d83ea72f35eeb623fec4949fea98f4 24-Apr-2017 Aurimas Liutikas <aurimas@google.com> Clean up NotificationCompat

Inline methods wrapped with SDK_INT checks. This CL
is the first pass of the easility collapsable calls.

Bug: 37214421
Test: ./gradlew assemble
Change-Id: I64abb0ea76089b6a533610c4e42a856e8b3492ac
ndroid/support/v4/app/NotificationCompatApi26.java
2c2e759e5540e65a5fc1cacaf007ce9e33791562 18-Apr-2017 Selim Cinek <cinek@google.com> Added compatibility support for setColorized

Test: included
Change-Id: I3d01937a04f6e75b7c9d85cc033a64dfdb0db357
Fixes: 35218214
ndroid/support/v4/app/NotificationCompatApi26.java
6ff416f63548465e1c8eb73a1b469b8cf20a46ce 14-Mar-2017 Julia Reynolds <juliacr@google.com> Support for recent notification apis

- setTimeout
- setBadgeIconType
- setShortcutId

Change-Id: If19b5c282ffeaf22ee8043f6cf72071081ca4783
Fixes: 36119470
Test: included
ndroid/support/v4/app/NotificationCompatApi26.java
e03c42362cf0b9c838d5538f4a44dfe66b303b35 26-Jan-2017 Geoffrey Pitsch <gpitsch@google.com> Use newer Builder for Notification in Compat.

Deprecate the old version, apps that want to target O should
always specify the channel ID.

Test: ./gradlew support-compat:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.v4.app.NotificationCompatTest
Change-Id: Ia3f660a05e19632152492f0b508b32b402c64a4b
ndroid/support/v4/app/NotificationCompatApi26.java
ad2dfd27f530b7e05ff8155ffcb797a555ebb2e1 28-Feb-2017 Aurimas Liutikas <aurimas@google.com> Clean up ShortcutManagerCompat to combine classes.

Bug: 32794064
Test: ./gradlew assemble
Change-Id: I1e602153995ff70455b50ca548340a50e4f21b39
ndroid/support/v4/content/pm/ShortcutManagerCompatApi26.java
7a901584fbdc757f744df113a1c3f2878a7f5628 18-Feb-2017 Aurimas Liutikas <aurimas@google.com> Yet another ViewCompat cleanup.

Bug: 32794064
Test: ./gradlew assemble
Change-Id: I52f3bfe37f4115cffc2410a6ba8f2bc42107b37c
ndroid/support/v4/view/ViewCompatApi26.java
458543f38db49fdcb1764f007ded33820964c3fe 14-Feb-2017 Aurimas Liutikas <aurimas@google.com> Clean up MenuItemCompat after minSdk 14 bump.

- Deprecates all the methods introduced in API 14 or earlier.
- Removes usage of such methods within support library.
- Inlines Api26 related call directly in MenuItemCompat.

Bug: 32794064
Test: ./gradlew assemble
Change-Id: I5f26608e417377a67f4051c3f7c3067eab4012f6
ndroid/support/v4/view/MenuItemCompatApi26.java
ab5e1a448f10ecacf1ac6a642523e48e79784e62 19-Jan-2017 Sunny Goyal <sunnygoyal@google.com> Adding new ShortcutManager APIs

Test: Included tests
Bug: 34163323
Change-Id: I488cbc66dd988730cca7b64828592395131e844d
ndroid/support/v4/content/pm/ShortcutManagerCompatApi26.java
dd60253617accae12abe30ba32933d9a1b00220e 26-Jan-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Revert "Revert "Remove View.setTooltip/getTooltip"""
71093231932fe4a3f8b9fe7609c228dad6ad7730 25-Jan-2017 Vladislav Kaznacheev <kaznacheev@google.com> Revert "Revert "Remove View.setTooltip/getTooltip""

This reverts commit 0e3eb640e00370857df36a0f9eb2a1d4098c71e5.

Change-Id: Ib1b9e11c7b9e8d202a85c068df3520b6ebfc4223
ndroid/support/v4/view/ViewCompatApi26.java
fd3c4560bf2348f6a06272a9f02105c9e1bf927e 25-Jan-2017 Vladislav Kaznacheev <kaznacheev@google.com> Revert "Revert "Add content description and tooltip to menu item""

This reverts commit 7ad815fef41ae568189dea9979b873e82c78476d.

Change-Id: Ic4e0747b2524cda2acf2821a738755f4415f3181
ndroid/support/v4/view/MenuItemCompatApi26.java
0e3eb640e00370857df36a0f9eb2a1d4098c71e5 24-Jan-2017 Vladislav Kaznacheev <kaznacheev@google.com> Revert "Remove View.setTooltip/getTooltip"

This reverts commit f7c051c18763176c672b839dec761de4740d5db6.

Change-Id: I26c3569b702a97b56aa29a613b1681baa2533339
ndroid/support/v4/view/ViewCompatApi26.java
f7c051c18763176c672b839dec761de4740d5db6 23-Jan-2017 Vladislav Kaznacheev <kaznacheev@google.com> Remove View.setTooltip/getTooltip

The last step in renaming setTooltip/getTooltip to
setTooltipText/getTooltipText

Bug: 34454987
Test: support library compiles
Change-Id: Ia122d6c33ef27fbe398c4db53c4ac14971b5f022
ndroid/support/v4/view/ViewCompatApi26.java
e337f69585dee67d926bba7558b6c35acc44aa54 19-Jan-2017 Vladislav Kaznacheev <kaznacheev@google.com> Rename View.setTooltip/getTooltip to setTooltipText/getTooltipText

Bug: 34454987
Test: Support7Demos -> Action Bar Usage
Change-Id: Idee511cabee413270ac6b4d2c76c328f51217836
ndroid/support/v4/view/ViewCompatApi26.java
159a5dfb07b6836ffdbf4099b8ca55b890b5109f 06-Jan-2017 Julia Reynolds <juliacr@google.com> Add notification channel support.

Test: included
Change-Id: Iff229bc5c55f69b9f13929da89eb33c40236b57d
ndroid/support/v4/app/NotificationCompatApi26.java
daa85ce5c5aa5d44fabf6675ede7e7be55a79034 23-Nov-2016 Vladislav Kaznacheev <kaznacheev@google.com> Introduce ViewCompat.setTooltip

This calls View.setTooltip on API26+. The fallback
implementation is a Toast-based tooltip.

Use the new method in ActionMenuItemView,
MediaRouteButton, ScrollingTabContainerView and
TabLayout.

Bug: 31516506
Test: manual in Support7Demos and SupportDesignDemos
Change-Id: I23832a2fd5b589769225a0542c2a0ce4778e673c
ndroid/support/v4/view/ViewCompatApi26.java