OSDN Git Service
Andrew Chant [Thu, 18 Apr 2019 23:14:57 +0000 (23:14 +0000)]
Merge "Fix crash." into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 23:07:32 +0000 (23:07 +0000)]
Merge "Make RemoteService propagate Context#bindService failure to PendingRequests" into qt-dev
Brad Ebinger [Thu, 18 Apr 2019 21:39:33 +0000 (21:39 +0000)]
Merge "Modify docs to reflect operational changes in overrideConfig" into qt-dev
Nader Jawad [Thu, 18 Apr 2019 21:18:32 +0000 (21:18 +0000)]
Merge "Added BlendMode equivalent APIs to replace deprecated PorterDuff variants" into qt-dev
Lucas Dupin [Thu, 18 Apr 2019 21:00:31 +0000 (21:00 +0000)]
Merge "Fix dark mode NPE" into qt-dev
Joel Galenson [Thu, 18 Apr 2019 20:30:45 +0000 (13:30 -0700)]
Fix crash.
Fix a SysUI NullPointerException.
Bug:
130821357
Test: atest BubbleControllerTest KeyButtonViewTest
Change-Id: I56923480bd2c3441cd9328e52b4b5bd35d676dc2
Brad Ebinger [Wed, 17 Apr 2019 22:27:13 +0000 (15:27 -0700)]
Modify docs to reflect operational changes in overrideConfig
Bug:
130372397
Test: Manual
Merged-In: Iff2a6e2cf867ab2e8677ac67f31d87e0365ec9fa
Change-Id: Iff2a6e2cf867ab2e8677ac67f31d87e0365ec9fa
(cherry picked from commit
ddad44d41a32c7fbad33745c4542ce2931d627f4)
TreeHugger Robot [Thu, 18 Apr 2019 19:58:25 +0000 (19:58 +0000)]
Merge "Add @TestApi to StatusBarManager @SystemApi methods" into qt-dev
Cody Northrop [Thu, 18 Apr 2019 19:47:07 +0000 (19:47 +0000)]
Merge "GraphicsEnvironment: Expose query to determine ANGLE use" into qt-dev
Irina Dumitrescu [Thu, 18 Apr 2019 19:25:14 +0000 (19:25 +0000)]
Merge "Don't call ConnectivityService when holding ActivityManagerService lock." into qt-dev
Felipe Leme [Thu, 18 Apr 2019 19:06:04 +0000 (19:06 +0000)]
Merge "Remove ContentCaptureServerSession when app died." into qt-dev
Ryan Mitchell [Thu, 18 Apr 2019 19:04:40 +0000 (19:04 +0000)]
Merge "Add build number to aapt2 version" into qt-dev
Lucas Dupin [Thu, 18 Apr 2019 18:56:28 +0000 (11:56 -0700)]
Fix dark mode NPE
Fixes:
130812424
Test: toggle dark mode via tile after rebooting and dimssing power menu
Change-Id: I230c843f3246661286e2b4f56540da58fe8b0a3c
Dmitry Dementyev [Thu, 18 Apr 2019 18:50:56 +0000 (18:50 +0000)]
Merge "Use checkOp instead of noteOp in AccountManagerService." into qt-dev
Lucas Dupin [Thu, 18 Apr 2019 18:49:12 +0000 (18:49 +0000)]
Merge "Move dark theme tile to the right" into qt-dev
Hall Liu [Thu, 18 Apr 2019 18:24:53 +0000 (18:24 +0000)]
Merge "Change ServiceState and TelephonyRegistry logging" into qt-dev
Mady Mellor [Thu, 18 Apr 2019 18:21:22 +0000 (18:21 +0000)]
Merge "Fix back presses dismissing bubbles when IME is up" into qt-dev
Govinda Wasserman [Thu, 18 Apr 2019 18:17:15 +0000 (18:17 +0000)]
Merge "Adds timestamp to Assistant invocation bundles." into qt-dev
Tarandeep Singh [Thu, 18 Apr 2019 18:04:05 +0000 (18:04 +0000)]
Merge "Fix: Allow system IME to be disabled when another IME is available" into qt-dev
Lucas Dupin [Thu, 18 Apr 2019 17:28:38 +0000 (17:28 +0000)]
Merge "Indicate that a TrustAgent kept the phone unlocked" into qt-dev
Winson Chung [Thu, 18 Apr 2019 17:14:04 +0000 (17:14 +0000)]
Merge "Add ability to dump specific dependency controller" into qt-dev
Winson Chung [Wed, 17 Apr 2019 22:42:40 +0000 (15:42 -0700)]
Add ability to dump specific dependency controller
Bug:
130804868
Test: adb shell dumpsys activity service SystemUIService Dependency OverviewProxyService
Change-Id: Ie88f62d0d0b17ded6f8ff5d3d850f1f444eed444
Jiuyu Sun [Thu, 18 Apr 2019 17:05:18 +0000 (17:05 +0000)]
Merge "Add EuiccManager#EXTRA_PHYSICAL_SLOT_ID to detect it's an operation for pSIM." into qt-dev
Lucas Dupin [Thu, 18 Apr 2019 16:21:15 +0000 (09:21 -0700)]
Move dark theme tile to the right
Test: visual
Bug:
130253100
Change-Id: I833fbd13624b93c5b2318b19a30a270941d9bcae
TreeHugger Robot [Thu, 18 Apr 2019 15:48:26 +0000 (15:48 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 15:40:25 +0000 (15:40 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
Varun Shah [Thu, 18 Apr 2019 15:31:48 +0000 (15:31 +0000)]
Merge "Add logs to identify screen state change callback in ATMS." into qt-dev
Jeff Sharkey [Thu, 18 Apr 2019 15:30:32 +0000 (15:30 +0000)]
Merge "Start bringing back legacy storage tests." into qt-dev
Tim Murray [Thu, 18 Apr 2019 15:18:48 +0000 (15:18 +0000)]
Merge "DO NOT MERGE: disable iorap in q" into qt-dev
Lorenzo Colitti [Thu, 18 Apr 2019 15:06:34 +0000 (15:06 +0000)]
Merge "Change the validation URL for Chinese SIMs" into qt-dev
Jack Yu [Thu, 18 Apr 2019 14:34:28 +0000 (14:34 +0000)]
Merge "Update Multi-OffHost related API definition" into qt-dev
Remi NGUYEN VAN [Fri, 12 Apr 2019 12:54:46 +0000 (05:54 -0700)]
Change the validation URL for Chinese SIMs
The default HTTPS and fallback validation URLs are not accessible from
China, so users in China never get a validated network on WiFi with the
default AOSP settings. OEMs selling devices targeting China typically
change the check URLs for that reason.
When the device uses a Chinese SIM card, change the default validation
URLs to URLs accessible accessible from China as of now.
Test: inserted China SIM, WiFi off/on, dumpsys network_stack shows new
URL used
Bug:
111819230
Change-Id: Ib7f41f470ef1a9c7712f2477ebfab44e915cf1b9
Merged-In: Ib7f41f470ef1a9c7712f2477ebfab44e915cf1b9
(cherry picked from commit
990ea84d2d60256d8c752a4a582de0f5a28932c9)
Jack Yu [Thu, 18 Apr 2019 12:42:12 +0000 (12:42 +0000)]
Merge "Return copies for get methods" into qt-dev
Irina Dumitrescu [Mon, 15 Apr 2019 18:20:38 +0000 (19:20 +0100)]
Don't call ConnectivityService when holding ActivityManagerService lock.
Exclude system server thread from the threads on which we call updateHttpProxy() from the Activity Manager.
Test: atest HostsideVpnTests
Bug:
128465980
Change-Id: Ia2b2c6de8a01a264bfb09393144641d91ee2c164
TreeHugger Robot [Thu, 18 Apr 2019 11:17:43 +0000 (11:17 +0000)]
Merge "Ensure Contrast: Address API feedback" into qt-dev
Michal Karpinski [Thu, 18 Apr 2019 09:31:32 +0000 (09:31 +0000)]
Merge "Make sure Notification#deleteIntent cannot be used to start activities from background" into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 09:25:51 +0000 (09:25 +0000)]
Merge "Organize intelligence counters together" into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 09:07:43 +0000 (09:07 +0000)]
Merge "WifiMetrics: add histogram of passpoint provisioning" into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 06:53:48 +0000 (06:53 +0000)]
Merge "Add ability to center a notification icon" into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 05:44:25 +0000 (05:44 +0000)]
Merge "Remove car mode dialer and call companion roles." into qt-dev
Remi NGUYEN VAN [Thu, 18 Apr 2019 05:36:34 +0000 (05:36 +0000)]
Merge "Add overlayable tag for NetworkStackConfig" into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 04:45:43 +0000 (04:45 +0000)]
Merge "Roll forward "Make notification effects for automotive configurable."" into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 04:35:43 +0000 (04:35 +0000)]
Merge "DO NOT MERGE: Fix a few issues with foreground service location accesses." into qt-dev
Jeff Sharkey [Thu, 18 Apr 2019 03:45:01 +0000 (03:45 +0000)]
Merge "Canonicalize default ringtones." into qt-dev
Jeff Sharkey [Thu, 18 Apr 2019 03:39:26 +0000 (03:39 +0000)]
Merge "Remove GROUP_ID; not actively being used by apps." into qt-dev
Jeff Sharkey [Thu, 18 Apr 2019 03:30:47 +0000 (21:30 -0600)]
Start bringing back legacy storage tests.
When APKs ask for the legacy storage world, we need the old tests to
verify they get the access they've been granted. (For example, an
app only granted READ_EXTERNAL_STORAGE, etc.)
Bug:
130619210,
130566083
Test: atest android.appsecurity.cts.ExternalStorageHostTest
Change-Id: I943a7ea7ed6cb6728ec3bceb16edf1b2a7ad9b36
TreeHugger Robot [Thu, 18 Apr 2019 03:27:45 +0000 (03:27 +0000)]
Merge "API feedback: getSuppressNotification -> isNotificationSuppressed" into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 03:24:14 +0000 (03:24 +0000)]
Merge "Fix process name for sw codec process" into qt-dev
Shawn Lin [Thu, 18 Apr 2019 03:04:28 +0000 (03:04 +0000)]
Merge "Fixed notification background shifted in landscape" into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 02:28:43 +0000 (02:28 +0000)]
Merge "Add smart space to custom clock faces." into qt-dev
Peiyong Lin [Thu, 18 Apr 2019 02:16:57 +0000 (02:16 +0000)]
Merge "Make sure the color space range is checked properly." into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 01:39:51 +0000 (01:39 +0000)]
Merge "Add odm and oem policies" into qt-dev
Lucas Dupin [Thu, 18 Apr 2019 01:30:00 +0000 (18:30 -0700)]
Indicate that a TrustAgent kept the phone unlocked
Fixes:
130326679
Test: manual with SmartLock
Change-Id: Ic5bb8608313498f2608890eac5c226db06c20ac7
Tim Murray [Wed, 10 Apr 2019 22:48:37 +0000 (15:48 -0700)]
DO NOT MERGE: disable iorap in q
iorap is not shipping in Q.
Test: boots, works
bug
72170747
Change-Id: Iabc63f880df24781fa9c6e0f4532a8f37c8d89d5
TreeHugger Robot [Thu, 18 Apr 2019 01:08:21 +0000 (01:08 +0000)]
Merge "MediaSession2Service: Log ControllerInfo in connection process" into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 00:52:52 +0000 (00:52 +0000)]
Merge "Update atoms with the final API constants" into qt-dev
Selim Cinek [Thu, 18 Apr 2019 00:42:54 +0000 (00:42 +0000)]
Merge "Implemented dynamic privacy for redacted lockscreens" into qt-dev
Selim Cinek [Thu, 18 Apr 2019 00:23:01 +0000 (00:23 +0000)]
Merge "Removed unnecessary inflation executor logic" into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 00:02:21 +0000 (00:02 +0000)]
Merge "Fix refactoring glitch in KeyStore.java" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 23:50:43 +0000 (23:50 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
Jeff Sharkey [Wed, 17 Apr 2019 16:39:42 +0000 (10:39 -0600)]
Canonicalize default ringtones.
Bug:
130445562
Test: atest --test-mapping packages/providers/MediaProvider
Change-Id: Ia4dee2f5596147ac50b2393fccb8516cc43b0102
TreeHugger Robot [Wed, 17 Apr 2019 23:39:41 +0000 (23:39 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 23:23:29 +0000 (23:23 +0000)]
Merge "Camera: Clarify multi-camera RAW and FOV behaviors" into qt-dev
Tarandeep Singh [Wed, 17 Apr 2019 22:31:51 +0000 (15:31 -0700)]
Fix: Allow system IME to be disabled when another IME is available
In P, pre-installed system IME could be disabled if an ASCII non-aux IME
was available. With I1352bf42dcb9219a370a16a381ea39c43c57637a,
system-IMEs could no longer be disabled. This was unintentional as the
method name isValidSystemNonAuxAsciiCapableIme was incorrect and it
wasn't checking isSystem() earlier.
This change renames it to isValidNonAuxAsciiCapableIme and removes the
system check in order to revert to original P behavior.
Change-Id: If40de88ca0536a4446135047b6ccab64681675ec
Fix:
124536147
Test: atest InputMethodPreferenceTest
Test: atest InputMethodAndSubtypeUtilTest
Test: Manually verified using steps in bug.
Bill Yi [Wed, 17 Apr 2019 23:19:49 +0000 (16:19 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I4210f70423d97a8a3d8749056c94234e6376690b
Bill Yi [Wed, 17 Apr 2019 23:11:17 +0000 (16:11 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I5178ff720b051bf5c6804015ed8d360dfb28550e
Ryan Mitchell [Wed, 10 Apr 2019 00:13:50 +0000 (17:13 -0700)]
Add odm and oem policies
This change adds parsing, encoding, and validating of odm and oem
overlayable policies to aapt2, libandroidfw, and idmap2.
Bug:
121033532
Test: aapt2_tests, idmap2_tests
Change-Id: Ifc0d4b6c9f9c37e06b2988abade69dbb277c50c2
Hall Liu [Wed, 17 Apr 2019 20:33:43 +0000 (13:33 -0700)]
Change ServiceState and TelephonyRegistry logging
When an app bypasses a location access check due to its target SDK for
queries to ServiceState or when we're pushing out info through
TelephonyRegistry, log it as info instead of error to avoid spamming the
logs too much.
Fixes:
130668054
Test: manual
Change-Id: Ia490f2de2f0b5d326e5290e166e6f97b25e6e187
Peiyong Lin [Tue, 16 Apr 2019 21:04:43 +0000 (14:04 -0700)]
Make sure the color space range is checked properly.
We only want to accept pre-defined color space,without the check it's possible
that the color space is not pre-defined and thus can't be restored.
BUG: b/
116112787, b/
130737691
Test: build
Change-Id: Ic1d21501828d3edc5ad04534fece70a7146e78bd
Hongwei Wang [Wed, 17 Apr 2019 22:22:36 +0000 (22:22 +0000)]
Merge "Allows constructing ECHO REFERENCE AudioRecord" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 22:16:24 +0000 (22:16 +0000)]
Merge "Revert "Add android.settings.ACTION_APP_BATTERY_SETTINGS to public API"" into qt-dev
Paul Scovanner [Wed, 17 Apr 2019 22:08:54 +0000 (22:08 +0000)]
Merge "Revert "Pretend to be having the original background"" into qt-dev
Sudheer Shanka [Wed, 17 Apr 2019 22:07:47 +0000 (22:07 +0000)]
Merge "Allow sandboxed apps to access only package specific dirs." into qt-dev
Paul Scovanner [Wed, 17 Apr 2019 16:40:38 +0000 (16:40 +0000)]
Revert "Pretend to be having the original background"
This reverts commit
1ab06de89fa897919e531c3ce2609ce24ef79100.
Bug: b/
130586696
Reason for revert: b/
130586696 This change causes a major breakage in Maps and blocks droidfood.
Change-Id: I50cde4865f48825b82f27087b8cac6e6527d6d95
TreeHugger Robot [Wed, 17 Apr 2019 21:29:25 +0000 (21:29 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 21:20:23 +0000 (21:20 +0000)]
Merge "ThermalManagerServiceTest: change to new callback behavior" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 21:15:22 +0000 (21:15 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 21:15:13 +0000 (21:15 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
Nader Jawad [Mon, 15 Apr 2019 04:58:04 +0000 (21:58 -0700)]
Added BlendMode equivalent APIs to replace deprecated PorterDuff
variants
Updated various framework Views to have equivalent BlendMode APIs
to replace the deprecated PorterDuff equivalents.
Updated InspectableProperty annotations to refer to the same
xml attributes as the original tintmode APIs
Bug:
126726419
Test: Added CTS tests to verify new BlendMode APIs
Change-Id: Id9ab36d3d4d29f351250723e9d13d49bc6062c83
Merged-In: Id9ab36d3d4d29f351250723e9d13d49bc6062c83
Janis Danisevskis [Wed, 17 Apr 2019 21:06:09 +0000 (14:06 -0700)]
Fix refactoring glitch in KeyStore.java
Bug:
129974578
Test: atest android.keystore.cts
Change-Id: I3ba732e15e522bd31e7eb813677d3ea884328cb6
TreeHugger Robot [Wed, 17 Apr 2019 21:10:05 +0000 (21:10 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 21:10:02 +0000 (21:10 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 21:05:48 +0000 (21:05 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 21:04:32 +0000 (21:04 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
Bill Yi [Wed, 17 Apr 2019 21:02:09 +0000 (14:02 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I88f2588ab4330239de3174b349f9b08f97b3cfce
Holly Jiuyu Sun [Mon, 15 Apr 2019 21:04:12 +0000 (14:04 -0700)]
Add EuiccManager#EXTRA_PHYSICAL_SLOT_ID to detect it's an operation for pSIM.
Platform needs to pass LPA the pSIM slotId so that LPA knows it's a
toggle action on pSIM.
Bug:
123945155
Test: build
Change-Id: Ie0db50e8ade4c6ce385ebfbfe7cf9e2982d67e34
Merged-In: Ie0db50e8ade4c6ce385ebfbfe7cf9e2982d67e34
TreeHugger Robot [Wed, 17 Apr 2019 20:58:42 +0000 (20:58 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
Bill Yi [Wed, 17 Apr 2019 20:54:02 +0000 (13:54 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I588cea8878d88d6ac509a523e5e79aca0a80b7dd
Dmitry Dementyev [Mon, 15 Apr 2019 18:44:00 +0000 (11:44 -0700)]
Use checkOp instead of noteOp in AccountManagerService.
Keep using noteOp for GET_PASSWORD permission check.
Bug:
130567204
Test: manual
Change-Id: I49a6b6ac13ff791e05dd354e681a35a39198410d
Evan Laird [Wed, 17 Apr 2019 19:55:21 +0000 (15:55 -0400)]
Add @TestApi to StatusBarManager @SystemApi methods
Enables CTS testing
Test: APIs are in api/test-current
Bug:
130178313
Change-Id: Ie408bc4399cf64018903ef122b8db1e6a9fa9fb1
Alex Salo [Wed, 17 Apr 2019 20:33:49 +0000 (13:33 -0700)]
Update atoms with the final API constants
Bug:
122960476
Test: manually
Change-Id: Ie80e4e797554d3f4c351e352ce4bc5da9994a9f6
Michael Wright [Wed, 17 Apr 2019 20:30:16 +0000 (20:30 +0000)]
Revert "Add android.settings.ACTION_APP_BATTERY_SETTINGS to public API"
This reverts commit
c56847700434eb402c252b2fd9cc6eae7b1855dc.
Reason for revert: API concerns.
Bug:
129901520
Change-Id: I658de3933353ac93b13ce1f6f6616fd653663152
TreeHugger Robot [Wed, 17 Apr 2019 20:30:30 +0000 (20:30 +0000)]
Merge "Treat FLAG_MUTE_HAPTIC separately from mFlags." into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 20:28:20 +0000 (20:28 +0000)]
Merge "Add unit tests for AttentionManagerService. Make sure it won't crash when OnSwitchUser() is invoked while the bound service is null." into qt-dev
Selim Cinek [Wed, 10 Apr 2019 01:40:12 +0000 (18:40 -0700)]
Implemented dynamic privacy for redacted lockscreens
Users with redacted lock screens now dynamically are able
to see the contents of their notifications whenever
they are authenticated.
Bug:
128037042
Test: atest SystemUITests
Change-Id: If289a8a9ddb300e1398f9e715511beb5a5fd5c5d
Josh Tsuji [Wed, 17 Apr 2019 19:46:16 +0000 (19:46 +0000)]
Merge "Reposition the stack to a similar position upon rotation." into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 19:40:08 +0000 (19:40 +0000)]
Merge "Unhardcoded Augmented Autofill debug constants." into qt-dev
Adrian Roos [Wed, 17 Apr 2019 09:35:22 +0000 (11:35 +0200)]
Ensure Contrast: Address API feedback
Fixes:
130647853
Test: make checkapi
Test: atest EnsureBarContrastTest NavigationBarColorTest
Change-Id: Iafbdce8476134df56ea5d15155391b10afc9ce94
Jeff Sharkey [Wed, 17 Apr 2019 19:34:44 +0000 (13:34 -0600)]
Remove GROUP_ID; not actively being used by apps.
Bug:
130744218
Test: none
Change-Id: I2917b84ffcc698d3cbffe7dfbd49c76b21c46515
TreeHugger Robot [Wed, 17 Apr 2019 19:21:48 +0000 (19:21 +0000)]
Merge "Dump stacktrace of native process when timeout." into qt-dev