Commit Graph

424299 Commits

Author SHA1 Message Date
TreeHugger Robot
eae359df70 Merge "When SPN is empty, use PNN in mobile network settings" into qt-qpr1-dev 2019-12-07 02:52:36 +00:00
Jack Yu
9d95aff922 When SPN is empty, use PNN in mobile network settings
Added one more name source 'PNN', which has priority
higher than carrier id but lower than EF_SPN.

Bug: 143493866
Test: Manual

Change-Id: I2ef14204d0db018e7f67578a57e56fdbea8b698c
2019-12-06 15:28:30 -08:00
Satakshi
dcd12f6523 Small Tweaks to Screenshot Intelligence log messages for better
debugging.

(cherry pick from commit 386efae863)
Feature tracking in: b/141634285

Test: Device logcat
Bug: 145687348
Change-Id: I03c06c4ab7494899867a98df5d65000cfc2caccf
Merged-In: I03c06c4ab7494899867a98df5d65000cfc2caccf
2019-12-06 18:50:16 +00:00
Felipe Leme
bc215de992 Make AccountManagerService more resilient to database corruption.
Currently, if a user accounts database is corrupted, the system will crash and
boot loop.

This CL mitigates the issue by removing the user instead.

Bug: 145710595
Test: adb shell chmod 000 /data/system_de/10/accounts_de.db && adb reboot

Change-Id: I47916fde4577709a2555586b8dc94090605595bd
(cherry picked from commit 8472b904ecef69ee12818fa1f69458875a58c8df)
2019-12-06 10:18:03 -08:00
Jin Seok Park
3e57701bbd Merge "[DO NOT MERGE] Return correct offsets for getAttributeRange()" into qt-qpr1-dev 2019-12-06 06:26:21 +00:00
Eric Berglund
297a84231f Merge "DO NOT MERGE Adding additional null checks for BubbleController." into qt-qpr1-dev 2019-12-05 17:57:59 +00:00
Lucas Dupin
0f57fd1559 Merge "Fix black image wallpaper issue" into qt-qpr1-dev 2019-12-05 17:27:41 +00:00
Sterling Huber
6bf18c39d9 RESTRICT AUTOMERGE
Make toasts non-clickable

Since enforcement was only on client-side, in Toast class, an app could
use reflection (or other means) to make the Toast clickable. This is a
security vulnerability since it allows tapjacking, that is, intercept touch
events and do stuff like steal PINs and passwords.

This CL brings the enforcement to the system by applying flag
FLAG_NOT_TOUCHABLE.

Test: atest CtsWindowManagetDeviceTestCases:ToastTest
Test: Construct app that uses reflection to remove flag FLAG_NOT_TOUCHABLE and
      log click events. Then:
      1) Observe click events are logged without this CL.
      2) Observer click events are not logged with this CL.
Bug: 128674520

Change-Id: Ica346c853dcb9a1e494f7143ba1c38d22c0003d0
2019-12-05 16:41:32 +00:00
Bernardo Rufino
b81f269ae2 RESTRICT AUTOMERGE
Make toasts non-clickable

Since enforcement was only on client-side, in Toast class, an app could
use reflection (or other means) to make the Toast clickable. This is a
security vulnerability since it allows tapjacking, that is, intercept touch
events and do stuff like steal PINs and passwords.

This CL brings the enforcement to the system by applying flag
FLAG_NOT_TOUCHABLE.

Test: atest CtsWindowManagerDeviceTestCases:ToastTest
Test: Construct app that uses reflection to remove flag FLAG_NOT_TOUCHABLE and
      log click events. Then:
      1) Observe click events are logged without this CL.
      2) Observer click events are not logged with this CL.
Bug: 128674520

Change-Id: Ic36585bc4f186e0224f5b687c49c0b3d9266838c
2019-12-05 16:40:51 +00:00
Ahan Wu
4d5d47f31e Fix black image wallpaper issue
We don't do transition if user unlocks the phone via biometric
authentication, but we haven't canceled the previous animation while
unlocking this way, as a consequence, the reveal state of
imagewallpaper may end up with a wrong state.

Bug: 139487871
Test: Manually test
Change-Id: Ida470d58910cbb22eed10338948aa8a99e8f4343
2019-12-05 06:01:01 +00:00
Alex.tc Huang
a5b6b37c02 DO NOT MERGE Allow app switches for accessibility services
Set allow app switches so the accessibility service can start activity
without delay.

Bug: 141873810
TEST: atest AccessibilityServiceConnectionTest
Change-Id: I4204c4cf0baa1f66d6d2d73d56a342ae803d24dd
(cherry picked from commit 24ef87d5f1)
2019-12-05 05:29:11 +00:00
Automerger Merge Worker
8e4e8fd6a0 Merge "DO NOT MERGE Remove *.aidl for parcelable declarations from srcs" into qt-dev am: aa23deba63 am: 821024bef1
Change-Id: I50b0277ab5cf1cce748c41efcaf229adf8569460
2019-12-05 01:19:55 +00:00
Automerger Merge Worker
25dd8473de DO NOT MERGE Remove *.aidl for parcelable declarations from srcs am: 6e1127e004 am: 1a1ddf33f7
Change-Id: I79e1fbc51891ff1c294f67cad898cb17e1037b21
2019-12-05 01:19:40 +00:00
Automerger Merge Worker
821024bef1 Merge "DO NOT MERGE Remove *.aidl for parcelable declarations from srcs" into qt-dev am: aa23deba63
Change-Id: I06341bc7fd8e57afa69f1bac570eea83f8541c48
2019-12-05 00:57:26 +00:00
Automerger Merge Worker
1a1ddf33f7 DO NOT MERGE Remove *.aidl for parcelable declarations from srcs am: 6e1127e004
Change-Id: Ibd6fda029eb5898e8c6d0ae689d50e6ef8eb6150
2019-12-05 00:57:12 +00:00
TreeHugger Robot
aa23deba63 Merge "DO NOT MERGE Remove *.aidl for parcelable declarations from srcs" into qt-dev 2019-12-05 00:28:44 +00:00
Kamaljeet Maini
f40ed95801 Merge "Allow customization of timeout value for expanded volume dialog" into qt-qpr1-dev 2019-12-04 14:03:03 +00:00
Automerger Merge Worker
5a1363bf97 Merge "[DO NOT MERGE] Return correct offsets for getAttributeRange()" into qt-dev am: acd260e11f am: a17985f08f
Change-Id: I02836eb40e541150899fd7a42a5c38cd0d9fa933
2019-12-04 02:41:47 +00:00
Automerger Merge Worker
e5151f8012 [DO NOT MERGE] Return correct offsets for getAttributeRange() am: 013afc4daf am: 3d2b94bd5b
Change-Id: Id28d26d99b0e2df0a43ef6f6e8034957343271f8
2019-12-04 02:41:19 +00:00
Automerger Merge Worker
a17985f08f Merge "[DO NOT MERGE] Return correct offsets for getAttributeRange()" into qt-dev am: acd260e11f
Change-Id: I264d42c4c484dae65bd54256a014ca37f08d8e39
2019-12-04 02:31:21 +00:00
Automerger Merge Worker
3d2b94bd5b [DO NOT MERGE] Return correct offsets for getAttributeRange() am: 013afc4daf
Change-Id: I4593b8f6b7503391b41c4894298872fbe71f7fee
2019-12-04 02:30:44 +00:00
Jin Seok Park
acd260e11f Merge "[DO NOT MERGE] Return correct offsets for getAttributeRange()" into qt-dev 2019-12-04 02:16:32 +00:00
TreeHugger Robot
570b037d9d Merge "Ignore null package names on AppIdleHistory writes" into qt-qpr1-dev 2019-12-03 19:11:38 +00:00
TreeHugger Robot
93dff1c3bd Merge "DO NOT MERGE Selectively show volume UI on first volume change event." into qt-qpr1-dev 2019-12-02 23:37:08 +00:00
Automerger Merge Worker
eb179fa342 Merge "docs: Delete duplicate word." into qt-dev am: 54a4bdccc4 am: 9480139340
Change-Id: I1027bb9b9a2dd830cbdf99f03369e08a464a3279
2019-12-02 23:13:37 +00:00
Automerger Merge Worker
9480139340 Merge "docs: Delete duplicate word." into qt-dev am: 54a4bdccc4
Change-Id: I8a2aa5bc892412471324f3ec5edfa2aa6d39d62c
2019-12-02 23:03:04 +00:00
Nick Cook
54a4bdccc4 Merge "docs: Delete duplicate word." into qt-dev 2019-12-02 22:50:55 +00:00
David Castro
d8cdece755 Merge "Doc: Adds a link to the WifiRTT codelab" into qt-dev am: 20bf2110c3
am: 324d5cfb57

Change-Id: If0f81f8023b487180d7a8e8b45efd7edff899d65
2019-12-02 14:43:23 -08:00
Automerger Merge Worker
324d5cfb57 Merge "Doc: Adds a link to the WifiRTT codelab" into qt-dev am: 20bf2110c3
Change-Id: Ibe2e2a2bee6acef662dd1235c6c887dae4571645
2019-12-02 22:30:26 +00:00
TreeHugger Robot
20bf2110c3 Merge "Doc: Adds a link to the WifiRTT codelab" into qt-dev 2019-12-02 22:18:44 +00:00
David Castro
2d61e036f3 Doc: Adds a link to the WifiRTT codelab
BUG:113332240
Change-Id: I404de18dd3c8880332b5a103079723fb1927d60d
Exempt-From-Owner-Approval: Docs-only change
2019-12-02 22:18:19 +00:00
Mark Tabry
529d73bd4f Add AIDL interface and puller implementation for automotive devices.
Changes:
  - Adds hidden ICarStatsService AIDL API.
  - Adds CarStatsPuller for pulling atoms from ICarStatsService.
  - Pulls VmsClientStats via CarStatsPuller.

Bug: 141697665
Test: Manual testing on hawk using statsd_testdrive
Change-Id: I44e104d430f64b1bd3dce96e9749df79ab3d2fbf
Merged-In: I44e104d430f64b1bd3dce96e9749df79ab3d2fbf
(cherry picked from commit 9dc13578f7)
2019-12-02 13:08:13 -08:00
Lucas Dupin
2f79f57d66 Merge "There should be an UNKNOWN state to handle more conditions" into qt-qpr1-dev 2019-12-02 17:13:54 +00:00
Chris.CC Lee
0e6ea2f549 There should be an UNKNOWN state to handle more conditions
Driver could report error while calculating alignment conditions.

Test: make
Bug: b/144822861
Bug: b/144905377
Change-Id: Ic184b8f30c9e40c14e6edf92cc63b5b2a82be68d
Merged-In: Ic184b8f30c9e40c14e6edf92cc63b5b2a82be68d
2019-12-02 17:13:28 +00:00
TreeHugger Robot
0ae87ec494 Merge "RESTRICT AUTOMERGE Turn off color sampling for qpr2" into qt-qpr1-dev 2019-11-28 15:53:23 +00:00
Bill Yi
4e50d9b0f3 Import translations. DO NOT MERGE
Change-Id: I869737dc3c5c39270b8d1bb9d73c228faee25026
Auto-generated-cl: translation import
2019-11-27 16:26:57 -08:00
Nick Cook
4ca501a6bf docs: Delete duplicate word.
Change-Id: I09fcceda7a7b0fd291c57a3005d4e027ecb99bcc
bug: 145259639
2019-11-27 22:03:43 +00:00
Eric Berglund
b7fc7fd466 DO NOT MERGE Adding additional null checks for BubbleController.
Bug: 145155858
Test: Manual
Change-Id: I1f68423816aaa48a0040623488ee69237b372149
2019-11-27 11:11:14 -08:00
Kenny Guy
a845a40472 RESTRICT AUTOMERGE
Turn off color sampling for qpr2

A separate CL has been submitted to add an API
to enabled / disabled color sampling in master.

Bug: 143556482
Test: atest BrightnessTrackerTest
Change-Id: I4401cd35a2aa0ec35afaba928c95c971f92b0557
2019-11-27 17:56:08 +00:00
TreeHugger Robot
f998947a6f Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2019-11-27 02:34:40 +00:00
Bill Yi
63a2fb18b9 Import translations. DO NOT MERGE
BUG:145192436
Change-Id: I348df9c1b107adda0d282d7c555c4482fa243a77
Auto-generated-cl: translation import
2019-11-27 00:58:53 +00:00
Felipe Leme
ee02c4258f Fixed UserSwitchingDialog theme.
It didn't set windowAnimationStyle, and hence
ViewTreeObserver.OnWindowShownListener.onWindowShown() was never called.

Fixes: 145021634
Bug: 145211062
Test: manual verification switching users

Change-Id: I7f995dbe21922422f678f460d69fa37a3b4357d1
(cherry picked from commit 2a30fe59626060277398f93aaf754a12b873d7d0)
2019-11-26 15:41:23 -08:00
felipeal
141ffdc564 Issue a warning when the user switching dialog times out.
Example:

11-22 06:44:38.846  2825  2842 W ActivityManagerUserSwitchingDialog: user switch window not shown in 3000 ms

Bug: 145001354
Test: manual verification

Change-Id: I2dc748ea43df227d9f07e6743e39ae25a096352a
(cherry picked from commit 72a052308f67b72c8abba231568f8c93e7e6ec07)
2019-11-26 15:40:23 -08:00
Heemin Seog
b5c4ac05bd DO NOT MERGE Using Dependency.get causes issues for CarSysUI
Bug: 145218907
Test: manual
Change-Id: I488123f79ea0040a4929f2b28d3719f12f1e6a03
2019-11-26 21:46:18 +00:00
TreeHugger Robot
c53b736775 Merge "DO NOT MERGE: Freeup lock when IME is set inactive and unbound" into qt-qpr1-dev 2019-11-26 19:42:45 +00:00
TreeHugger Robot
a79e16c82c Merge "DO NOT MERGE: Move startInput for WINDOW_FOCUS_GAIN to background thread" into qt-qpr1-dev 2019-11-26 19:42:45 +00:00
Wilson Wu
fc3f1408da Merge "Support showing alignment hint based on aligniment state of dock" into qt-qpr1-dev 2019-11-26 10:29:40 +00:00
Jerry Chang
4bbf1596b9 Support showing alignment hint based on aligniment state of dock
Bug: 141984730
Test: atest SystemUITests:KeyguardIndicationControllerTest
Change-Id: Ic0911683725a0e54406df06b948169c4dde94764
Merged-In: Ic0911683725a0e54406df06b948169c4dde94764
2019-11-26 11:03:10 +08:00
Abhijoy Saha
9886a12e2f DO NOT MERGE Selectively show volume UI on first volume change event.
Only show volume dialog on first volume change event if the flags
related to the event are set to show UI.

For example, this allows us to not show the volume dialog if the volume
is changed from sound settings as the first volume change event.

Bug: 145134692
Bug: 145094923
Test: Manual
Change-Id: I9bf7eeb009a792e7205265add2cc6b1b0d542168
2019-11-25 16:04:12 -08:00
John Reck
d90c8a0f5e Merge "Fix for Surface#lockHardwareCanvas lockups" into qt-qpr1-dev 2019-11-25 22:05:33 +00:00