Commit Graph

422587 Commits

Author SHA1 Message Date
Philip P. Moltmann
3dbdc49334 Merge "Prevent loop in PermissionPolicyService" into qt-dev
am: 2c824e3a7a

Change-Id: Ia4f8c4c8762345bf65f890aba81d1111e654d37b
2019-06-21 12:03:28 -07:00
TreeHugger Robot
2c824e3a7a Merge "Prevent loop in PermissionPolicyService" into qt-dev 2019-06-21 18:34:53 +00:00
Antoan Angelov
9e3a59f51a Merge "Update docs for EXTRA_PROVISIONING_SKIP_EDUCATION_SCREENS." into qt-dev
am: ab34f61c3b

Change-Id: I49e43ed171d4ff45cf400ac9fc009ef78a2c8eef
2019-06-21 11:22:50 -07: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
bed6ce5f87 Merge "Free up memory in the ZigZagClassifierTest." into qt-dev
am: 0031e00da6

Change-Id: I62e3ae11cefeb6304e52b94b332cfc10553bd625
2019-06-21 10:56:24 -07:00
Winson Chung
3e683057b9 Merge "Continue with the animation if wallpaper fails to draw" into qt-dev
am: 7c77aaefb7

Change-Id: I51ef947fa595ede04e50a5e8442e7c6eaee36b83
2019-06-21 10:54:36 -07:00
Eric Laurent
39749b093e Merge "audioservice: special mute behavior for BT SCO volume" into qt-dev
am: 98edda5b5e

Change-Id: I235ecd52a1eaa3ccba063282fa5cb2dd5e68ecff
2019-06-21 10:34:57 -07: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
Amit Mahajan
d364e2a7fb Merge "Replace the IDD with the '+' sign" am: 3fdedfab76
am: a187edb117

Change-Id: Idcd55e1c7f2a0d62ac3c966ebd1678450f173b9a
2019-06-21 10:23:14 -07:00
Amit Mahajan
a187edb117 Merge "Replace the IDD with the '+' sign"
am: 3fdedfab76

Change-Id: I2bc2968d3d8e9a1b9958311903246f8f4e44863e
2019-06-21 10:14:38 -07:00
Eric Laurent
98edda5b5e Merge "audioservice: special mute behavior for BT SCO volume" into qt-dev 2019-06-21 17:10:00 +00:00
Amit Mahajan
3fdedfab76 Merge "Replace the IDD with the '+' sign" 2019-06-21 16:34:12 +00: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
6f916a687c Add logging atom for PermissionApps fragment views
am: 32a89c15a7

Change-Id: I749c575b7eadbc3d51580dde23ec3a50c7b8a5ca
2019-06-21 08:53:53 -07:00
Stanislav Zholnin
25cf647b90 Add atom for logging of AppPermissionsFragment views.
am: dc3e2b35fb

Change-Id: I61f7ff871353ea2434adee80e04d7c2ff4c0b4e1
2019-06-21 08:46:12 -07:00
Stanislav Zholnin
0244d86622 Add atom for logging views in AppPermissionFragment
am: c9dda9ecdf

Change-Id: Ie31e10cd3d7adf56f0310cd8b3ea7881d245977a
2019-06-21 08:44:30 -07:00
Stanislav Zholnin
4de2e4173e Add logging atoms to record user actions in AppPermissionFragment (handheld devices only)
am: 3e0f9bcce0

Change-Id: I1c44883c232ecd841d8a4045bbb3ec927bfc7e67
2019-06-21 08:42:16 -07: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
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
fe6ab956ea Merge "Add logging atoms to record user actions in LocationAccessCheck (handheld devices only)" into qt-dev
am: 762aa842ae

Change-Id: Idfe6b87ff2cc8567e6030f2eae7b18052a87a2cf
2019-06-20 22:26:48 -07: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
Vishwath Mohan
254a302641 Merge "Switch trust agents to extend unlock mode by default." into qt-dev
am: b9cead91f8

Change-Id: Ifbc1e5d15337a7a678ee4ef9ef346dcf046cb69b
2019-06-20 19:36:14 -07: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
Hunter Knepshield
4a686288a5 Merge "Fix SubInfo#toString consistency." am: f15b5b38db
am: 79d5cbd0e1

Change-Id: Iebe58fc9a6dc39d21be58f1adf01c1313594583f
2019-06-20 17:33:37 -07:00
Hunter Knepshield
79d5cbd0e1 Merge "Fix SubInfo#toString consistency."
am: f15b5b38db

Change-Id: I72c286a53c36c62addfe1e46e3a513742d2adf1b
2019-06-20 17:23:21 -07:00
Mathieu Chartier
1951b4efd7 Merge "Update boot image profile" into qt-dev
am: 0409420da8

Change-Id: I616082bdd01d3a538f47ea1e446dd8b03bf71725
2019-06-20 17:13:19 -07:00
Wenjie Zhou
4d015963ea Merge "Revert "Whitelist START_ACTIVITIES_FROM_BACKGROUND permission for"" into qt-dev
am: 269907a310

Change-Id: Icb2ec6a0e0f836815a91ecb2c0e320b4dac61df4
2019-06-20 17:10:24 -07:00
zhouwenjie
e33620bf67 Merge "Allow permission controller to start background activities" into qt-dev
am: 574cbd1987

Change-Id: I35d9b5f3c5f1bcc7ca54c72da8dfef5d42fdd9d4
2019-06-20 17:10:17 -07:00
Ned Burns
b9e4f61927 Merge "Add main thread and reentrant asserts to chase down crashes" into qt-dev
am: 4d39c4a7d7

Change-Id: I2378d0c6dea0fb3731e7a33a350775470f6bb9f1
2019-06-20 17:08:24 -07:00
Treehugger Robot
f15b5b38db Merge "Fix SubInfo#toString consistency." 2019-06-21 00:02:01 +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
Andreas Gampe
5b72cd1af6 Merge "LockAgent: Add crasher binary" am: a6874fccb6
am: 6c3f50dc6d

Change-Id: Ib65d7e5a6c02653eb9d815d4a0b1536d9fc6cbbe
2019-06-20 16:27:24 -07: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
Andreas Gampe
6c3f50dc6d Merge "LockAgent: Add crasher binary"
am: a6874fccb6

Change-Id: Iacf6a51f14908777bd022374d90471e9e4c6a378
2019-06-20 15:58:43 -07: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
Fabian Kozynski
d4202413af Merge "Safeguard against no tiles in QS" into qt-dev
am: 60aabc40a2

Change-Id: Ia491010fffb08f66d2f2f89e6ac9ffb818a71e1b
2019-06-20 15:33:30 -07:00
Andreas Gampe
a6874fccb6 Merge "LockAgent: Add crasher binary" 2019-06-20 22:12:03 +00:00
TreeHugger Robot
60aabc40a2 Merge "Safeguard against no tiles in QS" into qt-dev 2019-06-20 21:42:23 +00:00
agathaman
92226cde71 Merge "Modified AudioService to broadcast ACTION_MICROPHONE_MUTE_CHANGE intent to all users" am: cc96c57f1a
am: 9a9f6902a7

Change-Id: Id00b186097f61b966e109b5bd4fbc5f9ab2673bd
2019-06-20 14:17:59 -07:00
Android Build Merger (Role)
351764bda0 Merge "Merge "libmedia_jni pulls in libsfplugin_ccodec" into qt-dev am: 1c0b6aa767" into qt-dev-plus-aosp 2019-06-20 21:12:42 +00:00