OSDN Git Service

android-x86/frameworks-base.git
5 years agoTurn on TimeController job skipping by default.
Kweku Adams [Mon, 28 Jan 2019 23:42:09 +0000 (15:42 -0800)]
Turn on TimeController job skipping by default.

There was a bug in JobStatus.wouldBeReadyWithConnectivity where
precomputed booleans weren't reconsidered when appropriate. This
affected implicit constraints but most directly affected queries
for the DEADLINE, which would then incorrectly return false when
it could have returned true.

Bug: 123539027
Test: atest com.android.server.job.controllers.JobStatusTest
Test: atest TimingConstraintsTest
Change-Id: Iee6c4e507c25a2ada39dbbcb8e5cc12dc9cf64c2

5 years agoMerge "Revert "Add android.hardware.fingerprint for pre-Q""
TreeHugger Robot [Tue, 29 Jan 2019 22:23:21 +0000 (22:23 +0000)]
Merge "Revert "Add android.hardware.fingerprint for pre-Q""

5 years agoMerge "FEATURE_FINGERPRINT is back to android.hardware.fingerprint"
TreeHugger Robot [Tue, 29 Jan 2019 22:23:21 +0000 (22:23 +0000)]
Merge "FEATURE_FINGERPRINT is back to android.hardware.fingerprint"

5 years agoMerge "Add FontNotoSerifSourceOverlay to AOSP."
TreeHugger Robot [Tue, 29 Jan 2019 22:21:30 +0000 (22:21 +0000)]
Merge "Add FontNotoSerifSourceOverlay to AOSP."

5 years agoMerge "Adds shadows and a default background color to Bubbles."
Josh Tsuji [Tue, 29 Jan 2019 22:20:16 +0000 (22:20 +0000)]
Merge "Adds shadows and a default background color to Bubbles."

5 years agoMerge "Merge "Whitelist packages from VPN lockdown: DPM API." into pi-dev-plus-aosp...
Android Build Merger (Role) [Tue, 29 Jan 2019 22:14:24 +0000 (22:14 +0000)]
Merge "Merge "Whitelist packages from VPN lockdown: DPM API." into pi-dev-plus-aosp am: 299f825678"

5 years agoMerge "Whitelist packages from VPN lockdown: DPM API." into pi-dev-plus-aosp
Pavel Grafov [Tue, 29 Jan 2019 22:13:19 +0000 (14:13 -0800)]
Merge "Whitelist packages from VPN lockdown: DPM API." into pi-dev-plus-aosp
am: 299f825678

Change-Id: I3deb4a865e109e2b2e67dc7d8ffc775747f34303

5 years agoMerge "Fixed ContentCaptureManager.getServiceComponentName()"
TreeHugger Robot [Tue, 29 Jan 2019 22:10:36 +0000 (22:10 +0000)]
Merge "Fixed ContentCaptureManager.getServiceComponentName()"

5 years agoMerge "Add all the needed touch listeners and gesture detectors to allow for car"
TreeHugger Robot [Tue, 29 Jan 2019 22:04:43 +0000 (22:04 +0000)]
Merge "Add all the needed touch listeners and gesture detectors to allow for car"

5 years agoMerge "Update IntentFactory to construct intents using RemoteActionTemplate... object...
TreeHugger Robot [Tue, 29 Jan 2019 22:03:03 +0000 (22:03 +0000)]
Merge "Update IntentFactory to construct intents using RemoteActionTemplate... objects that are returned by the model"

5 years agoMerge "[WPA] Add metrics to track WPA3 and OWE"
TreeHugger Robot [Tue, 29 Jan 2019 21:59:11 +0000 (21:59 +0000)]
Merge "[WPA] Add metrics to track WPA3 and OWE"

5 years agoMerge "New device config to enable location perm re-up"
Philip P. Moltmann [Tue, 29 Jan 2019 21:55:12 +0000 (21:55 +0000)]
Merge "New device config to enable location perm re-up"

5 years agoMerge "Protect against null channel"
TreeHugger Robot [Tue, 29 Jan 2019 21:48:51 +0000 (21:48 +0000)]
Merge "Protect against null channel"

5 years agoMerge "Whitelist packages from VPN lockdown: DPM API." into pi-dev-plus-aosp
TreeHugger Robot [Tue, 29 Jan 2019 21:44:13 +0000 (21:44 +0000)]
Merge "Whitelist packages from VPN lockdown: DPM API." into pi-dev-plus-aosp

5 years agoMerge "Don't crash system with exception from onServiceChanged"
TreeHugger Robot [Tue, 29 Jan 2019 21:39:09 +0000 (21:39 +0000)]
Merge "Don't crash system with exception from onServiceChanged"

5 years agoMerge "Run inspector annotation processor on framework"
Ashley Rose [Tue, 29 Jan 2019 21:26:03 +0000 (21:26 +0000)]
Merge "Run inspector annotation processor on framework"

5 years agoMerge "Remove unused systemui resources."
TreeHugger Robot [Tue, 29 Jan 2019 21:23:06 +0000 (21:23 +0000)]
Merge "Remove unused systemui resources."

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 agoProtect against null channel
Mady Mellor [Tue, 29 Jan 2019 19:11:56 +0000 (11:11 -0800)]
Protect against null channel

Add a test with notif with no channel..

Test: atest BubbleControllerTest
Bug: 123540415
Change-Id: I7617d314bff340b58bab199c9e69e084591933c0

5 years agoWhitelist packages from VPN lockdown: DPM API.
Pavel Grafov [Fri, 25 Jan 2019 08:50:06 +0000 (08:50 +0000)]
Whitelist packages from VPN lockdown: DPM API.

Bug: 77468593
Test: atest MixedDeviceOwnerTest#testAlwaysOnVpn
Test: atest MixedDeviceOwnerTest#testAlwaysOnVpnAcrossReboot
Change-Id: I7508070f828fb7150df5d9e34846535d57c6a7c3

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 agoAdd all the needed touch listeners and gesture detectors to allow for car
Brad Stenning [Tue, 29 Jan 2019 19:24:11 +0000 (11:24 -0800)]
Add all the needed touch listeners and gesture detectors to allow for car

Test: on car product build

Change-Id: Icc44cae87033383535d6a0ab13203afb14cf83e0
(cherry picked from commit 3f55c3502e120bacea38162ccbff94e462b009ed)

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 agoRun inspector annotation processor on framework
Ashley Rose [Tue, 29 Jan 2019 00:54:09 +0000 (19:54 -0500)]
Run inspector annotation processor on framework

Test: m
Bug: 117616612
Change-Id: Ifb013cf576e57818493a52aefec9729ecca4ac08

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 agoAdds shadows and a default background color to Bubbles.
Joshua Tsuji [Mon, 28 Jan 2019 18:28:21 +0000 (13:28 -0500)]
Adds shadows and a default background color to Bubbles.

This makes the aliasing issues with clip path more apparent, but not inherently worse. We'll fix those issues in a subsequent CL, I just want to add this change now because transparent bubbles with no shadows are complicating stack-position debugging!

Test: manual
Bug: 123521453
Change-Id: I06a925ba6db64e92640146b9642396303b098f99

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 agoAdd FontNotoSerifSourceOverlay to AOSP.
Amin Shaikh [Tue, 29 Jan 2019 15:52:49 +0000 (10:52 -0500)]
Add FontNotoSerifSourceOverlay to AOSP.

Add serif-bold alias in fonts.xml

Bug: 123570171
Test: make
Change-Id: If591de85bfe5d55776b9b660d034204e0d5877bb

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 agoDon't crash system with exception from onServiceChanged
Makoto Onuki [Tue, 29 Jan 2019 17:39:01 +0000 (09:39 -0800)]
Don't crash system with exception from onServiceChanged

Change-Id: I6d66eb8388838da5aed50283f169c95ab5d7bf4e
Fix: 118839305
Test: boot, code inspection

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 agoRemove unused systemui resources.
Amin Shaikh [Fri, 25 Jan 2019 22:08:52 +0000 (17:08 -0500)]
Remove unused systemui resources.

Bug: 122263617
Test: mp sysuig
Change-Id: If4681826ebe87ab193f96d90720b174a32efadca

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