Commit Graph

400694 Commits

Author SHA1 Message Date
Felipe Leme
be002d89ec Moar Content capture improvements:
- Drop Content Capture events when the session is disabled, otherwise sessions
  on this state might never finish.
- Fixed PII leak.
- Created helper class for common stuff.
- Improved logging.

Test: manually chenged VERBOSE to true, restarted system_server, and watched logcat - without
      this change, launcher's session would never die because it kept re-scheduling flush
      requests.
Test: atest CtsContentCaptureServiceTestCases
Bug: 122959591

Change-Id: Idcc1bbb12763d1cf98149164c68c2712834d5112
2019-01-23 11:32:36 -08:00
Tomoharu Kasahara
f1cef97345 Merge "Enable phone apps to mute the BLUETOOTH_SCO stream" am: 09d13a2232 am: b0395aca6a
am: b442507023

Change-Id: I0f1f761460a27d510271e2110bd3588f34ce086c
2019-01-22 20:16:16 -08:00
TreeHugger Robot
242a7d8fc8 Merge "Optimize aapt2 compile for pngs" 2019-01-23 04:06:21 +00:00
TreeHugger Robot
0596a5b01c Merge "Remove duplicate impl of CollectionUtils.emptyIfNull" 2019-01-23 03:54:22 +00:00
TreeHugger Robot
bfda3a937a Merge "Add an empty text when there is no app view." 2019-01-23 03:42:40 +00:00
Rhed Jao
dcc2b928fb Merge "Enable multi-display support for magnification controller" 2019-01-23 03:34:54 +00:00
Xiangyu/Malcolm Chen
b5805e2c87 Merge "Adding READ_PRECISE_CALL_STATE permission in phone app." 2019-01-23 03:30:13 +00:00
Ryan Savitski
e58c4b5850 Merge "zygote children: propagate profileability to bionic for native heap profiling" 2019-01-23 03:21:43 +00:00
Tomoharu Kasahara
b442507023 Merge "Enable phone apps to mute the BLUETOOTH_SCO stream" am: 09d13a2232
am: b0395aca6a

Change-Id: I1656753897ff28a9ff9096fee0ba9928623e75ad
2019-01-22 19:02:31 -08:00
Ivan Chiang
035808eea0 Merge "Add new column into Root to get the supported query args" 2019-01-23 02:56:02 +00:00
Ivan Chiang
ad4ba486b9 Merge "Fix CTS test fail for isTreeUri check in findDocumentPath method" 2019-01-23 02:54:33 +00:00
Jimmy Chen
69236f8e2b Merge "p2p: add p2p random MAC feature flag in framework" 2019-01-23 02:53:10 +00:00
Alex Salo
60d3c49c6d Merge "Add AttentionManagerService result logging into WW" 2019-01-23 02:32:53 +00:00
Sungsoo Lim
98955b03de Merge "Use MediaSession.Token instead of ISessionController" 2019-01-23 02:32:10 +00:00
Varun Shah
359263d17c Merge "Optimize service restart logic." 2019-01-23 02:30:19 +00:00
Android Build Merger (Role)
d85c59c746 Merge "Merge "Add getAvoidBadWifi system API" am: 58582a36fc am: 656f2fa71a am: 3fb943a7b5" 2019-01-23 02:22:34 +00:00
Remi NGUYEN VAN
cef9889b0d Merge "Add getAvoidBadWifi system API" am: 58582a36fc am: 656f2fa71a
am: 3fb943a7b5

Change-Id: I8ff56380368a340162368ccbeefcae6df1ae549f
2019-01-22 18:21:58 -08:00
TreeHugger Robot
b4be5cdfa9 Merge "Implemented native functions and types for blastula management." 2019-01-23 02:20:31 +00:00
Tomoharu Kasahara
b0395aca6a Merge "Enable phone apps to mute the BLUETOOTH_SCO stream"
am: 09d13a2232

Change-Id: I2e49205fd3c1c4af909972a0a9b943876ef24ddd
2019-01-22 18:13:53 -08:00
Alex Salo
a060aee498 Add AttentionManagerService result logging into WW
Bug: 122960476
Test: tested locally on device using statsd_testdrive
Change-Id: I3f77e7c55cd6999d135896b5101fefb60560424a
2019-01-22 18:08:34 -08:00
TreeHugger Robot
1655f9896f Merge "Fix image wallpaper distortion after rotate." 2019-01-23 02:01:16 +00:00
Treehugger Robot
09d13a2232 Merge "Enable phone apps to mute the BLUETOOTH_SCO stream" 2019-01-23 01:54:28 +00:00
Remi NGUYEN VAN
3fb943a7b5 Merge "Add getAvoidBadWifi system API" am: 58582a36fc
am: 656f2fa71a

Change-Id: Ide4ffc316c9301b795e8c0dabea3322aaf0b3184
2019-01-22 17:53:09 -08:00
Sal Savage
e0675d844a Merge "Update config file documentation and examples for network type propagation" am: bfd44b60ef am: a414bf1691
am: 948ba47e14

Change-Id: I19f3eda783e1d58ab5070e882181fe8be3c9514b
2019-01-22 17:49:47 -08:00
Remi NGUYEN VAN
656f2fa71a Merge "Add getAvoidBadWifi system API"
am: 58582a36fc

Change-Id: Ifdf913669df84df3e3b158d5527895236e6758b7
2019-01-22 17:41:46 -08:00
TreeHugger Robot
90a0a466fa Merge "Remove unnecessary spy mock from TaskPositionerTests" 2019-01-23 01:39:36 +00:00
Felipe Leme
58cf528f53 Merge "Fixed bad merge." 2019-01-23 01:27:09 +00:00
TreeHugger Robot
4b06dcba98 Merge "Applies friction to non-dismiss drag only after the snap point." 2019-01-23 01:26:10 +00:00
Felipe Leme
479294a372 Fixed bad merge.
Bug:122858578
Test: echo "in TreeHugger we trust!'

Change-Id: I48274d874e6f870c042afc2fdc90ea394f14fe79
2019-01-22 17:24:09 -08:00
Remi NGUYEN VAN
58582a36fc Merge "Add getAvoidBadWifi system API" 2019-01-23 01:13:01 +00:00
Sal Savage
948ba47e14 Merge "Update config file documentation and examples for network type propagation" am: bfd44b60ef
am: a414bf1691

Change-Id: I86789fdd45ebff23fa6020c0fa702d06908d3d67
2019-01-22 17:11:06 -08:00
Jack Yu
0e9b2f0ca9 Merge "Supported data handover in DcTracker/DataConnection/ApnContext" 2019-01-23 01:10:22 +00:00
TreeHugger Robot
7b04d482cb Merge "Allow to listen to roleholder changes of all users" 2019-01-23 01:03:34 +00:00
TreeHugger Robot
e0e1169347 Merge "Stop using SkHalfToFloat" 2019-01-23 00:52:27 +00:00
David Su
6e8bb61990 Merge "Scan Optimization: Proto change for device mobility state PNO scan stats" 2019-01-23 00:50:19 +00:00
TreeHugger Robot
f9f6102a42 Merge "Initial metrics for Augmented Autofill." 2019-01-23 00:45:24 +00:00
Sal Savage
a414bf1691 Merge "Update config file documentation and examples for network type propagation"
am: bfd44b60ef

Change-Id: I0b1690102776065a7f1c1156e9c4808a8c111e29
2019-01-22 16:43:27 -08:00
Sungsoo Lim
1a73f7393e Merge "Introduce MediaSessionEngine" 2019-01-23 00:37:16 +00:00
TreeHugger Robot
a3bc64302f Merge "Remove unused SleepUtils." 2019-01-23 00:35:24 +00:00
Soonil Nagarkar
0ef34932e3 Merge "Add location settings piercing in emergencies" 2019-01-23 00:26:52 +00:00
Ryan Mitchell
f67808b78d Optimize aapt2 compile for pngs
Do not copy the png data when compiling pngs.

Bug: 122950060
Test: aapt2 compile -o . BaseAppPhoto1_copy.png

Change-Id: I78fbdaa9a40ada406d7b07cf072d6cd76124168e
2019-01-22 16:16:13 -08:00
Sal Savage
bfd44b60ef Merge "Update config file documentation and examples for network type propagation" 2019-01-23 00:10:24 +00:00
Dmitry Dementyev
4b15dd2134 Merge "Increase the timeout for SmartLock from 20 seconds to 4 hours." 2019-01-23 00:09:11 +00:00
Ryan Savitski
cfdc151d52 zygote children: propagate profileability to bionic for native heap profiling
go/heapprofd is a native heap profiler for android Q+. Its triggering is
implemented within /bionic/libc. App processes (i.e.  zygote children) are not
considered profileable by default on "user" builds. To opt-in into being
profileable, the app's manifest needs to have the Q+ go/profileable flag set
(or be marked as debuggable, which is its superset).

With this change, if the app is supposed to be profileable, post-fork runtime
init calls into bionic to mark itself as such, and possibly start "from
startup" profiling.

On userdebug, all zygote children are marked profileable via the same
mechanism. System server is also marked profileable on userdebug (and needs a
separate codepath, as it does not have an activity thread).

See go/heapprofd-java-trigger for details on why we're taking this approach.
Context on the profiler itself: go/heapprofd-design.

Test: flashed blueline-userdebug, confirmed that java profiling activates from startup and at runtime.
Test: flashed crosshatch-user, confirmed that no java profiling is enabled by default.
Bug: 120409382
Change-Id: Ia038871acfa6b9cae7b6a81f666aecce4b68a4fc
2019-01-23 00:08:15 +00:00
TreeHugger Robot
4edd7eacbd Merge "add OverlayManager.setEnabled to system-current.txt" 2019-01-23 00:07:31 +00:00
Chris Wailes
aa1c962ded Implemented native functions and types for blastula management.
This patch adds native support for spawning and managing blastula pools,
as well as several code cleanups and modernizations.

Changes includes:
* A function to fork blastulas
* A table for managing blastula-related data
* Functions for adding and removing blastula data from the
aforementioned table
* Switching from NULL to nullptr
* Replacing string-passing error handling with a curried failure
function
* Utility functions for handling managed objects
* JNI functions for blastula pool management

Change-Id: I12cd9f2c87a2e3c00d64b683edf3631e29a51551
Topic: zygot-prefork
Test: make & flash & launch apps & check log for messages
Bug: 68253328
2019-01-22 16:07:27 -08:00
Naina Nalluri
10ac0e811a Merge "Add config for cbrs" 2019-01-23 00:04:47 +00:00
Tomoharu Kasahara
a0d0c542b9 Enable phone apps to mute the BLUETOOTH_SCO stream
This change adds support for privileged apps with the MODIFY_PHONE_STATE
permission to mute the bluetooth sco stream using the adjustStreamVolume
method.
The change adds specific handling for BLUETOOTH_SCO as a mutable stream.

Bug: 111195322
Test: Mute works by AudioManager.adjustStreamVolume
 (STREAM_BLUETOOTH_SCO, ADJUST_MUTE, 0)

Change-Id: I932f9e152e9b6df93a749b083a7bcc7e08c2ad70
2019-01-23 09:04:42 +09:00
Mathieu Chartier
dccb7769f7 Merge "Add mathieuc to OWNERS for startop" 2019-01-22 23:56:46 +00:00
Mathieu Chartier
1e3c00cb28 Add mathieuc to OWNERS for startop
Bug: 111397239
Test: n/a
Change-Id: Ib4765833140c8c53806b48e4fcd4a3870931ea5d
2019-01-22 15:39:50 -08:00