OSDN Git Service

android-x86/frameworks-base.git
5 years agoFix AudioRecordingConfiguration.anonymizedCopy method
Mikhail Naganov [Tue, 7 May 2019 19:33:13 +0000 (12:33 -0700)]
Fix AudioRecordingConfiguration.anonymizedCopy method

Client port ID must not be anonymized as it is used by
AudioRecord class to filter out the corresponding
recording configuration.

Bug: 123312504
Bug: 131756086
Test: atest CtsMediaTestCases:AudioRecordTest#testAudioRecordInfoCallback
      atest CtsMediaTestCases:AudioRecordTest#testGetActiveRecordingConfiguration

Change-Id: I3e32395e9df107db76cfc940fecda8d066c05d97

5 years agoMerge "Adds missing break after last statement in switch" into qt-dev
Mark Renouf [Wed, 8 May 2019 17:13:58 +0000 (17:13 +0000)]
Merge "Adds missing break after last statement in switch" into qt-dev

5 years agoMerge "Updates BubbleData sorting and grouping to spec" into qt-dev
Mark Renouf [Wed, 8 May 2019 16:58:20 +0000 (16:58 +0000)]
Merge "Updates BubbleData sorting and grouping to spec" into qt-dev

5 years agoMerge "Disable existing ContentCapture sessions if service changes their whitelist...
Felipe Leme [Wed, 8 May 2019 16:34:17 +0000 (16:34 +0000)]
Merge "Disable existing ContentCapture sessions if service changes their whitelist status." into qt-dev

5 years agoMerge "Increase 32-bit WebView VA reservation." into qt-dev
TreeHugger Robot [Wed, 8 May 2019 15:41:50 +0000 (15:41 +0000)]
Merge "Increase 32-bit WebView VA reservation." into qt-dev

5 years agoMerge "AudioService: refine concurrent capture policy" into qt-dev
Eric Laurent [Wed, 8 May 2019 15:36:25 +0000 (15:36 +0000)]
Merge "AudioService: refine concurrent capture policy" into qt-dev

5 years agoUpdates BubbleData sorting and grouping to spec
Mark Renouf [Thu, 2 May 2019 19:21:01 +0000 (15:21 -0400)]
Updates BubbleData sorting and grouping to spec

This change adds onBubbleOrderChanged to BubbleStackView
to try to keep the order synchronized. There are some known
issues with the animation and visual state, which will be
addressed in a follow up CL.

Bug: 123542488
Test: BubbleControllerTest BubbleDataTest
Change-Id: Ie5a679df2f3069236f4d67a3fce4189b39b9eb28

5 years agoMerge "Scale all StatusBarIconView status icons to 17dp" into qt-dev
TreeHugger Robot [Wed, 8 May 2019 14:52:24 +0000 (14:52 +0000)]
Merge "Scale all StatusBarIconView status icons to 17dp" into qt-dev

5 years agoMerge "Pretend to be having the original background" into qt-dev
Jorim Jaggi [Wed, 8 May 2019 12:21:53 +0000 (12:21 +0000)]
Merge "Pretend to be having the original background" into qt-dev

5 years agoMerge "Add EPROTONOSUPPORT to IpSecManager SSE map" into qt-dev
Lorenzo Colitti [Wed, 8 May 2019 09:20:09 +0000 (09:20 +0000)]
Merge "Add EPROTONOSUPPORT to IpSecManager SSE map" into qt-dev

5 years agoDo not set positive button visibility if dialog is from restored state
Kevin Chyn [Wed, 8 May 2019 02:39:44 +0000 (19:39 -0700)]
Do not set positive button visibility if dialog is from restored state

Also fix hidden dependency where positive button is enabled through
a dependency. Explicitly set visiblity where setEnabled occurs now.

Fixes: 132203917

Test: manual
Change-Id: Iba1e01a7c6b64a0f6a2721ddffac9d785981e9a0

5 years agoMerge "Get color directly and remove redundant clearMessage()" into qt-dev
Kevin Chyn [Wed, 8 May 2019 06:26:56 +0000 (06:26 +0000)]
Merge "Get color directly and remove redundant clearMessage()" into qt-dev

5 years agoMerge "Update BiometricPrompt colors" into qt-dev
Kevin Chyn [Wed, 8 May 2019 06:25:01 +0000 (06:25 +0000)]
Merge "Update BiometricPrompt colors" into qt-dev

5 years agoMerge "ic_corp_badge shape change on adaptive icon shape change" into qt-dev
Hyunyoung Song [Wed, 8 May 2019 05:10:00 +0000 (05:10 +0000)]
Merge "ic_corp_badge shape change on adaptive icon shape change" into qt-dev

5 years ago[automerger skipped] OP_REQUEST_INSTALL_PACKAGES denied by default am: 43e682abef...
Christopher Dombroski [Wed, 8 May 2019 04:45:43 +0000 (21:45 -0700)]
[automerger skipped] OP_REQUEST_INSTALL_PACKAGES denied by default am: 43e682abef am: 93780658ba am: e2d4ed92b4
am: abbe99e0f0 -s ours
am skip reason: change_id I2578251906f6656b83464d1c4fc4db99165841c9 with SHA1 acc75528ff is in history

Change-Id: I7bb9a8f7dbbffe346f383cb1e33463a6389f1a4f

5 years agoOP_REQUEST_INSTALL_PACKAGES denied by default am: 43e682abef am: 93780658ba
Christopher Dombroski [Wed, 8 May 2019 04:12:12 +0000 (21:12 -0700)]
OP_REQUEST_INSTALL_PACKAGES denied by default am: 43e682abef am: 93780658ba
am: e2d4ed92b4

Change-Id: I7b440302c64f54d33ec4afce2ac517288cc5cba6

5 years agoMerge "Ensure we only remove messages for the same app info" into qt-dev
Winson Chung [Wed, 8 May 2019 03:52:59 +0000 (03:52 +0000)]
Merge "Ensure we only remove messages for the same app info" into qt-dev

5 years agoOP_REQUEST_INSTALL_PACKAGES denied by default am: 43e682abef
Christopher Dombroski [Wed, 8 May 2019 03:19:24 +0000 (20:19 -0700)]
OP_REQUEST_INSTALL_PACKAGES denied by default am: 43e682abef
am: 93780658ba

Change-Id: I3755a8c458b92e565d33779d3d4d3c7c6614cdf5

5 years agoMerge "Handle [error->pending_confirmation] and [error->authenticated] animations...
Kevin Chyn [Wed, 8 May 2019 02:41:18 +0000 (02:41 +0000)]
Merge "Handle [error->pending_confirmation] and [error->authenticated] animations" into qt-dev

5 years agoMerge "Added moar augmented-autofill metrics:" into qt-dev
TreeHugger Robot [Wed, 8 May 2019 02:22:53 +0000 (02:22 +0000)]
Merge "Added moar augmented-autofill metrics:" into qt-dev

5 years agoGet color directly and remove redundant clearMessage()
Kevin Chyn [Wed, 8 May 2019 02:15:52 +0000 (19:15 -0700)]
Get color directly and remove redundant clearMessage()

Fixes: 132204990

Test: Message has proper color
Change-Id: I8ae35a35c4f7151f08fc6c2ffb8e2d5cac216187

5 years agoMerge "Restricted permission whitelisted by default" into qt-dev
Svetoslav Ganov [Wed, 8 May 2019 02:17:24 +0000 (02:17 +0000)]
Merge "Restricted permission whitelisted by default" into qt-dev

5 years agoOP_REQUEST_INSTALL_PACKAGES denied by default
Christopher Dombroski [Wed, 8 May 2019 02:13:32 +0000 (19:13 -0700)]
OP_REQUEST_INSTALL_PACKAGES denied by default
am: 43e682abef

Change-Id: I13fd6fc7ba432a2cde1e8dbbc7b206e8203374f8

5 years agoMerge "Do not check for APEX and APK package name collisions during normal boot"...
TreeHugger Robot [Wed, 8 May 2019 01:54:55 +0000 (01:54 +0000)]
Merge "Do not check for APEX and APK package name collisions during normal boot" into qt-dev

5 years agoMerge "listen to correct intent extra for defaultSubIdChange" into qt-dev
Chen Xu [Wed, 8 May 2019 01:53:23 +0000 (01:53 +0000)]
Merge "listen to correct intent extra for defaultSubIdChange" into qt-dev

5 years agoMerge "Update acquired strings" into qt-dev
Kevin Chyn [Wed, 8 May 2019 01:24:13 +0000 (01:24 +0000)]
Merge "Update acquired strings" into qt-dev

5 years agoUpdate BiometricPrompt colors
Kevin Chyn [Wed, 8 May 2019 00:40:53 +0000 (17:40 -0700)]
Update BiometricPrompt colors

Bug: 128845381
Bug: 129015520
Bug: 127358147
Bug: 131301243

Test: Colors are seen

Change-Id: Ie7d03f470e72fdaca804f52e98ea51ffd03bc36f

5 years agoAudioService: refine concurrent capture policy
Eric Laurent [Sat, 4 May 2019 01:38:12 +0000 (18:38 -0700)]
AudioService: refine concurrent capture policy

- Get assistant from Role manager as well
- To qualify as assistant an APK must have privileged
permission CAPTURE_AUDIO_HOTWORD.

Bug: 131758164
Test: manual tests of assistant capture

Change-Id: Ibf0fdc5d906c7a707c75125b9beeb6fad6916c60

5 years agoMerge "GpuStats: add render api versions to global stats" into qt-dev
TreeHugger Robot [Wed, 8 May 2019 01:02:54 +0000 (01:02 +0000)]
Merge "GpuStats: add render api versions to global stats" into qt-dev

5 years agoMerge "Resume throwing if too many concurrent alarms" into qt-dev
TreeHugger Robot [Tue, 7 May 2019 23:44:57 +0000 (23:44 +0000)]
Merge "Resume throwing if too many concurrent alarms" into qt-dev

5 years agolisten to correct intent extra for defaultSubIdChange
chen xu [Tue, 7 May 2019 23:25:12 +0000 (16:25 -0700)]
listen to correct intent extra for defaultSubIdChange

TelephonyRegistry listen for the wrong intent extra PhoneConstants.SLOT
which has been removed recently. Thus when receive default subscription
id changed event, we mistenkenly thought phone ID is invalid,
thus we never update mDefaultPhoneId and mDefaultSubId and fails to
notify listeners on default subscription

Bug: 131915645
Test: Manual
Change-Id: Ibb79e55c0756b30669cbd5c69c181f9f9c4d186b

5 years agoHandle [error->pending_confirmation] and [error->authenticated] animations
Kevin Chyn [Tue, 7 May 2019 23:02:53 +0000 (16:02 -0700)]
Handle [error->pending_confirmation] and [error->authenticated] animations

It's possible to go from error state to either of the onAuthenticated
states. Thus, initiate animation when that happens

Fixes: 132124967

Test: Modify code to coerce UI into bad state. Apply patch, bad state
      is not seen anymore

Change-Id: I34fbf0801721d57e509675a9b4ecc38ead143ba6

5 years agoMerge "Do not hide caption for hiding navigation bar flag" into qt-dev
TreeHugger Robot [Tue, 7 May 2019 22:23:33 +0000 (22:23 +0000)]
Merge "Do not hide caption for hiding navigation bar flag" into qt-dev

5 years agoAdd EPROTONOSUPPORT to IpSecManager SSE map
Benedict Wong [Mon, 16 Jul 2018 21:56:20 +0000 (14:56 -0700)]
Add EPROTONOSUPPORT to IpSecManager SSE map

This change maps EPROTONOSUPPORT to the list of error codes that map to
UnsupportedOperationException in IpSecManager.

Bug: 80103456
Test: Compiles, CTS tests ran
Change-Id: Iec3d5fc4a9bcad7c104414afefae775232d46558
Merged-In: Iec3d5fc4a9bcad7c104414afefae775232d46558
(cherry picked from commit dcbc670688d815ce89954765fac46aa2ad6d8adb)

5 years agoMerge "Disable display white balance when accessibility features are enabled" into...
Daniel Solomon [Tue, 7 May 2019 21:20:05 +0000 (21:20 +0000)]
Merge "Disable display white balance when accessibility features are enabled" into qt-dev

5 years agoMerge changes from topic "gentle-header" into qt-dev
Ned Burns [Tue, 7 May 2019 21:13:31 +0000 (21:13 +0000)]
Merge changes from topic "gentle-header" into qt-dev

* changes:
  Add "clear all" button to gentle notif section header
  Add "Gentle Notifications" header to gentle section

5 years agoUpdate acquired strings
Kevin Chyn [Tue, 7 May 2019 20:27:32 +0000 (13:27 -0700)]
Update acquired strings

Bug: 123782396

Test: Builds
Change-Id: Id67b5c48fdf4ecc7e2a855aa1dd92b986c91114d

5 years agoEnsure we only remove messages for the same app info
Winson Chung [Tue, 7 May 2019 20:22:15 +0000 (13:22 -0700)]
Ensure we only remove messages for the same app info

Bug: 130151718
Bug: 132179354
Test: Switch between gesture nav modes, ensure that system and sysui are
      in the right state

Change-Id: I364d155292fc378af552b6ce9e6acca879224693

5 years agoMerge "Revert SurfaceView background implementation." into qt-dev
Rob Carr [Tue, 7 May 2019 19:59:57 +0000 (19:59 +0000)]
Merge "Revert SurfaceView background implementation." into qt-dev

5 years agoMerge "WM/ViewRootImpl: Fix convertFromTranslucent to respect existing state." into...
Rob Carr [Tue, 7 May 2019 19:31:36 +0000 (19:31 +0000)]
Merge "WM/ViewRootImpl: Fix convertFromTranslucent to respect existing state." into qt-dev

5 years agoRestricted permission whitelisted by default
Svet Ganov [Sat, 4 May 2019 01:50:43 +0000 (18:50 -0700)]
Restricted permission whitelisted by default

To ensure existing installers would work without a change the
default state of installing a package is now that all restricted
permissions are whitelisted. If the installer specifies another
whitelist at install time, it determines the install state. In
addition to this we now enable the restricted permission checks
as a prebuilt installer is no longer required.

Test: atest CtsPermission2TestCases
Test: atest CtsPermissionTestCases
Test: atest CtsAppSecurityTestCases:android.appsecurity.cts.PermissionsHostTest

bug:132160728

Change-Id: I705e341faebe62fc2d88fd37ad8870b98e1b71b1

5 years agoMerge "Fix taking actions without considering pending health checks" into qt-dev
TreeHugger Robot [Tue, 7 May 2019 19:01:40 +0000 (19:01 +0000)]
Merge "Fix taking actions without considering pending health checks" into qt-dev

5 years agoAdded moar augmented-autofill metrics:
Felipe Leme [Thu, 2 May 2019 21:09:04 +0000 (14:09 -0700)]
Added moar augmented-autofill metrics:

- AUTOFILL_AUGMENTED_WHITELIST_REQUEST
- AUTOFILL_AUGMENTED_RESPONSE
- FIELD_AUTOFILL_AUGMENTED_ONLY on AUTOFILL_SESSION_FINISHED

Test: adb shell logcat -b events | grep sysui
Test: atest CtsContentCaptureServiceTestCases # sanity check

Bug: 112192360
Fixes: 122858578

Merged-In: Ia6bfced9396dd9e3f8ef2a6c45415dc22f4327c9
Change-Id: Ia6bfced9396dd9e3f8ef2a6c45415dc22f4327c9

5 years agoMerge "GpuStats: Plumb Vulkan api version" into qt-dev
TreeHugger Robot [Tue, 7 May 2019 18:19:36 +0000 (18:19 +0000)]
Merge "GpuStats: Plumb Vulkan api version" into qt-dev

5 years agoAdds missing break after last statement in switch
Mark Renouf [Tue, 7 May 2019 17:52:26 +0000 (13:52 -0400)]
Adds missing break after last statement in switch

Test: no functional change
Bug: 123542488
Change-Id: I756755324e7a59e58affc13c272c8154425b8363

5 years agoDO NOT MERGE: Bump metrics_constants value by ~100 to avoid conflicts with master.
Aran Ink [Tue, 7 May 2019 17:39:37 +0000 (13:39 -0400)]
DO NOT MERGE: Bump metrics_constants value by ~100 to avoid conflicts with 

Add Global Actions Panel Settings constant.

Bug: 127295457
Test: Automated tests pass.
Change-Id: Ib37a13192fb1aa20cf3d914beee7b9a4eb399168

5 years agoMerge "DO NOT MERGE: Fixed broken aapt2 tests" into qt-dev
TreeHugger Robot [Tue, 7 May 2019 17:28:17 +0000 (17:28 +0000)]
Merge "DO NOT MERGE: Fixed broken aapt2 tests" into qt-dev

5 years agoMerge "Call MediaStore#scanFile directly in RingtoneManager" into qt-dev
Winson Chiu [Tue, 7 May 2019 17:21:16 +0000 (17:21 +0000)]
Merge "Call MediaStore#scanFile directly in RingtoneManager" into qt-dev

5 years agoFix taking actions without considering pending health checks
Zimuzo [Tue, 7 May 2019 16:48:02 +0000 (17:48 +0100)]
Fix taking actions without considering pending health checks

Now, we consider if we are expecting a health check result before
taking the following actions:
1. Requesting explicit health checks: Otherwise if a package has
failed health checks, we would keep requesting unnecessary health
checks from the health check service
2. Scheduling next sync: Otherwise, even after a package has passed or
failed health checks, we could keep scheduling shorter syncs than
required

Test: atest PackageWatchdogTest
Bug: 132168914
Change-Id: I817e14b6d4fa563d1c22af6ffb0461f3693a49b4

5 years agoMerge "Hide nav bar when keyguard on the 2nd display" into qt-dev
TreeHugger Robot [Tue, 7 May 2019 16:24:22 +0000 (16:24 +0000)]
Merge "Hide nav bar when keyguard on the 2nd display" into qt-dev

5 years agoMerge "Adds OnBackPressedOnTaskRoot" into qt-dev
Mark Renouf [Tue, 7 May 2019 16:10:12 +0000 (16:10 +0000)]
Merge "Adds OnBackPressedOnTaskRoot" into qt-dev

5 years agoMerge "Cache GNSS JNI methodIds/classes at system initialization" into qt-dev
Anil Admal [Tue, 7 May 2019 15:48:34 +0000 (15:48 +0000)]
Merge "Cache GNSS JNI methodIds/classes at system initialization" into qt-dev

5 years agoMerge "Sharesheet - alter entrance animation" into qt-dev
TreeHugger Robot [Tue, 7 May 2019 15:46:13 +0000 (15:46 +0000)]
Merge "Sharesheet - alter entrance animation" into qt-dev

5 years agoMerge "Prevent clipping clock during shrink, bold transition" into qt-dev
TreeHugger Robot [Tue, 7 May 2019 15:34:43 +0000 (15:34 +0000)]
Merge "Prevent clipping clock during shrink, bold transition" into qt-dev

5 years agoPretend to be having the original background
Jorim Jaggi [Tue, 9 Apr 2019 13:16:23 +0000 (15:16 +0200)]
Pretend to be having the original background

...as otherwise setWindowBackground(bg) => bg == dv.getBackground
property is violated.

Also ensure the setBackground updates mOriginalBackground as well,
such that getBackground doesn't return a stale value.

Test: WindowTest
Test: Open maps
Bug: 130586696
Fixes: 130170137
Change-Id: I22b74ca6d4fd18600645b5d24814a90b8528745c

5 years agoDo not check for APEX and APK package name collisions during normal boot
Nikita Ioffe [Mon, 6 May 2019 18:07:45 +0000 (19:07 +0100)]
Do not check for APEX and APK package name collisions during normal boot

* Check only on installs/OTA first time boots as this is the only places
  collisions might occur.

Bug: 131611765
Test: atest CtsStagedInstallHostTestCases
Change-Id: I5cfb6192656b08cb913f84230baf42a8f3325980

5 years agoMerge "Extend NetworkDnsEventReported and add new DnsCallReported to log per-query...
Frank Li [Tue, 7 May 2019 14:50:11 +0000 (14:50 +0000)]
Merge "Extend NetworkDnsEventReported and add new DnsCallReported to log per-query information" into qt-dev

5 years agoScale all StatusBarIconView status icons to 17dp
Fabian Kozynski [Thu, 2 May 2019 21:28:02 +0000 (17:28 -0400)]
Scale all StatusBarIconView status icons to 17dp

StatusBarIconView will scale status icons to 17dp regardless of the
intrinsic size of the drawable. It uses the intrinisc height of the
icon as that's the most visible when the icons are not the same heihgt.

Also change permission icons in PhoneStatusBarPolicy to use the same as
PrivacyType and guarantee consistency.

Test: observe existing icons, they are same size as before
Test: open camera and maps and observe permission icons, they are same
height as other icons
Test: change themes and check that icons change and are the right size

Fixes: 131851643

Change-Id: Ied8a2f1d96e6a0e5ee456f2babb2b68b803445c9

5 years agoMerge "Only allow seeking when action is set" into qt-dev
Beth Thibodeau [Tue, 7 May 2019 14:14:37 +0000 (14:14 +0000)]
Merge "Only allow seeking when action is set" into qt-dev

5 years agoPrevent clipping clock during shrink, bold transition
Robert Snoeberger [Mon, 6 May 2019 21:41:36 +0000 (17:41 -0400)]
Prevent clipping clock during shrink, bold transition

Bug: 130223602
Test: visual - look at transition with music playing
Change-Id: I3bfd9f9c51bde3f827888e4eec43360db3f1d266

5 years agoMerge "Limit touch sampling rate for falsing." into qt-dev
Dave Mankoff [Tue, 7 May 2019 14:08:29 +0000 (14:08 +0000)]
Merge "Limit touch sampling rate for falsing." into qt-dev

5 years agoHide nav bar when keyguard on the 2nd display
Charles Chen [Mon, 22 Apr 2019 09:30:29 +0000 (17:30 +0800)]
Hide nav bar when keyguard on the 2nd display

Bug: 130963707
Test: atest SystemUITest
Test: atest DisplayPolicyLayoutTests#layoutWindowLw_keyguardDialog_hideNav
Test: manual - use chromecast with debug patch + force Desktop mode
               Press power key to make the lockscreen show and check if
       nav bar is gone
Change-Id: I7f8f9c2c6d1157218e5dda1068170799fdccb64b

5 years agoMerge "Documentation update for MAC access restrictions." into qt-dev
Bram Bonné [Tue, 7 May 2019 14:02:05 +0000 (14:02 +0000)]
Merge "Documentation update for MAC access restrictions." into qt-dev

5 years agoAdds OnBackPressedOnTaskRoot
Mark Renouf [Fri, 26 Apr 2019 14:22:41 +0000 (10:22 -0400)]
Adds OnBackPressedOnTaskRoot

This allows Bubbles to be collapsed instead of finished
when there is only one activity in the stack.

Bug: 126852149
Test: launch activity, press back
Change-Id: Iad8db0549853e3f385d54fc6b6cea5e502d37139

5 years agoMerge "Update the contract docummentation regarding UnsupportedOperationException...
Yasmin Molazadeh [Tue, 7 May 2019 13:07:37 +0000 (13:07 +0000)]
Merge "Update the contract docummentation regarding  UnsupportedOperationException." into qt-dev

5 years agoDocumentation update for MAC access restrictions.
Bram Bonné [Mon, 6 May 2019 12:31:09 +0000 (14:31 +0200)]
Documentation update for MAC access restrictions.

With change ag/7340724, the device's P2P MAC adress will only be
available to callers holding the LOCAL_MAC_ADDRESS permission, and will
be anonymized otherwise. This CL updates the documentation in
WifiP2pManager to reflect that.

Bug: 132055766
Test: atest tests/src/android/net/wifi/

Change-Id: I9c2b5ce2cb2c2d2d6766fd34f3451ad4f22a5698

5 years agoRevert "Add optional reasons why permissions were denied"
Tim Murray [Tue, 7 May 2019 06:53:55 +0000 (06:53 +0000)]
Revert "Add optional reasons why permissions were denied"

This reverts commit 3623f3219ea964b1d251527533922a1a85897543.

Reason for revert: 40% startup perf regression

Test: revert
Bug 132129453
Exempt-From-Owner-Approval: critical revert

Change-Id: I19dc33e6a71c9254b4096154f4089c059fe408dd

5 years agoMerge "Correct buffer size limitation for DnsResolver API" into qt-dev
TreeHugger Robot [Tue, 7 May 2019 05:13:36 +0000 (05:13 +0000)]
Merge "Correct buffer size limitation for DnsResolver API" into qt-dev

5 years agoMerge "Enhance Javadoc of playback speed related APIs" into qt-dev
Hyundo Moon [Tue, 7 May 2019 05:13:24 +0000 (05:13 +0000)]
Merge "Enhance Javadoc of playback speed related APIs" into qt-dev

5 years agoMerge "Not to remove the same animator twice" into qt-dev
TreeHugger Robot [Tue, 7 May 2019 04:41:37 +0000 (04:41 +0000)]
Merge "Not to remove the same animator twice" into qt-dev

5 years agoMerge "Validate display white balance matrices" into qt-dev
Daniel Solomon [Tue, 7 May 2019 02:34:08 +0000 (02:34 +0000)]
Merge "Validate display white balance matrices" into qt-dev

5 years agoGpuStats: add render api versions to global stats
Yiwei Zhang [Tue, 7 May 2019 02:31:20 +0000 (19:31 -0700)]
GpuStats: add render api versions to global stats

Bug: 131866357
Test: atest GpuStatsPuller_test
Change-Id: I7875c3dd7935297519d68cd1d16277928ab2e53b

5 years agoRevert SurfaceView background implementation.
Robert Carr [Mon, 6 May 2019 20:03:11 +0000 (13:03 -0700)]
Revert SurfaceView background implementation.

We changed the SurfaceView background to be a boundless
child layer. However this was a semantic change. Each SurfaceView now
has its own background behind it instead of the backgrounds being
behind all SurfaceView. This causes an issue with some apps which
have an invisible SurfaceView hanging out for no particular reason.

Revert "SurfaceView: Correct comparison operator.",
"SurfaceView: Only show background when behind ViewRoot.",
"SurfaceView: Check correct OPAQUE flag for background visibility.",
"Correct SurfaceView background visibility.",
"Replace SurfaceView background with boundless color layer."

Bug: 123920952
Test: SurfaceViewTest. SurfaceViewSurfaceValidatorTest
Change-Id: I88ff31542ee0139d15c84ed2d6791c5cd455604b

5 years agoGpuStats: Plumb Vulkan api version
Yiwei Zhang [Tue, 7 May 2019 00:13:05 +0000 (17:13 -0700)]
GpuStats: Plumb Vulkan api version

This change plumbs the advertised Vulkan api version into GraphicsEnv.
GLES api version and CPU Vulkan api version will be appended when statd
pulls GpuStatsGlobalInfo from GpuStats to save app launch overhead.

Bug: 131866357
Test: build, flash and boot
Change-Id: I7faa924eccc81499cd4f1fd54803e3a62bd3153a

5 years agoMerge "Fix IME window can't show on Simulated display" into qt-dev
TreeHugger Robot [Tue, 7 May 2019 00:45:21 +0000 (00:45 +0000)]
Merge "Fix IME window can't show on Simulated display" into qt-dev

5 years agoMerge "Build aapt2 statically on windows" into qt-dev
TreeHugger Robot [Tue, 7 May 2019 00:26:40 +0000 (00:26 +0000)]
Merge "Build aapt2 statically on windows" into qt-dev

5 years agoCall MediaStore#scanFile directly in RingtoneManager
Winson [Tue, 7 May 2019 00:01:55 +0000 (17:01 -0700)]
Call MediaStore#scanFile directly in RingtoneManager

Reproduced the failing case, even without thread pool changes.
Since RingtoneManager was blocking on the call anyways, changing it
to use the synchronous scanFile method directly should be fine.

Bug: 131882699

Test: manual add MP3 with RingtonePickerActivity

Change-Id: I53b49ed17403cda93ecfefb6985133b161a96983

5 years agoDisable display white balance when accessibility features are enabled
Daniel Solomon [Fri, 12 Apr 2019 02:29:31 +0000 (19:29 -0700)]
Disable display white balance when accessibility features are enabled

To avoid conflicting with display accessibility features, disable
display white balance when these features are active.

Bug: 130263943
Test: atest FrameworksServicesTests:ColorDisplayServiceTest
Change-Id: Id7f97c74dc37d44ec13a1d26ac8500b130fef2f8

5 years agoMerge "Fixed the transformation for MessagingStyle" into qt-dev
Selim Cinek [Mon, 6 May 2019 23:59:29 +0000 (23:59 +0000)]
Merge "Fixed the transformation for MessagingStyle" into qt-dev

5 years agoMerge "Collects metrics for the new Sharing Shortcuts api" into qt-dev
Mehdi Alizadeh [Mon, 6 May 2019 23:59:06 +0000 (23:59 +0000)]
Merge "Collects metrics for the new Sharing Shortcuts api" into qt-dev

5 years agoDO NOT MERGE: Fixed broken aapt2 tests
Ryan Mitchell [Mon, 6 May 2019 20:02:38 +0000 (13:02 -0700)]
DO NOT MERGE: Fixed broken aapt2 tests

Some tests starting failing when
b435101ec8aa827375e837c4843f6444145e1f4c was merged. It seems on qt-dev
aapt2_host_unit_tests does not run while it does on master.

Bug: 131762014
Bug: 129146717
Test: aapt2_tests
Change-Id: I701b275989c908acb78190be0930785712cb5686

5 years agoMerge "a11y local actions - fling bubble stack to corners" into qt-dev
TreeHugger Robot [Mon, 6 May 2019 23:46:37 +0000 (23:46 +0000)]
Merge "a11y local actions - fling bubble stack to corners" into qt-dev

5 years agoMerge "Sorting and merge Emergency number better" into qt-dev
Shuo Qian [Mon, 6 May 2019 23:31:08 +0000 (23:31 +0000)]
Merge "Sorting and merge Emergency number better" into qt-dev

5 years agoMerge "Revert "Update documntation for getCardId"" into qt-dev
Jordan Liu [Mon, 6 May 2019 23:14:35 +0000 (23:14 +0000)]
Merge "Revert "Update documntation for getCardId"" into qt-dev

5 years agoDisable existing ContentCapture sessions if service changes their whitelist status.
Felipe Leme [Mon, 6 May 2019 22:57:30 +0000 (15:57 -0700)]
Disable existing ContentCapture sessions if service changes their whitelist status.

Test: atest CtsContentCaptureServiceTestCases:CustomViewActivityTest
Test: atest CtsContentCaptureServiceTestCases # sanity check

Fixes: 130802293

Change-Id: Ia94016382192912668c4ac1ce580a0b95c76f35c

5 years agoMerge "Fix display-level windowingMode change" into qt-dev
Evan Rosky [Mon, 6 May 2019 22:25:06 +0000 (22:25 +0000)]
Merge "Fix display-level windowingMode change" into qt-dev

5 years agoMerge "OMS: limit shell command output via optional args" into qt-dev
TreeHugger Robot [Mon, 6 May 2019 22:12:37 +0000 (22:12 +0000)]
Merge "OMS: limit shell command output via optional args" into qt-dev

5 years agoRevert "Update documntation for getCardId"
Jordan Liu [Mon, 6 May 2019 18:58:38 +0000 (18:58 +0000)]
Revert "Update documntation for getCardId"

This reverts commit 67b80596b520c59ced88cd7882c5738e03f68938.

Reason for revert: b/131868150
Bug: 131423779
Change-Id: I7c373e2949cbb8e98322500ae6a1c866fcbfcba0

5 years agoMerge "Do not reset time if time was already set before" into qt-dev
Jorim Jaggi [Mon, 6 May 2019 21:41:42 +0000 (21:41 +0000)]
Merge "Do not reset time if time was already set before" into qt-dev

5 years agoResume throwing if too many concurrent alarms
Suprabh Shukla [Mon, 6 May 2019 21:39:22 +0000 (14:39 -0700)]
Resume throwing if too many concurrent alarms

We temporarily stopped throwing to resolve issues with the accounting.
Resuming now.

Test: atest CtsAlarmManagerTestCases:UidCapTests
Test: atest com.android.server.AlarmManagerServiceTest

Bug: 129995049
Change-Id: Iabadfd02d789b5f184379df46022aeae2314db9c

5 years agoMerge "Pass in external packageName" into qt-dev
Youming Ye [Mon, 6 May 2019 20:34:14 +0000 (20:34 +0000)]
Merge "Pass in external packageName" into qt-dev

5 years agoIncrease 32-bit WebView VA reservation.
Torne (Richard Coles) [Mon, 6 May 2019 20:24:54 +0000 (16:24 -0400)]
Increase 32-bit WebView VA reservation.

Most pre-Q devices actually reserved around 130MiB in the 32-bit zygote
for the WebView native library; 100MiB was only the lower limit and the
file size based calculation that older OS versions use would come up
with a larger number. Increase the hardcoded value for Q to 130MiB so
that the behaviour is roughly the same across OS versions.

Fixes: 132081320
Test: manually verified via inspection of process maps
Change-Id: I0f03ac2f118bb0627ea6be229e5064d4590d8afb

5 years agoCache GNSS JNI methodIds/classes at system initialization
Anil Admal [Sat, 4 May 2019 01:29:02 +0000 (18:29 -0700)]
Cache GNSS JNI methodIds/classes at system initialization

Fixes: 77808332
Test: Tested on a Pixel device
Change-Id: Iaf466dceb332636e52236b9865219cc3f07e186a

5 years agoa11y local actions - fling bubble stack to corners
Lyn Han [Fri, 3 May 2019 01:28:01 +0000 (18:28 -0700)]
a11y local actions - fling bubble stack to corners

Test: manual
Bug: 123541035

Change-Id: I6ac547fd6d3c60a4b93ecac2d6e610a416fcec18

5 years agoMerge "Update Analog clock face assets." into qt-dev
TreeHugger Robot [Mon, 6 May 2019 19:40:25 +0000 (19:40 +0000)]
Merge "Update Analog clock face assets." into qt-dev

5 years agoCollects metrics for the new Sharing Shortcuts api
Mehdi Alizadeh [Thu, 25 Apr 2019 21:52:02 +0000 (14:52 -0700)]
Collects metrics for the new Sharing Shortcuts api

Bug: 122904954
Test: atest com.android.server.pm.ShortcutManagerTest1 \
            com.android.server.pm.ShortcutManagerTest2 \
            com.android.server.pm.ShortcutManagerTest3 \
            com.android.server.pm.ShortcutManagerTest4 \
            com.android.server.pm.ShortcutManagerTest5 \
            com.android.server.pm.ShortcutManagerTest6 \
            com.android.server.pm.ShortcutManagerTest7 \
            com.android.server.pm.ShortcutManagerTest8 \
            com.android.server.pm.ShortcutManagerTest9 \
            com.android.server.pm.ShortcutManagerTest10
Change-Id: Ifafcaa789814618846d41431d6190e4d79e871e5

5 years agoBuild aapt2 statically on windows
Ryan Mitchell [Mon, 6 May 2019 18:54:41 +0000 (11:54 -0700)]
Build aapt2 statically on windows

Prebuilt script is no longer updating libwinpthread-1.dll. Link the
windows executable statically so aapt2 will no longer require the
dependency on the dll.

Bug: 131883685
Test: manual test of aapt2.exe on windows without libwinpthread-1.dll
Change-Id: If78a8ec3030003862c18e3967e4d8333fde7928a

5 years agoMerge "Update path to audio files" into qt-dev
Anton Hansson [Mon, 6 May 2019 18:56:57 +0000 (18:56 +0000)]
Merge "Update path to audio files" into qt-dev

5 years agoAdd "clear all" button to gentle notif section header
Ned Burns [Thu, 2 May 2019 22:27:23 +0000 (18:27 -0400)]
Add "clear all" button to gentle notif section header

Test: manual

Bug: 131358199
Change-Id: I10ccd09e3eda719e35c4f53fb81c0ef4ac3ae290

5 years agoAdd "Gentle Notifications" header to gentle section
Ned Burns [Tue, 23 Apr 2019 20:02:12 +0000 (16:02 -0400)]
Add "Gentle Notifications" header to gentle section

Missing "clear all" support, will add in later CL.

Test: manual

Bug: 131358199
Change-Id: I18aaacb1bf3f173b151bcac8df9dd953d0a7f513