OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Make updatedMillis a private field"
Gavin Corkery [Mon, 1 Apr 2019 09:28:09 +0000 (09:28 +0000)]
Merge "Make updatedMillis a private field"

5 years agoMerge "Fix ApfCapabilities, LinkAddress, RouteInfo, IpPrefix API issues." am: f9d61f1...
Paul Hu [Mon, 1 Apr 2019 07:52:53 +0000 (00:52 -0700)]
Merge "Fix ApfCapabilities, LinkAddress, RouteInfo, IpPrefix API issues." am: f9d61f1c6d am: 96f34c3151
am: bf3e6f5e75

Change-Id: I599dcdb2312a3e1bb1de8e03f349df207c7cc075

5 years agoMerge "Fix ApfCapabilities, LinkAddress, RouteInfo, IpPrefix API issues." am: f9d61f1c6d
Paul Hu [Mon, 1 Apr 2019 07:43:33 +0000 (00:43 -0700)]
Merge "Fix ApfCapabilities, LinkAddress, RouteInfo, IpPrefix API issues." am: f9d61f1c6d
am: 96f34c3151

Change-Id: I171e667dd279e008708fbc84972f63cbd5b55625

5 years agoMerge "Fix ApfCapabilities, LinkAddress, RouteInfo, IpPrefix API issues."
Paul Hu [Mon, 1 Apr 2019 07:34:26 +0000 (00:34 -0700)]
Merge "Fix ApfCapabilities, LinkAddress, RouteInfo, IpPrefix API issues."
am: f9d61f1c6d

Change-Id: I8d848c559e1c1e021a72bf525876aad9bddb3374

5 years agoMerge "Fix ApfCapabilities, LinkAddress, RouteInfo, IpPrefix API issues."
Paul Hu [Mon, 1 Apr 2019 07:20:53 +0000 (07:20 +0000)]
Merge "Fix ApfCapabilities, LinkAddress, RouteInfo, IpPrefix API issues."

5 years agoMerge "Dumps bound and enabled services in a11yManagerService"
TreeHugger Robot [Mon, 1 Apr 2019 06:57:14 +0000 (06:57 +0000)]
Merge "Dumps bound and enabled services in a11yManagerService"

5 years agoMerge "Improve system gesture listener to handle display cutout"
Jeff Chang [Mon, 1 Apr 2019 06:15:07 +0000 (06:15 +0000)]
Merge "Improve system gesture listener to handle display cutout"

5 years agoMerge "Provide link to android experimental flags API" am: 9876efdabe am: a94479c120
Chiachang Wang [Mon, 1 Apr 2019 05:25:35 +0000 (22:25 -0700)]
Merge "Provide link to android experimental flags API" am: 9876efdabe am: a94479c120
am: 8724b66c2d

Change-Id: I4045d54066cf1c8270bb6eca030daf0193721723

5 years agoMerge "Provide link to android experimental flags API" am: 9876efdabe
Chiachang Wang [Mon, 1 Apr 2019 05:16:35 +0000 (22:16 -0700)]
Merge "Provide link to android experimental flags API" am: 9876efdabe
am: a94479c120

Change-Id: I3867a98978c3a80f9188590e235a67683e76f3a3

5 years agoMerge "Provide link to android experimental flags API"
Chiachang Wang [Mon, 1 Apr 2019 05:07:17 +0000 (22:07 -0700)]
Merge "Provide link to android experimental flags API"
am: 9876efdabe

Change-Id: I1c02f0725728c6cfe2d040071bcdb0bead71b510

5 years agoMerge "[automerger skipped] Merge "Move permissions from base to standard manifest...
Android Build Merger (Role) [Mon, 1 Apr 2019 04:58:05 +0000 (04:58 +0000)]
Merge "[automerger skipped] Merge "Move permissions from base to standard manifest" am: 95c5375a85 am: f076210032 am: ad7cdd2bd3 -s ours am skip reason: change_id Ica63ce586e701b1f2415a97f63ba27cc25e4830a with SHA1 d4cbba8f18 is in history"

5 years ago[automerger skipped] Merge "Move permissions from base to standard manifest" am:...
Remi NGUYEN VAN [Mon, 1 Apr 2019 04:57:39 +0000 (21:57 -0700)]
[automerger skipped] Merge "Move permissions from base to standard manifest" am: 95c5375a85 am: f076210032
am: ad7cdd2bd3 -s ours
am skip reason: change_id Ica63ce586e701b1f2415a97f63ba27cc25e4830a with SHA1 d4cbba8f18 is in history

Change-Id: I71e11fcb1f80f17fd873aea1c14263b7edc814d2

5 years agoMerge "Fix issue with slow status bar tint transition"
Winson Chung [Mon, 1 Apr 2019 04:54:45 +0000 (04:54 +0000)]
Merge "Fix issue with slow status bar tint transition"

5 years agoMerge "Provide link to android experimental flags API"
Chiachang Wang [Mon, 1 Apr 2019 04:49:33 +0000 (04:49 +0000)]
Merge "Provide link to android experimental flags API"

5 years agoMerge "Move permissions from base to standard manifest" am: 95c5375a85
Remi NGUYEN VAN [Mon, 1 Apr 2019 04:48:25 +0000 (21:48 -0700)]
Merge "Move permissions from base to standard manifest" am: 95c5375a85
am: f076210032

Change-Id: I022a4797ccd81d24dacd6b314305a43f299c86f3

5 years agoMerge "Move permissions from base to standard manifest"
Remi NGUYEN VAN [Mon, 1 Apr 2019 04:38:02 +0000 (21:38 -0700)]
Merge "Move permissions from base to standard manifest"
am: 95c5375a85

Change-Id: Ic15b12fd9656bb60aca616a8610df49e568a80e7

5 years agoMerge "Fix race when starting NetworkMonitor" am: 78454f3c46 am: f75ba075e4
Remi NGUYEN VAN [Mon, 1 Apr 2019 04:35:25 +0000 (21:35 -0700)]
Merge "Fix race when starting NetworkMonitor" am: 78454f3c46 am: f75ba075e4
am: 940cbf970a

Change-Id: I595ecdbf0b8e91fec4287c3476239a1e6c9c80a7

5 years agoMerge "Fix race when starting NetworkMonitor" am: 78454f3c46
Remi NGUYEN VAN [Mon, 1 Apr 2019 04:25:12 +0000 (21:25 -0700)]
Merge "Fix race when starting NetworkMonitor" am: 78454f3c46
am: f75ba075e4

Change-Id: I049ea18e6c5c42a1b31d93541aa3846b14b7ab08

5 years agoMerge "Move permissions from base to standard manifest"
Remi NGUYEN VAN [Mon, 1 Apr 2019 04:20:41 +0000 (04:20 +0000)]
Merge "Move permissions from base to standard manifest"

5 years agoMerge "Fix race when starting NetworkMonitor"
Remi NGUYEN VAN [Mon, 1 Apr 2019 04:13:48 +0000 (21:13 -0700)]
Merge "Fix race when starting NetworkMonitor"
am: 78454f3c46

Change-Id: I3fe792704b9dfaafe09c83da57081d6668216a97

5 years agoMerge "Fix race when starting NetworkMonitor"
Remi NGUYEN VAN [Mon, 1 Apr 2019 03:54:03 +0000 (03:54 +0000)]
Merge "Fix race when starting NetworkMonitor"

5 years agoMerge "Fix OverlayInfo API"
Hyunyoung Song [Mon, 1 Apr 2019 03:50:52 +0000 (03:50 +0000)]
Merge "Fix OverlayInfo API"

5 years agoMerge "Refine Bluetooth silence mode API" am: c650674397 am: 0196a831b1
Ugo Yu [Mon, 1 Apr 2019 03:44:42 +0000 (20:44 -0700)]
Merge "Refine Bluetooth silence mode API" am: c650674397 am: 0196a831b1
am: ae55a7a369

Change-Id: Ie5dfde6a063209acf61846438b6f507ef24f9716

5 years agoMerge "Refine Bluetooth silence mode API" am: c650674397
Ugo Yu [Mon, 1 Apr 2019 03:35:30 +0000 (20:35 -0700)]
Merge "Refine Bluetooth silence mode API" am: c650674397
am: 0196a831b1

Change-Id: I998be4f22bb76e8d3329a5c3d32b929421262e71

5 years agoMerge "Refine Bluetooth silence mode API"
Ugo Yu [Mon, 1 Apr 2019 03:26:18 +0000 (20:26 -0700)]
Merge "Refine Bluetooth silence mode API"
am: c650674397

Change-Id: Icd91568d8bc2897914cececec7743fe2800192eb

5 years agoMerge "Refine Bluetooth silence mode API"
Treehugger Robot [Mon, 1 Apr 2019 03:12:31 +0000 (03:12 +0000)]
Merge "Refine Bluetooth silence mode API"

5 years agoFix race when starting NetworkMonitor
Remi NGUYEN VAN [Wed, 27 Mar 2019 06:42:53 +0000 (15:42 +0900)]
Fix race when starting NetworkMonitor

NetworkMonitor obtained LinkProperties and NetworkCapabilities via
synchronous calls to ConnectivityManager after receiving an asynchronous
notification, which is prone to races: the network could be gone before
the LinkProperties/NetworkCapabilities can be fetched.

Fix the race by passing LinkProperties/NetworkCapabilities directly to
NetworkMonitor in the asynchronous notifications.

Test: atest FrameworksNetTests NetworkStackTests
Test: booted, WiFi works
Bug: 129375892
Change-Id: I200ac7ca6ff79590b11c9be705f650c92fd3cb63

5 years agoFix ApfCapabilities, LinkAddress, RouteInfo, IpPrefix API issues.
paulhu [Wed, 27 Mar 2019 14:26:37 +0000 (22:26 +0800)]
Fix ApfCapabilities, LinkAddress, RouteInfo, IpPrefix API issues.

Fix: 129362082
Fix: 129361362
Fix: 129360330
Fix: 129362379
Test: atest FrameworksNetTests NetworkStackTests
Change-Id: I05fbc6f98207d5cf002e3cbc5829040af7d6be52

5 years agoProvide link to android experimental flags API
Chiachang Wang [Mon, 1 Apr 2019 01:56:05 +0000 (09:56 +0800)]
Provide link to android experimental flags API

Add function to link to android experiemental flags API

Bug: 120013793
Test: Build and atest NetworkStackTests
Change-Id: I14b9a6f06f841a9d63e8c1954907447a9e7eb8a5

5 years agoMove permissions from base to standard manifest
Remi NGUYEN VAN [Fri, 29 Mar 2019 05:56:34 +0000 (14:56 +0900)]
Move permissions from base to standard manifest

Permissions defined in AndroidManifest_Base.xml would be inherited in
AndroidManifest_InProcess.xml and cause issues on svelte builds, since
privileged permissions are not whitelisted for
com.android.networkstack.inprocess.

The network stack running in the system_server process does not need
these permissions anyway since it has system_server permissions.

(clean cherry-pick from Ica63ce586e701b1f2415a97f63ba27cc25e4830a)

Test: flashed, booted crosshatch_svelte-eng, WiFi works
Test: flashed, booted blueline-eng, WiFi works
Fixes: 129485310
Merged-In: Ica63ce586e701b1f2415a97f63ba27cc25e4830a
Change-Id: Ib4b478fb39f43a2fd4221c7d1f1ea51de04e0fba

5 years agoMerge "DATA is deprecated, but some apps really want it."
Jeff Sharkey [Sun, 31 Mar 2019 22:59:45 +0000 (22:59 +0000)]
Merge "DATA is deprecated, but some apps really want it."

5 years agoMerge "Remove support for file:// items."
Jeff Sharkey [Sun, 31 Mar 2019 22:59:01 +0000 (22:59 +0000)]
Merge "Remove support for file:// items."

5 years agoMerge "Mute haptic channels by default."
TreeHugger Robot [Sun, 31 Mar 2019 22:52:58 +0000 (22:52 +0000)]
Merge "Mute haptic channels by default."

5 years agoDATA is deprecated, but some apps really want it.
Jeff Sharkey [Sun, 31 Mar 2019 18:02:28 +0000 (12:02 -0600)]
DATA is deprecated, but some apps really want it.

The DATA column points at raw filesystem locations, which aren't
always valid when an app is placed into a sandbox, so apps need to
move away from using them.

We had hoped to block this access based on an app targeting Q, but
we've received feedback that it's too painful for apps to transition,
so we'll continue returning paths that can be translated.

Also reduce CPU usage by skipping permission checks when not
processing an IPC, such as when called by ModernMediaScanner.

Bug: 128452447125725916
Test: atest --test-mapping packages/providers/MediaProvider
Change-Id: Ibd41d8ddedfaf9807333560b2d8e64e42ea7a1ba

5 years agoRemove support for file:// items.
Jeff Sharkey [Fri, 29 Mar 2019 19:57:31 +0000 (13:57 -0600)]
Remove support for file:// items.

We've messaged since the N release that file:// Uris are going away,
and we've been crashing those apps via StrictMode for many years.

The broader storage changes in Q mean it's finally a good time to say
we only handle content:// items.

Bug: 123212933
Test: none
Change-Id: I69a791468c4bcf45b0022cf52264e78f94bfdeae

5 years agoMerge changes from topic "permz"
Jeff Sharkey [Sun, 31 Mar 2019 16:36:05 +0000 (16:36 +0000)]
Merge changes from topic "permz"

* changes:
  Flesh out remaining CR.wrap() methods.
  Apps using storage must have runtime permission.

5 years agoMerge "Grant com.android.shell access to DynamicSystem"
TreeHugger Robot [Sun, 31 Mar 2019 15:12:39 +0000 (15:12 +0000)]
Merge "Grant com.android.shell access to DynamicSystem"

5 years agoMerge changes from topics "apply_fast_pair_icon", "bt_color_icon"
TreeHugger Robot [Sun, 31 Mar 2019 07:03:03 +0000 (07:03 +0000)]
Merge changes from topics "apply_fast_pair_icon", "bt_color_icon"

* changes:
  According Bluetooth device type to get icon
  Add method to get rainbow bt icon
  Separate library from SettingsLib

5 years agoMerge "Set the version code to 0200000000"
TreeHugger Robot [Sat, 30 Mar 2019 07:44:28 +0000 (07:44 +0000)]
Merge "Set the version code to 0200000000"

5 years agoMerge "Log notification assistant importance whenever available."
TreeHugger Robot [Sat, 30 Mar 2019 06:09:28 +0000 (06:09 +0000)]
Merge "Log notification assistant importance whenever available."

5 years agoMerge "Change go/q-bg-block to g.co/dev/bgblock"
TreeHugger Robot [Sat, 30 Mar 2019 06:07:16 +0000 (06:07 +0000)]
Merge "Change go/q-bg-block to g.co/dev/bgblock"

5 years agoMerge "Moving Notifications into the status bar panel such that the Z layering works...
TreeHugger Robot [Sat, 30 Mar 2019 05:43:32 +0000 (05:43 +0000)]
Merge "Moving Notifications into the status bar panel such that the Z layering works as expected"

5 years agoMerge "Adding automatic heap dumping for system server."
TreeHugger Robot [Sat, 30 Mar 2019 02:35:22 +0000 (02:35 +0000)]
Merge "Adding automatic heap dumping for system server."

5 years agoMerge "Increase ScanResult cache eviction timeout for failed/aborted scans"
TreeHugger Robot [Sat, 30 Mar 2019 02:19:52 +0000 (02:19 +0000)]
Merge "Increase ScanResult cache eviction timeout for failed/aborted scans"

5 years agoFlesh out remaining CR.wrap() methods.
Jeff Sharkey [Sat, 30 Mar 2019 02:09:37 +0000 (20:09 -0600)]
Flesh out remaining CR.wrap() methods.

Along with tests to verify that they're all delegated as expected.

Bug: 129564663
Test: atest cts/tests/tests/content/src/android/content/cts/ContentResolverTest.java
Test: atest cts/tests/tests/content/src/android/content/cts/ContentResolverWrapTest.java
Change-Id: I07dcabb78174ed2bb63061394bf737df71f49bb0

5 years agoApps using storage must have runtime permission.
Jeff Sharkey [Sat, 30 Mar 2019 00:10:57 +0000 (18:10 -0600)]
Apps using storage must have runtime permission.

A major goal of the Q release is to promote user transparency around
permission usage, and to also give user controls over those
permissions.  To further this goal, all apps requesting the
internal WRITE_MEDIA_STORAGE permission must also request (and be
granted) the "Storage" runtime permission in order to gain the
associated access.

If the user revokes the "Storage" runtime permission, then the app
must lose all access granted to it via WRITE_MEDIA_STORAGE.

Bug: 129144016
Test: atest android.permission.cts.ProviderPermissionTest#testWriteMediaStorage
Change-Id: I7e747de0107cf9364a0ff2401686906340d31995

5 years agoMerge "Metrics constants for bubble confirmation"
TreeHugger Robot [Sat, 30 Mar 2019 01:31:28 +0000 (01:31 +0000)]
Merge "Metrics constants for bubble confirmation"

5 years agoMerge "Merge "Revert "Change Values for Opportunistic Entry & Exit Thresholds"" am...
Android Build Merger (Role) [Sat, 30 Mar 2019 01:24:01 +0000 (01:24 +0000)]
Merge "Merge "Revert "Change Values for Opportunistic Entry & Exit Thresholds"" am: 92e99a6ca9 am: c6c093e778 am: 6c7d65384a"

5 years agoMerge "Make mTvSystemAudioModeSupport originally null and fix related logic"
Amy Zhang [Sat, 30 Mar 2019 01:23:42 +0000 (01:23 +0000)]
Merge "Make mTvSystemAudioModeSupport originally null and fix related logic"

5 years agoMerge "Revert "Change Values for Opportunistic Entry & Exit Thresholds"" am: 92e99a6c...
Sooraj Sasindran [Sat, 30 Mar 2019 01:23:28 +0000 (18:23 -0700)]
Merge "Revert "Change Values for Opportunistic Entry & Exit Thresholds"" am: 92e99a6ca9 am: c6c093e778
am: 6c7d65384a

Change-Id: Iad7e00fb64835eb14061eac0d90c2d4d96a56fac

5 years agoMerge "Remove some unused ongoing usage dialog artifacts."
TreeHugger Robot [Sat, 30 Mar 2019 01:22:28 +0000 (01:22 +0000)]
Merge "Remove some unused ongoing usage dialog artifacts."

5 years agoMerge "Revert "Change Values for Opportunistic Entry & Exit Thresholds"" am: 92e99a6ca9
Sooraj Sasindran [Sat, 30 Mar 2019 01:14:27 +0000 (18:14 -0700)]
Merge "Revert "Change Values for Opportunistic Entry & Exit Thresholds"" am: 92e99a6ca9
am: c6c093e778

Change-Id: I8e5ab63be21b97077ecd263f12581b120e3f85e2

5 years agoMerge "Revert "Change Values for Opportunistic Entry & Exit Thresholds""
Sooraj Sasindran [Sat, 30 Mar 2019 01:06:00 +0000 (18:06 -0700)]
Merge "Revert "Change Values for Opportunistic Entry & Exit Thresholds""
am: 92e99a6ca9

Change-Id: I7ce860cdca34cf4ff421384fe3071b9f13dc427b

5 years agoMerge "Revert "Change Values for Opportunistic Entry & Exit Thresholds""
Treehugger Robot [Sat, 30 Mar 2019 00:53:23 +0000 (00:53 +0000)]
Merge "Revert "Change Values for Opportunistic Entry & Exit Thresholds""

5 years agoMerge "Convert frameworks/base/cmds/media and bmgr to Android.bp"
Colin Cross [Sat, 30 Mar 2019 00:45:05 +0000 (00:45 +0000)]
Merge "Convert frameworks/base/cmds/media and bmgr to Android.bp"

5 years agoMerge "Fix NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS handling"
TreeHugger Robot [Sat, 30 Mar 2019 00:31:22 +0000 (00:31 +0000)]
Merge "Fix NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS handling"

5 years agoMerge "Do not show SMS SIM pick UI for Cell Broadcast Config change" am: 4ae4e50def...
Brad Ebinger [Sat, 30 Mar 2019 00:19:04 +0000 (17:19 -0700)]
Merge "Do not show SMS SIM pick UI for Cell Broadcast Config change" am: 4ae4e50def am: f15dabde00
am: 511f86aa55

Change-Id: Id46383f86fe31460d8fde22e5e572e016e065fb7

5 years agoMerge "Fix volume dialog ringer icon size."
TreeHugger Robot [Sat, 30 Mar 2019 00:11:34 +0000 (00:11 +0000)]
Merge "Fix volume dialog ringer icon size."

5 years agoMerge "More apps making assumptions about MediaStore."
Jeff Sharkey [Sat, 30 Mar 2019 00:10:18 +0000 (00:10 +0000)]
Merge "More apps making assumptions about MediaStore."

5 years agoRevert "Change Values for Opportunistic Entry & Exit Thresholds"
Sooraj Sasindran [Fri, 29 Mar 2019 23:14:23 +0000 (23:14 +0000)]
Revert "Change Values for Opportunistic Entry & Exit Thresholds"

This reverts commit f0c8f19325a83374b52f49d6b66fcf05466c1c54.

Reason for revert: From further test, we see sharp decline in data throughput

Change-Id: I0fb031a8adf15d3a0149651bcc51ee1d7318a42e

5 years agoMerge "new WifiConfiguration @hide API to get SSID + SecurityType"
Oscar Shu [Sat, 30 Mar 2019 00:00:59 +0000 (00:00 +0000)]
Merge "new WifiConfiguration @hide API to get SSID + SecurityType"

5 years agoMerge "Do not show SMS SIM pick UI for Cell Broadcast Config change" am: 4ae4e50def
Brad Ebinger [Fri, 29 Mar 2019 23:58:32 +0000 (16:58 -0700)]
Merge "Do not show SMS SIM pick UI for Cell Broadcast Config change" am: 4ae4e50def
am: f15dabde00

Change-Id: I13573f02a8b14fe695222cced5e8fbfa493ed733

5 years agoMerge "Fade display in when waking up"
TreeHugger Robot [Fri, 29 Mar 2019 23:52:36 +0000 (23:52 +0000)]
Merge "Fade display in when waking up"

5 years agoMerge changes from topic "code-paths-and-resources-caching-fix"
Winson Chiu [Fri, 29 Mar 2019 23:50:02 +0000 (23:50 +0000)]
Merge changes from topic "code-paths-and-resources-caching-fix"

* changes:
  Revert ContextImpl LoadedApk packageInfo caching workaround
  Fix AssetManager2 isUpToDate check
  Diff resource dirs when checking LoadedApk packageInfo cache in ActivityThread
  Diff overlays between PackageManagerService and OverlayManagerService
  Propagate base code path and split dir changes to Resources objects

5 years agoMerge "Update strings for face auth"
TreeHugger Robot [Fri, 29 Mar 2019 23:37:56 +0000 (23:37 +0000)]
Merge "Update strings for face auth"

5 years agoMerge "Support optional use of aggregation functions."
Jeff Sharkey [Fri, 29 Mar 2019 23:35:12 +0000 (23:35 +0000)]
Merge "Support optional use of aggregation functions."

5 years agoFix issue with slow status bar tint transition
Winson Chung [Fri, 29 Mar 2019 22:01:49 +0000 (15:01 -0700)]
Fix issue with slow status bar tint transition

- We should only override the tint animation duration for the nav bar
  light bar transition controller

Bug: 129561877
Test: Swipe to -1 and ensure status bar tint applies quickly
Change-Id: I5fad78c75f2827c46e9c00badb418027936d823a

5 years agoMerge "Making Battery Saver policy setting more defensive."
TreeHugger Robot [Fri, 29 Mar 2019 23:30:16 +0000 (23:30 +0000)]
Merge "Making Battery Saver policy setting more defensive."

5 years agoMerge changes from topic "am-9997b803e8644e99a7015357856dcda0"
Android Build Merger (Role) [Fri, 29 Mar 2019 23:27:54 +0000 (23:27 +0000)]
Merge changes from topic "am-9997b803e8644e99a7015357856dcda0"

* changes:
  [automerger skipped] Merge changes from topics "128455935", "123661746" am: dc4cb81c83 am: 1c906d426d am: 2e0ea1ab5e -s ours am skip reason: change_id I41ae6752756d998739fd7635bcc7765f255806d7 with SHA1 7a7e06d968 is in history
  [automerger skipped] Remove SubscriptionManager#setMetered API. am: 9b932fa1a4 am: 8231d3b231 am: 37c9ced0e6 -s ours am skip reason: change_id Ia6772dee1bd566e0be6b06455d92c923d2c01b12 with SHA1 fd838e9585 is in history

5 years ago[automerger skipped] Merge changes from topics "128455935", "123661746" am: dc4cb81c8...
Xiangyu/Malcolm Chen [Fri, 29 Mar 2019 23:25:51 +0000 (16:25 -0700)]
[automerger skipped] Merge changes from topics "128455935", "123661746" am: dc4cb81c83 am: 1c906d426d
am: 2e0ea1ab5e -s ours
am skip reason: change_id I41ae6752756d998739fd7635bcc7765f255806d7 with SHA1 7a7e06d968 is in history

Change-Id: I84a556a7fc5fc3ebfa6214191d541768212d31f7

5 years agoAdding automatic heap dumping for system server.
Kweku Adams [Tue, 5 Mar 2019 00:19:19 +0000 (16:19 -0800)]
Adding automatic heap dumping for system server.

This adds a request to ActivityManager to track the system server's pss heap
and make sure it doesn't go above a predefined limit. If it does, the dump is
generated and a notification is posted.

Bug: 77490269
Test: flash device and test with 100MB and 150MB limits
Change-Id: Ie886cc36860e8557fbd037b3bfd4975d12806a4b

5 years agoMerge "Do not show SMS SIM pick UI for Cell Broadcast Config change"
Brad Ebinger [Fri, 29 Mar 2019 23:23:24 +0000 (16:23 -0700)]
Merge "Do not show SMS SIM pick UI for Cell Broadcast Config change"
am: 4ae4e50def

Change-Id: Iefa6fdcfaa5e3efbfebcf403d284acf569d45ab2

5 years agoMerge "Move all UI thread callbacks off ui thread to mitigate watchdog kills"
TreeHugger Robot [Fri, 29 Mar 2019 23:20:04 +0000 (23:20 +0000)]
Merge "Move all UI thread callbacks off ui thread to mitigate watchdog kills"

5 years ago[automerger skipped] Remove SubscriptionManager#setMetered API. am: 9b932fa1a4 am...
Malcolm Chen [Fri, 29 Mar 2019 23:18:39 +0000 (16:18 -0700)]
[automerger skipped] Remove SubscriptionManager#setMetered API. am: 9b932fa1a4 am: 8231d3b231
am: 37c9ced0e6 -s ours
am skip reason: change_id Ia6772dee1bd566e0be6b06455d92c923d2c01b12 with SHA1 fd838e9585 is in history

Change-Id: I95a2131c0f43305a9f6f845ac1997e525ec50efb

5 years agoMerge "Fix for b/126739800: Enforce aggressive open policy on TunerSessions."
George Lu [Fri, 29 Mar 2019 23:12:30 +0000 (23:12 +0000)]
Merge "Fix for b/126739800: Enforce aggressive open policy on TunerSessions."

5 years agoMerge "Add attr documentation for a couple accessibility attributes"
TreeHugger Robot [Fri, 29 Mar 2019 22:59:34 +0000 (22:59 +0000)]
Merge "Add attr documentation for a couple accessibility attributes"

5 years agoMerge changes from topics "128455935", "123661746" am: dc4cb81c83
Xiangyu/Malcolm Chen [Fri, 29 Mar 2019 22:57:11 +0000 (15:57 -0700)]
Merge changes from topics "128455935", "123661746" am: dc4cb81c83
am: 1c906d426d

Change-Id: I745f66fc63d03e2ccf03b47daae56f219252d87b

5 years agoMerge "Add missing trace points"
TreeHugger Robot [Fri, 29 Mar 2019 22:55:14 +0000 (22:55 +0000)]
Merge "Add missing trace points"

5 years agoMerge "Do not show SMS SIM pick UI for Cell Broadcast Config change"
Treehugger Robot [Fri, 29 Mar 2019 22:52:00 +0000 (22:52 +0000)]
Merge "Do not show SMS SIM pick UI for Cell Broadcast Config change"

5 years agoRemove SubscriptionManager#setMetered API. am: 9b932fa1a4
Malcolm Chen [Fri, 29 Mar 2019 22:45:36 +0000 (15:45 -0700)]
Remove SubscriptionManager#setMetered API. am: 9b932fa1a4
am: 8231d3b231

Change-Id: Ic00503fca6ef09ac2cda1cf0388d199d2190c1f3

5 years agoMerge "Remove unnecessary VPN icons."
TreeHugger Robot [Fri, 29 Mar 2019 22:37:51 +0000 (22:37 +0000)]
Merge "Remove unnecessary VPN icons."

5 years agoMerge changes from topics "128455935", "123661746"
Xiangyu/Malcolm Chen [Fri, 29 Mar 2019 22:28:34 +0000 (15:28 -0700)]
Merge changes from topics "128455935", "123661746"
am: dc4cb81c83

Change-Id: I4b169adb007ecff072770f55490bac8b5c30b4c5

5 years agoRemove SubscriptionManager#setMetered API.
Malcolm Chen [Fri, 29 Mar 2019 22:21:07 +0000 (15:21 -0700)]
Remove SubscriptionManager#setMetered API.
am: 9b932fa1a4

Change-Id: I55b74e102d77785e7f925d02049037b24a5d352a

5 years agoMerge "Update nav bar background size to match handle"
TreeHugger Robot [Fri, 29 Mar 2019 22:16:15 +0000 (22:16 +0000)]
Merge "Update nav bar background size to match handle"

5 years agoMerge "Add method to ClockPlugin to get preview image."
TreeHugger Robot [Fri, 29 Mar 2019 22:13:13 +0000 (22:13 +0000)]
Merge "Add method to ClockPlugin to get preview image."

5 years agoMerge "Stop window redraws for invisible parent children"
TreeHugger Robot [Fri, 29 Mar 2019 22:04:43 +0000 (22:04 +0000)]
Merge "Stop window redraws for invisible parent children"

5 years agoMerge changes I95328c6b,I109cead7,I82b5a778,I352a3213
Jorim Jaggi [Fri, 29 Mar 2019 22:01:13 +0000 (22:01 +0000)]
Merge changes I95328c6b,I109cead7,I82b5a778,I352a3213

* changes:
  More random optimzations to make things go faster
  Don't compare configs during layout
  Get rid of some ancient logic around layouting invisible windows
  Window Manager spring cleaning

5 years agoMerge "Add missing checkThread" am: fdb8dfdadf am: 67793b0eec
John Reck [Fri, 29 Mar 2019 21:59:45 +0000 (14:59 -0700)]
Merge "Add missing checkThread" am: fdb8dfdadf am: 67793b0eec
am: 9117b1371f

Change-Id: I1a6cc8d995dad4e2ac06f046a693bdace767d79b

5 years agoMerge "Add missing checkThread" am: fdb8dfdadf
John Reck [Fri, 29 Mar 2019 21:48:24 +0000 (14:48 -0700)]
Merge "Add missing checkThread" am: fdb8dfdadf
am: 67793b0eec

Change-Id: Ia8f3182a1d765937a5901cf6f9063ba8c84eb258

5 years agoMerge changes from topics "128455935", "123661746"
Xiangyu/Malcolm Chen [Fri, 29 Mar 2019 21:48:10 +0000 (21:48 +0000)]
Merge changes from topics "128455935", "123661746"

* changes:
  Better description and parameter name of setPreferredDataSubscriptionId
  Remove SubscriptionManager#setMetered API.

5 years agoSupport optional use of aggregation functions.
Jeff Sharkey [Fri, 29 Mar 2019 21:46:35 +0000 (15:46 -0600)]
Support optional use of aggregation functions.

As long as the column being aggregated is valid with respect to
all existing projection checks, then we're willing to apply an
aggregation function on it.

Bug: 129220616
Test: atest --test-mapping packages/providers/MediaProvider
Change-Id: I8e4b665f5abd6553939a35d9f46247cc63c4c25f

5 years agoFix volume dialog ringer icon size.
Amin Shaikh [Fri, 29 Mar 2019 20:50:00 +0000 (16:50 -0400)]
Fix volume dialog ringer icon size.

Added padding and scaling to ensure icons in this space are all 24dp

Fixes: 129555425
Test: mp sysuig
Change-Id: I85c7b53a8245f95f467e03fb55fba6642b658d28

5 years agoMerge "Add missing checkThread"
John Reck [Fri, 29 Mar 2019 21:37:01 +0000 (14:37 -0700)]
Merge "Add missing checkThread"
am: fdb8dfdadf

Change-Id: Iabcd28a4c3fa659c92b392573158dd5025ed8c37

5 years agoMerge "Small clean up of dismiss / removal of bubbles"
TreeHugger Robot [Fri, 29 Mar 2019 21:35:59 +0000 (21:35 +0000)]
Merge "Small clean up of dismiss / removal of bubbles"

5 years agoMerge "Grants camera permission to Attention Service."
TreeHugger Robot [Fri, 29 Mar 2019 21:31:26 +0000 (21:31 +0000)]
Merge "Grants camera permission to Attention Service."

5 years agoFade display in when waking up
Lucas Dupin [Fri, 29 Mar 2019 19:51:55 +0000 (12:51 -0700)]
Fade display in when waking up

We were doing it when paused by prox sensor but
not for other events.

Test: manual
Test: atest DozeScreenBrightnessTest
Fixes: 123476479
Change-Id: I0d3079ad80a6eb05460c8533ee9424b1a990aa29

5 years agoMerge "Notify callbacks to update in case wallpaper is waiting for unlock."
TreeHugger Robot [Fri, 29 Mar 2019 21:21:53 +0000 (21:21 +0000)]
Merge "Notify callbacks to update in case wallpaper is waiting for unlock."

5 years agoMerge "Show carrier name on pin lock screen"
TreeHugger Robot [Fri, 29 Mar 2019 21:18:13 +0000 (21:18 +0000)]
Merge "Show carrier name on pin lock screen"

5 years agoMerge "Add missing checkThread"
Treehugger Robot [Fri, 29 Mar 2019 21:18:10 +0000 (21:18 +0000)]
Merge "Add missing checkThread"

5 years agoMerge "Wifi usability: Add IP reachability lost into Wifi unusable event"
Mingguang Xu [Fri, 29 Mar 2019 21:13:36 +0000 (21:13 +0000)]
Merge "Wifi usability:  Add IP reachability lost into Wifi unusable event"