OSDN Git Service

android-x86/frameworks-base.git
5 years agoRefactor s/TypeInfo/MimeTypeInfo/ per feedback.
Jeff Sharkey [Tue, 9 Apr 2019 16:15:09 +0000 (10:15 -0600)]
Refactor s/TypeInfo/MimeTypeInfo/ per feedback.

Bug: 128903949
Test: atest android.content.cts.ContentResolverTest
Change-Id: Idb9e63a68dc9ffe0c35ad3e6bff55aaa10320e81

5 years agoMerge "Clear calling identity before calling in package managerwq" into qt-dev
TreeHugger Robot [Wed, 10 Apr 2019 05:36:43 +0000 (05:36 +0000)]
Merge "Clear calling identity before calling in package managerwq" into qt-dev

5 years agoMerge "Add 5G evolution icon" into qt-dev
SongFerng Wang [Wed, 10 Apr 2019 03:09:07 +0000 (03:09 +0000)]
Merge "Add 5G evolution icon" into qt-dev

5 years agoMerge "Update version numbers to 0210000000" into qt-dev
Akshay Thakker [Wed, 10 Apr 2019 02:47:48 +0000 (02:47 +0000)]
Merge "Update version numbers to 0210000000" into qt-dev

5 years agoMerge "Add AlbumColumns.ARTIST_ID." into qt-dev
Jeff Sharkey [Wed, 10 Apr 2019 02:13:26 +0000 (02:13 +0000)]
Merge "Add AlbumColumns.ARTIST_ID." into qt-dev

5 years agoMerge "[AWARE] Enable discovery/operation on 5G" into qt-dev
TreeHugger Robot [Wed, 10 Apr 2019 01:49:23 +0000 (01:49 +0000)]
Merge "[AWARE] Enable discovery/operation on 5G" into qt-dev

5 years agoMerge "AudioService: fix broadcast of ACTION_SPEAKERPHONE_STATE_CHANGED" into qt-dev
TreeHugger Robot [Wed, 10 Apr 2019 01:14:35 +0000 (01:14 +0000)]
Merge "AudioService: fix broadcast of ACTION_SPEAKERPHONE_STATE_CHANGED" into qt-dev

5 years agoMerge "Use Received Uri as Gateway Uri" into qt-dev
TreeHugger Robot [Wed, 10 Apr 2019 00:50:32 +0000 (00:50 +0000)]
Merge "Use Received Uri as Gateway Uri" into qt-dev

5 years agoMerge "AudioTrack: getLatency continues UnsupportedAppUsage" into qt-dev
Andy Hung [Wed, 10 Apr 2019 00:38:42 +0000 (00:38 +0000)]
Merge "AudioTrack: getLatency continues UnsupportedAppUsage" into qt-dev

5 years agoMerge "Adjust testapis/permissions for CTS tests" into qt-dev
TreeHugger Robot [Wed, 10 Apr 2019 00:37:32 +0000 (00:37 +0000)]
Merge "Adjust testapis/permissions for CTS tests" into qt-dev

5 years agoClear calling identity before calling in package managerwq
Svet Ganov [Wed, 10 Apr 2019 00:11:12 +0000 (17:11 -0700)]
Clear calling identity before calling in package managerwq

Test: manual

bug:130221551

Change-Id: I66cd11ad3475f168a2caf72183a184d7cbca302f

5 years agoMerge changes from topic "am-e391c592-eeb3-4cc9-85fd-fa5d3bf694c5" into oc-dev am...
Bryan Ferris [Tue, 9 Apr 2019 23:48:39 +0000 (16:48 -0700)]
Merge changes from topic "am-e391c592-eeb3-4cc9-85fd-fa5d3bf694c5" into oc-dev am: 2833e406e0 am: ed9361ce1c am: f5c11a0a27
am: f8db29bdf5

Change-Id: Icf1f25584abc2490a4651ea1bc115165c48974eb

5 years ago[automerger skipped] Added missing permission check to isPackageDeviceAdminOnAnyUser...
Varun Shah [Tue, 9 Apr 2019 23:35:50 +0000 (16:35 -0700)]
[automerger skipped] Added missing permission check to isPackageDeviceAdminOnAnyUser. am: 18e7dedf6c am: 5e3ef6a1ea am: 4ff24d34d3
am: 6b830afbad -s ours
am skip reason: change_id I36521fa43daab399e08869647326a7ac32d1e512 with SHA1 569ac173c1 is in history

Change-Id: I6e30910a4f35aa015f883d5e089517b3115a3c58

5 years agoMerge "Validate zen policy/filter agreement" into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 23:32:30 +0000 (23:32 +0000)]
Merge "Validate zen policy/filter agreement" into qt-dev

5 years agoMerge "Pass through color modes in vendor range to SF" into qt-dev
Christine Franks [Tue, 9 Apr 2019 23:22:26 +0000 (23:22 +0000)]
Merge "Pass through color modes in vendor range to SF" into qt-dev

5 years agoMerge "[GPU Service] Query Game driver blacklists from DeviceConfig." into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 23:19:15 +0000 (23:19 +0000)]
Merge "[GPU Service] Query Game driver blacklists from DeviceConfig." into qt-dev

5 years agoMerge "Log authentication rejection" into qt-dev
Kevin Chyn [Tue, 9 Apr 2019 23:04:13 +0000 (23:04 +0000)]
Merge "Log authentication rejection" into qt-dev

5 years agoUse Received Uri as Gateway Uri
Shuo Qian [Tue, 9 Apr 2019 18:40:32 +0000 (11:40 -0700)]
Use Received Uri as Gateway Uri

Gateway information is the core component to perform redirection.
We should clarify the uri we received from
 CallRedirectionService is gateway Uri. And apply it in Telecom.

Test: Treehugger; Manual
Bug: 130048865
Change-Id: I3599377406b88751ee11139e9a1aa5afab734f7c
Merged-In: I3599377406b88751ee11139e9a1aa5afab734f7c

5 years agoMerge "Sharesheet - Add outline to image preview" into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 22:47:21 +0000 (22:47 +0000)]
Merge "Sharesheet - Add outline to image preview" into qt-dev

5 years agoMerge "stats_log_api_gen: Minor printf format fix" into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 22:35:14 +0000 (22:35 +0000)]
Merge "stats_log_api_gen: Minor printf format fix" into qt-dev

5 years agoMerge changes from topic "am-e391c592-eeb3-4cc9-85fd-fa5d3bf694c5" into oc-dev am...
Bryan Ferris [Tue, 9 Apr 2019 22:29:03 +0000 (15:29 -0700)]
Merge changes from topic "am-e391c592-eeb3-4cc9-85fd-fa5d3bf694c5" into oc-dev am: 2833e406e0 am: ed9361ce1c
am: f5c11a0a27

Change-Id: Ia28625d8b0b2f596fe00efa02ecb0c0a57d36354

5 years agoMerge "Remove the ime listener to instead track from nav hints icon change" into...
TreeHugger Robot [Tue, 9 Apr 2019 22:24:49 +0000 (22:24 +0000)]
Merge "Remove the ime listener to instead track from nav hints icon change" into qt-dev

5 years agoAdded missing permission check to isPackageDeviceAdminOnAnyUser. am: 18e7dedf6c am...
Varun Shah [Tue, 9 Apr 2019 22:17:46 +0000 (15:17 -0700)]
Added missing permission check to isPackageDeviceAdminOnAnyUser. am: 18e7dedf6c am: 5e3ef6a1ea
am: 4ff24d34d3

Change-Id: If9124acbd9d0c7e123d14a80b245121c27b56d37

5 years agoMerge "OP_REQUEST_INSTALL_PACKAGES denied by default" into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 22:02:30 +0000 (22:02 +0000)]
Merge "OP_REQUEST_INSTALL_PACKAGES denied by default" into qt-dev

5 years agoMerge "Respect the autoMirror attr on drawable to flip horizontally" into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 22:01:17 +0000 (22:01 +0000)]
Merge "Respect the autoMirror attr on drawable to flip horizontally" into qt-dev

5 years agoMerge "Update Javadocs for CellInfo Classes" into qt-dev
Nathan Harold [Tue, 9 Apr 2019 21:52:48 +0000 (21:52 +0000)]
Merge "Update Javadocs for CellInfo Classes" into qt-dev

5 years agoMerge "Disable quickstep onboarding when gestural nav is on until we have a new onboa...
Tracy Zhou [Tue, 9 Apr 2019 21:45:36 +0000 (21:45 +0000)]
Merge "Disable quickstep onboarding when gestural nav is on until we have a new onboarding model." into qt-dev

5 years agoMerge "Fixes default setting for showing MultiUserSwitch" into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 21:31:27 +0000 (21:31 +0000)]
Merge "Fixes default setting for showing MultiUserSwitch" into qt-dev

5 years agoMerge "Allow GSM RSSI levels to be customized by CarrierConfig" into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 21:23:37 +0000 (21:23 +0000)]
Merge "Allow GSM RSSI levels to be customized by CarrierConfig" into qt-dev

5 years agoMerge "Do not get app entry if it's a hidden module." into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 21:19:24 +0000 (21:19 +0000)]
Merge "Do not get app entry if it's a hidden module." into qt-dev

5 years agoMerge "Implement the new PiP animation (fade-in)." into qt-dev
Tracy Zhou [Tue, 9 Apr 2019 21:06:28 +0000 (21:06 +0000)]
Merge "Implement the new PiP animation (fade-in)." into qt-dev

5 years agostats_log_api_gen: Minor printf format fix
Greg Kaiser [Mon, 8 Apr 2019 13:25:21 +0000 (06:25 -0700)]
stats_log_api_gen: Minor printf format fix

We use "%zu" for a size_t argumet.

Test: TreeHugger
Bug: 126134616
Change-Id: I02916829dfb71a63f78eda0d45129b4dc0732a82
Merged-In: I02916829dfb71a63f78eda0d45129b4dc0732a82
(cherry picked from commit f87e93835a9cbebec2a46124f0f0b7e967de0d52)

5 years agoOP_REQUEST_INSTALL_PACKAGES denied by default
Suprabh Shukla [Fri, 5 Apr 2019 23:34:19 +0000 (16:34 -0700)]
OP_REQUEST_INSTALL_PACKAGES denied by default

Some system apps may download unknown content and the user should
be explicitly asked whether they trust these files. System apps should
explicitly use the extra NOT_UNKNOWN_SOURCE to bypass this check.

Test: Builds, boots, existing tests pass:
atest CtsPackageInstallTestCases

Locally verified they pass if CtsPackageInstallTestCases.apk was signed by
the platform cert.

Bug: 123700348
Change-Id: I2578251906f6656b83464d1c4fc4db99165841c9

5 years agoMerge changes from topic "am-e391c592-eeb3-4cc9-85fd-fa5d3bf694c5" into oc-dev am...
Bryan Ferris [Tue, 9 Apr 2019 20:56:40 +0000 (13:56 -0700)]
Merge changes from topic "am-e391c592-eeb3-4cc9-85fd-fa5d3bf694c5" into oc-dev am: 2833e406e0
am: ed9361ce1c

Change-Id: I8c538a46f02f4d46ddc5d78ee19612649c15a46c

5 years agoMerge "Add "Disconnected" subtitle on disconnected device" into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 20:53:18 +0000 (20:53 +0000)]
Merge "Add "Disconnected" subtitle on disconnected device" into qt-dev

5 years agoMerge "Define a category for "file management" apps." into qt-dev
Jeff Sharkey [Tue, 9 Apr 2019 20:51:31 +0000 (20:51 +0000)]
Merge "Define a category for "file management" apps." into qt-dev

5 years agoAdded missing permission check to isPackageDeviceAdminOnAnyUser. am: 18e7dedf6c
Varun Shah [Tue, 9 Apr 2019 20:46:55 +0000 (13:46 -0700)]
Added missing permission check to isPackageDeviceAdminOnAnyUser. am: 18e7dedf6c
am: 5e3ef6a1ea

Change-Id: I60be094774400df44d79a0291858a0783557831b

5 years agoMerge "Add a list to track unfinished tasks and dumpStackTraces" into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 20:44:49 +0000 (20:44 +0000)]
Merge "Add a list to track unfinished tasks and dumpStackTraces" into qt-dev

5 years agoMerge "Removed log spam from the Zygote." into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 20:42:36 +0000 (20:42 +0000)]
Merge "Removed log spam from the Zygote." into qt-dev

5 years agoAudioService: fix broadcast of ACTION_SPEAKERPHONE_STATE_CHANGED
Jean-Michel Trivi [Tue, 9 Apr 2019 20:38:18 +0000 (13:38 -0700)]
AudioService: fix broadcast of ACTION_SPEAKERPHONE_STATE_CHANGED

When broadcasting ACTION_SPEAKERPHONE_STATE_CHANGED:
- clear calling identity
- send to all users

Bug: 129871987
Test: see bug
Change-Id: I7dbe68a179d3012f1c38d866e8528eed25e109e6

5 years agoAudioTrack: getLatency continues UnsupportedAppUsage
Andy Hung [Tue, 9 Apr 2019 20:23:50 +0000 (13:23 -0700)]
AudioTrack: getLatency continues UnsupportedAppUsage

Exoplayer needs this API for devices with timestamp issues.

Test: compiles
Bug: 112561552
Bug: 130237544
Change-Id: I136d80011765ac83be8f5258c4ba139ee1f1ef75

5 years agoMerge "Don't use noteop for preflight checks" into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 20:29:24 +0000 (20:29 +0000)]
Merge "Don't use noteop for preflight checks" into qt-dev

5 years ago[AWARE] Enable discovery/operation on 5G
Etan Cohen [Tue, 9 Apr 2019 20:10:47 +0000 (13:10 -0700)]
[AWARE] Enable discovery/operation on 5G

Speed up discovery, increase robustness.

Bug: 129151127
Test: atest android.net.wifi
Test: atest atest com.android.server.wifi
Test: ACTS ThroughputTest:test_iperf_single_ndp_aware_only_ib
Change-Id: I83cf0720d07e5623b7861bf4cd73344bcff90ba5

5 years agoMerge "OMS: add internal tests" into qt-dev
Todd Kennedy [Tue, 9 Apr 2019 20:20:49 +0000 (20:20 +0000)]
Merge "OMS: add internal tests" into qt-dev

5 years agoMerge changes from topic "am-e391c592-eeb3-4cc9-85fd-fa5d3bf694c5" into oc-dev
Bryan Ferris [Tue, 9 Apr 2019 20:20:18 +0000 (13:20 -0700)]
Merge changes from topic "am-e391c592-eeb3-4cc9-85fd-fa5d3bf694c5" into oc-dev
am: 2833e406e0

Change-Id: Iad49fea0efffc9766797f590b9140cb4bb73a3fd

5 years agoMerge "Make sure APN type ALL does not include types that are not wild cardable"...
TreeHugger Robot [Tue, 9 Apr 2019 20:18:03 +0000 (20:18 +0000)]
Merge "Make sure APN type ALL does not include types that are not wild cardable" into qt-dev

5 years agoMerge "Lock more of the things" into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 19:56:25 +0000 (19:56 +0000)]
Merge "Lock more of the things" into qt-dev

5 years agoMerge "Add two classes to blacklist" into qt-dev
Mathieu Chartier [Tue, 9 Apr 2019 19:54:39 +0000 (19:54 +0000)]
Merge "Add two classes to blacklist" into qt-dev

5 years agoRespect the autoMirror attr on drawable to flip horizontally
Matthew Ng [Tue, 9 Apr 2019 00:29:45 +0000 (17:29 -0700)]
Respect the autoMirror attr on drawable to flip horizontally

This fixes the back button from rotating on RTL.

Fixes: 116811826
Test: use rtl with security and 3 button mode, unlock device
Change-Id: I5e92252a3a29301b9839628ee5b986226af16d8c

5 years agoMerge changes from topic "am-e391c592-eeb3-4cc9-85fd-fa5d3bf694c5" into oc-dev
Bryan Ferris [Tue, 9 Apr 2019 19:46:49 +0000 (19:46 +0000)]
Merge changes from topic "am-e391c592-eeb3-4cc9-85fd-fa5d3bf694c5" into oc-dev

* changes:
  [automerger] [RESTRICT AUTOMERGE] Added missing permission check to isPackageDeviceAdminOnAnyUser. am: 7b5a576965 am: 0494ac6568 am: 70b534799b am: 49a505f4f9 skipped: 022bfaa808
  [automerger] [RESTRICT AUTOMERGE] Added missing permission check to isPackageDeviceAdminOnAnyUser. am: 7b5a576965 am: 0494ac6568 am: 70b534799b am: 49a505f4f9
  [automerger] [RESTRICT AUTOMERGE] Added missing permission check to isPackageDeviceAdminOnAnyUser. am: 7b5a576965 am: 0494ac6568 am: 70b534799b
  [automerger] [RESTRICT AUTOMERGE] Added missing permission check to isPackageDeviceAdminOnAnyUser. am: 7b5a576965 am: 0494ac6568
  [automerger] [RESTRICT AUTOMERGE] Added missing permission check to isPackageDeviceAdminOnAnyUser. am: 7b5a576965
  [RESTRICT AUTOMERGE] Added missing permission check to isPackageDeviceAdminOnAnyUser.

5 years agoMerge "Allow wallpapers and IMEs to get location if needed" into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 19:31:45 +0000 (19:31 +0000)]
Merge "Allow wallpapers and IMEs to get location if needed" into qt-dev

5 years agoDisable quickstep onboarding when gestural nav is on until we have a new
Tracy Zhou [Tue, 9 Apr 2019 18:12:14 +0000 (11:12 -0700)]
Disable quickstep onboarding when gestural nav is on until we have a new
onboarding model.

Fixes: 130205419
Test: Manual
Change-Id: Idfb881abe9fa26ad9a30a4812ea7d83d7707337d

5 years agoAdded missing permission check to isPackageDeviceAdminOnAnyUser.
Varun Shah [Tue, 9 Apr 2019 19:12:19 +0000 (12:12 -0700)]
Added missing permission check to isPackageDeviceAdminOnAnyUser.
am: 18e7dedf6c

Change-Id: I3cd02487a2f39775e86c22ed12fb0fae45198ba4

5 years agoSharesheet - Add outline to image preview
Matt Pietal [Tue, 9 Apr 2019 14:09:12 +0000 (10:09 -0400)]
Sharesheet - Add outline to image preview

Support thin border around content preview images

Bug: 129979196
Test: Visual inspection
Change-Id: I3984a22507352cc3de8fd38ee3ded39a63bb442d

5 years agoLog authentication rejection
Kevin Chyn [Tue, 9 Apr 2019 19:10:11 +0000 (12:10 -0700)]
Log authentication rejection

Bug: 130043912

Test: Both authenticate and reject logs seen now
Change-Id: I398c95a9c439575e126e710e16ed266c51c00122

5 years agoAdd a list to track unfinished tasks and dumpStackTraces
Hui Yu [Tue, 2 Apr 2019 23:19:12 +0000 (16:19 -0700)]
Add a list to track unfinished tasks and dumpStackTraces

Previously exception message only prints unstarted tasks in the thread
pool. We also want to know the started but unfinished tasks. Add an
array list mPendingTask to track all unfinished tasks.

Also dumpStackTraces() so we can tell why the task in the threadpool
failed to finish on time.

This will help us to find root cause of IllegalStateException in
SystemServerInitThreadPool.shutdown().

Bug: 128928718
Test: Reboot device, adb logcat | grep SystemServerInitThreadPool. Force
a task to sleep for 30 seconds, observe IllegalStateException with
unfinished task printed and stack traces is dumped in a ANR file.

Change-Id: I98ba86e58ae1f2e1ab2b3f8ea3724c6b70a796eb

5 years agoUpdate Javadocs for CellInfo Classes
Nathan Harold [Tue, 9 Apr 2019 02:21:02 +0000 (19:21 -0700)]
Update Javadocs for CellInfo Classes

-Add nullability annotations for getMccString
 and getMncString.
-Add IntRange to CellSignalStrength#getLevel()
-Fix a few docstring errors.

Bug: 129902021
Test: make && make update-api && make offline-sdk-docs
      (no functional change)

Change-Id: I61d645f79a23226ab902fc657fe7b07ffd674a0b
(cherry picked from commit b858d8c682261aae4ab5b99e5c0c99b627b329cb)

5 years agoMerge "SurfaceControl: Fix captureLayers JNI" into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 18:20:54 +0000 (18:20 +0000)]
Merge "SurfaceControl: Fix captureLayers JNI" into qt-dev

5 years agoMerge "Remove pending callback from AttentionManager" into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 18:20:34 +0000 (18:20 +0000)]
Merge "Remove pending callback from AttentionManager" into qt-dev

5 years agoDon't use noteop for preflight checks
Chad Brubaker [Tue, 9 Apr 2019 02:19:48 +0000 (19:19 -0700)]
Don't use noteop for preflight checks

Test: apps don't show as accessing location on start
Fixes: 130187488
Change-Id: Iacd7edbadab64f43229b5d6f8056bb076c4f280c

5 years agoMerge "Fix Display White Balance color temperature on enable" into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 18:14:24 +0000 (18:14 +0000)]
Merge "Fix Display White Balance color temperature on enable" into qt-dev

5 years agoMerge "Update AppCompacted Action enum." into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 18:04:42 +0000 (18:04 +0000)]
Merge "Update AppCompacted Action enum." into qt-dev

5 years agoMerge changes from topic "tdscdma-rscp" into qt-dev
Nathan Harold [Tue, 9 Apr 2019 18:03:31 +0000 (18:03 +0000)]
Merge changes from topic "tdscdma-rscp" into qt-dev

* changes:
  Fix getLevel for CellSignalStrengthTdscdma
  Rename LevelCalculationMethod Constant

5 years agoFixes default setting for showing MultiUserSwitch
Fabian Kozynski [Tue, 9 Apr 2019 18:00:06 +0000 (14:00 -0400)]
Fixes default setting for showing MultiUserSwitch

By default, UserManager enables UserSwitch if no decission has been made
before. However, in QS, we want the UserSwitcher not to show unless the
user has explicitly enabled UserSwitch

Fixes: 129898837
Test: manual, after Full wipe
Change-Id: Ib2a0c10dff910199ce5c60d9e578efee3899cbb9

5 years agoAdjust testapis/permissions for CTS tests
Julia Reynolds [Mon, 8 Apr 2019 14:35:40 +0000 (10:35 -0400)]
Adjust testapis/permissions for CTS tests

Test: cts
Bug: 127341023
Change-Id: Ice19dc337a06a3f20edca583ecbe5ef3148fd96d

5 years agoMerge "Check that Account Parcel has name and type." into qt-dev
Dmitry Dementyev [Tue, 9 Apr 2019 17:55:13 +0000 (17:55 +0000)]
Merge "Check that Account Parcel has name and type." into qt-dev

5 years agoMerge "Change SUPL network request parameters for requestRouteToHostAddress" into...
Anil Admal [Tue, 9 Apr 2019 17:54:21 +0000 (17:54 +0000)]
Merge "Change SUPL network request parameters for requestRouteToHostAddress" into qt-dev

5 years agoAdd 5G evolution icon
SongFerngWang [Thu, 21 Mar 2019 15:14:20 +0000 (23:14 +0800)]
Add 5G evolution icon

This add the 5GE icon to the system UI for specific carriers
LTE CA network.

Bug: 124768697
Test: build & manually test:
fake the operator name with pattern, and check the status bar data icon.

Change-Id: Ife0401219138c7ed22e7bfbd4d5e8648c54a98a8
Merged-In: Ife0401219138c7ed22e7bfbd4d5e8648c54a98a8
(cherry picked from commit 2d178eaabb90109e6dd2248ae642403f9a4171ec)

5 years agoMerge "notifyUserMobileDataStateChangedForPhoneId does not set mUserMobileDataState...
SongFerng Wang [Tue, 9 Apr 2019 17:53:43 +0000 (17:53 +0000)]
Merge "notifyUserMobileDataStateChangedForPhoneId does not set mUserMobileDataState." into qt-dev

5 years agoPass through color modes in vendor range to SF
Christine Franks [Sat, 6 Apr 2019 01:33:55 +0000 (18:33 -0700)]
Pass through color modes in vendor range to SF

Bug: 129599616
Test: atest FrameworksServicesTests:DisplayTransformManagerTest
Change-Id: Ie2403f51f3b9b06a56f5fbd0081b84a01f80330d

5 years agoValidate zen policy/filter agreement
Julia Reynolds [Tue, 9 Apr 2019 14:48:43 +0000 (10:48 -0400)]
Validate zen policy/filter agreement

Test: atest
Fixes: 130205844
Change-Id: I734e4364b2af1b35eaad7c99d437e90f6fb0fcf4

5 years agoFix Display White Balance color temperature on enable
Daniel Solomon [Mon, 8 Apr 2019 21:30:51 +0000 (14:30 -0700)]
Fix Display White Balance color temperature on enable

Currently the ambient-to-display color temperature spline is applied to
all color temperature values, including the placeholder value -1.0 that
is used when DWB is first enabled. When this happens, display color
temperature is first set to its lowest value, and is then set to a
meaningful value when the sensor updates its first reading. This
behavior is incorrect.

To fix this, check for a valid color temperature value
before applying the spline.

Bug 130137407
Test: manual

Change-Id: I67a06504e499411fd34e05569e9cd0cbc9f81df1

5 years agoLock more of the things
Julia Reynolds [Mon, 8 Apr 2019 18:42:53 +0000 (14:42 -0400)]
Lock more of the things

Specifically, access to PackagePreferences

Test: atest
Bug: 129444912
Change-Id: Ia2ff46fff433333c76f0898a68b9230dcfb253ee

5 years agoAllow GSM RSSI levels to be customized by CarrierConfig
andychou [Tue, 9 Apr 2019 06:50:31 +0000 (14:50 +0800)]
Allow GSM RSSI levels to be customized by CarrierConfig

Add carrier config gsm_rssi_thresholds_int_array and mapping level
according to config

BUG: 123528673
Test: build pass and override carrierconfig to test
Change-Id: I61afd1f07564c0df886b0e30d27ea2a059b484dc
Merged-In: I61afd1f07564c0df886b0e30d27ea2a059b484dc
(cherry picked from commit b80dbce9a3b907bd5cc81984fe4f472833c030f1)

5 years agoImplement the new PiP animation (fade-in).
Tracy Zhou [Mon, 8 Apr 2019 07:32:40 +0000 (00:32 -0700)]
Implement the new PiP animation (fade-in).

The new fully gestural navigation changes how user goes home from an
app as well as the animation of the app transition. The current PiP animation (bounds) is not compatible with the new model because of the direction of movements. Instead of animating bounds, we can fade the PiP window in after app closing animation finishes.

Fixes: 122609330
Test: 1. Open youtube, play a video, tap home to observe the new PiP
animation (demo video attached in the ticket b/122609330) 2. With gestural nav on, observe pip transition when swiping up to home.
atest ActivityManagerPinnedStackTests
atest BoundsAnimationControllerTests
atest RecentsAnimationTestTest

Change-Id: I28eeb1aa99c4fd569845ca7a42561f6b20796f9b

5 years agoMerge "Added documentation to note onDisconnected() should not make calls to their...
Adam He [Tue, 9 Apr 2019 17:37:07 +0000 (17:37 +0000)]
Merge "Added documentation to note onDisconnected() should not make calls to their respective managers." into qt-dev

5 years agoAdd two classes to blacklist
Mathieu Chartier [Tue, 9 Apr 2019 16:53:55 +0000 (09:53 -0700)]
Add two classes to blacklist

Added these classes to prevent initialization of AsyncTask since
initializing AsyncTask may cause memory leaks.

Bug: 130206915
Test: make
Test: look at classes initialized during preloading
Change-Id: I6bacbbdf61d8a782d88debc29d9f0ca29d273888

5 years agoRemoved log spam from the Zygote.
Chris Wailes [Mon, 8 Apr 2019 22:52:40 +0000 (15:52 -0700)]
Removed log spam from the Zygote.

This patch removes several debugging log messages.  These messages were
useful when the `FDs to ignore` list was usually empty, but with the
addition of USAPs this has become spammy.

(cherry picked from commit da0a9cd05c4e2860c91e2ac31285526c041a5b85)

Test: Build
Bug: 130172109
Change-Id: Id166990a63f20efb3bf6ffd5b697efd436d50921
Merged-In: Id166990a63f20efb3bf6ffd5b697efd436d50921

5 years agoMerge "AudioService: add scheduleLoadSoundEffects" into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 17:17:01 +0000 (17:17 +0000)]
Merge "AudioService: add scheduleLoadSoundEffects" into qt-dev

5 years agoMerge "Add comments in grouping APIs to clarify possible exceptions." into qt-dev
Xiangyu/Malcolm Chen [Tue, 9 Apr 2019 17:13:35 +0000 (17:13 +0000)]
Merge "Add comments in grouping APIs to clarify possible exceptions." into qt-dev

5 years agoRemove pending callback from AttentionManager
Alex Salo [Sat, 6 Apr 2019 21:57:30 +0000 (14:57 -0700)]
Remove pending callback from AttentionManager

a) PendingCalback -> CurrentCallback + isDispatched + isFufilled
b) Simplify the cancellation logic. Only AttentionService should issue
specific failure codes, Manager should only issue "CANCELLED" if can't
reache the service

Bug: 111939367
Test: manually verified the demo worked, working on both CTS and unit
tests

Change-Id: Ief63b01a958bd67badd4d7ed8df9749baabb16f4

5 years agoMerge "Tweaked the rounded corners when turning off" into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 16:29:53 +0000 (16:29 +0000)]
Merge "Tweaked the rounded corners when turning off" into qt-dev

5 years agoAdd AlbumColumns.ARTIST_ID.
Jeff Sharkey [Tue, 9 Apr 2019 16:11:25 +0000 (10:11 -0600)]
Add AlbumColumns.ARTIST_ID.

As pointed out by developers, we already have ARTIST, so we should
also have ARTIST_ID.

Bug: 130193406
Test: atest --test-mapping packages/providers/MediaProvider
Change-Id: I46b4de38a08a1ebb6951d8329070438d142888ad

5 years agoMerge "Ensure VoiceInteractionManagerService updates the assistant setting" into...
Winson Chung [Tue, 9 Apr 2019 15:35:58 +0000 (15:35 +0000)]
Merge "Ensure VoiceInteractionManagerService updates the assistant setting" into qt-dev

5 years agoDefine a category for "file management" apps.
Jeff Sharkey [Tue, 9 Apr 2019 15:23:48 +0000 (09:23 -0600)]
Define a category for "file management" apps.

We already have a nice collection of CATEGORY_APP_* constants that
can be used to identify classes of apps.  This change expands that
list to discover file management apps, such as DocumentsUI.

Bug: 130215653
Test: none
Change-Id: I9b5016676ca1526074ba876675f14bf814ea4c09

5 years agoMerge "Ensure stack bounds are set for most animations" into qt-dev
Jorim Jaggi [Tue, 9 Apr 2019 15:09:05 +0000 (15:09 +0000)]
Merge "Ensure stack bounds are set for most animations" into qt-dev

5 years agoMerge "Increase character limit on GlobalActions bugreport string." into qt-dev
Aaron Heuckroth [Tue, 9 Apr 2019 15:04:09 +0000 (15:04 +0000)]
Merge "Increase character limit on GlobalActions bugreport string." into qt-dev

5 years agoSurfaceControl: Fix captureLayers JNI
Robert Carr [Tue, 9 Apr 2019 14:42:02 +0000 (07:42 -0700)]
SurfaceControl: Fix captureLayers JNI

Missed a call-point in last refactoring.

Bug: 130211665
Test: Manual
Change-Id: I43fa93eea7d79f5b773497e3bb65750866eca2cb

5 years agoMerge "Sharesheet - Add support for sunshine" into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 14:42:31 +0000 (14:42 +0000)]
Merge "Sharesheet - Add support for sunshine" into qt-dev

5 years agonotifyUserMobileDataStateChangedForPhoneId does not set mUserMobileDataState.
SongFerngWang [Tue, 9 Apr 2019 09:29:29 +0000 (17:29 +0800)]
notifyUserMobileDataStateChangedForPhoneId does not set mUserMobileDataState.

notifyUserMobileDataStateChangedForPhoneId does not set mUserMobileDataState.

Bug: 128510330
Test: build pass
Change-Id: I5db6329ce4699cca8d79a827c36f7f61a4fa8f92
Merged-In: I5db6329ce4699cca8d79a827c36f7f61a4fa8f92
(cherry picked from commit 1b3134c5140a87ea8242989b73a470d901a8913b)

5 years agoOMS: add internal tests
Mårten Kongstad [Thu, 3 May 2018 08:48:35 +0000 (10:48 +0200)]
OMS: add internal tests

Add unit tests for OMS internal components. These are different from the
OMS public API tests [that reside in core/tests/overlaytest].

Also, fix typo in OverlayInfo#toString.

Bug: 119443459
Test: atest FrameworksServicesTests:com.android.server.om
Change-Id: Icbee70800de5157a1804e0c96101f31c0bad2619

5 years agoMerge "Address leftover comments on aosp/894233" into qt-dev
TreeHugger Robot [Tue, 9 Apr 2019 13:39:29 +0000 (13:39 +0000)]
Merge "Address leftover comments on aosp/894233" into qt-dev

5 years agoMerge "Shell: Grant CACHE_CONTENT to Shell" into qt-dev
Narayan Kamath [Tue, 9 Apr 2019 13:34:30 +0000 (13:34 +0000)]
Merge "Shell: Grant CACHE_CONTENT to Shell" into qt-dev

5 years agoMerge "Fix TaskPositionerTests" into qt-dev
Charles Chen [Tue, 9 Apr 2019 12:23:12 +0000 (12:23 +0000)]
Merge "Fix TaskPositionerTests" into qt-dev

5 years agoEnsure stack bounds are set for most animations
Jorim Jaggi [Mon, 8 Apr 2019 16:58:29 +0000 (18:58 +0200)]
Ensure stack bounds are set for most animations

...as otherwise rounded corners don't work. Also, ensure that we
only set rounded corners if a crop is set.

Test: WindowAnimationSpecTest
Test: Task switch animation
Fixes: 129062310
Change-Id: I9fea6a520cccf1ccf2aea3f57a4ce0dda3852779

5 years agoAddress leftover comments on aosp/894233
Chalard Jean [Mon, 8 Apr 2019 11:28:44 +0000 (20:28 +0900)]
Address leftover comments on aosp/894233

Cherry-pick from commit 415f523f7ce4c7e33fa70ea003f265e5b53faa20,
with small conflict resolution.

Bug: 129510344
Test: m, boots, wifi connects, resolves DNS
Change-Id: Idf24f42a86bbfcc89e3ea8cf50d1b705d72ac613
Merged-In: Idf24f42a86bbfcc89e3ea8cf50d1b705d72ac613
Merged-In: Ia08104f839ef37139a8761e2e625bb10c94c275f

5 years agoMove the latest AIDL update to the bottom
Chalard Jean [Fri, 5 Apr 2019 07:38:21 +0000 (16:38 +0900)]
Move the latest AIDL update to the bottom

Test: m
Bug: 128803828
Change-Id: I3818eb8abb5a410663a6da633d5516cef4ecad8e
(cherry picked from commit 45ff048d40f1b0b9ff6ff1e1b19dafc4488c82a0)

5 years agoSharesheet - Add support for sunshine
Matt Pietal [Thu, 4 Apr 2019 17:44:36 +0000 (13:44 -0400)]
Sharesheet - Add support for sunshine

Set apps/targets to be visually disabled when in suspended state. Do
not auto launch when the only app is suspended.

Bug: 112553778
Test: Manually inspect colors on app suspension
Change-Id: Ief9faba831c4f3676f02f84b0174b74d4103f940

5 years agoMerge "Move data stall definitions out from Setting" into qt-dev
Chiachang Wang [Tue, 9 Apr 2019 11:52:54 +0000 (11:52 +0000)]
Merge "Move data stall definitions out from Setting" into qt-dev

5 years agoMerge "Sharesheet: Rank the first N apps, then show the rest alphabetically." into...
TreeHugger Robot [Tue, 9 Apr 2019 11:10:00 +0000 (11:10 +0000)]
Merge "Sharesheet: Rank the first N apps, then show the rest alphabetically." into qt-dev