Commit Graph

91409 Commits

Author SHA1 Message Date
Phil Weaver
d2b4be098d Merge "Add config value for fingerprint gesture support" into pi-dev am: 3f9aaad4dc
am: 48de181270

Change-Id: Ie857bd953d1005d3e17e17dbf1fb5b0a4234f5d9
2018-04-25 11:28:32 -07:00
Phil Weaver
8228a8997d Merge "Copy links to orginal text in a11y node info" into pi-dev am: 0e90cf29c7
am: 591ab1b8fc

Change-Id: I0a6d47363f3e557ef1b88a4b1ee1a0851e3ade23
2018-04-25 11:05:53 -07:00
Phil Weaver
48de181270 Merge "Add config value for fingerprint gesture support" into pi-dev
am: 3f9aaad4dc

Change-Id: I5256a96fe10bf1d7f23af94281926ae17958640e
2018-04-25 11:00:50 -07:00
Phil Weaver
adf1471ef1 Merge "A11y isHeading takes old API into account" into pi-dev am: c364536807
am: e22eb1d0a3

Change-Id: Ia15ee268abf86293e0859aebc62665ca9a5d38e0
2018-04-25 10:57:47 -07:00
Phil Weaver
591ab1b8fc Merge "Copy links to orginal text in a11y node info" into pi-dev
am: 0e90cf29c7

Change-Id: I6e389c1a89cb3a5534139844843d6c0a2cb7b51c
2018-04-25 10:55:15 -07:00
Phil Weaver
e22eb1d0a3 Merge "A11y isHeading takes old API into account" into pi-dev
am: c364536807

Change-Id: Id5479bef4a2b173d8388e016a117a68bbe1b062f
2018-04-25 10:47:10 -07:00
Phil Weaver
3f9aaad4dc Merge "Add config value for fingerprint gesture support" into pi-dev 2018-04-25 17:35:28 +00:00
Phil Weaver
0e90cf29c7 Merge "Copy links to orginal text in a11y node info" into pi-dev 2018-04-25 17:35:12 +00:00
Phil Weaver
c364536807 Merge "A11y isHeading takes old API into account" into pi-dev 2018-04-25 17:34:27 +00:00
Makoto Onuki
fc7e2cff84 Merge "DO NOT MERGE Make "Want to start battery saver?" dialog better." into pi-dev
am: 6f79bd0019

Change-Id: I452931c53e1ed5b86b8389f120b9ebb3b4059ca3
2018-04-25 10:13:18 -07:00
TreeHugger Robot
c078e6b6fc Merge "Add @TestApi to KeyEvent.actionToString(..)" 2018-04-25 16:12:56 +00:00
Makoto Onuki
778ce66697 DO NOT MERGE Make "Want to start battery saver?" dialog better.
- Don't line-break in "Battery" (only in English)
- Add "Learn more" link.

Bug: 78261259

Test: Manual test with:
- adb shell dumpsys battery unplug
- adb shell settings delete secure low_power_warning_acknowledged
- Enable battery saver
- Make sure the link is clickable if a link is set.
- Make sure there's no "learn more" link if the link is not set in strings.xml

Change-Id: I83364f628dd596a4d50bf2aca4db7cbfe7cf4909
2018-04-25 15:27:47 +00:00
TreeHugger Robot
cc7dd57414 Merge "Default vibration amplitude resolution added" 2018-04-25 12:39:01 +00:00
TreeHugger Robot
b1eaf64323 Merge "Deprecate private AsciiCapable protocol" 2018-04-25 05:56:09 +00:00
Yohei Yukawa
b1845f317c Deprecate private AsciiCapable protocol
The concept "AsciiCapable InputMethodSubtype" was initially introduced
as a private protocol based on a magic keyword "AsciiCapable"
specified in "imeSubtypeExtraValue" attribute in API level 15 [1],
then became a public API "isAsciiCapable" attribute in API 19 [2].

However, it turns out that there remains one place in InputMethodUtils
where the previous private protocol is still used.

With this CL, InputMethodUtils stop relying on the previous private
AsciiCapable.

 [1]: I1a83b227498073c47567f73566043c273809adc9
      c36905673a
 [2]: Ic3ace4b6e0432d56696bcbc0be336aec1dc744a5
      dc8abf6cee

Fix: 78537996
Test: make doc-comment-check-docs -j
Test: atest InputMethodPreferenceTest InputMethodUtilsTest
Change-Id: I56c0c19878657a41882c2d784e1ac96a52ab33f6
2018-04-24 18:36:23 -07:00
Siarhei Vishniakou
4c96a5e2cb Add @TestApi to KeyEvent.actionToString(..)
Currently, it is not possible to use KeyEvent.actionToString(..) in a
CTS test because that API is @hide. However, it would be useful to print
these actions when tests fail. Therefore, add the @TestApi annotation.

Bug: 77803694 36069459
Test: m cts-input-lib CtsHardwareTestCases (under development)
Change-Id: I2d23dbd101cef3f1c6c7a70c521a9dc219797615
2018-04-24 18:02:11 -07:00
Lorenzo Colitti
4d121ff87f Merge "Actually @hide unwanted capability methods." into pi-dev am: a09c06a6c1
am: dc86aaa112

Change-Id: I923e5377a1abe761217612452cbfdba752e53de2
2018-04-24 14:50:14 -07:00
Lorenzo Colitti
dc86aaa112 Merge "Actually @hide unwanted capability methods." into pi-dev
am: a09c06a6c1

Change-Id: I80a88123b16c54734306da7e5dc0670972041648
2018-04-24 14:43:06 -07:00
Lorenzo Colitti
a09c06a6c1 Merge "Actually @hide unwanted capability methods." into pi-dev 2018-04-24 21:20:25 +00:00
Phil Weaver
6f8ec1fd8c Copy links to orginal text in a11y node info
Not doing this copy results in us keeping
mOriginalText around. That is a CharSequence that
can contains Spans that reference other Views and
other expensive stuff.

Fixes: 78511639
Fixes: 75602764

Test: make
Change-Id: I977646311167f8d13e1c4a5c8fc38372e6d1ff3c
2018-04-24 10:13:12 -07:00
Alexey Kuzmin
55bdc59c53 Default vibration amplitude resolution added
Test: On sailfish, set vibration intensity to High, lock the phone and
unlock with FPS. Vibration should be played.
Bug: 76129874

Change-Id: I546341e55fa0e6de0af1d22c8e8e07d67670f0b9
Merged-In: I546341e55fa0e6de0af1d22c8e8e07d67670f0b9
2018-04-24 15:25:59 +01:00
Rubin Xu
43a33477d9 Merge "Make password history hashing more secure" into pi-dev am: 66b6d1c3bc
am: 1e90f0135f

Change-Id: Ie67bb7caa2c1fec8c58d876171586ee88d16409f
2018-04-24 06:32:58 -07:00
Rubin Xu
1e90f0135f Merge "Make password history hashing more secure" into pi-dev
am: 66b6d1c3bc

Change-Id: Iae4f9ca93a193d24b23410c92659d35a50506b4b
2018-04-24 06:22:16 -07:00
TreeHugger Robot
66b6d1c3bc Merge "Make password history hashing more secure" into pi-dev 2018-04-24 13:06:57 +00:00
Bernardo Rufino
d2e2c3a6e4 Merge "Check self permission in BackupManager#isBackupServiceActive" into pi-dev am: ad8159bea0
am: e348c14524

Change-Id: Ic31eabf98521d0823b6329914809dcfd937e33fe
2018-04-24 05:29:34 -07:00
Bernardo Rufino
e348c14524 Merge "Check self permission in BackupManager#isBackupServiceActive" into pi-dev
am: ad8159bea0

Change-Id: I3500ed3ae311d5df2ddf265a7132ac05d7eb536c
2018-04-24 05:20:29 -07:00
TreeHugger Robot
ad8159bea0 Merge "Check self permission in BackupManager#isBackupServiceActive" into pi-dev 2018-04-24 12:12:53 +00:00
Rubin Xu
b4c0d951bc Merge "Clarify SystemUpdatePolicy" into pi-dev am: 4019c39405
am: 5fbc0e59f5

Change-Id: Ia4f9475bac63504d9332bf576d9e12517e89d23a
2018-04-24 04:20:14 -07:00
Rubin Xu
5fbc0e59f5 Merge "Clarify SystemUpdatePolicy" into pi-dev
am: 4019c39405

Change-Id: I7d9129aaa404940391139acf2f40eca97fda9165
2018-04-24 04:10:58 -07:00
TreeHugger Robot
4019c39405 Merge "Clarify SystemUpdatePolicy" into pi-dev 2018-04-24 10:59:50 +00:00
Bernardo Rufino
2bf65c6e5c Check self permission in BackupManager#isBackupServiceActive
Old method only checked for IPC caller, method isn't an IPC, adding
check for self permission as well.

Bug: 78467264
Test: atest com.google.android.gts.devicepolicy.DeviceOwnerTest#testBackupServiceActive
Change-Id: If9eed90f2deaaf1a4f2376fdf1881e62ee8954fb
2018-04-24 11:41:13 +01:00
TreeHugger Robot
8e2b316e52 Merge "Avoid internal method call and its branching." 2018-04-24 09:43:27 +00:00
Selim Cinek
fe5e954e9e Merge changes from topic "notification_reply_action" into pi-dev am: 53790c1c8f
am: 0744f1d4b1

Change-Id: Ic0fdf693f31edc0402c43451610c051b2d8571cf
2018-04-24 02:37:39 -07:00
Selim Cinek
0744f1d4b1 Merge changes from topic "notification_reply_action" into pi-dev
am: 53790c1c8f

Change-Id: Ia6f227ca49a2004a2346da91cfea4f9a3fa65c47
2018-04-24 02:26:30 -07:00
Kenny Guy
d79d5c9bd6 Merge "Add spinner for smart replies." into pi-dev am: 5f18904a00
am: 06c4122c74

Change-Id: I5a2d775500b0a43eea281592f2325add233e7de1
2018-04-24 02:11:49 -07:00
Selim Cinek
53790c1c8f Merge changes from topic "notification_reply_action" into pi-dev
* changes:
  Cleaned up the paddings of the messaging layout and smart replies
  Changed the size of the largeIcon
  Moved the disabling from alpha to manual color blending
  Updated the color of the reply button to be more neutral
  Updated the reply icon
  Disabled reply action when pending intents are cancelled
  Split the reply icon permanently from the right icon
2018-04-24 09:10:38 +00:00
Kenny Guy
06c4122c74 Merge "Add spinner for smart replies." into pi-dev
am: 5f18904a00

Change-Id: I2eed8580057fe6565674c376ffd5cbdc5aaf0dcd
2018-04-24 02:02:47 -07:00
TreeHugger Robot
5f18904a00 Merge "Add spinner for smart replies." into pi-dev 2018-04-24 08:51:56 +00:00
Selim Cinek
1c72fa0249 Cleaned up the paddings of the messaging layout and smart replies
Refactored the code such that the reply icon's inset was substracted
from the overall paddings to make all of them consistent. This
will also help in the future as we don't have to update those
paddings manually anymore.

Test: test all sorts of combinations with Notify
Change-Id: I8c6c9951bc73c88d95cb443c8e618c7adca7ebd3
Fixes: 78441535
2018-04-24 14:33:29 +08:00
Selim Cinek
4717d862a0 Updated the color of the reply button to be more neutral
The primaryTextColor wasn't a good fit, because it was
drawing too much attention being pure black. We're now
taking the default color instead. It's also used for
active permissions now.

Test: add notification, look at reply button.
Change-Id: If390c66e927a92a1115250abb7254fafe81b054c
Fixes: 72750728
2018-04-24 13:05:56 +08:00
Selim Cinek
d83203cde4 Disabled reply action when pending intents are cancelled
Previously the user could open inline reply even when the
action was already cancelled. This also enables listening
to pending intent cancellations.

Test: manual
Fixes: 77811784
Change-Id: I4ae164081c6abdeb60a8e78d61bf5e4f26cca1d3
2018-04-24 13:05:53 +08:00
TreeHugger Robot
3efd16607a Merge "Add @NonNull annotation to getDecorView()" 2018-04-24 04:19:19 +00:00
Lorenzo Colitti
19c0ccaa8c Actually @hide unwanted capability methods.
Bug: 77601789
Test: builds, boots
Test: make doc-comment-check-docs
Change-Id: I7a913b83ab5110047d187564b3a1b0bbe1631942
2018-04-24 13:12:56 +09:00
TreeHugger Robot
0827873c47 Merge "Removed applyColorMod method in favor of individually setting properties." 2018-04-24 00:48:54 +00:00
Winson Chung
7f12b45892 Merge "Expose API to hide the IME during a recents animation" into pi-dev am: 6fab40d82c
am: bd41ceda0b

Change-Id: Ieb8eaa08dc2477ca75b7ba58a8e3e715463462e5
2018-04-23 17:35:00 -07:00
Winson Chung
bd41ceda0b Merge "Expose API to hide the IME during a recents animation" into pi-dev
am: 6fab40d82c

Change-Id: I8e70b7ae5d74d3dd85461bb13fcbff16f718d2c0
2018-04-23 17:24:36 -07:00
Fyodor Kupolov
e3d1fd3b79 Merge "Reset binder call stats along with batterystats" into pi-dev am: 46c2b1451c
am: 1494d2b825

Change-Id: Icf345379ab1716cd0398e7eca017ecbbe09f9517
2018-04-23 16:46:23 -07:00
Fyodor Kupolov
1494d2b825 Merge "Reset binder call stats along with batterystats" into pi-dev
am: 46c2b1451c

Change-Id: Icc1749b2e67a9b7015a08dd7ddfb481337531aa9
2018-04-23 16:33:15 -07:00
Winson Chung
a840c328e7 Expose API to hide the IME during a recents animation
Bug: 73285089
Test: Swipe up from app with IME open, ensure that it closes
Change-Id: I95ce59291f11285c853e8b3029638119c21f7e38
2018-04-23 16:20:27 -07:00
TreeHugger Robot
46c2b1451c Merge "Reset binder call stats along with batterystats" into pi-dev 2018-04-23 23:05:31 +00:00