0d8edf13091b276a544ddec3bc7789c5c2e37ae3 |
|
13-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Un-suppress NewApi lint where applicable" into oc-dev
|
905bcd294a7351749c60382eab03aa0c679e08bb |
|
13-Apr-2017 |
Alan Viverette <alanv@google.com> |
Un-suppress NewApi lint where applicable Reduces scope where NewApi must be retained. Updates media compat code to use BuildCompat directly rather than checking SDK_INT against 26 (which is not a real SDK_INT on any devices yet). Test: ./gradlew lint Change-Id: I052641ae0540605559ad68132ef0470bc8dc3f22
/frameworks/support/compat/java/android/support/v4/view/MenuItemCompat.java
|
3a7c6d2009dfcf99c738d70eafe146eedf6e0ac2 |
|
10-Apr-2017 |
Kirill Grouchnikov <kirillg@google.com> |
Make menu item tinting available on older platforms. * Backport of ag/2010341 and ag/2010340 to app compat. * Also mark two existing MenuItemCompat methods as static (otherwise they are not accessible to use) * Also simplify the menu wrapper factory logic now that we're on min SDK 14. Bug: 31545315 Test: ./gradlew support-appcompat-v7:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.v7.app.AppCompatMenuItemIconTintingTest Change-Id: Icb6f1463d0010ecf103ab34b12933557ea9cb849
/frameworks/support/compat/java/android/support/v4/view/MenuItemCompat.java
|
09231da6d922e91d30d06876521106f13230a791 |
|
27-Oct-2016 |
Peeyush Agarwal <apeeyush@google.com> |
Add MenuItem shortcut modifiers to support library Before this, CTRL was the default modifier for MenuItem shortcuts. Now, It's possible to specify the modifier in XML or via MenuItem methods. The modifier list includes META, CTRL, ALT, SHIFT, SYM and FUNCTION. KeyEvents with non-default modifiers are rerouted to dispatchKeyShortcutEvent by extending Activity's onKeyDown. Modifier state is maintained in support menu. Bug: 32165848 Test: android.support.v7.app.AppCompatMenuItemShortcutsTest, android.support.v7.view.SupportMenuInflaterTest Change-Id: I5f9b89664683da7261b2292fbfc21acc6e3ccdb9
/frameworks/support/compat/java/android/support/v4/view/MenuItemCompat.java
|
c69882cb9b130902c1554ef5d3e3b06d776cd796 |
|
05-Mar-2017 |
Alan Viverette <alanv@google.com> |
Re-enable lint enforcement, fix remaining lint issues Bug: 29630077 Test: ./gradlew lint Change-Id: Ied1e4b1c33ba158d6bfab5439497ee4fc8284a8f
/frameworks/support/compat/java/android/support/v4/view/MenuItemCompat.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
/frameworks/support/compat/java/android/support/v4/view/MenuItemCompat.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
/frameworks/support/compat/java/android/support/v4/view/MenuItemCompat.java
|
7ad815fef41ae568189dea9979b873e82c78476d |
|
24-Jan-2017 |
Vladislav Kaznacheev <kaznacheev@google.com> |
Revert "Add content description and tooltip to menu item" This reverts commit c7d1b6bc152f660957d7a789dcff7b97831915a0. Change-Id: Iffc35948f706f42275f6d1c20f6024111320ced8
/frameworks/support/compat/java/android/support/v4/view/MenuItemCompat.java
|
c7d1b6bc152f660957d7a789dcff7b97831915a0 |
|
23-Jan-2017 |
Vladislav Kaznacheev <kaznacheev@google.com> |
Add content description and tooltip to menu item Bug: 34076597 Test: manual Change-Id: I1addaac5e5734a140163541656cbd2dba4037517
/frameworks/support/compat/java/android/support/v4/view/MenuItemCompat.java
|
8f886fe8c7e23fe6ccb8734167c960c2ed3429c3 |
|
25-Oct-2016 |
Alan Viverette <alanv@google.com> |
Annotate support classes with RequiresApi / TargetApi Also inlines version codes in SDK_INT checks so that lint understands them. Removes some unnecessary TargetApi annotations. Bug: 29630077 Change-Id: I67a9235480ca14711b0496a54beca5c0e6c6b2d1
/frameworks/support/compat/java/android/support/v4/view/MenuItemCompat.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/view/MenuItemCompat.java
|