Commit Graph

417865 Commits

Author SHA1 Message Date
TreeHugger Robot
e0c262b7da Merge "Import translations. DO NOT MERGE" into qt-dev 2019-06-23 20:32:32 +00:00
TreeHugger Robot
4ffaa9a225 Merge "Import translations. DO NOT MERGE" into qt-dev 2019-06-23 17:41:21 +00:00
TreeHugger Robot
cc13f9ed66 Merge "Import translations. DO NOT MERGE" into qt-dev 2019-06-23 17:24:54 +00:00
TreeHugger Robot
c000487154 Merge "Import translations. DO NOT MERGE" into qt-dev 2019-06-23 17:14:18 +00:00
Bill Yi
809b4e44cc Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I488956188ed83fa8e73e5070f43fba1a3a347fbe
2019-06-23 10:08:02 -07:00
Bill Yi
f4714f2b9d Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ia15027c4898fed1ed24e5a497e9712cc0cfb7cb3
2019-06-23 06:50:20 -07:00
Bill Yi
c142c7eb16 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I4ba148bb2885fc3a570b8ab2ccf22305dba04362
2019-06-22 23:32:57 -07:00
Bill Yi
444efb54e8 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Iee915acc4bdca36e87eb830d413e9452813fa8b4
2019-06-22 23:22:29 -07:00
TreeHugger Robot
58b7cf731d Merge "Handle USER_ALL in instant apps call" into qt-dev 2019-06-22 21:27:12 +00:00
Lucas Dupin
9b47581ea4 Merge "Unregister listeners and reset wake lock" into qt-dev 2019-06-22 20:12:26 +00:00
Lucas Dupin
fe107a1621 Unregister listeners and reset wake lock
The ContentProvider might be recreated by the system, so we it's
not necessarily a singleton. We need to cleanup listener registration
and alarms before reattributing the static variable.

Change-Id: I227842d7272d1edeaa67d776950f369aedb01a91
Merged-In: I227842d7272d1edeaa67d776950f369aedb01a91
Fixes: 135344397
Fixes: 135582651
Test: bind and unbind slice various times
Test: atest KeyguardSliceProviderTest
2019-06-22 19:01:20 +00:00
TreeHugger Robot
25a43f362a Merge "Import translations. DO NOT MERGE" into qt-dev 2019-06-22 17:24:18 +00:00
Dave Mankoff
6c9547a9a5 Merge "DO NOT MERGE Allow the new BrightLineFalsingManager to be enabled via PhenoType." into qt-dev 2019-06-22 15:41:14 +00:00
Dave Mankoff
e0321d5809 DO NOT MERGE Allow the new BrightLineFalsingManager to be enabled via PhenoType.
Test: atest SystemUITests
Bug: 111394067
Change-Id: I0ab9a72d66bf56a56df2de2ad2d247f299d1b748
Merged-In: I0ab9a72d66bf56a56df2de2ad2d247f299d1b748
2019-06-22 14:19:01 +00:00
TreeHugger Robot
14e6d18ec9 Merge "Fade away wallpapers when long pulse" into qt-dev 2019-06-22 11:59:49 +00:00
Bill Yi
6ce90273cf Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I62581a342971f2c72fbf24ecd285060a35c6d863
2019-06-21 22:51:00 -07:00
TreeHugger Robot
23b6339ebd Merge "Add carrier config for conference participants data support" into qt-dev 2019-06-22 00:12:34 +00:00
TreeHugger Robot
6397ab05f9 Merge "ViewRootImpl: Ensure layout when configuration changes." into qt-dev 2019-06-22 00:04:19 +00:00
Youming Ye
60b023bfd0 Add carrier config for conference participants data support
Bug: 132312382
Test: Manual
Change-Id: I88edd5a590f46b961c986ef0bf24585b3c2cf4a1
Merged-In: I88edd5a590f46b961c986ef0bf24585b3c2cf4a1
2019-06-21 22:30:08 +00:00
TreeHugger Robot
019e1bf3fb Merge "Import translations. DO NOT MERGE" into qt-dev 2019-06-21 22:05:31 +00:00
TreeHugger Robot
985f21dd43 Merge "Fix conflict between metrics_constants and settings_enums." into qt-dev 2019-06-21 22:00:47 +00:00
Lajos Molnar
cfb6f93443 Merge "media: clarify frame dropping behavior for decoder output" into qt-dev 2019-06-21 19:38:17 +00:00
Aran Ink
5590c56102 Fix conflict between metrics_constants and settings_enums.
Change-Id: I483bf6b26f2f258f2e2f6f3d839deee4953c203d
Test: Automated tests pass.
Fixes: 135720071
(cherry picked from commit 08659ccdb7)
2019-06-21 19:36:20 +00:00
TreeHugger Robot
c65d4b728c Merge "DO NOT MERGE: Fixed an issue about notification icons on AOD" into qt-dev 2019-06-21 18:57:25 +00:00
TreeHugger Robot
2c824e3a7a Merge "Prevent loop in PermissionPolicyService" into qt-dev 2019-06-21 18:34:53 +00:00
Antoan Angelov
ab34f61c3b Merge "Update docs for EXTRA_PROVISIONING_SKIP_EDUCATION_SCREENS." into qt-dev 2019-06-21 18:07:22 +00:00
Ned Burns
0031e00da6 Merge "Free up memory in the ZigZagClassifierTest." into qt-dev 2019-06-21 17:31:42 +00:00
Winson Chung
7c77aaefb7 Merge "Continue with the animation if wallpaper fails to draw" into qt-dev 2019-06-21 17:29:27 +00:00
Winson Chung
fe57103cf3 Continue with the animation if wallpaper fails to draw
- This is preferable to canceling the animation, which the user just
  interprets as the nav gesture not working, and may fix some cases
  where the user may interpret a swipe up as not working if the wallpaper
  is slow to draw.

Bug: 135536076
Bug: 134091263
Test: atest RecentsAnimationTests
Test: atest RecentsAnimationControllerTests
Change-Id: Icf9ed20971a701a254383c65aa1811a99680ba51
2019-06-21 17:28:35 +00:00
Eric Laurent
98edda5b5e Merge "audioservice: special mute behavior for BT SCO volume" into qt-dev 2019-06-21 17:10:00 +00:00
Bill Yi
89e5ab2762 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I992e06fd625131f8b7e838b601f6d31415b1d10f
2019-06-21 09:04:04 -07:00
Dave Mankoff
a90fe0a8c3 Free up memory in the ZigZagClassifierTest.
Test: atest SystemUITests
Bug: 135715570
Change-Id: Iddfcf8cc107254c397769b2b3c5251270ec0a3bd
2019-06-21 12:00:59 -04:00
Stanislav Zholnin
32a89c15a7 Add logging atom for PermissionApps fragment views
Test: make statsd_testdrive && ./out/host/linux-x86/bin/statsd_testdrive -p com.google.android.permissioncontroller 218
Bug: 133401502
Bug: 134581123
Change-Id: I8f41d72c8f96a004911ef68491de8a214da4db24
Add logging to PermissionAppsFragment
2019-06-21 16:39:52 +01:00
Stanislav Zholnin
dc3e2b35fb Add atom for logging of AppPermissionsFragment views.
Test: make statsd_testdrive && ./out/host/linux-x86/bin/statsd_testdrive -p com.google.android.permissioncontroller 217
Bug: 133401502
Bug: 134581123
Change-Id: I60e500e99a13a4f2dea6d7141fc87f5b8422c3a7
2019-06-21 16:26:08 +01:00
Julia Reynolds
86869c9222 Handle USER_ALL in instant apps call
Test: atest
Fixes: 135545393
Change-Id: I1d2d5992876a9445cf0e9fa9447977b89eb85d96
2019-06-21 15:22:20 +00:00
Stanislav Zholnin
c9dda9ecdf Add atom for logging views in AppPermissionFragment
Test: ./out/host/linux-x86/bin/statsd_testdrive -p com.google.android.permissioncontroller 216
Bug: 133401502
Bug: 134581123
Change-Id: I099de3a5ecd7ecf68df618b9738a0428e5792c98
2019-06-21 15:20:44 +00:00
Stanislav Zholnin
3e0f9bcce0 Add logging atoms to record user actions in AppPermissionFragment
(handheld devices only)

Test: make statsd_testdrive && ./out/host/linux-x86/bin/statsd_testdrive -p com.google.android.permissioncontroller 215
Bug:133401502
Bug:134581123

Change-Id: I2a0b15dfdd6398707a762c48602f970f14534b51
2019-06-21 05:23:33 +01:00
Stanislav Zholnin
762aa842ae Merge "Add logging atoms to record user actions in LocationAccessCheck (handheld devices only)" into qt-dev 2019-06-21 04:17:10 +00:00
Eric Laurent
02153e697d audioservice: special mute behavior for BT SCO volume
Allow muting BT SCO volume only from explicit mute request and not
when stream volume index is set to 0. This is to match BT requirement
that the valid SCO volume range is 0 to 15 and let the headset deal with
actual attenuation for index 0.
If explicitly muted via adjustStreamVolume() from an app with permission
MODIFY_PHONE_STATE, then we set the audio policy stream volume to 0 and
effectively mute RX path.

Also change default value of Settings.System.MUTE_STREAMS_AFFECTED
to include AudioManager.STREAM_BLUETOOTH_SCO.

Bug: 111195322
Test: test volume changes in call over BT SCO
Change-Id: I3b6560bbd1bcbb01a29aa746f23bae74329a1fa7
2019-06-20 19:28:06 -07:00
Vishwath Mohan
b9cead91f8 Merge "Switch trust agents to extend unlock mode by default." into qt-dev 2019-06-21 00:51:23 +00:00
Mathieu Chartier
0409420da8 Merge "Update boot image profile" into qt-dev 2019-06-21 00:01:13 +00:00
Stanislav Zholnin
375e2ab781 Add logging atoms to record user actions in LocationAccessCheck
(handheld devices only)

Test: make statsd_testdrive && ./out/host/linux-x86/bin/statsd_testdrive -p com.google.android.permissioncontroller 214
Bug:133401502
Bug:134581123
Change-Id: I9f35d2b06cf953441e0986ab23cb842cd155144d
2019-06-20 23:59:59 +00:00
TreeHugger Robot
269907a310 Merge "Revert "Whitelist START_ACTIVITIES_FROM_BACKGROUND permission for"" into qt-dev 2019-06-20 23:49:39 +00:00
TreeHugger Robot
574cbd1987 Merge "Allow permission controller to start background activities" into qt-dev 2019-06-20 23:49:39 +00:00
Wenjie Zhou
46a4491253 Revert "Whitelist START_ACTIVITIES_FROM_BACKGROUND permission for"
This reverts commit 0999f93e4a.

Reason for revert: There is a better choice (ag/8051966) than adding the permission to resolve b/130827484

Bug: 130827484
Change-Id: I1b8fd74a173d4b0ef981e51f7e0a9c5f84d5f416
2019-06-20 23:48:59 +00:00
Philip P. Moltmann
e9f4b5af7d Prevent loop in PermissionPolicyService
The AppOpsModeChangeWatchers call back even if the mode was set to
already set mode. PermissionPolicyService listens to the same app-ops it
changes. I.e. it used to change the mode to default, which then causes a
call-back which made set it to default again, etc...

This exhausts a thread until the app-op is finally set to non-default.
The fix is to prevent the loop by checking if the app-op is already the
correct mode before setting it.

Fixes: 135674928
Test: atest IncidentReportListenerTest CollectorHostsideLibTest on
          cuttlefish and crosshatch
Change-Id: Ic65945e814957ac59495b3da221fabb0f3d42b66
2019-06-20 16:32:53 -07:00
Selim Cinek
d34e9d889a DO NOT MERGE: Fixed an issue about notification icons on AOD
Previously low priority notifications were hidden
on AOD unconditionally which is wrong.

Bug: 135627468
Test: atest SystemUITests
Merged-in: Ia64238f30620d9906aa50c2469121c2653875e8d
Change-Id: Ia64238f30620d9906aa50c2469121c2653875e8d
2019-06-20 23:19:21 +00:00
TreeHugger Robot
4d39c4a7d7 Merge "Add main thread and reentrant asserts to chase down crashes" into qt-dev 2019-06-20 23:11:33 +00:00
Vishwath Mohan
d3268c2dca Switch trust agents to extend unlock mode by default.
This CL changes the default behavior for trust agents to extend unlock
mode.

The Q droidfood phase allowed trust agent behavior to switch between
active unlock (legacy behavior) and extend unlock modes --- where the
extend unlock mode would prevent a trust agent (such as Smart Lock)
from actively unlocking a locked phone, instead only allowing it to
extend the duration that an already unlocked phone can continue to
stay in the unlocked state. In preparation for Q proper, the developer
options that controlled this toggle are being removed, and extend
unlock mode is the only allowed mode of behavior for trust agents.

Bug: 120871688
Test: Trust agents (like Smart Lock) only extend unlock on Q
Merged-In: Ifad45f90e0f2b5c3d180a74a97a89d45d75cb02a
Change-Id: Ifad45f90e0f2b5c3d180a74a97a89d45d75cb02a
2019-06-20 22:57:23 +00:00
TreeHugger Robot
60aabc40a2 Merge "Safeguard against no tiles in QS" into qt-dev 2019-06-20 21:42:23 +00:00