Commit Graph

11010 Commits

Author SHA1 Message Date
Julia Reynolds
4ed4e2d6e6 Merge "Show app ops guts when tap app ops icons" into pi-dev am: 7b894b3fcd
am: 6558218cf2

Change-Id: If61c8b33dcac584c685fb5b10acc537b0c0ba10a
2018-03-08 04:27:38 +00:00
TreeHugger Robot
7b894b3fcd Merge "Show app ops guts when tap app ops icons" into pi-dev 2018-03-08 04:00:37 +00:00
Phil Weaver
fc0c8d9b63 Merge "Fix accessibility action parceling" into pi-dev 2018-03-08 01:49:43 +00:00
Julia Reynolds
b586745d86 Show app ops guts when tap app ops icons
Test: runtest systemui
Bug: 64085448
Change-Id: Ia51044f77311ab705ffb9dd1ae204d0131316396
2018-03-08 01:45:09 +00:00
John Reck
2ffa4d67a7 Merge "Clean up development settings" 2018-03-08 01:28:10 +00:00
John Reck
f8d2e3deab Merge "Fix NPE if app context is null" into pi-dev am: a08a8569bf
am: a25a677ab5

Change-Id: I79c6ee44487bb7bdae4ed3f4afcde21b5ac3f9a2
2018-03-08 01:06:54 +00:00
TreeHugger Robot
a08a8569bf Merge "Fix NPE if app context is null" into pi-dev 2018-03-08 00:15:22 +00:00
Adrian Roos
1722fbab29 Merge "Window: Provide frame size hint to ViewRootImpl" into pi-dev am: b8d853732c
am: 923f8d0374

Change-Id: Iacac285fe4ad10f280885ba0b4c1c535a7995573
2018-03-07 23:53:45 +00:00
Adrian Roos
b8d853732c Merge "Window: Provide frame size hint to ViewRootImpl" into pi-dev 2018-03-07 22:58:34 +00:00
Phil Weaver
f397f44756 Merge "Improve a11y pane title javadoc" into pi-dev 2018-03-07 22:38:07 +00:00
Felipe Leme
e69eeb2f81 Merge "Implemented notifyViewClicked() on compat mode." into pi-dev am: f99b1d8fd9
am: c17f4944a6

Change-Id: Id0be94092ca85ba2bdf42f9bb757f2290c7d1fdb
2018-03-07 20:06:59 +00:00
TreeHugger Robot
f99b1d8fd9 Merge "Implemented notifyViewClicked() on compat mode." into pi-dev 2018-03-07 19:40:55 +00:00
John Reck
f1b961033f Fix NPE if app context is null
Change-Id: Ic21ae50e5421a8c711e133ffe2ff218160382297
Fixes: 74260094
Test: builds, boots, and graphicsstats still works
2018-03-07 11:08:39 -08:00
Phil Weaver
37cc3c410a Improve a11y pane title javadoc
Bug: 74123987
Test: Just changing comments.
Change-Id: I7f21947a35d1baccf171346979164718386c5b71
(cherry picked from commit 50d2808b95)
2018-03-07 18:06:05 +00:00
Phil Weaver
2c9e780c4f Fix accessibility action parceling
We were using an int for a bitmask, but the number of
standard actions reached 32 with the tooltip actions.
Switching to long.

This CL is mostly ag/3662206, but that CL did not
convert everything to ints.

Bug: 73897184
Test: AccessibilityNodeInfo tests caught this bug. I've also
enhanced it to make sure that all standard actions work
across parceling.

Change-Id: I2adae3ec34ac327af354449fbe6511f01cc30b2f
(cherry picked from commit c9bf45564b)
2018-03-07 17:58:42 +00:00
TreeHugger Robot
33d783fce6 Merge "TextClassifierService.onSelectionEvent" 2018-03-07 17:44:23 +00:00
Richard Ledley
847446d7f8 Merge "Don't use highlighting in non-selectable text. Also fixes potential discrepancy in indexes for Linkified entities." into pi-dev 2018-03-07 17:30:20 +00:00
Felipe Leme
54cc68370c Implemented notifyViewClicked() on compat mode.
Test: atest CtsAutoFillServiceTestCases:android.autofillservice.cts.VirtualContainerActivityCompatModeTest#testSave_submitButtonClicked

Fixes: 73649008

Change-Id: Icf6a8b617e06055c58e38c5b7208c7f3ef3121ee
2018-03-07 09:27:02 -08:00
Phil Weaver
904eadc581 Merge "Fix accessibility action parceling" 2018-03-07 16:48:29 +00:00
Adrian Roos
9e370f2912 Window: Provide frame size hint to ViewRootImpl
Provides a better estimate to the ViewRootImpl about the likely
window frame size than it can get from the configuration, which
allows it to avoid unneccessary measure passes.

Bug: 73813813
Test: atest PhoneWindowManagerLayoutTest
Change-Id: Ia4de6509416d90eed61929ce1646904c31afdd8d
2018-03-07 16:53:54 +01:00
Abodunrinwa Toki
c6a56a31b7 TextClassifierService.onSelectionEvent
Bug: 67609167
Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest
Test: bit FrameworksCoreTests:android.view.textclassifier.logging.SelectionEventTest
Change-Id: Ib5af1ec80a38432d1201fbc913acdc3597d6ba82
2018-03-07 12:50:33 +00:00
Android Build Merger (Role)
5f4e4a4864 Merge "Merge "IME API: rename IMS methods." into pi-dev am: 2b00eaed27 am: 327c666924" 2018-03-07 03:40:20 +00:00
Tarandeep Singh
01041c97ff Merge "IME API: rename IMS methods." into pi-dev am: 2b00eaed27
am: 327c666924

Change-Id: I49cfc349a87cd6b9d116b67102178d0bf6219f3d
2018-03-07 03:38:54 +00:00
Phil Weaver
50d2808b95 Improve a11y pane title javadoc
Bug: 74123987
Test: Just changing comments.
Change-Id: I7f21947a35d1baccf171346979164718386c5b71
2018-03-06 17:23:01 -08:00
Phil Weaver
c9bf45564b Fix accessibility action parceling
We were using an int for a bitmask, but the number of
standard actions reached 32 with the tooltip actions.
Switching to long.

This CL is mostly ag/3662206, but that CL did not
convert everything to ints.

Bug: 73897184
Test: AccessibilityNodeInfo tests caught this bug. I've also
enhanced it to make sure that all standard actions work
across parceling.

Change-Id: I2adae3ec34ac327af354449fbe6511f01cc30b2f
2018-03-06 13:07:36 -08:00
Richard Ledley
27db81baf8 Don't use highlighting in non-selectable text. Also fixes potential discrepancy in indexes for Linkified entities.
Test: atest CtsWidgetTestCases:TextViewTest FrameworksCoreTests:android.widget.TextViewActivityTest CtsViewTestCases:android.view.textclassifier.cts.TextClassificationManagerTest FrameworksCoreTests:android.view.textclassifier.TextLinksTest

Change-Id: Ib479afa9af2b921e6a217a34322a766561867b79
(cherry picked from commit bda1d9e740)
2018-03-06 18:33:20 +00:00
Richard Ledley
4f8464de33 Merge "Don't use highlighting in non-selectable text. Also fixes potential discrepancy in indexes for Linkified entities." 2018-03-06 17:36:55 +00:00
Tarandeep Singh
164cfba536 IME API: rename IMS methods.
Incorporating API Review feedback:
* Use IMS.switchInputMethod(id) instead of IMS.setInputMethod()
* Use IMS.switchInputMethod(id, subtypeId) instead of
  IMS.setInputMethodAndSubtype()
* Renamed switchToLastInputMethod() to switchToPreviousInputMethod()

Bug: 73954137
Test: atest InputMethodServiceTest
Test: atest CtsInputMethodServiceHostTestCases
Change-Id: I6efd5ca473e33e6faeadb7eea7772b9d2b8ca12b
2018-03-06 02:23:15 +00:00
Richard Ledley
bda1d9e740 Don't use highlighting in non-selectable text. Also fixes potential discrepancy in indexes for Linkified entities.
Test: atest CtsWidgetTestCases:TextViewTest FrameworksCoreTests:android.widget.TextViewActivityTest CtsViewTestCases:android.view.textclassifier.cts.TextClassificationManagerTest FrameworksCoreTests:android.view.textclassifier.TextLinksTest

Change-Id: Ib479afa9af2b921e6a217a34322a766561867b79
2018-03-05 15:56:34 +00:00
Abodunrinwa Toki
2013208587 Merge "Merge textclassifier/logging/ into textclassifier/" 2018-03-05 15:07:40 +00:00
Adrian Roos
9bbd9661c0 DisplayCutout API: Make constructor public and adjust javadoc
Change-Id: I093cf4f9ea60f00e187aeb4a548f3f5789d87fa1
Fixes: 73953880
Test: make update-api
(cherry picked from commit d61db603fe)
2018-03-05 13:52:32 +00:00
Adrian Roos
c95edd4704 Merge "DisplayCutout API: Make constructor public and adjust javadoc" 2018-03-05 12:50:56 +00:00
TreeHugger Robot
f8f0c8df78 Merge "Revert "Introduce InputConnection#reportLanguageHint()"" 2018-03-03 23:36:37 +00:00
Yohei Yukawa
4397591f3d Revert "Introduce InputConnection#reportLanguageHint()"
This reverts commit e77386e8fb [1].

Reason for revert:
The protocol is not yet ready to be exposed and we are still unsure
what is the best approach.

 [1]: Ie86edafd1ed68b58f702116f561fc448fdbb57a8

Bug: 7031513
Bug: 72522601
Fix: 74087970
Test: atest CtsInputMethodTestCases
Change-Id: Ia61dc9b3d5b116199382994430fb16ee804942b3
2018-03-02 17:35:18 -08:00
Evan Rosky
b93a014cc8 Merge "Enabled state shouldn't effect children." 2018-03-03 01:07:46 +00:00
TreeHugger Robot
dd33df2393 Merge "Prevent nav bar vibrations when overview proxy is connected (1/2)" 2018-03-03 00:36:28 +00:00
John Reck
e22d4d7af2 Clean up development settings
Removes a long obsolete force_hw_ui
Clarifies some naming that it's profiling HWUI not GPU

Test: builds
Change-Id: I1efe4fc33bc44d1f5610813cf1566e927610a9f5
2018-03-02 15:51:27 -08:00
TreeHugger Robot
df7105a993 Merge "Re-enable cross-profile use of spell checker APIs" 2018-03-02 21:20:47 +00:00
Matthew Ng
64543e668f Prevent nav bar vibrations when overview proxy is connected (1/2)
Systemui can control when to allow vibrations on virtual key vibrations
on key down when overview proxy service is connected. This prevents
vibrations from KeyButtonView when swiping up over a navigation button.
This gives more control over haptics to systemui so that in the future
launcher can send haptic feedback when quick step begins.

Bug: 73919295
Bug: 73942704
Test: swipe up from navigation bar
Change-Id: I5de2a6f199d7e08b4d146e729f4b9c89b2adcded
2018-03-02 12:12:59 -08:00
Abodunrinwa Toki
fedce707e5 Merge textclassifier/logging/ into textclassifier/
This is based on feedback on Ib5af1ec80a38432d1201fbc913acdc3597d6ba82

Bug: 67609167
Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest
Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest
Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
Test: bit CtsViewTestCases:android.view.textclassifier.cts.TextClassificationManagerTest
Test: bit CtsViewTestCases:android.view.textclassifier.cts.LoggerTest
Change-Id: Ic8d58acb2bbd63cedcac4aa16940b4ac852aadc8
2018-03-02 19:48:31 +00:00
TreeHugger Robot
cbc22b8bec Merge "Allow debuggable apps to do skp capture" 2018-03-02 19:09:31 +00:00
Vladislav Kaznacheev
f1aab4de20 Merge "Add ViewConfiguration.shouldShowMenuShortcutsWhenKeyboardPresent" 2018-03-02 17:34:04 +00:00
Adrian Roos
d61db603fe DisplayCutout API: Make constructor public and adjust javadoc
Change-Id: I093cf4f9ea60f00e187aeb4a548f3f5789d87fa1
Fixes: 73953880
Test: make update-api
2018-03-02 17:01:34 +01:00
John Reck
6afa009c0c Allow debuggable apps to do skp capture
Change-Id: Ibb56887b28eb8260bf2ca0b38dbe78233e9cfaf4
Fixes: 74086676
Test: verified can still capture an skp
2018-03-01 17:28:35 -08:00
Yohei Yukawa
3f8c568883 Re-enable cross-profile use of spell checker APIs
Recently we successfully removed the restriction that up to one
SpellCheckerService can be active at the same time [1].  This still
makes much sense at high level, but at the ecosystem level there are
still some products / components that depend on the previous behavior
that child profile users can use parent profile's spell checker
service, which was originally introduced as a stopgap solution for
Android N MR1 [2].

Our decision for Android P for now is to revert back to the previous
behavior only when the calling process is running under work
profile.

At the implementation level, we can summarize the new behavior as
follows:
 * When TextServicesManager APIs are called from work-profile
   processes, those API calls will be evaluated with parent-profile's
   user ID to match the previous behavior [2].
   * If the currently selected spell checker is not a pre-installed
     one, then API calls from work profile will fail to match the
     previous behavior [2].
 * When TextServicesManager APIs are called from non work-profile
   processes, those API calls will continue being evaluated with
   calling user ID, as we planned for Android P [1].
 * TextServicesData will not be created for child profile users.

 [1]: I06c27ef834203a21cc445dc126602c799384527b
      06a2624049
 [2]: Iae9045ba5baccd04ed68906e7afb9160677ec4a5
      095fa37164

Bug: 63041121
Bug: 64718412
Bug: 70922751
Bug: 73609140
Fix: 73862883
Test: atest FrameworksCoreTests:com.android.internal.textservice.LazyIntToIntMapTest
Test: Manually tested with Test DPC as follows:
      * When AOSP Spell Checker is pre-installed and the current spell
        checker, both main profile and work profile can use AOSP spell
        checker.
      * When SampleSpellCheckerService is side-loaded and the current
        spell checker, only main profile can use
        SampleSpellCheckerService.
Change-Id: Ic046f832f203115106409a53418a5746eb6d4939
2018-03-01 13:10:23 -08:00
Chavi Weingarten
13b154893a Merge "Use destroy in transaction for animation" 2018-03-01 16:28:32 +00:00
Adrian Roos
90c27c332a Merge "DisplayCutout: Add xml wrapper for layoutInDisplayCutoutMode" 2018-03-01 13:57:22 +00:00
Abodunrinwa Toki
fa6d6d963b Merge "Add TCM.getTextClassifier(int type)" 2018-03-01 06:38:24 +00:00
TreeHugger Robot
8e1522197a Merge "Remove RemoteSurfaceTrace functionality." 2018-03-01 04:21:25 +00:00
Dake Gu
467b444d0a Merge "autofill: touch on IME should not close autofill" 2018-03-01 02:40:03 +00:00