OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Handle USER_ALL in instant apps call" into qt-dev
Julia Reynolds [Sun, 23 Jun 2019 00:24:45 +0000 (17:24 -0700)]
Merge "Handle USER_ALL in instant apps call" into qt-dev
am: 58b7cf731d

Change-Id: Ibdbc61705cf696a8b771c168be1c24bec25f7876

5 years ago[automerger skipped] Merge "Unregister listeners and reset wake lock" into qt-dev
Lucas Dupin [Sun, 23 Jun 2019 00:23:10 +0000 (17:23 -0700)]
[automerger skipped] Merge "Unregister listeners and reset wake lock" into qt-dev
am: 9b47581ea4 -s ours
am skip reason: change_id I227842d7272d1edeaa67d776950f369aedb01a91 with SHA1 2bc992decb is in history

Change-Id: Ic38213cef426e9a808fa436b50119394e36ce1d9

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
Bill Yi [Sun, 23 Jun 2019 00:21:08 +0000 (17:21 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 25a43f362a -s ours
am skip reason: subject contains skip directive

Change-Id: I3e9e158d9cf345d64bf9ea77be78353c388e654b

5 years ago[automerger skipped] Merge "DO NOT MERGE Allow the new BrightLineFalsingManager to...
Dave Mankoff [Sun, 23 Jun 2019 00:19:06 +0000 (17:19 -0700)]
[automerger skipped] Merge "DO NOT MERGE Allow the new BrightLineFalsingManager to be enabled via PhenoType." into qt-dev
am: 6c9547a9a5 -s ours
am skip reason: change_id I0ab9a72d66bf56a56df2de2ad2d247f299d1b748 with SHA1 84c07e9f1a is in history

Change-Id: I485bfd4e21ce2251d41b4d70c29426540927bffb

5 years agoMerge "Fade away wallpapers when long pulse" into qt-dev
Jerry Chang [Sun, 23 Jun 2019 00:16:14 +0000 (17:16 -0700)]
Merge "Fade away wallpapers when long pulse" into qt-dev
am: 14e6d18ec9

Change-Id: Ia529dee9e06c48035846d2c112bf2993ac2a7bbc

5 years agoMerge "Wake-and-unlock imprevements" into qt-r1-dev
Lucas Dupin [Sat, 22 Jun 2019 23:49:50 +0000 (23:49 +0000)]
Merge "Wake-and-unlock imprevements" into qt-r1-dev

5 years agoMerge "Handle USER_ALL in instant apps call" into qt-dev
TreeHugger Robot [Sat, 22 Jun 2019 21:27:12 +0000 (21:27 +0000)]
Merge "Handle USER_ALL in instant apps call" into qt-dev

5 years agoWake-and-unlock imprevements
Lucas Dupin [Tue, 18 Jun 2019 18:55:37 +0000 (11:55 -0700)]
Wake-and-unlock imprevements

Remove MODE_DISMISS_BOUNCER, simplifying dismissal logic
Never wake-up without unlocking when bypassing

Test: unlock with face from AOD2
Test: unlock with face from LS
Test: unlock with face from bouncer
Test: unlock with face from scrimmed bouncer
Fixes: 135571526
Fixes: 132846921
Change-Id: Id468eab8aeed91b6eeadc8bca3b579f977eac2a6

5 years agoMerge "Unregister listeners and reset wake lock" into qt-dev
Lucas Dupin [Sat, 22 Jun 2019 20:12:26 +0000 (20:12 +0000)]
Merge "Unregister listeners and reset wake lock" into qt-dev

5 years agoUnregister listeners and reset wake lock
Lucas Dupin [Thu, 20 Jun 2019 21:07:57 +0000 (14:07 -0700)]
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

5 years agoMerge "Unregister listeners and reset wake lock" into qt-r1-dev
TreeHugger Robot [Sat, 22 Jun 2019 18:46:24 +0000 (18:46 +0000)]
Merge "Unregister listeners and reset wake lock" into qt-r1-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sat, 22 Jun 2019 17:24:18 +0000 (17:24 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Sat, 22 Jun 2019 16:35:23 +0000 (16:35 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev

5 years agoMerge "DO NOT MERGE Allow the new BrightLineFalsingManager to be enabled via PhenoTyp...
Dave Mankoff [Sat, 22 Jun 2019 15:41:14 +0000 (15:41 +0000)]
Merge "DO NOT MERGE Allow the new BrightLineFalsingManager to be enabled via PhenoType." into qt-dev

5 years agoDO NOT MERGE Allow the new BrightLineFalsingManager to be enabled via PhenoType.
Dave Mankoff [Fri, 21 Jun 2019 18:24:43 +0000 (14:24 -0400)]
DO NOT MERGE Allow the new BrightLineFalsingManager to be enabled via PhenoType.

Test: atest SystemUITests
Bug: 111394067
Change-Id: I0ab9a72d66bf56a56df2de2ad2d247f299d1b748
Merged-In: I0ab9a72d66bf56a56df2de2ad2d247f299d1b748

5 years agoMerge "Fade away wallpapers when long pulse" into qt-dev
TreeHugger Robot [Sat, 22 Jun 2019 11:59:49 +0000 (11:59 +0000)]
Merge "Fade away wallpapers when long pulse" into qt-dev

5 years agoMerge "Prevents posting multiple pulse requests at the same time" into qt-r1-dev
TreeHugger Robot [Sat, 22 Jun 2019 11:58:41 +0000 (11:58 +0000)]
Merge "Prevents posting multiple pulse requests at the same time" into qt-r1-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 22 Jun 2019 08:39:39 +0000 (01:39 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I63e4016a8bd2f3d39d3cded18600583936cb4b22

5 years agoMerge "Dump buffer of authentication events for bugreports" into qt-r1-dev
Kevin Chyn [Sat, 22 Jun 2019 08:29:29 +0000 (08:29 +0000)]
Merge "Dump buffer of authentication events for bugreports" into qt-r1-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 22 Jun 2019 05:51:00 +0000 (22:51 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I62581a342971f2c72fbf24ecd285060a35c6d863

5 years agoDump buffer of authentication events for bugreports
Kevin Chyn [Fri, 21 Jun 2019 22:31:50 +0000 (15:31 -0700)]
Dump buffer of authentication events for bugreports

Last 100 events, plus total accumulated latencies for accept, reject,
and individual errors since last boot.

Fixes: 134429201

Test: adb shell dumpsys face
Change-Id: Idc34143a8e5de1036bb2d82767cf748c15b74822

5 years agoMerge "Add carrier config for conference participants data support" into qt-dev
Youming Ye [Sat, 22 Jun 2019 00:33:29 +0000 (17:33 -0700)]
Merge "Add carrier config for conference participants data support" into qt-dev
am: 23b6339ebd

Change-Id: Id1e5fcf1fbdfe47c73a8e76949ce4d75f03f9ed7

5 years agoMerge "ViewRootImpl: Ensure layout when configuration changes." into qt-dev
Robert Carr [Sat, 22 Jun 2019 00:30:57 +0000 (17:30 -0700)]
Merge "ViewRootImpl: Ensure layout when configuration changes." into qt-dev
am: 6397ab05f9

Change-Id: I17feac89670b328f88878ce57636cf4954e0c6f3

5 years agoMerge "Add carrier config for conference participants data support" into qt-dev
TreeHugger Robot [Sat, 22 Jun 2019 00:12:34 +0000 (00:12 +0000)]
Merge "Add carrier config for conference participants data support" into qt-dev

5 years agoMerge "ViewRootImpl: Ensure layout when configuration changes." into qt-dev
TreeHugger Robot [Sat, 22 Jun 2019 00:04:19 +0000 (00:04 +0000)]
Merge "ViewRootImpl: Ensure layout when configuration changes." into qt-dev

5 years agoMerge "Scale the work profile background properly" into qt-r1-dev
Kevin Chyn [Fri, 21 Jun 2019 23:51:18 +0000 (23:51 +0000)]
Merge "Scale the work profile background properly" into qt-r1-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Fri, 21 Jun 2019 23:45:39 +0000 (23:45 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev

5 years agoMerge "DO NOT MERGE Allow the new BrightLineFalsingManager to be enabled via PhenoTyp...
Dave Mankoff [Fri, 21 Jun 2019 23:31:19 +0000 (23:31 +0000)]
Merge "DO NOT MERGE Allow the new BrightLineFalsingManager to be enabled via PhenoType." into qt-r1-dev

5 years agoAdd carrier config for conference participants data support
Youming Ye [Tue, 21 May 2019 20:10:48 +0000 (13:10 -0700)]
Add carrier config for conference participants data support

Bug: 132312382
Test: Manual
Change-Id: I88edd5a590f46b961c986ef0bf24585b3c2cf4a1
Merged-In: I88edd5a590f46b961c986ef0bf24585b3c2cf4a1

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
Bill Yi [Fri, 21 Jun 2019 22:21:21 +0000 (15:21 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 019e1bf3fb -s ours
am skip reason: subject contains skip directive

Change-Id: Iafb62faea41ec53b7e9f0127f64f9e7a2c6af9f0

5 years agoMerge "Fix conflict between metrics_constants and settings_enums." into qt-dev
Aran Ink [Fri, 21 Jun 2019 22:18:28 +0000 (15:18 -0700)]
Merge "Fix conflict between metrics_constants and settings_enums." into qt-dev
am: 985f21dd43

Change-Id: I9e279d5ccae2ce43a30e217bccd34df3a200285e

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Fri, 21 Jun 2019 22:05:31 +0000 (22:05 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Fix conflict between metrics_constants and settings_enums." into qt-dev
TreeHugger Robot [Fri, 21 Jun 2019 22:00:47 +0000 (22:00 +0000)]
Merge "Fix conflict between metrics_constants and settings_enums." into qt-dev

5 years agoScale the work profile background properly
Kevin Chyn [Fri, 21 Jun 2019 21:16:20 +0000 (14:16 -0700)]
Scale the work profile background properly

Fixes: 135742033

Test: Set up work profile, use BiometricPromptDemo on both profiles
      Background is not cut off on top / bottom anymore

Change-Id: I40476782c6b38a3562136d6ad0d2f465074dcfc1

5 years agoDO NOT MERGE Allow the new BrightLineFalsingManager to be enabled via PhenoType.
Dave Mankoff [Fri, 21 Jun 2019 18:24:43 +0000 (14:24 -0400)]
DO NOT MERGE Allow the new BrightLineFalsingManager to be enabled via PhenoType.

Test: atest SystemUITests
Bug: 111394067
Change-Id: I0ab9a72d66bf56a56df2de2ad2d247f299d1b748

5 years agoMerge "media: clarify frame dropping behavior for decoder output" into qt-dev
Lajos Molnar [Fri, 21 Jun 2019 19:50:37 +0000 (12:50 -0700)]
Merge "media: clarify frame dropping behavior for decoder output" into qt-dev
am: cfb6f93443

Change-Id: I4d9ba78b41b791db6119fd57fff5c053bcf82f3a

5 years agoMerge "media: clarify frame dropping behavior for decoder output" into qt-dev
Lajos Molnar [Fri, 21 Jun 2019 19:38:17 +0000 (19:38 +0000)]
Merge "media: clarify frame dropping behavior for decoder output" into qt-dev

5 years agoFix conflict between metrics_constants and settings_enums.
Aran Ink [Fri, 21 Jun 2019 14:39:23 +0000 (10:39 -0400)]
Fix conflict between metrics_constants and settings_enums.

Change-Id: I483bf6b26f2f258f2e2f6f3d839deee4953c203d
Test: Automated tests pass.
Fixes: 135720071
(cherry picked from commit 08659ccdb72b4c578e4b83fcc9e549a9c27f4b75)

5 years ago[automerger skipped] Merge "DO NOT MERGE: Fixed an issue about notification icons...
Selim Cinek [Fri, 21 Jun 2019 19:05:50 +0000 (12:05 -0700)]
[automerger skipped] Merge "DO NOT MERGE: Fixed an issue about notification icons on AOD" into qt-dev
am: c65d4b728c -s ours
am skip reason: change_id Ia64238f30620d9906aa50c2469121c2653875e8d with SHA1 5dc581aef2 is in history

Change-Id: If188f2ed89de4ac8f0366b0f0b9ea979e90575ba

5 years agoMerge "Prevent loop in PermissionPolicyService" into qt-dev
Philip P. Moltmann [Fri, 21 Jun 2019 19:03:26 +0000 (12:03 -0700)]
Merge "Prevent loop in PermissionPolicyService" into qt-dev
am: 2c824e3a7a

Change-Id: I3b705dec21aaff8024b30a3b5dcb409135eeba71

5 years agoMerge "DO NOT MERGE: Fixed an issue about notification icons on AOD" into qt-dev
TreeHugger Robot [Fri, 21 Jun 2019 18:57:25 +0000 (18:57 +0000)]
Merge "DO NOT MERGE: Fixed an issue about notification icons on AOD" into qt-dev

5 years agoUnregister listeners and reset wake lock
Lucas Dupin [Thu, 20 Jun 2019 21:07:57 +0000 (14:07 -0700)]
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
Fixes: 135344397
Fixes: 135582651
Test: bind and unbind slice various times
Test: atest KeyguardSliceProviderTest

5 years agoMerge "Prevent loop in PermissionPolicyService" into qt-dev
TreeHugger Robot [Fri, 21 Jun 2019 18:34:53 +0000 (18:34 +0000)]
Merge "Prevent loop in PermissionPolicyService" into qt-dev

5 years agoMerge "Update docs for EXTRA_PROVISIONING_SKIP_EDUCATION_SCREENS." into qt-dev
Antoan Angelov [Fri, 21 Jun 2019 18:15:06 +0000 (11:15 -0700)]
Merge "Update docs for EXTRA_PROVISIONING_SKIP_EDUCATION_SCREENS." into qt-dev
am: ab34f61c3b

Change-Id: I4b0230f1429e5ca278fa6f5c15babddb1a71cda6

5 years agoMerge "Update docs for EXTRA_PROVISIONING_SKIP_EDUCATION_SCREENS." into qt-dev
Antoan Angelov [Fri, 21 Jun 2019 18:07:22 +0000 (18:07 +0000)]
Merge "Update docs for EXTRA_PROVISIONING_SKIP_EDUCATION_SCREENS." into qt-dev

5 years agoMerge "Free up memory in the ZigZagClassifierTest." into qt-dev
Ned Burns [Fri, 21 Jun 2019 17:59:52 +0000 (10:59 -0700)]
Merge "Free up memory in the ZigZagClassifierTest." into qt-dev
am: 0031e00da6

Change-Id: I41258c461f513924563049d553457c58b192abae

5 years agoMerge "Continue with the animation if wallpaper fails to draw" into qt-dev
Winson Chung [Fri, 21 Jun 2019 17:46:33 +0000 (10:46 -0700)]
Merge "Continue with the animation if wallpaper fails to draw" into qt-dev
am: 7c77aaefb7

Change-Id: I7cd886c145c00de24c3b30d61c3776f3963769be

5 years agoMerge "audioservice: special mute behavior for BT SCO volume" into qt-dev
Eric Laurent [Fri, 21 Jun 2019 17:41:35 +0000 (10:41 -0700)]
Merge "audioservice: special mute behavior for BT SCO volume" into qt-dev
am: 98edda5b5e

Change-Id: Ie6f3b18375d78f0e63e82fb791197ddaa5f68f8d

5 years agoMerge "Free up memory in the ZigZagClassifierTest." into qt-dev
Ned Burns [Fri, 21 Jun 2019 17:31:42 +0000 (17:31 +0000)]
Merge "Free up memory in the ZigZagClassifierTest." into qt-dev

5 years agoMerge "Continue with the animation if wallpaper fails to draw" into qt-dev
Winson Chung [Fri, 21 Jun 2019 17:29:27 +0000 (17:29 +0000)]
Merge "Continue with the animation if wallpaper fails to draw" into qt-dev

5 years agoContinue with the animation if wallpaper fails to draw
Winson Chung [Tue, 18 Jun 2019 18:22:53 +0000 (11:22 -0700)]
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

5 years agoMerge "audioservice: special mute behavior for BT SCO volume" into qt-dev
Eric Laurent [Fri, 21 Jun 2019 17:10:00 +0000 (17:10 +0000)]
Merge "audioservice: special mute behavior for BT SCO volume" into qt-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 21 Jun 2019 16:55:39 +0000 (09:55 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ibad31e9e529f779134978bb1200564d5f3f66616

5 years agoPrevents posting multiple pulse requests at the same time
Jerry Chang [Fri, 21 Jun 2019 10:05:41 +0000 (18:05 +0800)]
Prevents posting multiple pulse requests at the same time

When docked, DozeDockHandler will try to request pulse almost every time
doze machine transits to DOZE or DOZE_AOD state. Guards pulse requests
with flag to prevent requesting multiple pulses at the same time.

Bug: 135226053
Bug: 135396479
Test: Manual test and the symptom gone.
Change-Id: I20d7def12c25b2772ef2c1ebefba4b4ac4d313d6

5 years agoMerge "Handle case that settings string is JSON" into qt-r1-dev
TreeHugger Robot [Fri, 21 Jun 2019 16:30:38 +0000 (16:30 +0000)]
Merge "Handle case that settings string is JSON" into qt-r1-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 21 Jun 2019 16:04:04 +0000 (09:04 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I992e06fd625131f8b7e838b601f6d31415b1d10f

5 years agoFree up memory in the ZigZagClassifierTest.
Dave Mankoff [Fri, 21 Jun 2019 15:32:27 +0000 (11:32 -0400)]
Free up memory in the ZigZagClassifierTest.

Test: atest SystemUITests
Bug: 135715570
Change-Id: Iddfcf8cc107254c397769b2b3c5251270ec0a3bd

5 years agoAdd logging atom for PermissionApps fragment views
Stanislav Zholnin [Fri, 21 Jun 2019 15:50:36 +0000 (08:50 -0700)]
Add logging atom for PermissionApps fragment views
am: 32a89c15a7

Change-Id: I72f9f8459637de005b62d8901d1e87f0bcba635e

5 years agoAdd atom for logging of AppPermissionsFragment views.
Stanislav Zholnin [Fri, 21 Jun 2019 15:46:00 +0000 (08:46 -0700)]
Add atom for logging of AppPermissionsFragment views.
am: dc3e2b35fb

Change-Id: I3aebcc6a68c7d49e207c7e257ef04a47aad1f3ec

5 years agoAdd atom for logging views in AppPermissionFragment
Stanislav Zholnin [Fri, 21 Jun 2019 15:44:14 +0000 (08:44 -0700)]
Add atom for logging views in AppPermissionFragment
am: c9dda9ecdf

Change-Id: I3dbac7f6eaf54cd9b560ea0a6c21d920eef338fb

5 years agoAdd logging atoms to record user actions in AppPermissionFragment (handheld devices...
Stanislav Zholnin [Fri, 21 Jun 2019 15:42:15 +0000 (08:42 -0700)]
Add logging atoms to record user actions in AppPermissionFragment (handheld devices only)
am: 3e0f9bcce0

Change-Id: I9aba7f2f32ff6a9b6f52532e0d2b45331a4790ca

5 years agoAdd logging atom for PermissionApps fragment views
Stanislav Zholnin [Tue, 4 Jun 2019 13:59:21 +0000 (14:59 +0100)]
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

5 years agoAdd atom for logging of AppPermissionsFragment views.
Stanislav Zholnin [Thu, 6 Jun 2019 17:10:14 +0000 (18:10 +0100)]
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

5 years agoHandle USER_ALL in instant apps call
Julia Reynolds [Fri, 21 Jun 2019 14:45:06 +0000 (10:45 -0400)]
Handle USER_ALL in instant apps call

Test: atest
Fixes: 135545393
Change-Id: I1d2d5992876a9445cf0e9fa9447977b89eb85d96

5 years agoAdd atom for logging views in AppPermissionFragment
Stanislav Zholnin [Sun, 2 Jun 2019 19:50:13 +0000 (20:50 +0100)]
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

5 years agoLog the amount of time between authentication and error
Kevin Chyn [Fri, 21 Jun 2019 00:20:42 +0000 (17:20 -0700)]
Log the amount of time between authentication and error

Fixes: 135705310

Test: Checked logs
Change-Id: I1d9b26befc30f233052504c7c74b17ea0a3d5671

5 years agoMerge "Add logging atoms to record user actions in LocationAccessCheck (handheld...
Stanislav Zholnin [Fri, 21 Jun 2019 05:26:45 +0000 (22:26 -0700)]
Merge "Add logging atoms to record user actions in LocationAccessCheck (handheld devices only)" into qt-dev
am: 762aa842ae

Change-Id: I66b9c6cfa8f19ea0c47f2004ab2193c0fafcd4ec

5 years agoAdd logging atoms to record user actions in AppPermissionFragment
Stanislav Zholnin [Thu, 23 May 2019 18:03:55 +0000 (19:03 +0100)]
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

5 years agoMerge "Add logging atoms to record user actions in LocationAccessCheck (handheld...
Stanislav Zholnin [Fri, 21 Jun 2019 04:17:10 +0000 (04:17 +0000)]
Merge "Add logging atoms to record user actions in LocationAccessCheck (handheld devices only)" into qt-dev

5 years agoMerge "Switch trust agents to extend unlock mode by default." into qt-dev
Vishwath Mohan [Fri, 21 Jun 2019 02:36:11 +0000 (19:36 -0700)]
Merge "Switch trust agents to extend unlock mode by default." into qt-dev
am: b9cead91f8

Change-Id: I28b2cd7d17191c36c691e2c6940de021e532ff96

5 years agoaudioservice: special mute behavior for BT SCO volume
Eric Laurent [Thu, 13 Jun 2019 00:20:03 +0000 (17:20 -0700)]
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

5 years agoMerge "Switch trust agents to extend unlock mode by default." into qt-dev
Vishwath Mohan [Fri, 21 Jun 2019 00:51:23 +0000 (00:51 +0000)]
Merge "Switch trust agents to extend unlock mode by default." into qt-dev

5 years agoMerge "Update boot image profile" into qt-dev
Mathieu Chartier [Fri, 21 Jun 2019 00:19:33 +0000 (17:19 -0700)]
Merge "Update boot image profile" into qt-dev
am: 0409420da8

Change-Id: I0cc931c2ba70491af4663c5e8ab71f97734cc1ae

5 years agoMerge "Revert "Whitelist START_ACTIVITIES_FROM_BACKGROUND permission for"" into qt-dev
Wenjie Zhou [Fri, 21 Jun 2019 00:16:48 +0000 (17:16 -0700)]
Merge "Revert "Whitelist START_ACTIVITIES_FROM_BACKGROUND permission for"" into qt-dev
am: 269907a310

Change-Id: I594dc80a248e89eccf0ace9e3a2103b9238f1e97

5 years agoMerge "Allow permission controller to start background activities" into qt-dev
zhouwenjie [Fri, 21 Jun 2019 00:16:42 +0000 (17:16 -0700)]
Merge "Allow permission controller to start background activities" into qt-dev
am: 574cbd1987

Change-Id: I5139017dff88284dee87b540ebe27cb63630bd5e

5 years agoMerge "Add main thread and reentrant asserts to chase down crashes" into qt-dev
Ned Burns [Fri, 21 Jun 2019 00:14:36 +0000 (17:14 -0700)]
Merge "Add main thread and reentrant asserts to chase down crashes" into qt-dev
am: 4d39c4a7d7

Change-Id: I39c037dd0b53d93c3a88eaa18e7bee26a12cb47a

5 years agoMerge "Update boot image profile" into qt-dev
Mathieu Chartier [Fri, 21 Jun 2019 00:01:13 +0000 (00:01 +0000)]
Merge "Update boot image profile" into qt-dev

5 years agoAdd logging atoms to record user actions in LocationAccessCheck
Stanislav Zholnin [Wed, 29 May 2019 12:07:35 +0000 (13:07 +0100)]
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

5 years agoMerge "Revert "Whitelist START_ACTIVITIES_FROM_BACKGROUND permission for"" into qt-dev
TreeHugger Robot [Thu, 20 Jun 2019 23:49:39 +0000 (23:49 +0000)]
Merge "Revert "Whitelist START_ACTIVITIES_FROM_BACKGROUND permission for"" into qt-dev

5 years agoMerge "Allow permission controller to start background activities" into qt-dev
TreeHugger Robot [Thu, 20 Jun 2019 23:49:39 +0000 (23:49 +0000)]
Merge "Allow permission controller to start background activities" into qt-dev

5 years agoRevert "Whitelist START_ACTIVITIES_FROM_BACKGROUND permission for"
Wenjie Zhou [Wed, 19 Jun 2019 17:35:49 +0000 (17:35 +0000)]
Revert "Whitelist START_ACTIVITIES_FROM_BACKGROUND permission for"

This reverts commit 0999f93e4a00a7991d13cfca185e99b9fbecbc38.

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

Bug: 130827484
Change-Id: I1b8fd74a173d4b0ef981e51f7e0a9c5f84d5f416

5 years agoPrevent loop in PermissionPolicyService
Philip P. Moltmann [Thu, 20 Jun 2019 21:51:52 +0000 (14:51 -0700)]
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

5 years agoMerge "Not bypassing when the user is expanding quick settings" into qt-r1-dev
Selim Cinek [Thu, 20 Jun 2019 23:21:49 +0000 (23:21 +0000)]
Merge "Not bypassing when the user is expanding quick settings" into qt-r1-dev

5 years agoDO NOT MERGE: Fixed an issue about notification icons on AOD
Selim Cinek [Thu, 20 Jun 2019 00:24:59 +0000 (17:24 -0700)]
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

5 years agoMerge changes Ia64238f3,I45056904 into qt-r1-dev
Selim Cinek [Thu, 20 Jun 2019 23:16:54 +0000 (23:16 +0000)]
Merge changes Ia64238f3,I45056904 into qt-r1-dev

* changes:
  Fixed an issue about notification icons on AOD
  Animating the notifications now when they disappear

5 years agoMerge "Add main thread and reentrant asserts to chase down crashes" into qt-dev
TreeHugger Robot [Thu, 20 Jun 2019 23:11:33 +0000 (23:11 +0000)]
Merge "Add main thread and reentrant asserts to chase down crashes" into qt-dev

5 years agoSwitch trust agents to extend unlock mode by default.
Vishwath Mohan [Thu, 20 Jun 2019 00:20:45 +0000 (17:20 -0700)]
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

5 years agoMerge "Safeguard against no tiles in QS" into qt-dev
Fabian Kozynski [Thu, 20 Jun 2019 22:32:29 +0000 (15:32 -0700)]
Merge "Safeguard against no tiles in QS" into qt-dev
am: 60aabc40a2

Change-Id: If5bde9600167a3d508bef5377d31e6d8db2635c2

5 years agoMerge "Safeguard against no tiles in QS" into qt-dev
TreeHugger Robot [Thu, 20 Jun 2019 21:42:23 +0000 (21:42 +0000)]
Merge "Safeguard against no tiles in QS" into qt-dev

5 years agoMerge "libmedia_jni pulls in libsfplugin_ccodec" into qt-dev
Ray Essick [Thu, 20 Jun 2019 21:15:50 +0000 (14:15 -0700)]
Merge "libmedia_jni pulls in libsfplugin_ccodec" into qt-dev
am: 1c0b6aa767

Change-Id: I5b245522b5e6f4d5ee23e6155722c14e4e46bede

5 years agoUpdate boot image profile
Mathieu Chartier [Thu, 20 Jun 2019 18:13:10 +0000 (11:13 -0700)]
Update boot image profile

Compiled methods don't get any interpreter activity modifying their
hotness counters. This CL compiles more methods to prevented

Original set of profile is the updated profile with revised thresholds
for image classes. Here we used a 3% threshold.

Additionally, the CL adds imgdiag diagnosed methods that have dirty JIT
counters shortly after boot on the following apps:
system_server
com.android.systemui
com.android.phone
com.android.nfc
com.google.android.networkstack
com.android.bluetooth
com.google.android.apps.nexuslauncher
com.google.android.gms.persistent
com.google.android.as
com.google.process.gservices
com.google.android.gms
com.google.android.inputmethod.latin

Before:
Boot oat size: 32,800,596 bytes
Persistent app .art PSS: 19115K
Persistent app .art Private Dirty: 15356K
System boot .art PSS: 60948K

After:
Boot oat size: 37261124 bytes
Persistent app .art PSS: 12610K
Persistent app .art Private Dirty: 8740K
System boot .art PSS: 50735K

Private dirty savings for persistent apps: 7MB
Net RAM savings: 5MB (10MB dirty .art PSS, 5MB oat size incrase)

Bug: 134776403
Test: Reboot and inspect RAM usage
Change-Id: Ia1c59b4be341a28de02b7d20aedcb6b69815c652

5 years agoMerge "Remove the custom clock from LS during transition from AOD" into qt-r1-dev
TreeHugger Robot [Thu, 20 Jun 2019 20:38:02 +0000 (20:38 +0000)]
Merge "Remove the custom clock from LS during transition from AOD" into qt-r1-dev

5 years agoMerge "libmedia_jni pulls in libsfplugin_ccodec" into qt-dev
TreeHugger Robot [Thu, 20 Jun 2019 20:27:22 +0000 (20:27 +0000)]
Merge "libmedia_jni pulls in libsfplugin_ccodec" into qt-dev

5 years agoMerge "Use RemoteCallbackList to store registered callbacks" into qt-dev
Mehdi Alizadeh [Thu, 20 Jun 2019 20:15:51 +0000 (13:15 -0700)]
Merge "Use RemoteCallbackList to store registered callbacks" into qt-dev
am: 60f7b58a9a

Change-Id: I6eace2328a4397205e522b5525ecf8cae243c031

5 years agoMerge changes from topic "combine-libhidlbase-libhwbinder" into qt-dev
Steven Moreland [Thu, 20 Jun 2019 20:09:43 +0000 (13:09 -0700)]
Merge changes from topic "combine-libhidlbase-libhwbinder" into qt-dev
am: 303a891220

Change-Id: Ibc1c5fb1ccc095250f979b7720c6446ef71ea27b

5 years agolibmedia2_jni: remove libhwbinder_noltopgo ref
Steven Moreland [Thu, 20 Jun 2019 20:09:30 +0000 (13:09 -0700)]
libmedia2_jni: remove libhwbinder_noltopgo ref
am: e5da40639c

Change-Id: Id0e562b34d28b2bd2feb766501b0c641b23fa9d4

5 years agoMerge changes from topic "b111394067-new-falsing-manager" into qt-dev
Dave Mankoff [Thu, 20 Jun 2019 20:07:12 +0000 (13:07 -0700)]
Merge changes from topic "b111394067-new-falsing-manager" into qt-dev
am: acd240fbb3

Change-Id: I83640ae5c6a6681eb33c87a70a629573f189d024

5 years agoMerge "Fix broken ColorDisplayServiceTest cases" into qt-r1-dev
Christine Franks [Thu, 20 Jun 2019 20:00:22 +0000 (20:00 +0000)]
Merge "Fix broken ColorDisplayServiceTest cases" into qt-r1-dev

5 years agoMerge "Use RemoteCallbackList to store registered callbacks" into qt-dev
Mehdi Alizadeh [Thu, 20 Jun 2019 19:58:47 +0000 (19:58 +0000)]
Merge "Use RemoteCallbackList to store registered callbacks" into qt-dev

5 years agoSafeguard against no tiles in QS
Fabian Kozynski [Thu, 20 Jun 2019 18:57:47 +0000 (14:57 -0400)]
Safeguard against no tiles in QS

In PagedTileLayout:
* Make sure that each page displays at least 1 tile (never 0).
* Make sure that there's at least one page (even if it's empty)

In QSTileHost:
* If the new value of sysui_qs_tiles produces no tiles (but it's not set
to empty), set the tile set to the empty default
@string/quick_settings_tiles

Test: adb shell settings put secure sysui_qs_tiles not-a-valid-tile-spec
Test: atest QSTileHostTest
Fixes: 135023694
Fixes: 135677464
Change-Id: I1e5cf4d2688370001ecae87fc0272acecd48af73