Commit Graph

424299 Commits

Author SHA1 Message Date
Anna Malova
47e276ed96 Merge "[WebView] Minor javadoc fix for WebSettings." into qt-dev am: 63c65616ae
am: e4cbd008c0

Change-Id: I723bd55fbf1e525876290436deb8acf7ae337b22
2019-09-30 04:21:53 -07:00
Bernardo Rufino
48c2a0f493 Merge "Don't consider tasks with INITIALIZING top activity as visible" into qt-dev
am: 0a252361dd

Change-Id: I077cf0c3e82ddcec213b50b5efdba97699a7ed0d
2019-09-30 04:12:52 -07:00
Anna Malova
e4cbd008c0 Merge "[WebView] Minor javadoc fix for WebSettings." into qt-dev
am: 63c65616ae

Change-Id: I3ee0487212dfb139da111e9a7314dc781db66b63
2019-09-30 04:08:44 -07:00
Bernardo Rufino
0a252361dd Merge "Don't consider tasks with INITIALIZING top activity as visible" into qt-dev 2019-09-30 11:00:13 +00:00
Anna Malova
63c65616ae Merge "[WebView] Minor javadoc fix for WebSettings." into qt-dev 2019-09-30 10:54:16 +00:00
TreeHugger Robot
86dcc8c18e Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2019-09-28 21:16:43 +00:00
Bill Yi
677a1d5a13 Import translations. DO NOT MERGE
Change-Id: I356d3d006e0ddd620d8b7e85fec872a05684c198
Auto-generated-cl: translation import
2019-09-28 01:44:58 -07:00
TreeHugger Robot
e4227efa17 Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2019-09-28 02:54:40 +00:00
Suprabh Shukla
553b0cc110 [automerger skipped] Merge "DO NOT MERGE revoke certain app-ops on suspend" into pi-dev am: 0e8f1fa5e9 -s ours am: c6a2982b86 -s ours
am: 2fa2bae0fe -s ours
am skip reason: change_id Ie95555856afdd56728125f7e60b6a78cf9fc0e58 with SHA1 873e19f63f is in history

Change-Id: I19af5ee7f83feb9790ecff4a65972432248e390e
2019-09-27 19:51:31 -07:00
Suprabh Shukla
5918a560d1 Merge "DO NOT MERGE revoke certain app-ops on suspend" into qt-dev am: b036952896
am: 1e7e924881

Change-Id: I7ba614a192b4aaaa36cc5cd7153cd654c1161505
2019-09-27 19:49:03 -07:00
Suprabh Shukla
16acbaac55 DO NOT MERGE revoke certain app-ops on suspend am: 873e19f63f
am: 53ca466732

Change-Id: I5f7456bc746affacbb949a9883484dfb8aaf7234
2019-09-27 19:44:44 -07:00
Suprabh Shukla
2fa2bae0fe [automerger skipped] Merge "DO NOT MERGE revoke certain app-ops on suspend" into pi-dev am: 0e8f1fa5e9 -s ours
am: c6a2982b86 -s ours
am skip reason: change_id Ie95555856afdd56728125f7e60b6a78cf9fc0e58 with SHA1 873e19f63f is in history

Change-Id: I8c9e309eae92633cb6193f147f81d109cc812d7c
2019-09-27 19:38:34 -07:00
Suprabh Shukla
1e7e924881 Merge "DO NOT MERGE revoke certain app-ops on suspend" into qt-dev
am: b036952896

Change-Id: Ieb5d9cc6e8aee976069c7ebd0b8d01db9982d886
2019-09-27 19:31:55 -07:00
Suprabh Shukla
53ca466732 DO NOT MERGE revoke certain app-ops on suspend
am: 873e19f63f

Change-Id: I2447a90e4935e53fc0d55510bb50938fdaea23fa
2019-09-27 19:31:51 -07:00
Suprabh Shukla
c6a2982b86 [automerger skipped] Merge "DO NOT MERGE revoke certain app-ops on suspend" into pi-dev
am: 0e8f1fa5e9 -s ours
am skip reason: subject contains skip directive

Change-Id: I53678027aa329651d6d6c9652aee847ee36b9b30
2019-09-27 19:31:47 -07:00
TreeHugger Robot
0e8f1fa5e9 Merge "DO NOT MERGE revoke certain app-ops on suspend" into pi-dev 2019-09-28 02:15:10 +00:00
TreeHugger Robot
b036952896 Merge "DO NOT MERGE revoke certain app-ops on suspend" into qt-dev 2019-09-28 02:08:05 +00:00
Kevin Hufnagle
36ef69743c docs: Added link to multi-window drag how-to guide
Test: make ds-docs -j32

Bug: 71008103
Change-Id: Ifcc50920cf3828697add018d1d3a6a827c7c9f98
2019-09-27 23:56:09 +00:00
Lucas Dupin
6edeb18701 Keep interrupts on when in battery saver mode
Battery saver was completely aborting the doze service, disabling
all interrupts. This is not ideal since it impacts the user journey,
especially when using face auth.

From now on the screen will still be off, but DozeService will be
retained, in order to receive sensor events.

Test: w/ battery saver: lift, tap, and observe aod being off
Test: w/ battery saver: receive notification, no HUN.
Test: w/o battery saver: lift, tap, and observe aod being on
Test: w/o battery saver: receive notification, HUN is received.
Fixes: 134157254
Change-Id: I9b713c78857c4e4c22d8d9bfff165b1b51dfd804
Merged-In: I9b713c78857c4e4c22d8d9bfff165b1b51dfd804
2019-09-27 16:12:21 -07:00
Bill Yi
ccca5cecb7 Import translations. DO NOT MERGE
Change-Id: Ifa63cc635ba88e89cb4d2e12b8615c986d274cd1
Auto-generated-cl: translation import
2019-09-27 15:42:49 -07:00
Bill Yi
2a80fcd6a9 Import translations. DO NOT MERGE
Change-Id: I93db9fc6d1c2fb642f0c72006e21414aaa2b5293
Auto-generated-cl: translation import
2019-09-27 06:06:13 -07:00
Kevin Chyn
b61c1bb3ee Merge changes from topic "face_slice_update-qt-qpr1-dev" into qt-qpr1-dev
* changes:
  Clear face re-enroll setting when all faces removed
  Added secure setting for face re enrollment.
2019-09-27 02:53:34 +00:00
TreeHugger Robot
ad37297b2c Merge "Revert "Import translations. DO NOT MERGE"" into qt-qpr1-dev 2019-09-27 00:21:54 +00:00
Curtis Belmonte
8cfe3715fa Clear face re-enroll setting when all faces removed
Test: manual
Bug: 141254937
Change-Id: Ib6d23a39ac3d5a8251c3752d6d8b5e698a3069bb
2019-09-26 16:20:32 -07:00
Bill Yi
777dce61c7 Revert "Import translations. DO NOT MERGE"
This reverts commit 0b874d5344.

Reason for revert: this might have caused performance regression

Change-Id: Ic1927292fb13a3acfb6c6e8d069f689e426f5a8b
BUG: 141561372
2019-09-26 23:10:40 +00:00
joshmccloskey
cfc621518c Added secure setting for face re enrollment.
Test: Verified that the flag could be modified with
adb shell settings put secure...
Bug: 141380252

Change-Id: Ifa24b688a487482e5b02689c1046d85423f73280
2019-09-26 15:54:45 -07:00
Winson Chung
00cfbeb7e5 Fix nav bar leak in SystemUI
- Ensure that the composition sampling listener is destroyed when the nav
  bar is destroyed instead of waiting for the finalize callback. That
  callback would never be made since the sampling listener has a reference
  to the outer class and has a strong ref from SF, and the other class
  has itself a reference to the listener.
- Always unregister the nav bar fragment from the mode change callbacks

Bug: 141473489
Test: Switch navigation modes a couple times, take hprof dump and verify
      there aren't leaking classes

Change-Id: Ic389a559a3d430af495365102854d531f7d1966d
Merged-In: Ic389a559a3d430af495365102854d531f7d1966d
2019-09-26 16:36:44 +00:00
TreeHugger Robot
407f2f37c8 Merge "Fix Password entry won't enable when lockout finished in screen-off" into qt-qpr1-dev 2019-09-26 00:42:31 +00:00
TreeHugger Robot
9c743a222d Merge "Fix wrong Notification refactor" into qt-qpr1-dev 2019-09-25 22:35:36 +00:00
Evan Laird
b069e83cfe [automerger skipped] DO NOT MERGE Allow for HTML styling in mobile data type content descriptions
am: a3b5dd1b89 -s ours
am skip reason: change_id Idf387111b0cdc34ad3762eac0ec6c2b484b393e3 with SHA1 83c87e50b1 is in history

Change-Id: Ieaa24de8d2c65314e146ae9b447731db61d44020
2019-09-25 13:51:40 -07:00
Philip P. Moltmann
f94fa065d1 Merge "Put package name in extra not data" into qt-qpr1-dev 2019-09-25 18:02:16 +00:00
TreeHugger Robot
99c07af2bf Merge "DO NOT MERGE Allow for HTML styling in mobile data type content descriptions" into qt-qpr1-dev 2019-09-25 17:57:10 +00:00
Anna Malova
7374ce19ac [WebView] Minor javadoc fix for WebSettings.
No change to logic.

Test: N/A
Bug:132394762
Change-Id: I957b0d8a03cd937b38611e32f6c012b01a6ad7da
2019-09-25 12:19:27 +01:00
Evan Laird
a3b5dd1b89 DO NOT MERGE Allow for HTML styling in mobile data type content descriptions
This CL implements a (somewhat hacky) way to enable HTML attributes in
the mobile data type content description strings. This way we can use
some basic styling in the Quick Settings cellular data tile which uses
it in a TextView.

We do this by assuming that the content description is valid, escaped
HTML, and send two separate CharSequences to all of the listeners, all
of which can then decide if they need the regular content description or
the prettified version.

Test: atest SystemUITests; system ui demo mode
Bug: 141177147
Change-Id: Idf387111b0cdc34ad3762eac0ec6c2b484b393e3
Merged-In: Idf387111b0cdc34ad3762eac0ec6c2b484b393e3
2019-09-25 11:13:24 +00:00
Evan Laird
83c87e50b1 DO NOT MERGE Allow for HTML styling in mobile data type content descriptions
This CL implements a (somewhat hacky) way to enable HTML attributes in
the mobile data type content description strings. This way we can use
some basic styling in the Quick Settings cellular data tile which uses
it in a TextView.

We do this by assuming that the content description is valid, escaped
HTML, and send two separate CharSequences to all of the listeners, all
of which can then decide if they need the regular content description or
the prettified version.

Test: atest SystemUITests; system ui demo mode
Bug: 141177147
Change-Id: Idf387111b0cdc34ad3762eac0ec6c2b484b393e3
2019-09-25 11:12:37 +00:00
Lucas Dupin
7b4d885c7c Fix wrong Notification refactor
We're wrongly showing the BigText content after ag/5928752

Fixes: 141446552
Test: post big text notification, look at lock screen
Change-Id: I02506a160afefb457f86eb00adccdaff44ddbd29
2019-09-25 01:05:14 +00:00
Kevin Hufnagle
5061c99b61 Merge "docs: Modernized AccessibilityNodeProvider example" into qt-dev am: e49cbb3a5d
am: 786e8a2849

Change-Id: I71ff61397d44812647124042e73a655a6710ff01
2019-09-24 15:14:14 -07:00
Kevin Hufnagle
786e8a2849 Merge "docs: Modernized AccessibilityNodeProvider example" into qt-dev
am: e49cbb3a5d

Change-Id: I24a281dd7194ea5c731ecc02371734fe1fa315f8
2019-09-24 15:06:18 -07:00
Todd Kennedy
b5afc87483 Only allow INSTALL_ALLOW_TEST from shell or root
Bug: 141169173
Test: Manual. App can't be installed as test-only
Change-Id: Ib6dcca7901aa549d620448c0165c22270a3042be
2019-09-24 14:22:21 -07:00
Kevin Hufnagle
e49cbb3a5d Merge "docs: Modernized AccessibilityNodeProvider example" into qt-dev 2019-09-24 21:18:39 +00:00
Philip P. Moltmann
b0c69f18bf Put package name in extra not data
as broadcast receivers filter on data, not on extras. Hence changing
data changes the API.

Fixes: 141452043
Test: Uninstalled updates from system app and saw correct app-ops method
      to be called
      atest CtsHostsideNetworkTests:com.android.cts.net.HostsideRestrictBackgroundNetworkTests#testDataSaverMode_reinstall

Change-Id: Icab1fcea6153d5bbf0bf2af51e71d7fd6b5cb3e5
2019-09-24 21:10:38 +00:00
lumark
e98f04b936 Fix Password entry won't enable when lockout finished in screen-off
CL [1] introduced a check to see if password entry need to show
soft-keyboard for fixing keyboard popup unexpected issue.

But it shouldn't need to block the password entry re-enable when
lockout finished in screen-off state.

Move the original check right before the showSoftInput to fix the case.

[1]: I3c43d09d4206c48f1afcd8dad79e7978337f1b7d

Fix: 128563724
Bug: 112811602
Test: manual as issue steps:
    1). Set up Password as screen lock.
    2). Enter lock screen.
    3). Input wrong password 5 times, and it will show "Try again in 30 seconds" message.
    4). Wait device screen off auto, and then wait 30 seconds.
    5). Screen on device.
    6). Swipe up and then try to input password to unlock, expected password entry
        should enabled and can invoke soft-keyboard.

Change-Id: I3e0eeffdb3536588c0e039c8fbeaf8833e7af06e
2019-09-24 12:48:03 +00:00
Kevin Hufnagle
25309b11da Merge "docs: List BIOMETRIC_WEAK in setPasswordQuality()" into qt-dev am: 2a082b1e9e
am: 096ece8f53

Change-Id: I03b4f71aaa643e08a661fe383f2cff91c7a136f9
2019-09-23 16:19:39 -07:00
Kevin Hufnagle
096ece8f53 Merge "docs: List BIOMETRIC_WEAK in setPasswordQuality()" into qt-dev
am: 2a082b1e9e

Change-Id: I74d42b68ebed97c2db3a179e92ba3196ffc7a04f
2019-09-23 16:08:03 -07:00
Kevin Hufnagle
2a082b1e9e Merge "docs: List BIOMETRIC_WEAK in setPasswordQuality()" into qt-dev 2019-09-23 22:45:45 +00:00
TreeHugger Robot
56daf760b1 Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2019-09-22 02:06:50 +00:00
Bill Yi
0b874d5344 Import translations. DO NOT MERGE
Change-Id: Ia8bfd64c60f7bfec74773ad3ec13a60040e9eb65
Auto-generated-cl: translation import
2019-09-21 06:37:27 -07:00
Edgar Wang
2ee661e584 Merge "Add log metrics for Aware Display Settings" into qt-qpr1-dev 2019-09-21 08:54:47 +00:00
TreeHugger Robot
9e3ef79a9f Merge "Revert "Fixed default angle to be Orientation.LEFT_RIGHT"" into qt-qpr1-dev 2019-09-21 01:14:13 +00:00
Lorenzo Colitti
34c5cbeba2 Merge "notify netd about uid internet permission changes when package replaced" into qt-qpr1-dev 2019-09-21 01:00:55 +00:00