Commit Graph

417408 Commits

Author SHA1 Message Date
TreeHugger Robot
a501bbc75c Merge "Default silent notifs on lockscreen to on" into qt-dev 2019-06-06 18:37:08 +00:00
Svet Ganov
dc0f443cb6 [DO NOT MERGE] Handle config override via settings correctly
Initialize persistence only after we can read the settings
provider as we need to take into account the current config
potentially set as an override in settings vs using the
hard coded defaults.

Make the last persist time more robust to ensure it always
termines to guard against other unforeseen cases wehere the
persistet files don't match what is expected under the current
config.

Test: atest CtsAppOpsTestCases
Test: atest android.appsecurity.cts.AppOpsTest

Bug: 134093967

Change-Id: I4bd272d3908eb8fc2afcdb7c1bd96b05a182d8c4
2019-06-06 18:26:54 +00:00
Adam Bookatz
14a34b9efb Merge "loadUnbadgedItemIcon doesn't crash from getUserIcon" into qt-dev 2019-06-06 17:54:24 +00:00
TreeHugger Robot
9bd11895d8 Merge "Refine zoom in and zoom out transition of iamge wallpaper." into qt-dev 2019-06-06 17:47:54 +00:00
TreeHugger Robot
a0d66cf3f6 Merge "Clarify problems with Linkify.MAP_ADDRESSES." into qt-dev 2019-06-06 17:40:51 +00:00
Julia Reynolds
837ed9ac7a Default silent notifs on lockscreen to on
Test: manual
Bug: 134613164
Change-Id: I4873d7120959c25511ba8c51b4de9bf81df06b72
2019-06-06 16:49:58 +00:00
TreeHugger Robot
730b22c229 Merge "GestureNav: Fix broken split screen navbar" into qt-dev 2019-06-06 16:09:25 +00:00
Lorenzo Colitti
831831c76c Merge "Don't use a high-priority notification on auto-join." into qt-dev 2019-06-06 11:08:19 +00:00
Ahan Wu
e16e1fa96b Refine zoom in and zoom out transition of iamge wallpaper.
We do zoom in from lockscreen to aod1 and zoom out in reverse
transition.

Bug: 124822340
Bug: 133785684
Test: manually set image wallpaper.
Test: Press power key back and forth and observe.
Change-Id: I842f929c730d1234717faa77e32f733f131c6ca0
2019-06-06 09:42:47 +00:00
TreeHugger Robot
78a48f5512 Merge "Fix an issue that clicking on a smart action chip on keyguard ... failed to launch app resolver when there are more than one app handlers." into qt-dev 2019-06-06 09:22:13 +00:00
Lorenzo Colitti
c8d0589c9c Don't use a high-priority notification on auto-join.
If the device connects to a network automatically and not through
user action, a high-priority notification is intrusive and is
inconsistent with other networking notifications, which are
usually only high priority if the network is manually selected.

Bug: 130766237
Test: see next CL in patch series
Change-Id: I8824f2d1a0efeb6cb75e430ef5159ebce0018779
2019-06-06 18:21:34 +09:00
TreeHugger Robot
de7e1ccb0c Merge "Allow same matcher to cancel >1 event activation" into qt-dev 2019-06-06 06:15:55 +00:00
Matt Casey
4d06c6d954 Merge "Updated entrance animation for assistant handles." into qt-dev 2019-06-06 04:47:28 +00:00
Winson Chung
87ee4e1dc7 Merge "Fix regressions in PiP movement bounds handling" into qt-dev 2019-06-06 03:43:47 +00:00
Bryan Ferris
1855302fbe [automerger skipped] Merge changes from topic "am-641f3aa3-ebd9-46aa-8f39-1f4ec4f86eb3" into oc-dev am: 7af053390a am: 21cd2569bf am: 4871c475b2 -s ours
am: 459844b640 -s ours
am skip reason: change_id Ib032f800edb0416cc15f01a34954340d0d0ffa78 with SHA1 27d4734049 is in history

Change-Id: Ib3882a5188685a508d17d519f065a8676bc74652
2019-06-05 20:42:48 -07:00
Michael Wachenschwanz
152bcd6687 [automerger skipped] [automerger] Clear the Parcel before writing an exception during a transaction am: f8ef5bcf21 am: 86c9bdd251 am: 6d72c0681f am: d944d907df am: 31737b4618 am: 2ca66d4d10 am: 1c8a632ad2 am: 7eec0a8448
am: 57f6c0deb2 -s ours
am skip reason: change_id Iaf80a0ad711762992b8ae60f76d861c97a403013 with SHA1 06041db074 is in history

Change-Id: Ic15424d4bb5a2bcaf0d04bd302a36a376b814022
2019-06-05 20:40:51 -07:00
Bryan Ferris
459844b640 [automerger skipped] Merge changes from topic "am-641f3aa3-ebd9-46aa-8f39-1f4ec4f86eb3" into oc-dev am: 7af053390a am: 21cd2569bf
am: 4871c475b2 -s ours
am skip reason: change_id Ib032f800edb0416cc15f01a34954340d0d0ffa78 with SHA1 27d4734049 is in history

Change-Id: I73474b928179591981f7dde4520fb3f6695d9e3f
2019-06-05 20:07:23 -07:00
Michael Wachenschwanz
57f6c0deb2 [automerger] Clear the Parcel before writing an exception during a transaction am: f8ef5bcf21 am: 86c9bdd251 am: 6d72c0681f am: d944d907df am: 31737b4618 am: 2ca66d4d10 am: 1c8a632ad2
am: 7eec0a8448

Change-Id: Ic2cc203ee994927ec0b7f355917a15010f6e2a7c
2019-06-05 20:05:28 -07:00
TreeHugger Robot
32cff1c2d4 Merge "Remove alarms of cancelled pending intents" into qt-dev 2019-06-06 01:46:13 +00:00
Sudheer Shanka
c703d04fbb Merge "Fix Environment.isExternalStorageLegacy() impl." into qt-dev 2019-06-06 01:32:03 +00:00
TreeHugger Robot
f8668fe661 Merge "Fixed an issue where the insets of the cutout weren't respected" into qt-dev 2019-06-06 01:24:23 +00:00
Bryan Ferris
4871c475b2 Merge changes from topic "am-641f3aa3-ebd9-46aa-8f39-1f4ec4f86eb3" into oc-dev am: 7af053390a
am: 21cd2569bf

Change-Id: If444013b7d35152ca49ccc20a89841b1e5582c62
2019-06-05 17:41:32 -07:00
Chalard Jean
f8dbc5f6f1 [automerger skipped] [RESTRICT AUTOMERGE] Protect VPN dialogs against overlay.
am: 27d4734049 -s ours
am skip reason: subject contains skip directive

Change-Id: Iee025417ba496ea02b6c68ef2c7bf4422f77c6a0
2019-06-05 17:40:52 -07:00
Michael Wachenschwanz
7eec0a8448 [automerger] Clear the Parcel before writing an exception during a transaction am: f8ef5bcf21 am: 86c9bdd251 am: 6d72c0681f am: d944d907df am: 31737b4618 am: 2ca66d4d10
am: 1c8a632ad2

Change-Id: I6cc244c8e40d66d639faef43ec8d3a23bfc11df7
2019-06-05 17:38:43 -07:00
Bryan Ferris
21cd2569bf Merge changes from topic "am-641f3aa3-ebd9-46aa-8f39-1f4ec4f86eb3" into oc-dev
am: 7af053390a

Change-Id: Ie90797e6c620819b92b2bd32ad8a07363fbee947
2019-06-05 17:34:26 -07:00
Michael Wachenschwanz
1c8a632ad2 [automerger] Clear the Parcel before writing an exception during a transaction am: f8ef5bcf21 am: 86c9bdd251 am: 6d72c0681f am: d944d907df am: 31737b4618
am: 2ca66d4d10

Change-Id: I452bc18a9cebc417e7c4499c2bebf8fd3cc0f1ce
2019-06-05 17:07:58 -07:00
Bryan Ferris
7af053390a Merge changes from topic "am-641f3aa3-ebd9-46aa-8f39-1f4ec4f86eb3" into oc-dev
* changes:
  [automerger] Protect VPN dialogs against overlay. am: 016c72c8ab am: e2100ac8f2 am: caf19dfbb8 am: 8c3a23e6b1 am: 22a1644e1f
  [automerger] Protect VPN dialogs against overlay. am: 016c72c8ab am: e2100ac8f2 am: caf19dfbb8 am: 8c3a23e6b1
  [automerger] Protect VPN dialogs against overlay. am: 016c72c8ab am: e2100ac8f2 am: caf19dfbb8
  [automerger] Protect VPN dialogs against overlay. am: 016c72c8ab am: e2100ac8f2
  [automerger] Protect VPN dialogs against overlay. am: 016c72c8ab
  Protect VPN dialogs against overlay.
2019-06-06 00:01:53 +00:00
Winson Chung
dec1a6665a Fix regressions in PiP movement bounds handling
- When we return early when detecting when to skip applying the bounds
  the stored bounds and rotation weren't being updated
- In landscape, the addition of the nav bar inset in the bottom pushed
  the movement bounds to be out of range, which cause an incorrect
  offset to be calculated
- Simplified the logic to calculate the offset for the adjustment for
  IME and shelf -- keep track of the previous offset, check the previous
  movement+offset bounds with the next movement+offset bounds and only
  update if the PIP is currently between those two bounds
- Tweak to landscape policy, if there isn't enough space for the ime
  offset, then don't apply it as a part of the shift

Bug: 126199952
Test: Go to landscape + pip, open IME and dismiss IME and ensure the
      PIP is pushed off and restored correctly
Test: In portrait, test going from app/home/ime and verify that the right
      offsets are applied, and then if the stack is not in the bounds of
      the offset change, that it is not applied

Change-Id: I67eee7d321995f403137db940b06f685d0c919af
2019-06-05 15:33:16 -07:00
Suprabh Shukla
faa198b3c5 Remove alarms of cancelled pending intents
When a pending intent is cancelled, the alarm is essentially defunct.
Keeping around this alarm takes unneeded memory and unreasonably counts
towards the per-uid cap of pending alarms.

Test: Unit test:
atest com.android.server.AlarmManagerServiceTest
Existing CTS:
atest CtsAlarmManagerTestCases

Bug: 132379078
Change-Id: I4c6d59d9ac79708d8daf40657e9773c715271f1e
2019-06-05 15:30:29 -07:00
Joe Onorato
da7f7e0a32 Merge "Do not include specific_mention sections in bugreports either." into qt-dev 2019-06-05 22:13:55 +00:00
Kevin Chyn
4024769fd1 Merge "Partial revert of ag/7508382 to retain back button responsiveness in BiomtericPrompt" into qt-dev 2019-06-05 22:05:08 +00:00
Winson Chung
f106e0a8fa Merge "Ensure that the IME switcher button is always touchable" into qt-dev 2019-06-05 21:31:32 +00:00
Matt Casey
9fedd81a90 Updated entrance animation for assistant handles.
Implemented piecewise overshoot-like interpolation in collaboration with
UX. Visually, the animation works the same, it's just broken up into
several chained animations for simpler tweaking.

Test: Visual evaluation
Bug: 134487710
Change-Id: Ifd1f16393014f7c30413adf91aea7407fb526992
2019-06-05 17:14:09 -04:00
Kevin Chyn
d1cdc3abc5 Partial revert of ag/7508382 to retain back button responsiveness in BiomtericPrompt
The layout should be focusable and be set to focused in order for the
back button events to be received, since the key listener is set on
the layout.

Fixes: 133781042

Test: Back button cancels authentication
Test: No regression in tests mentioned in the CL above
Change-Id: I7d78bea400e8791e296a53603414095cfca62ec1
2019-06-05 20:46:11 +00:00
TreeHugger Robot
6e9c0741b5 Merge "Clarify documentation for sensor placement" into qt-dev 2019-06-05 20:36:42 +00:00
Fabian Kozynski
15e2d7e50b Merge "Update KeyguardMonitor when UnlockMethod changes" into qt-dev 2019-06-05 20:10:09 +00:00
TreeHugger Robot
8ef8577391 Merge "Read the subtext of noti guts field on selection" into qt-dev 2019-06-05 20:00:32 +00:00
Selim Cinek
e50b121c26 Fixed an issue where the insets of the cutout weren't respected
Both the sampled region as well as the detection if it's in the
swipeable region did not factor in the cutout insets and
would calculate the wrong thing.

Bug: 132394665
Test: atest SystemUITests
Change-Id: I9d84f7c76bd987587546b69de6c2875dc5cb303b
2019-06-05 12:14:52 -07:00
Matt Casey
92d7f42baa Merge "Always show ScreenDecorations when in gesture nav mode." into qt-dev 2019-06-05 19:02:35 +00:00
Joe Onorato
f7c2bceafe Do not include specific_mention sections in bugreports either.
Test: adb bugreport & manually verify
Bug: 134583922
Change-Id: I6b4df17fc729f78e70e126882bce611a33c8ef9a
2019-06-05 11:57:39 -07:00
TreeHugger Robot
4a5a129fb2 Merge "Always prompt for limited connectivity." into qt-dev 2019-06-05 18:50:32 +00:00
Brian Duddie
086d840d74 Clarify documentation for sensor placement
Update documentation to be in sync with new language added to HAL
interface, which better explains the expected payload, format, and
usage.

Fixes: 133264933
Test: make docs, view HTML
Change-Id: Ib602674d395cb8c8e6431d23b051685c8d172560
2019-06-05 11:44:44 -07:00
Julia Reynolds
daab21a050 Read the subtext of noti guts field on selection
When using a11y services

Test: manual with Talkback
Bug: 133649570
Change-Id: Id022e47bef9848e4c5237808659531f8d1c0c953
2019-06-05 18:33:38 +00:00
Xiangyu/Malcolm Chen
b613fec2f8 Merge "Triggering notifications when dual CDMA SIM combinations are detected" into qt-dev 2019-06-05 18:03:17 +00:00
TreeHugger Robot
183eacab16 Merge "Don't send SessionCallbacks for DRY_RUN sessions." into qt-dev 2019-06-05 17:36:41 +00:00
Android Build Merger (Role)
2ca66d4d10 [automerger] Clear the Parcel before writing an exception during a transaction am: f8ef5bcf21 am: 86c9bdd251 am: 6d72c0681f am: d944d907df am: 31737b4618
Change-Id: I780fc62bcad56b4f1518a9a84ff7a77914f5c722
2019-06-05 17:32:04 +00:00
Android Build Merger (Role)
31737b4618 [automerger] Clear the Parcel before writing an exception during a transaction am: f8ef5bcf21 am: 86c9bdd251 am: 6d72c0681f am: d944d907df
Change-Id: Ia92e1831963623df7931de17b029a92bab7f9374
2019-06-05 17:32:01 +00:00
Android Build Merger (Role)
d944d907df [automerger] Clear the Parcel before writing an exception during a transaction am: f8ef5bcf21 am: 86c9bdd251 am: 6d72c0681f
Change-Id: I38fbeaf20d21dd174e2b022196446631c20b2367
2019-06-05 17:31:57 +00:00
Android Build Merger (Role)
6d72c0681f [automerger] Clear the Parcel before writing an exception during a transaction am: f8ef5bcf21 am: 86c9bdd251
Change-Id: I16e96c2b33f18459189bfff359ae85483667a202
2019-06-05 17:31:54 +00:00
Android Build Merger (Role)
86c9bdd251 [automerger] Clear the Parcel before writing an exception during a transaction am: f8ef5bcf21
Change-Id: I416ed302e6c680fd006bd9b38565ebfc8b132084
2019-06-05 17:31:48 +00:00