History log of /frameworks/support/compat/java/android/support/v4/content/ContextCompat.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
80b56ae851dfdfda12aa22a97a3b7bfa90e3508b 14-Apr-2017 Vinod Krishnan <vinodkrishnan@google.com> Compat method for startForegroundService and pre-O

Bug: 37127499

Change-Id: I391064d623f8e2617b8a981ba304532c4ccaffc1
/frameworks/support/compat/java/android/support/v4/content/ContextCompat.java
4867e99525d200f9aacf7508ee047054396a4870 24-Mar-2017 Aurimas Liutikas <aurimas@google.com> Remove all the uses BuildCompat.isAtLeastN().

Test: ./gradlew assemble still compiles
Change-Id: I9635a23dc4bd00ee77c4bba609616d2ed82a8cde
/frameworks/support/compat/java/android/support/v4/content/ContextCompat.java
4f325fb24a6ce5d8cca56460db12c24ec7ec5491 22-Feb-2017 Aurimas Liutikas <aurimas@google.com> Cleanup ContextCompat and ResourcesCompat after minSdk 14 bump.

Bug: 32794064
Test: ./gradlew assemble
Change-Id: I14ae4f615602563cd59d8f8f14d97fb6c67e1cbc
/frameworks/support/compat/java/android/support/v4/content/ContextCompat.java
9a8ae954f48a89b3519d6a3c029b2061318ce07b 08-Feb-2017 Aurimas Liutikas <aurimas@google.com> Cleanup ActivityCompat and ContextCompat after minSdk 14 bump.

Bug: 32794064
Test: ./gradlew assemble
Change-Id: Ia8f8cd4b65bc6760d0611aaa076756313c3ea414
/frameworks/support/compat/java/android/support/v4/content/ContextCompat.java
2109fdc5812946a98d8dd46b8b005277a2e10b00 08-Sep-2016 Alan Viverette <alanv@google.com> Allow starting an Activity with a Context where possible

Activity#startActivity() only requires a Context, so these should also
only require a Context.

Bug: 31372328
Change-Id: I1d132468028f1e6d72922ae88c4f1c5c2fbb7f1e
/frameworks/support/compat/java/android/support/v4/content/ContextCompat.java
1194904b0540cb2043dd047206abf7592f31c2f4 21-Jul-2016 Alan Viverette <alanv@google.com> ActivityCompat should use static methods, not be publicly instantiable

Also renames implementation classes for consistency.

Bug: 29047200
Change-Id: I1b286ef977500a0d9c5c6d73cb927746a9f53810
/frameworks/support/compat/java/android/support/v4/content/ContextCompat.java
9562a3b639225d406d736b64a12e2d75459259e3 01-Jul-2016 Alan Viverette <alanv@google.com> Add offline docs target for support lib gradle build

Fixes standalone docs issues like references to hidden framework class
R.styleable. Removes reference to BackupAgent, which makes doclava choke
for some unknown reason.

Standalone online docs may now be built with ./gradlew :generateDocs

Bug: 28124434
Change-Id: If76ac9018be1d17f1258802d4ef3ce1ad67b4903
/frameworks/support/compat/java/android/support/v4/content/ContextCompat.java
5de2e708dac059d079491ef0b4b73a453e01a5c9 15-Jun-2016 Aurimas Liutikas <aurimas@google.com> Add missing annotations in ContextCompat.

Add missing @ColorRes @ColorInt @DrawableRes annotations.

Bug:
https://code.google.com/p/android/issues/detail?id=201621

Change-Id: I1f170629d95b1d9d84969c110a0f2b6905fbf5b2
/frameworks/support/compat/java/android/support/v4/content/ContextCompat.java
7725e0f56ded4306659437803babe92f7ca0f5d6 31-May-2016 Alan Viverette <alanv@google.com> Fix support lib docs build

Change-Id: I547166d9b1b974751c90cdd5a7648a613c50d8ef
/frameworks/support/compat/java/android/support/v4/content/ContextCompat.java
f185f104c4786740765e549d535f9ba1052f96cc 10-May-2016 Kirill Grouchnikov <kirillg@google.com> Combine donut/eclair/eclairmr1/froyo/gingerbread source folders.

* Where relevant, call APIs directly and mark Compat APIs as deprecated
* Remove eclair-gingerbread folders from gradle and makefiles
* Bump LOCAL_SDK_VERSION to 9 in a couple of places that were skipped

In the next CL compat/donut will be renamed to compat/gingerbread.
Not doing this here to minimize the amount of diffs in this CL.

Change-Id: I5f418a8746b91bedd918523090b666eabe0ec20c
/frameworks/support/compat/java/android/support/v4/content/ContextCompat.java
3ac77bf186f87ecad4bf0063b2f6c4384efbd56a 27-Apr-2016 Kirill Grouchnikov <kirillg@google.com> Support module refactoring

* Splitting support-v4 into two modules, support-compat and support-core
* Adding a new library module named support-v4 that combines the two
together for backward compatibility support of existing projects
* support-compat has all Compat classes, their few direct dependencies
and all data structures in the .util package

Change-Id: Icd1b0ab3a5b61a8a2bf85bc274098f0a828963e0
/frameworks/support/compat/java/android/support/v4/content/ContextCompat.java