Commit Graph

337057 Commits

Author SHA1 Message Date
Beverly
ab804f0554 In-call-notif doesn't use AUDIBILITY_ENFORCED flag
Audibilty enforced flag should only be used to make sure system
sounds are audible when this is mandated by a given country regulation.
Here, it was used incorrectly.  Also, adjusted in-call notification
sound to be less loud.

Fixes: 66808711
Test: manual

Change-Id: I119a718fb5fc605b6f6b3e387e5e9f956cfd5fff
2017-09-27 11:28:42 -04:00
TreeHugger Robot
4a324cb196 Merge "Update the bt background color." into oc-mr1-dev 2017-09-26 20:21:50 +00:00
TreeHugger Robot
87794e95a2 Merge "Re-add callback to onCancel() when screen is touched outside Save UI." into oc-mr1-dev 2017-09-26 19:40:53 +00:00
Phil Weaver
4dfeb4f0e4 Merge "Add null check in a11y callback" into oc-mr1-dev 2017-09-26 19:22:51 +00:00
Bill Yi
133d4881ef Merge "Import translations. DO NOT MERGE" into oc-dev am: 4414109220 -s ours
am: 46181531ec  -s ours

Change-Id: I2dab29638f0813d6e52c9b4ec7b279b7ddcb06a0
2017-09-26 19:03:54 +00:00
Bill Yi
46181531ec Merge "Import translations. DO NOT MERGE" into oc-dev
am: 4414109220  -s ours

Change-Id: I3820c0c5decca7f1a839a40a65e9021fa6e999d1
2017-09-26 18:55:20 +00:00
TreeHugger Robot
4414109220 Merge "Import translations. DO NOT MERGE" into oc-dev 2017-09-26 18:42:25 +00:00
Bill Yi
44b2b486ae Import translations. DO NOT MERGE am: 1df9bbaafe -s ours am: 6cc2a9cdc2 -s ours am: 5cf5642cbd -s ours
am: 7b3e838ec1  -s ours

Change-Id: I4706a62f6bc875294a66ae70f157949b36df60a8
2017-09-26 18:20:23 +00:00
Bill Yi
7b3e838ec1 Import translations. DO NOT MERGE am: 1df9bbaafe -s ours am: 6cc2a9cdc2 -s ours
am: 5cf5642cbd  -s ours

Change-Id: Ie5c5a0ddabdc8dc0bfd081c48c3c279425cc2682
2017-09-26 18:13:03 +00:00
Bill Yi
5cf5642cbd Import translations. DO NOT MERGE am: 1df9bbaafe -s ours
am: 6cc2a9cdc2  -s ours

Change-Id: I4d3d9da8dcdc0c898c49856cae530c14f6aa915e
2017-09-26 18:03:49 +00:00
Bill Yi
6cc2a9cdc2 Import translations. DO NOT MERGE
am: 1df9bbaafe  -s ours

Change-Id: I2bf2ceaea1279df64cf7409c57c75039caaa7879
2017-09-26 17:53:44 +00:00
John Reck
2d362d7159 Merge "Quick fix: Make incorrect animator usage a warning" into oc-mr1-dev 2017-09-26 16:23:43 +00:00
Felipe Leme
6a26e93c75 Re-add callback to onCancel() when screen is touched outside Save UI.
That callback was accidentally removed because it should not trigger the
negative listener, but the right approach was to pass a null listener.

Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases

Bug: 66235266
Fixes: 66944844

Change-Id: I5b71d3d03335d952e3b47078d1373f9783366437
2017-09-26 09:09:49 -07:00
Evan Laird
9b120d5a08 Merge "Fix wifi tile animating full-dark when slashing/unslashing" into oc-mr1-dev 2017-09-26 14:09:09 +00:00
Bill Yi
4e6d2ee969 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: I348ab7ada9d98e745fe4716beadb6857d39705ec
2017-09-26 06:58:36 -07:00
Bill Yi
1df9bbaafe Import translations. DO NOT MERGE
Change-Id: I3bce312584c61d6bc31d4e7c4068b757336fbe25
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-09-25 22:29:40 -07:00
Bryce Lee
d71227355e Merge "Restrict when a window receives new Configurations." into oc-mr1-dev 2017-09-26 00:12:15 +00:00
John Reck
d2080d52b3 Quick fix: Make incorrect animator usage a warning
Change-Id: I6d59033433a63d02be746bb8523b312d7c8fe9fa
Bug: 65160121
Test: Repro from bug doesn't repro anymore
2017-09-25 23:27:38 +00:00
Kevin Chyn
fec9d20ed7 Merge "LockSettingsStrongAuth shouldn't get fingerprintservice on unsupported devices" into oc-mr1-dev 2017-09-25 23:01:40 +00:00
Mathieu Chartier
213b5c742f Merge "Revert "Add preopt profile logic for compiling during first boot"" into oc-mr1-dev 2017-09-25 22:52:31 +00:00
Mathieu Chartier
4a299d56e6 Revert "Add preopt profile logic for compiling during first boot"
Test: flash build and forrest
Bug: 66903791

This reverts commit 20ad4b92a7.

Change-Id: I2c0f22f2a7c04221ed7b1562e516be98d27c7a50
2017-09-25 22:45:14 +00:00
TreeHugger Robot
8e5e30c5eb Merge "Hide autofill popup if anchor removed" into oc-mr1-dev 2017-09-25 22:24:25 +00:00
Bryce Lee
2b17afd330 Restrict when a window receives new Configurations.
It is possible that a window will relayout while it's being hidden,
but after the Configuration has changed. In this case, the window can
receive an updated Configuration incompatible with its settings.
Additionally, an Activity's window may relayout and receive a
Configuration during resume after its visibility has changed but
before the Configuration has been updated based on the current
AppWindowTokens.

This changelist addresses these issues by first only sending an
updated Configuration to the client if the associated AppWindowToken
is not requested to be hidden. In this case, the last reported
Configuration is returned instead. For the resume issue, we
address the race condition by making setting the visibility and
updating the configuration synchronized.

Fixes: 64916689
Test: go/wm-smoke
Test: place clock widget on launcher, launch landscape only activity,
      return to launcher, verify layout.

Change-Id: Ie07068be64120c2fdbe380d58af330372df6a1ab
2017-09-25 13:17:10 -07:00
Adrian Roos
73c93f02f7 Merge "FRP: Add config flag for disabling credential FRP" into oc-mr1-dev 2017-09-25 18:33:01 +00:00
TreeHugger Robot
baf1201b43 Merge "Fixed that telephony registry service reference incorrectly assigned" into oc-mr1-dev 2017-09-25 17:23:08 +00:00
TreeHugger Robot
4fce88dd4d Merge "Fixing session abandon logging bug" into oc-mr1-dev 2017-09-25 15:42:49 +00:00
TreeHugger Robot
e95197a664 Merge "Fixed bug in handling of OTHER as terminal" into oc-mr1-dev 2017-09-25 15:19:01 +00:00
Adrian Roos
2adc263ce9 FRP: Add config flag for disabling credential FRP
Bug: 65258606
Test: Verify FRP still works when not disabled
Change-Id: I78e308b6eaba73c794615b1eebdbfacb334ae72f
2017-09-25 13:32:48 +02:00
Jan Althaus
b3513a130d Fixing session abandon logging bug
Previously, making two selections quickly one after the other could lead
to the first session missing the terminal event, and the second one getting
terminated prematurely - getting marked incorrectly as abandoned.

Bug: 64914512
Test: Manually tested that logs are correct.
Change-Id: Icd75dcabe707b591f30629b9b9b42c5459ed7dda
2017-09-25 10:37:24 +02:00
Jan Althaus
34aa294b96 Fixed bug in handling of OTHER as terminal
This bug resulted in a tap on a non-default action mode item to get logged
as OTHER, followed by ABANDON.

Bug: 64914512
Test: Manually tested that logs are correct.
Change-Id: I3cdba7ccff896939e22c567843f335c54d4a97f3
2017-09-25 09:56:21 +02:00
TreeHugger Robot
43d5d86cda Merge "Select correct system audio route in updateAudioRoutes" into oc-mr1-dev 2017-09-25 07:06:42 +00:00
Sungsoo Lim
0e43c503ab Select correct system audio route in updateAudioRoutes
While update audio routes, MediaRouter had an access to the variable
of MediaRouterService.mGlobalBluetoothA2dpOn, which was updated in
the callback of AudioRoutesObserver.dispatchAudioRoutesChanged().
However, since updateAudioRoutes() was also called by the same
callback, mGlobalBluetoothA2dpOn could be used in updateAudioRoutes()
before its value was updated.

Bug: 65629167
Test: passed MediaRouterTest
Test: Manually confirmed that the issue is fixed with this CL
Change-Id: Id0034996a51a6d8d1e8bd9d2c6ca386aabbb8baf
Merged-In: Id0034996a51a6d8d1e8bd9d2c6ca386aabbb8baf
2017-09-25 10:15:49 +09:00
TreeHugger Robot
f6704f882a Merge "Logs how long it took to show the Autofill UI after a field was focused." into oc-mr1-dev 2017-09-24 05:42:38 +00:00
Svet Ganov
77150c5fbb Hide autofill popup if anchor removed
Test: Manual
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases

bug:64601372

Change-Id: Ic55dabb99cd5015d318ab3be1231b6aa5c67294e
2017-09-23 10:13:06 -07:00
Mathieu Chartier
28e0dd177a Merge "Add preopt profile logic for compiling during first boot" into oc-mr1-dev 2017-09-23 00:49:17 +00:00
Felipe Leme
021b878a23 Logs how long it took to show the Autofill UI after a field was focused.
Test: adb shell logcat -b events | grep sysui_
Test: adb dumpsys autofill
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases

Bug: 65376559
Bug: 66508098

Merged-In: Ia17f8b30d6eef0141b020085985b9ebacff7a455
Change-Id: Ia17f8b30d6eef0141b020085985b9ebacff7a455
2017-09-22 17:44:16 -07:00
TreeHugger Robot
a6aafa33ec Merge "Speculative fix for missing target crash" into oc-mr1-dev 2017-09-22 22:41:59 +00:00
TreeHugger Robot
6f50d16338 Merge "Add metrics (and moar logging) for when a service disables itself." into oc-mr1-dev 2017-09-22 21:04:02 +00:00
Zhi An Ng
848fa6c253 Merge "Remove isHighEndGfx check" into oc-mr1-dev 2017-09-22 20:17:15 +00:00
Phil Weaver
05a2982f0c Add null check in a11y callback
Bug: 65475473
Test: Verified it still builds
Change-Id: I9ad1249c44cb73153066f67164c90333779d284e
2017-09-22 20:09:14 +00:00
Kevin Chyn
a5ae2c2bc6 LockSettingsStrongAuth shouldn't get fingerprintservice on unsupported devices
Fixes: 65838275

Test: tested on ryu and walleye, no logs when system starts and everything
works fine

Change-Id: I7d53214a021e9094618162109f3c38c0e029bda3
2017-09-22 13:09:07 -07:00
Tenghui Zhu
dbe5afd90d Merge "Add systrace for VectorDrawable inflation and draw" into oc-mr1-dev 2017-09-22 19:45:17 +00:00
ztenghui
3d30ca1d3c Add systrace for VectorDrawable inflation and draw
We didn't trace the draw from cache.
Here we add trace for draw into bitmap, which is normally heavy.

fix: 65060698
Bug: 65060698
Test: run test app and get systrace and check

Change-Id: Ia81127c4aa285b3277e9c9edbdf356d85cb28b5e
(cherry picked from commit cf0c41dbc2)
2017-09-22 19:44:24 +00:00
Dake Gu
88dd458c9a Merge "hwuitest: added hwui test for TV application" into oc-mr1-dev 2017-09-22 19:26:42 +00:00
Mathieu Chartier
20ad4b92a7 Add preopt profile logic for compiling during first boot
Allows pushing profiles on device that are used to optimize apps
during first boot.

Added logic to copy profiles to reference location for compressed APKs.

Bug: 38032017
Bug: 64503246
Test: adb shell rm -rf /data/app/*
Test: adb shell rm /data/system/package*
Test: adb shell stop && adb shell start
Test: look at apps in /data/app to make sure they are profile compiled

Change-Id: I30452098a19a65a331d098107d37498e5b10c10f
2017-09-22 11:21:02 -07:00
Jack Yu
66420e258a Fixed that telephony registry service reference incorrectly assigned
The reference to telephony registry service was assigned
prior telephony registry service was ready. Fixed by
casting the binder every time when we use it.

Test: Manual
Bug: 65593241
Change-Id: Ib234cdfd93130f7af44ef79271b106fffb8ebad5
2017-09-22 10:04:51 -07:00
Chris Craik
89cd62c8f3 Speculative fix for missing target crash
Bug: 66451158
Test: manual app usage

Change-Id: I2db3aa73edcb80da25ead64205011705f0beef91
2017-09-22 10:00:14 -07:00
Ng Zhi An
c661713ab1 Remove isHighEndGfx check
We want the nav bar to be translucent, having a solid black
bar on small gobo devices looks heavy.
The memory impact of removing this check has been accessed
in the referenced bug and is minimal.

Change-Id: Iaa967623fc2252ada268a7045f014a791fe83c29
Fixes: 65024600
Test: runtest frameworks-services
2017-09-22 09:30:09 -07:00
Felipe Leme
9d41449ff4 Add metrics (and moar logging) for when a service disables itself.
Test: adb shell logcat -b events | grep sysui_
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases

Bug: 65376559
Bug: 65856399

Change-Id: Ieb54bb0a58ecd51da663170a12817d33188ac9f0
2017-09-22 09:23:04 -07:00
Julia Reynolds
8617e4ec9e Bump the importance of foreground service notis
Unless the user has chosen an importance.

Change-Id: Ibe82c91c6a98a75fc623784300f3f906879e8a80
Fixes: 65640487
Test: runtest systemui-notification
2017-09-22 15:05:39 +00:00