OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "don't pass bounds to textblobbuilder"
TreeHugger Robot [Tue, 29 Jan 2019 21:08:39 +0000 (21:08 +0000)]
Merge "don't pass bounds to textblobbuilder"

5 years agoMerge "Add experiment flag for maximum number of smart actions per notification"
TreeHugger Robot [Tue, 29 Jan 2019 21:07:04 +0000 (21:07 +0000)]
Merge "Add experiment flag for maximum number of smart actions per notification"

5 years agoMerge "Register NetworkCallbacks to run in GnssNetworkConnectivityHandler thread"
Anil Admal [Tue, 29 Jan 2019 21:06:16 +0000 (21:06 +0000)]
Merge "Register NetworkCallbacks to run in GnssNetworkConnectivityHandler thread"

5 years agoMerge "Update the notification_assistant DeviceConfig namespace."
Gustav Sennton [Tue, 29 Jan 2019 21:05:47 +0000 (21:05 +0000)]
Merge "Update the notification_assistant DeviceConfig namespace."

5 years agoMerge "Use the non-LTO/PGO hwbinder in libmedia2_jni"
TreeHugger Robot [Tue, 29 Jan 2019 20:48:18 +0000 (20:48 +0000)]
Merge "Use the non-LTO/PGO hwbinder in libmedia2_jni"

5 years ago[automerger skipped] Merge "Define more thresholds for opportunistic data" am: cf2e06...
Sooraj Sasindran [Tue, 29 Jan 2019 20:38:03 +0000 (12:38 -0800)]
[automerger skipped] Merge "Define more thresholds for opportunistic data" am: cf2e069962 am: c3bf9392ac
am: d42041fe96 -s ours
am skip reason: change_id Ie7c35e10aeaf791dba49d9f5e881d292068f81f3 with SHA1 73710f8ca6 is in history

Change-Id: I141d3a7d29ba2c7d64dd232097285cefb5cc9f24

5 years agoMerge "Add icon packs for the 3 icon sets."
TreeHugger Robot [Tue, 29 Jan 2019 20:31:35 +0000 (20:31 +0000)]
Merge "Add icon packs for the 3 icon sets."

5 years ago[automerger skipped] Merge changes I94d15307,I7deb8556,I755b3140 am: 5aef5c6508 am...
Jack He [Tue, 29 Jan 2019 20:22:43 +0000 (12:22 -0800)]
[automerger skipped] Merge changes I94d15307,I7deb8556,I755b3140 am: 5aef5c6508 am: b7493c6059
am: 9513822f40 -s ours
am skip reason: change_id I94d1530758f79ce6d5f119426b1379c76517afec with SHA1 1021a61081 is in history

Change-Id: Id53386843aa9b7eff5a7af9e55f5c422a1f43411

5 years agoMerge "Define more thresholds for opportunistic data" am: cf2e069962
Sooraj Sasindran [Tue, 29 Jan 2019 20:21:17 +0000 (12:21 -0800)]
Merge "Define more thresholds for opportunistic data" am: cf2e069962
am: c3bf9392ac

Change-Id: I44cd2e063fd5587ee7abf77e22acca7b08953a02

5 years agoMerge changes I94d15307,I7deb8556,I755b3140 am: 5aef5c6508
Jack He [Tue, 29 Jan 2019 20:11:12 +0000 (12:11 -0800)]
Merge changes I94d15307,I7deb8556,I755b3140 am: 5aef5c6508
am: b7493c6059

Change-Id: I5f316278424f6c072c14f52e067d3306491b4a13

5 years agoMerge "Define more thresholds for opportunistic data"
Sooraj Sasindran [Tue, 29 Jan 2019 20:09:58 +0000 (12:09 -0800)]
Merge "Define more thresholds for opportunistic data"
am: cf2e069962

Change-Id: I8426e90c7f8a6b251e3bfdf0e2f3f0cf819fa777

5 years agoMerge "Introduce a new process state for location fg service"
Amith Yamasani [Tue, 29 Jan 2019 20:07:13 +0000 (20:07 +0000)]
Merge "Introduce a new process state for location fg service"

5 years agoMerge changes I94d15307,I7deb8556,I755b3140
Jack He [Tue, 29 Jan 2019 19:53:43 +0000 (11:53 -0800)]
Merge changes I94d15307,I7deb8556,I755b3140
am: 5aef5c6508

Change-Id: I2e38b52aeff244bdec199907f5cf90ce23ecbbfe

5 years agoMerge "Fix logging in ExtServices for Q Beta"
TreeHugger Robot [Tue, 29 Jan 2019 19:51:07 +0000 (19:51 +0000)]
Merge "Fix logging in ExtServices for Q Beta"

5 years agoMerge "Track ZygoteHooks API changes in libcore"
Neil Fuller [Tue, 29 Jan 2019 19:47:12 +0000 (19:47 +0000)]
Merge "Track ZygoteHooks API changes in libcore"

5 years agoMerge "Define more thresholds for opportunistic data"
Sooraj Sasindran [Tue, 29 Jan 2019 19:43:26 +0000 (19:43 +0000)]
Merge "Define more thresholds for opportunistic data"

5 years agoMerge changes from topic "bug and incident report approval"
Joe Onorato [Tue, 29 Jan 2019 19:34:40 +0000 (19:34 +0000)]
Merge changes from topic "bug and incident report approval"

* changes:
  Add IncidentCompanionService
  Added a new "incidentReportApprover" permission protection flag.

5 years agoMerge "Adding validationBeforeSwitchSupported in phoneCapability."
Xiangyu/Malcolm Chen [Tue, 29 Jan 2019 19:29:31 +0000 (19:29 +0000)]
Merge "Adding validationBeforeSwitchSupported in phoneCapability."

5 years agoMerge changes I94d15307,I7deb8556,I755b3140
Treehugger Robot [Tue, 29 Jan 2019 19:27:53 +0000 (19:27 +0000)]
Merge changes I94d15307,I7deb8556,I755b3140

* changes:
  Atom: Add more Bluetooth atoms
  Atom: Add A2DP playback related atoms to StatsLog
  Fix typo in hci/enums.proto: OCCURED -> OCCURRED

5 years agodon't pass bounds to textblobbuilder
Mike Reed [Mon, 28 Jan 2019 18:31:36 +0000 (13:31 -0500)]
don't pass bounds to textblobbuilder

Rely on builder to compute it

Test: make

Change-Id: Ib04b5a79d4e94e269761dd23171ca517e5aebed9

5 years agoMerge "Add privacy platform flags."
TreeHugger Robot [Tue, 29 Jan 2019 19:00:10 +0000 (19:00 +0000)]
Merge "Add privacy platform flags."

5 years agoMerge "new API for IMS call fail cause"
Chen Xu [Tue, 29 Jan 2019 18:37:10 +0000 (18:37 +0000)]
Merge "new API for IMS call fail cause"

5 years agoUse the non-LTO/PGO hwbinder in libmedia2_jni
Pirama Arumuga Nainar [Tue, 29 Jan 2019 18:35:07 +0000 (10:35 -0800)]
Use the non-LTO/PGO hwbinder in libmedia2_jni

Bug: http://b/119560349

Currently, any binary links in a PGO-enabled static library also needs
to opt into PGO.  With b/119560349, this should be done automatically by
the build system.  Until then, use the non-PGO version of libhwbinder in
libmedia2_jni.

Test: m ANDROID_PGO_INSTRUMENT=all
Change-Id: I0bdd1b56c9e9417ea62d9db8986a10b93b2260b9

5 years agoMerge "WifiNetworkConfigBuilder: Split into 2 separate builders"
Roshan Pius [Tue, 29 Jan 2019 18:25:21 +0000 (18:25 +0000)]
Merge "WifiNetworkConfigBuilder: Split into 2 separate builders"

5 years agoMerge "Fixed NPE on MainContentCaptureSession.handleFlushIfNeeded"
TreeHugger Robot [Tue, 29 Jan 2019 18:24:33 +0000 (18:24 +0000)]
Merge "Fixed NPE on MainContentCaptureSession.handleFlushIfNeeded"

5 years agoMerge "Merge "Merge "Add check for slot index value" am: d8148b6c8c am: e7d03a6ff1...
Android Build Merger (Role) [Tue, 29 Jan 2019 18:23:58 +0000 (18:23 +0000)]
Merge "Merge "Merge "Add check for slot index value" am: d8148b6c8c am: e7d03a6ff1" into pi-dev-plus-aosp am: 894ee44b53"

5 years agoWifiNetworkConfigBuilder: Split into 2 separate builders
Roshan Pius [Fri, 25 Jan 2019 16:33:48 +0000 (08:33 -0800)]
WifiNetworkConfigBuilder: Split into 2 separate builders

Split the existing WifiNetworkConfigBuilder into 2 separate builders,
one for building WifiNetworkSuggestion and one for WifiNetworkSpecifier.

Other changes in the CL:
a) Marked the constructor of the abstract NetworkSpecifier class public
to allow WifiNetworkSpecifier.Builder() (& hence WifiNetworkSpecifier) to
be public. The alternative is to put the builder for WifiNetworkSpecifier
in some other file (like WifiManager)
b) Mark WifiNetworkSpecifier class public to make it's builder visible.
c) Modify the documentation (& usage example) for WifiNetworkSpecifier
builder to explicitly call out that this can only be used for a local
wifi connection (i.e no internet capability).

Bug: 123313291
Test: ./frameworks/base/wifi/tests/runtests.sh
Test: make docs
Change-Id: I1a5fcff886124010222e112dbca92797a514b6d9

5 years agoMerge "Merge "Add check for slot index value" am: d8148b6c8c am: e7d03a6ff1" into...
Michele Berionne [Tue, 29 Jan 2019 18:23:17 +0000 (10:23 -0800)]
Merge "Merge "Add check for slot index value" am: d8148b6c8c am: e7d03a6ff1" into pi-dev-plus-aosp
am: 894ee44b53

Change-Id: I9e90faa04a0da3bcbbbdbc7e96f322540434bc64

5 years agoMerge "Moved Content Capture settings to DeviceConfig."
TreeHugger Robot [Tue, 29 Jan 2019 18:22:07 +0000 (18:22 +0000)]
Merge "Moved Content Capture settings to DeviceConfig."

5 years agoMerge "Define more thresholds for opportunistic data"
Sooraj Sasindran [Tue, 29 Jan 2019 18:19:18 +0000 (18:19 +0000)]
Merge "Define more thresholds for opportunistic data"

5 years agoMerge "Support a ring buffer or a queue to store window manager traces"
TreeHugger Robot [Tue, 29 Jan 2019 18:10:38 +0000 (18:10 +0000)]
Merge "Support a ring buffer or a queue to store window manager traces"

5 years agoMerge "Fix LauncherApps.isActivityEnalbed()"
Makoto Onuki [Tue, 29 Jan 2019 18:01:05 +0000 (18:01 +0000)]
Merge "Fix LauncherApps.isActivityEnalbed()"

5 years agoAdd IncidentCompanionService
Joe Onorato [Tue, 18 Dec 2018 23:00:25 +0000 (15:00 -0800)]
Add IncidentCompanionService

It is a helper in the system process that helps dumpstate and incidentd get
user confirmation to share reports

Bug: 123543706
Test: bit GooglePermissionControllerTest:*
Change-Id: Ia3fe4bd5257044ed89fe56ce683876fa03ba6c36

5 years agoAdded a new "incidentReportApprover" permission protection flag.
Joe Onorato [Tue, 18 Dec 2018 18:40:04 +0000 (10:40 -0800)]
Added a new "incidentReportApprover" permission protection flag.

This gives the ONE app installed on the system the permission to
authorize the sharing of incident and bug reports with an app.

Currently that app is PermissionController.  Package Manager
enforces that there is only one installed, and refused to boot
if that isn't the case.

Bug: 123543706
Test: bit GooglePermissionControllerTest:*
Change-Id: I76a7fad0ea36359bbb0ff09669df46202d059dab

5 years ago[automerger skipped] Merge "[DO NOT MERGE]Add check for slot index value" into pi...
Andy Chou [Tue, 29 Jan 2019 17:51:12 +0000 (09:51 -0800)]
[automerger skipped] Merge "[DO NOT MERGE]Add check for slot index value" into pi-dev am: dbf0f79d4a -s ours
am: 8c8249d1ac -s ours
am skip reason: subject contains skip directive

Change-Id: I7688e90ce2a3a661ba7bcc6ef9d824722ed23f72

5 years agoMerge "Merge "Add check for slot index value" am: d8148b6c8c am: e7d03a6ff1" into...
Android Build Merger (Role) [Tue, 29 Jan 2019 17:45:39 +0000 (17:45 +0000)]
Merge "Merge "Add check for slot index value" am: d8148b6c8c am: e7d03a6ff1" into pi-dev-plus-aosp

5 years agoMerge "Add check for slot index value" am: d8148b6c8c
Michele Berionne [Tue, 29 Jan 2019 17:45:09 +0000 (09:45 -0800)]
Merge "Add check for slot index value" am: d8148b6c8c
am: e7d03a6ff1

Change-Id: I57c57b70484ec0c08bcd7b02e880fbe28e2cde9e

5 years ago[automerger skipped] Merge "[DO NOT MERGE]Add check for slot index value" into pi-dev
Andy Chou [Tue, 29 Jan 2019 17:43:53 +0000 (09:43 -0800)]
[automerger skipped] Merge "[DO NOT MERGE]Add check for slot index value" into pi-dev
am: dbf0f79d4a -s ours
am skip reason: SHA1 dbf0f79d4a skipped by user mberionne

Change-Id: I74f89c391a079b57a36ed79a97c63f5e96e8d7c3

5 years agoMerge "Use a specific theme for the car user switching dialog."
TreeHugger Robot [Tue, 29 Jan 2019 17:43:30 +0000 (17:43 +0000)]
Merge "Use a specific theme for the car user switching dialog."

5 years agoMerge "Add check for slot index value"
Michele Berionne [Tue, 29 Jan 2019 17:34:53 +0000 (09:34 -0800)]
Merge "Add check for slot index value"
am: d8148b6c8c

Change-Id: I33be18a2fb8b3e35e521bdea28354ba1b7daa5b9

5 years agoMerge "Add check for slot index value"
Michele Berionne [Tue, 29 Jan 2019 17:25:17 +0000 (17:25 +0000)]
Merge "Add check for slot index value"

5 years agoMerge "Fix job scheduler constant"
Makoto Onuki [Tue, 29 Jan 2019 17:23:22 +0000 (17:23 +0000)]
Merge "Fix job scheduler constant"

5 years agoMerge "passpoint-r2: set CA certificate for remediation server"
Ecco Park [Tue, 29 Jan 2019 17:18:41 +0000 (17:18 +0000)]
Merge "passpoint-r2: set CA certificate for remediation server"

5 years agoMerge "audio: Fix NULL check"
Greg Kaiser [Tue, 29 Jan 2019 17:12:02 +0000 (17:12 +0000)]
Merge "audio: Fix NULL check"

5 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Tue, 29 Jan 2019 16:57:23 +0000 (16:57 +0000)]
Merge "Import translations. DO NOT MERGE"

5 years agoMerge "Bring more visibility logic from stack to activity."
TreeHugger Robot [Tue, 29 Jan 2019 16:53:03 +0000 (16:53 +0000)]
Merge "Bring more visibility logic from stack to activity."

5 years agoMerge "Merge "apilint: Allow parsing 3.0 signature files" am: 34b11c92b3 am: f9cd2cb7...
Android Build Merger (Role) [Tue, 29 Jan 2019 16:43:54 +0000 (16:43 +0000)]
Merge "Merge "apilint: Allow parsing 3.0 signature files" am: 34b11c92b3 am: f9cd2cb759 am: ea23830f1b"

5 years agoMerge "Non-framework location management - remove roaming handling"
Anil Admal [Tue, 29 Jan 2019 16:43:33 +0000 (16:43 +0000)]
Merge "Non-framework location management - remove roaming handling"

5 years agoMerge "apilint: Allow parsing 3.0 signature files" am: 34b11c92b3 am: f9cd2cb759
Adrian Roos [Tue, 29 Jan 2019 16:43:16 +0000 (08:43 -0800)]
Merge "apilint: Allow parsing 3.0 signature files" am: 34b11c92b3 am: f9cd2cb759
am: ea23830f1b

Change-Id: Ifaf2deff0451455d26a3301354753b751c3b464d

5 years agoMerge "Support Slices in Settings Search"
TreeHugger Robot [Tue, 29 Jan 2019 16:40:57 +0000 (16:40 +0000)]
Merge "Support Slices in Settings Search"

5 years agoMerge "apilint: Allow parsing 3.0 signature files" am: 34b11c92b3
Adrian Roos [Tue, 29 Jan 2019 16:33:45 +0000 (08:33 -0800)]
Merge "apilint: Allow parsing 3.0 signature files" am: 34b11c92b3
am: f9cd2cb759

Change-Id: I0ef6e376da489473f777cbc8abf43c0381a9376c

5 years agoMerge "[DPP] Add metrics"
Hai Shalom [Tue, 29 Jan 2019 16:33:36 +0000 (16:33 +0000)]
Merge "[DPP] Add metrics"

5 years agoAdd icon packs for the 3 icon sets.
Amin Shaikh [Thu, 24 Jan 2019 22:36:58 +0000 (17:36 -0500)]
Add icon packs for the 3 icon sets.

Start with only wifi signal icons.

Bug: 118757293
Test: adb shell cmd overlay enable-exclusive --user 0 com.android.theme.icon_pack.{circular,filled,rounded}
Change-Id: I5b39552a059dc42d6c6c4b31db1a86d31275ece1

5 years agoAdd experiment flag for maximum number of smart actions per notification
Gustav Sennton [Wed, 16 Jan 2019 14:27:25 +0000 (14:27 +0000)]
Add experiment flag for maximum number of smart actions per notification

We here add an experiment flag to limit the number of smart actions
shown per notification (including turning all small actions off) from
the System UI.

Bug: 122506860
Test: atest SystemUITests
Test: call "adb shell settings put global
    smart_replies_in_notifications_flags enabled=true,max_num_actions=X" for
    different values of X and ensure the behaviour is correct.
Change-Id: I2759f4bc297386d20f3a6d1cb2975165e5c87c38

5 years agoMerge "apilint: Allow parsing 3.0 signature files"
Adrian Roos [Tue, 29 Jan 2019 16:23:14 +0000 (08:23 -0800)]
Merge "apilint: Allow parsing 3.0 signature files"
am: 34b11c92b3

Change-Id: I0cc45b11f079c7a0d383b49e74d55658a8915d71

5 years agoMerge "[Blocking Helper logs] Modify blocking helper to category"
Will Brockman [Tue, 29 Jan 2019 16:18:21 +0000 (16:18 +0000)]
Merge "[Blocking Helper logs] Modify blocking helper to category"

5 years agoMerge "Fix the test format."
TreeHugger Robot [Tue, 29 Jan 2019 16:18:12 +0000 (16:18 +0000)]
Merge "Fix the test format."

5 years agoMerge "apilint: Allow parsing 3.0 signature files"
Adrian Roos [Tue, 29 Jan 2019 16:05:21 +0000 (16:05 +0000)]
Merge "apilint: Allow parsing 3.0 signature files"

5 years agoMerge "Initialise hidden api usage logger pre-fork"
Andrei-Valentin Onea [Tue, 29 Jan 2019 15:31:14 +0000 (15:31 +0000)]
Merge "Initialise hidden api usage logger pre-fork"

5 years agoMerge "Specify status results for RollbackManager.commitRollback."
TreeHugger Robot [Tue, 29 Jan 2019 15:25:38 +0000 (15:25 +0000)]
Merge "Specify status results for RollbackManager.commitRollback."

5 years agoMerge "Log notification location when a notification action is clicked."
TreeHugger Robot [Tue, 29 Jan 2019 15:19:28 +0000 (15:19 +0000)]
Merge "Log notification location when a notification action is clicked."

5 years agoTrack ZygoteHooks API changes in libcore
Neil Fuller [Mon, 28 Jan 2019 18:29:20 +0000 (18:29 +0000)]
Track ZygoteHooks API changes in libcore

Track ZygoteHooks API changes in libcore to make
the ZygoteHooks API more consistent.

Bug: 111742291
Test: build / boot / treehugger
Change-Id: Ie65aac6539cffc90663807791511b95a6cd61ab4

5 years ago[automerger skipped] Merge "Revert "Extract network observer code from NetworkManagem...
Remi NGUYEN VAN [Tue, 29 Jan 2019 15:17:06 +0000 (07:17 -0800)]
[automerger skipped] Merge "Revert "Extract network observer code from NetworkManagementService."" am: 9fdc6d2963 am: 04f4e4ed88
am: 1c073368f5 -s ours
am skip reason: change_id Ib4e7da3274e49f25676505a08e6ce7e7b0dfdb8d with SHA1 9ebc3fc82f is in history

Change-Id: If41fd9c044de94607c60ddf7684dd683034c560c

5 years agoMerge "Frameworks: Add APEX e2e tests to presubmit"
TreeHugger Robot [Tue, 29 Jan 2019 15:03:18 +0000 (15:03 +0000)]
Merge "Frameworks: Add APEX e2e tests to presubmit"

5 years agoMerge "[Multi-user] Schedule full backup jobs immediately"
Annie Meng [Tue, 29 Jan 2019 15:00:14 +0000 (15:00 +0000)]
Merge "[Multi-user] Schedule full backup jobs immediately"

5 years agoMerge "Revert "Extract network observer code from NetworkManagementService."" am...
Remi NGUYEN VAN [Tue, 29 Jan 2019 14:59:13 +0000 (06:59 -0800)]
Merge "Revert "Extract network observer code from NetworkManagementService."" am: 9fdc6d2963
am: 04f4e4ed88

Change-Id: I75e37fb6e8681b2f64831ddc2dade382426e4859

5 years agoMerge "reset path before append glyph outlines, to match old SkPaint behavior"
TreeHugger Robot [Tue, 29 Jan 2019 14:52:16 +0000 (14:52 +0000)]
Merge "reset path before append glyph outlines, to match old SkPaint behavior"

5 years agoMerge "Revert "Extract network observer code from NetworkManagementService.""
Remi NGUYEN VAN [Tue, 29 Jan 2019 14:47:16 +0000 (06:47 -0800)]
Merge "Revert "Extract network observer code from NetworkManagementService.""
am: 9fdc6d2963

Change-Id: Ib4a7b32a143b3c8f029ccd92191494cd9579e8bd

5 years agoaudio: Fix NULL check
Greg Kaiser [Tue, 29 Jan 2019 14:37:11 +0000 (06:37 -0800)]
audio: Fix NULL check

We already know jAudioAttributeArray is non-NULL (or else we'd
crash when dereferencing it).  We really want to check if the
contents of jAudioAttributeArray is NULL or not, so we fix this
check.

Test: TreeHugger
Change-Id: I956d99fe608f5e1b9cd0bc3e7c4075e343a6b5ab

5 years agoMerge "Revert "Extract network observer code from NetworkManagementService.""
Remi NGUYEN VAN [Tue, 29 Jan 2019 14:30:56 +0000 (14:30 +0000)]
Merge "Revert "Extract network observer code from NetworkManagementService.""

5 years ago[Blocking Helper logs] Modify blocking helper to category
Eyal Posener [Thu, 24 Jan 2019 07:54:08 +0000 (09:54 +0200)]
[Blocking Helper logs] Modify blocking helper to category

Remove MetricsEvent.NOTIFICATION_ITEM from log category,
and use the NOTIFICATION_BLOCKING_HELPER constant as the log
category.

Bug: 112482290
Test: atest SystemUITests and manual testing.

Change-Id: I8a119f625c81df2bbdd30fc9f3e4d3a2ad478ac2

5 years agoMerge "Add microphone pemrission on default to content catprue service package"
Nadav Bar [Tue, 29 Jan 2019 14:14:54 +0000 (14:14 +0000)]
Merge "Add microphone pemrission on default to content catprue service package"

5 years agoapilint: Allow parsing 3.0 signature files
Adrian Roos [Tue, 29 Jan 2019 14:01:28 +0000 (15:01 +0100)]
apilint: Allow parsing 3.0 signature files

Test: python apilint_test.py
Change-Id: I59df950229c05329afde93f94efc13adb4640ad7

5 years agoreset path before append glyph outlines, to match old SkPaint behavior
Mike Reed [Tue, 29 Jan 2019 13:07:50 +0000 (08:07 -0500)]
reset path before append glyph outlines, to match old SkPaint behavior

Bug: 123503704
Bug: 123541872
Test: make and open Maps

Change-Id: I2fed9518e84bcd8124b9a8da1b16f3f06246c1e1

5 years agoFix logging in ExtServices for Q Beta
Tony Mak [Tue, 29 Jan 2019 12:39:21 +0000 (12:39 +0000)]
Fix logging in ExtServices for Q Beta

Two issues:
1. The notification key -> logging id mapping should be removed
   whenever suggest() is called as the session is considered to be ended.

2. We were only storing the key -> logging id mapping when
   suggestConversationActions generated some replies. Thus, when only smart actions
   are generated from generateLinks, we didn't log it (as the mapping is missing)
   So, we now always cache the ID after calling suggestConversationActions.
   Remove the mapping when we find that neither actions or replies
   are generated.
   PS: We have a CL (ag/6033786) to switch to suggestConversationActions,
   fix for #2 is no longer needed once it is in. But that change won't
   be in before Android Beta as the model side change is not done.

BUG: 120803809
Test: Manual. Send a message with URL, observer subsequent events (e.g:
clicked) are logged.
Test: atest SmartActionHelperTest

Change-Id: Iea1a46466846ef99d51316dcbb294bfe0cf33653

5 years agoSpecify status results for RollbackManager.commitRollback.
Richard Uhler [Mon, 28 Jan 2019 17:33:48 +0000 (17:33 +0000)]
Specify status results for RollbackManager.commitRollback.

Rather than implicitly reusing the PackageInstaller status codes.

Bug: 112431924
Test: atest RollbackTest
Change-Id: I86929c0c1a5153c7f58e255e104b30fe96ddeca8

5 years agoLog notification location when a notification action is clicked.
Gustav Sennton [Mon, 28 Jan 2019 21:09:54 +0000 (21:09 +0000)]
Log notification location when a notification action is clicked.

Bug: 120767764
Test: press a smart action from notification shade, and one from a
heads-up notification to ensure the correct notification locations are
logged.
Change-Id: I2fb10bec9c0c1da0807581a0337f8f6b1adc620e

5 years agoMerge "Add a way to record causePackages for rollbacks."
TreeHugger Robot [Tue, 29 Jan 2019 13:17:22 +0000 (13:17 +0000)]
Merge "Add a way to record causePackages for rollbacks."

5 years agoMerge "Revert "Extract network observer code from NetworkManagementService.""
TreeHugger Robot [Tue, 29 Jan 2019 13:08:35 +0000 (13:08 +0000)]
Merge "Revert "Extract network observer code from NetworkManagementService.""

5 years agoMerge "Foldables: Add IDisplayFoldListener"
TreeHugger Robot [Tue, 29 Jan 2019 12:38:10 +0000 (12:38 +0000)]
Merge "Foldables: Add IDisplayFoldListener"

5 years agoInitialise hidden api usage logger pre-fork
Andrei Onea [Fri, 25 Jan 2019 16:29:44 +0000 (16:29 +0000)]
Initialise hidden api usage logger pre-fork

Change-Id: I80f82092ef779a7dc1f1322cb7c05ebf5e59939b
Topic: hidden-api-reporting-upcall
Test: m
Bug: 119217680

5 years agoMerge "Move FdEventsReader to the shared area." am: 4a838a68d6 am: 06318332ef
Chalard Jean [Tue, 29 Jan 2019 12:34:56 +0000 (04:34 -0800)]
Merge "Move FdEventsReader to the shared area." am: 4a838a68d6 am: 06318332ef
am: 04c1e6533b

Change-Id: I6f08c2a2fb43ca34297a1e3289fca9da7cfe7213

5 years agoMerge "[DO NOT MERGE]Add check for slot index value" into pi-dev
Andy Chou [Tue, 29 Jan 2019 12:28:47 +0000 (12:28 +0000)]
Merge "[DO NOT MERGE]Add check for slot index value" into pi-dev

5 years agoMerge "Move FdEventsReader to the shared area." am: 4a838a68d6
Chalard Jean [Tue, 29 Jan 2019 12:20:52 +0000 (04:20 -0800)]
Merge "Move FdEventsReader to the shared area." am: 4a838a68d6
am: 06318332ef

Change-Id: I0f4418b73b455f9b37ae8f5b2ca1a19884c51ff9

5 years agoUpdate the notification_assistant DeviceConfig namespace.
Gustav Sennton [Wed, 23 Jan 2019 18:15:39 +0000 (18:15 +0000)]
Update the notification_assistant DeviceConfig namespace.

To adhere to new API guidelines we here update the
notification_assistant namespace in DeviceConfig.

Bug: 120792826
Test: make ExtServices
    && adb install -r $OUT/system/priv-app/ExtServices/ExtServices.apk
    && atest ExtServicesUnitTests
Change-Id: I85f714931c28c7a35c64b1394992afcd7aa68490

5 years agoMerge "Run IpClientLinkObserver on Binder thread" am: f89a1cfd21 am: d91372e4cb
Remi NGUYEN VAN [Tue, 29 Jan 2019 12:14:30 +0000 (04:14 -0800)]
Merge "Run IpClientLinkObserver on Binder thread" am: f89a1cfd21 am: d91372e4cb
am: 8a308349e3

Change-Id: I099d14301ab5f92ff21741059d4213ea1b639ce7

5 years agoMerge "Move FdEventsReader to the shared area."
Chalard Jean [Tue, 29 Jan 2019 12:11:44 +0000 (04:11 -0800)]
Merge "Move FdEventsReader to the shared area."
am: 4a838a68d6

Change-Id: I27ecc795228c7bd91c8443a9ba3dad19d8010cf8

5 years agoMerge "Add utils connect, setsockopt, bind, sendTo" am: 1e002eede3 am: dfa16fe772
Remi NGUYEN VAN [Tue, 29 Jan 2019 11:53:19 +0000 (03:53 -0800)]
Merge "Add utils connect, setsockopt, bind, sendTo" am: 1e002eede3 am: dfa16fe772
am: 031e0aa44e

Change-Id: I7a1f7071d7b13b5e92fdf1af1686abdd8ceea3d6

5 years agoAdd microphone pemrission on default to content catprue service package
Nadav Bar [Thu, 10 Jan 2019 08:52:11 +0000 (10:52 +0200)]
Add microphone pemrission on default to content catprue service package

This is required for capturing playback audio for Tap2Captions. (Live
Captions).
Read the content capture service package name from the content capture
service name defined in the resources.

Change-Id: I6190e1eddf67a9f1d3d3718f61b22a0f235a05e9
Bug: 120408493
Test: manually that actions services has the permissions granted.

5 years agoMerge "Move FdEventsReader to the shared area."
Treehugger Robot [Tue, 29 Jan 2019 11:45:15 +0000 (11:45 +0000)]
Merge "Move FdEventsReader to the shared area."

5 years agoMerge "Run IpClientLinkObserver on Binder thread" am: f89a1cfd21
Remi NGUYEN VAN [Tue, 29 Jan 2019 11:45:10 +0000 (03:45 -0800)]
Merge "Run IpClientLinkObserver on Binder thread" am: f89a1cfd21
am: d91372e4cb

Change-Id: Icd4bd866a14f3da2e74049fa8cda44bcbd5728f3

5 years agoMerge "Add NetworkUtils utilities to SystemApi" am: 9cc31061fe am: ca1d65e707
Remi NGUYEN VAN [Tue, 29 Jan 2019 11:39:27 +0000 (03:39 -0800)]
Merge "Add NetworkUtils utilities to SystemApi" am: 9cc31061fe am: ca1d65e707
am: 08747c5ccb

Change-Id: Ib755bbfc5bb6bff4ada3995b70dfe8fc2d40b4f9

5 years agoMerge "Add utils connect, setsockopt, bind, sendTo" am: 1e002eede3
Remi NGUYEN VAN [Tue, 29 Jan 2019 11:34:23 +0000 (03:34 -0800)]
Merge "Add utils connect, setsockopt, bind, sendTo" am: 1e002eede3
am: dfa16fe772

Change-Id: Ib5ebe3134fb1d53581b9d91b4f4f142afb5e9fb3

5 years agoMerge "Add NetworkUtils utilities to SystemApi" am: 9cc31061fe
Remi NGUYEN VAN [Tue, 29 Jan 2019 11:29:01 +0000 (03:29 -0800)]
Merge "Add NetworkUtils utilities to SystemApi" am: 9cc31061fe
am: ca1d65e707

Change-Id: I978bdb626c1f4c8bbe736c8bad1c74fb6a67b4b5

5 years agoMerge "Run IpClientLinkObserver on Binder thread"
Remi NGUYEN VAN [Tue, 29 Jan 2019 11:25:26 +0000 (03:25 -0800)]
Merge "Run IpClientLinkObserver on Binder thread"
am: f89a1cfd21

Change-Id: I13c2a2c9c03c26777eb9c57e0ec62eab3d2df7da

5 years agoMerge "Add utils connect, setsockopt, bind, sendTo"
Remi NGUYEN VAN [Tue, 29 Jan 2019 11:21:22 +0000 (03:21 -0800)]
Merge "Add utils connect, setsockopt, bind, sendTo"
am: 1e002eede3

Change-Id: Ida2a99f35affe3cb9213f71ba622ace51c4d6f57

5 years agoMerge "Add NetworkUtils utilities to SystemApi"
Remi NGUYEN VAN [Tue, 29 Jan 2019 11:17:41 +0000 (03:17 -0800)]
Merge "Add NetworkUtils utilities to SystemApi"
am: 9cc31061fe

Change-Id: I82f20718d86b08cd0916ee33300ca0ee734305a6

5 years agoMerge "Run IpClientLinkObserver on Binder thread"
Remi NGUYEN VAN [Tue, 29 Jan 2019 11:07:42 +0000 (11:07 +0000)]
Merge "Run IpClientLinkObserver on Binder thread"

5 years agoMerge "Add utils connect, setsockopt, bind, sendTo"
Remi NGUYEN VAN [Tue, 29 Jan 2019 11:07:20 +0000 (11:07 +0000)]
Merge "Add utils connect, setsockopt, bind, sendTo"

5 years agoMerge "Add NetworkUtils utilities to SystemApi"
Remi NGUYEN VAN [Tue, 29 Jan 2019 11:07:04 +0000 (11:07 +0000)]
Merge "Add NetworkUtils utilities to SystemApi"