OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "BubbleData [6/n]: Splice BubbleData into code path" into qt-dev
Mark Renouf [Tue, 16 Apr 2019 20:21:50 +0000 (20:21 +0000)]
Merge "BubbleData [6/n]: Splice BubbleData into code path" into qt-dev

5 years agoMerge "Remove MiniThumbFile" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 19:53:39 +0000 (19:53 +0000)]
Merge "Remove MiniThumbFile" into qt-dev

5 years agoMerge "Clarified format of ContentCaptureCondition.FLAG_IS_REGEX" into qt-dev
Felipe Leme [Tue, 16 Apr 2019 19:34:37 +0000 (19:34 +0000)]
Merge "Clarified format of ContentCaptureCondition.FLAG_IS_REGEX" into qt-dev

5 years agoMerge "Grant clipboard access to the Augmented Autofill service." into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 19:19:37 +0000 (19:19 +0000)]
Merge "Grant clipboard access to the Augmented Autofill service." into qt-dev

5 years agoMerge "Move music icon to secondary row" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 18:53:16 +0000 (18:53 +0000)]
Merge "Move music icon to secondary row" into qt-dev

5 years agoMerge "thermal: Add pulled cooling device atom and a field to Temperature atom" into...
Maggie White [Tue, 16 Apr 2019 18:17:33 +0000 (18:17 +0000)]
Merge "thermal: Add pulled cooling device atom and a field to Temperature atom" into qt-dev

5 years agoMerge "Add custom title for settings dialogs" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 18:16:54 +0000 (18:16 +0000)]
Merge "Add custom title for settings dialogs" into qt-dev

5 years agoBubbleData [6/n]: Splice BubbleData into code path
Mark Renouf [Mon, 8 Apr 2019 19:02:54 +0000 (15:02 -0400)]
BubbleData [6/n]: Splice BubbleData into code path

BubbleData internal representation becomes a list in prep
for managing order and grouping internally. Changes are
passed through bubbleData and dispatched for UI updates
via Listener.

Bug: 123542488
Test: atest BubbleControllerTest
Change-Id: I380ca718bc896307b31e73030b4202762a6cf353

5 years agoMerge ""Charging this device via USB" notification isn't relevant for automotive...
TreeHugger Robot [Tue, 16 Apr 2019 18:07:55 +0000 (18:07 +0000)]
Merge ""Charging this device via USB" notification isn't relevant for automotive." into qt-dev

5 years agoMerge "Avoid NPE when accessing to EnforcedAdmin" into qt-dev
Fan Zhang [Tue, 16 Apr 2019 18:07:50 +0000 (18:07 +0000)]
Merge "Avoid NPE when accessing to EnforcedAdmin" into qt-dev

5 years agoMerge "Check before closing the CloseGuard if not closed yet" into qt-dev
Mehdi Alizadeh [Tue, 16 Apr 2019 18:01:33 +0000 (18:01 +0000)]
Merge "Check before closing the CloseGuard if not closed yet" into qt-dev

5 years agoMerge "Skip idmap1 generation if target defines overlayable" into qt-dev
Winson Chiu [Tue, 16 Apr 2019 17:53:54 +0000 (17:53 +0000)]
Merge "Skip idmap1 generation if target defines overlayable" into qt-dev

5 years agoMerge "Move deprecated IMS_SERVICE_UP/DOWN intents to Phone process" into qt-dev
Brad Ebinger [Tue, 16 Apr 2019 17:36:05 +0000 (17:36 +0000)]
Merge "Move deprecated IMS_SERVICE_UP/DOWN intents to Phone process" into qt-dev

5 years agoMerge "Drop final remnants of Type clock face" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 17:14:43 +0000 (17:14 +0000)]
Merge "Drop final remnants of Type clock face" into qt-dev

5 years agoDrop final remnants of Type clock face
Robert Snoeberger [Thu, 11 Apr 2019 16:57:33 +0000 (12:57 -0400)]
Drop final remnants of Type clock face

Bug: 130296587
Test: mp sysuig
Change-Id: I1a78beadedb2b0afba34620273f5cb80d7bd2291

5 years agoMerge "Sharesheet - Prevent duplicate direct share targets" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 17:05:03 +0000 (17:05 +0000)]
Merge "Sharesheet - Prevent duplicate direct share targets" into qt-dev

5 years agoMerge "Don't allow PI-based starts and trampolines when sender is SYSTEM_UID and...
TreeHugger Robot [Tue, 16 Apr 2019 16:58:24 +0000 (16:58 +0000)]
Merge "Don't allow PI-based starts and trampolines when sender is SYSTEM_UID and it happens to pass foregroundness check at the time of sending" into qt-dev

5 years agoMove music icon to secondary row
Lucas Dupin [Thu, 11 Apr 2019 17:59:13 +0000 (10:59 -0700)]
Move music icon to secondary row

Bug: 130223602
Test: visual
Change-Id: I5c2f5acc267f5fa87b1f997afd3c304e5a2bf184

5 years agoAdd custom title for settings dialogs
Salvador Martinez [Fri, 12 Apr 2019 22:55:37 +0000 (15:55 -0700)]
Add custom title for settings dialogs

This is a generic version of the custom title that will
be used in settings dialogs soon. Adding it to settings
lib since others will need to make use of it as well.

Test: robotests pass
Bug: 130251804
Change-Id: I48f8e24a2b2a117e5a8054c5bc0b240ba68fe1ad

5 years agoMerge "Add more documentation for ACTION_MANAGE_MORE_DEFAULT_APPS_SETTINGS." into...
TreeHugger Robot [Tue, 16 Apr 2019 16:41:03 +0000 (16:41 +0000)]
Merge "Add more documentation for ACTION_MANAGE_MORE_DEFAULT_APPS_SETTINGS." into qt-dev

5 years agoMerge "Only reset layout seq when moved to a new display." into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 16:40:53 +0000 (16:40 +0000)]
Merge "Only reset layout seq when moved to a new display." into qt-dev

5 years agoMerge "Change the label color to textColorSecondary" into qt-dev
Fabian Kozynski [Tue, 16 Apr 2019 16:15:26 +0000 (16:15 +0000)]
Merge "Change the label color to textColorSecondary" into qt-dev

5 years agoMerge "Sharesheet - Add copy text in response to UXR" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 16:15:24 +0000 (16:15 +0000)]
Merge "Sharesheet - Add copy text in response to UXR" into qt-dev

5 years agoMerge "New activity transitions" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 16:01:13 +0000 (16:01 +0000)]
Merge "New activity transitions" into qt-dev

5 years agoMerge "Fix VR-related system APIs" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 15:49:33 +0000 (15:49 +0000)]
Merge "Fix VR-related system APIs" into qt-dev

5 years agoMerge "Copy rects such that we don't modify state" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 15:44:24 +0000 (15:44 +0000)]
Merge "Copy rects such that we don't modify state" into qt-dev

5 years agoMerge "Revert "Revert "Fix issue in attached layouting""" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 15:35:22 +0000 (15:35 +0000)]
Merge "Revert "Revert "Fix issue in attached layouting""" into qt-dev

5 years agoMerge "make onGetSupportedVoiceActions return @NonNull and return empty set by defaul...
TreeHugger Robot [Tue, 16 Apr 2019 15:28:22 +0000 (15:28 +0000)]
Merge "make onGetSupportedVoiceActions return @NonNull and return empty set by default" into qt-dev

5 years agoMerge "Always send Adjustment for importance" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 15:13:33 +0000 (15:13 +0000)]
Merge "Always send Adjustment for importance" into qt-dev

5 years agoDon't allow PI-based starts and trampolines when sender
Michal Karpinski [Tue, 16 Apr 2019 13:02:46 +0000 (14:02 +0100)]
Don't allow PI-based starts and trampolines when sender
is SYSTEM_UID and it happens to pass foregroundness check
at the time of sending

It could lead to abuses like directing the user to Settings app
and then giving a PI through any API, so that app could open
activity/trampoline due to Settings app (SYSTEM_UID) being fg.

PI-based starts where sender is SYSTEM_UID will no longer be
supported based on foregroundness check. Any such starts need
to now be explicitly whitelisted (see b/124858756).

Also, ignore windows of type TYPE_APPLICATION_STARTING in
isAnyNonToastWindowVisibleForUid() check.

Bug: 129563343
Test: atest WmTests:ActivityStarterTests
Test: atest BackgroundActivityLaunchTest
Test: atest CtsActivityManagerDeviceTestCases:ActivityStarterTests
Test: atest WmTests:RootWindowContainerTests
Change-Id: I563f71f0b1c7922d8c675d2e4feed909f43446be

5 years agoMerge "Fix crash when clearing package preferred activities." into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 14:45:23 +0000 (14:45 +0000)]
Merge "Fix crash when clearing package preferred activities." into qt-dev

5 years agoMerge "Add PhoneAccountHandle method to check if 2 accts are from same CS." into...
Tyler Gunn [Tue, 16 Apr 2019 14:16:33 +0000 (14:16 +0000)]
Merge "Add PhoneAccountHandle method to check if 2 accts are from same CS." into qt-dev

5 years agoMerge "Ensure all fields of AutoBufferPointer are initialized" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 14:14:29 +0000 (14:14 +0000)]
Merge "Ensure all fields of AutoBufferPointer are initialized" into qt-dev

5 years agoMerge changes from topic "viewRootImplTest failure" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 13:48:20 +0000 (13:48 +0000)]
Merge changes from topic "viewRootImplTest failure" into qt-dev

* changes:
  Introduce InsetsModeSession to InsetsAnimationControlImplTest
  Move no longer flaky tests into pre-submit

5 years agoCopy rects such that we don't modify state
Jorim Jaggi [Tue, 16 Apr 2019 13:38:49 +0000 (15:38 +0200)]
Copy rects such that we don't modify state

Test: PopupWindowTest
Bug: 130553898
Bug: 130231322
Change-Id: I8abe25d054b34f1bf1234e1328b32aefc2020cf6

5 years agoRevert "Revert "Fix issue in attached layouting""
Jorim Jaggi [Tue, 16 Apr 2019 12:57:56 +0000 (14:57 +0200)]
Revert "Revert "Fix issue in attached layouting""

This reverts commit 9acce426520e639fd91eef8b62651803a98a7273.

Underlying issue fixed in follow up CL.

Test: PopupWindowTest
Bug: 130231322
Bug: 130553898
Change-Id: I5e332394868eb26ef44ce155bc41eb4405d0093a

5 years agoFix crash when clearing package preferred activities.
Hai Zhang [Tue, 16 Apr 2019 12:54:49 +0000 (20:54 +0800)]
Fix crash when clearing package preferred activities.

Use put() instead of setValueAt().

Bug: 130468857
Test: presubmit
Change-Id: If155c2a4ae9d4f953703b653eef2c04b2b516953

5 years agoSharesheet - Add copy text in response to UXR
Matt Pietal [Mon, 15 Apr 2019 15:38:39 +0000 (11:38 -0400)]
Sharesheet - Add copy text in response to UXR

Add copy text underneath image to make it clear what the button
means. Make text clickable. Align text colors with spec.

Bug: 130350131
Test: Manual inspection
Change-Id: Ia2916fd48ef8b2d1862d9baf5f9f695f54187d55

5 years agoMerge "Do not cache AVDs that are off screen" into qt-dev
Leon Scroggins [Tue, 16 Apr 2019 12:15:16 +0000 (12:15 +0000)]
Merge "Do not cache AVDs that are off screen" into qt-dev

5 years agoIntroduce InsetsModeSession to InsetsAnimationControlImplTest
Charles Chen [Tue, 16 Apr 2019 09:39:23 +0000 (17:39 +0800)]
Introduce InsetsModeSession to InsetsAnimationControlImplTest

InsetsAnimationControlImplTest sets new insets mode to full mode when setUp(), which
leads some tests in ViewRootImplTest fail. Introduce InsetsModeSession
to fix it.

Change-Id: Id159db1395d1b105d9d4d3d13cdba778015e9989
Fix: 130609028
Test: atest ViewRootImplTest InsetsAnimationControlImplTest

5 years agoMove no longer flaky tests into pre-submit
Charles Chen [Mon, 15 Apr 2019 10:43:35 +0000 (18:43 +0800)]
Move no longer flaky tests into pre-submit

Bug: 123654474
Test: test metrics and wm-tests
Change-Id: I299a471be08c465823e1c18d04f3399797ba5a60

5 years agoMerge "ActivityThread: Preserve windows when relaunching all activities" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 11:20:45 +0000 (11:20 +0000)]
Merge "ActivityThread: Preserve windows when relaunching all activities" into qt-dev

5 years agoEnsure all fields of AutoBufferPointer are initialized
Orion Hodson [Mon, 15 Apr 2019 15:14:51 +0000 (16:14 +0100)]
Ensure all fields of AutoBufferPointer are initialized

In the process of revising libnativehelper interface, the
initialization of the fArray field was dropped. This change fixes
this and adds regression tests.

In writing the tests, it became apparent that the AutoBufferPointer
destructor would crash if the underlying buffer was heap array backed
and the buffer position was non-zero. ReleasePrimitiveArrayCritical
was called with the element corresponding to the current position
rather than the first element.

Bug: b/130390512
Test: atest FrameworksCoreTests:android.graphics.BitmapTest

(cherry picked from commit e522c99430ec9ee0b4daa588dbcaea4824bc3f70)

Merged-In: I319512aaede7ba8af5d013c9281417695abf9099
Change-Id: I319512aaede7ba8af5d013c9281417695abf9099

5 years agoMerge "If the calling process isn't whitelisted for background activity start, check...
TreeHugger Robot [Tue, 16 Apr 2019 09:38:25 +0000 (09:38 +0000)]
Merge "If the calling process isn't whitelisted for background activity start, check the other processes of calling UID too" into qt-dev

5 years agoMerge "Allow MSIME to set inactive when window loses focus." into qt-dev
Tarandeep Singh [Tue, 16 Apr 2019 07:37:06 +0000 (07:37 +0000)]
Merge "Allow MSIME to set inactive when window loses focus." into qt-dev

5 years agoMerge "Rename Session2Command methods" into qt-dev
Jin Seok Park [Tue, 16 Apr 2019 06:47:18 +0000 (06:47 +0000)]
Merge "Rename Session2Command methods" into qt-dev

5 years agoMerge "Defer top process state for VM" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 06:37:50 +0000 (06:37 +0000)]
Merge "Defer top process state for VM" into qt-dev

5 years agoMerge "Add android.settings.ACTION_APP_BATTERY_SETTINGS to public API" into qt-dev
Sean Stout [Tue, 16 Apr 2019 05:50:30 +0000 (05:50 +0000)]
Merge "Add android.settings.ACTION_APP_BATTERY_SETTINGS to public API" into qt-dev

5 years agoAdd more documentation for ACTION_MANAGE_MORE_DEFAULT_APPS_SETTINGS.
Hai Zhang [Tue, 16 Apr 2019 05:16:16 +0000 (13:16 +0800)]
Add more documentation for ACTION_MANAGE_MORE_DEFAULT_APPS_SETTINGS.

Bug: 130351486
Test: build
Change-Id: If15aa04a3a3ebe717718ae99157e845acbccf6ae

5 years agoMerge "Cache and log enrollment settings" into qt-dev
Kevin Chyn [Tue, 16 Apr 2019 04:43:32 +0000 (04:43 +0000)]
Merge "Cache and log enrollment settings" into qt-dev

5 years agoRename Session2Command methods
Jin Seok Park [Tue, 16 Apr 2019 01:35:14 +0000 (10:35 +0900)]
Rename Session2Command methods

Bug: 130580655
Test: atest CtsMediaTestCases:android.media.cts.Session2CommandTest
Change-Id: I89509ddc1b10d47a01f7227ae60c5529718d39de

5 years agomake onGetSupportedVoiceActions return @NonNull and return empty set by default
jiayuzhou [Mon, 15 Apr 2019 20:36:06 +0000 (13:36 -0700)]
make onGetSupportedVoiceActions return @NonNull and return empty set by default

Test: make
Fix: 124302147

Change-Id: Ie91184310a1709cd62cd7d89911beda5c4e2d513

5 years agoMerge "Allow failures of applyBatch() operations." into qt-dev
Jeff Sharkey [Tue, 16 Apr 2019 03:26:18 +0000 (03:26 +0000)]
Merge "Allow failures of applyBatch() operations." into qt-dev

5 years agoMerge "Remove MediaItem2" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 03:14:29 +0000 (03:14 +0000)]
Merge "Remove MediaItem2" into qt-dev

5 years agoMerge "Don't cancel injected event when mouse event arrives" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 02:50:09 +0000 (02:50 +0000)]
Merge "Don't cancel injected event when mouse event arrives" into qt-dev

5 years agoMerge "Fix a deadlock WMG->WMS, WMS->WMG" into qt-dev
NT Tsai [Tue, 16 Apr 2019 02:27:02 +0000 (02:27 +0000)]
Merge "Fix a deadlock WMG->WMS, WMS->WMG" into qt-dev

5 years agoMerge "Don't wait until next fetch of recent tasks to reset the task list" into qt-dev
Winson Chung [Tue, 16 Apr 2019 02:13:58 +0000 (02:13 +0000)]
Merge "Don't wait until next fetch of recent tasks to reset the task list" into qt-dev

5 years agoMerge "Log for pending activities launch" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 01:41:41 +0000 (01:41 +0000)]
Merge "Log for pending activities launch" into qt-dev

5 years agoMerge "Ui should be UI in the javadoc" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 01:20:05 +0000 (01:20 +0000)]
Merge "Ui should be UI in the javadoc" into qt-dev

5 years agoMerge "Restore navbar transparency state on config change" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 01:11:23 +0000 (01:11 +0000)]
Merge "Restore navbar transparency state on config change" into qt-dev

5 years agoMerge "Add EHPLMN and HPLMN to SubscriptionInfo" into qt-dev
Hall Liu [Tue, 16 Apr 2019 01:01:59 +0000 (01:01 +0000)]
Merge "Add EHPLMN and HPLMN to SubscriptionInfo" into qt-dev

5 years agoAllow failures of applyBatch() operations.
Jeff Sharkey [Tue, 16 Apr 2019 00:54:58 +0000 (18:54 -0600)]
Allow failures of applyBatch() operations.

In some cases, the supplier of ContentProviderOperation is okay
if certain operations fail, and they'd like ContentProviderResult
to tell them about the failures instead of aborting the remainder
of the transaction.

Start using this for ModernMediaScanner, where we probably raced
with someone when building an UPSERT-style operation.  We'll
pick up any changes to those files during the next scan.

Bug: 128494336
Test: atest --test-mapping packages/providers/MediaProvider
Change-Id: Ida8230ff2bbb3bab56eb83928e49e7097bfbc9fd

5 years agoCheck before closing the CloseGuard if not closed yet
Mehdi Alizadeh [Tue, 16 Apr 2019 00:25:46 +0000 (17:25 -0700)]
Check before closing the CloseGuard if not closed yet

Bug: 130435945
Test: atest AppPredictionServiceTest
Change-Id: I19d866d54e6b7e74e0399e2910ab9c9c71d13f51

5 years agoMerge "Remove the disableSelf() api" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 00:49:21 +0000 (00:49 +0000)]
Merge "Remove the disableSelf() api" into qt-dev

5 years agoMerge "Annotate single property listener from DeviceConfig as removed. Will remove...
Matt Pape [Tue, 16 Apr 2019 00:34:31 +0000 (00:34 +0000)]
Merge "Annotate single property listener from DeviceConfig as removed. Will remove entirely after all references (esp. Play Services) are cleaned up." into qt-dev

5 years agoMerge "Add new constructors for mandatory fields in AppTarget.Builder" into qt-dev
Mehdi Alizadeh [Tue, 16 Apr 2019 00:34:13 +0000 (00:34 +0000)]
Merge "Add new constructors for mandatory fields in AppTarget.Builder" into qt-dev

5 years agoRemove MediaItem2
Sungsoo Lim [Tue, 16 Apr 2019 00:21:56 +0000 (09:21 +0900)]
Remove MediaItem2

Bug: 130579223
Test: build
Change-Id: Ie772b508b51a12eb4e96f1f19c08ecdec4a9959b

5 years agoMerge "Add missing set/getExtras to ConversationActions.Request." into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 00:17:10 +0000 (00:17 +0000)]
Merge "Add missing set/getExtras to ConversationActions.Request." into qt-dev

5 years agoAdd android.settings.ACTION_APP_BATTERY_SETTINGS to public API
Sean Stout [Mon, 15 Apr 2019 18:17:43 +0000 (11:17 -0700)]
Add android.settings.ACTION_APP_BATTERY_SETTINGS to public API

Test: cts-tradefed run cts -m CtsSystemIntentTestCases -t \
android.systemintents.cts.TestSystemIntents
Bug: 129901520

Change-Id: I710867f6d6fffb86d7f3991f39bde4bf9d62e5f7

5 years agoMerge "Migrate to the new ro property for headless multiuser check." into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 00:06:38 +0000 (00:06 +0000)]
Merge "Migrate to the new ro property for headless multiuser check." into qt-dev

5 years agoMerge changes I06a74c84,I2cf9d3aa into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 00:06:21 +0000 (00:06 +0000)]
Merge changes I06a74c84,I2cf9d3aa into qt-dev

* changes:
  Do not fail idmap scan if one idmap fails to generate
  Run idmap2 static-checks and fix formatting issues

5 years agoMerge "Add nullable annotations" into qt-dev
Winson Chung [Mon, 15 Apr 2019 23:57:01 +0000 (23:57 +0000)]
Merge "Add nullable annotations" into qt-dev

5 years agoMerge "DO NOT MERGE - Removed ContentCapture support from standard SDK toolkit."...
TreeHugger Robot [Mon, 15 Apr 2019 23:42:14 +0000 (23:42 +0000)]
Merge "DO NOT MERGE - Removed ContentCapture support from standard SDK toolkit." into qt-dev

5 years agoMerge "Add DENSITY_140, DENSITY_180, DENSITY_200, DENSITY_220" into qt-dev
Harry Slatyer [Mon, 15 Apr 2019 23:38:24 +0000 (23:38 +0000)]
Merge "Add DENSITY_140, DENSITY_180, DENSITY_200, DENSITY_220" into qt-dev

5 years agoFix VR-related system APIs
Pat Plunkett [Wed, 10 Apr 2019 19:49:33 +0000 (12:49 -0700)]
Fix VR-related system APIs

This adds necessary nullness conditions on method arguments, and makes
a Builder class final.

Bug: 126700268
Bug: 126701891
Bug: 126701662
Test: Compiles
Change-Id: I4e825057b413fe22d1c2ebd228a5b76641b04868

5 years agoUi should be UI in the javadoc
jiayuzhou [Mon, 15 Apr 2019 23:04:31 +0000 (16:04 -0700)]
Ui should be UI in the javadoc

Fixes: 124883615.
Test: pre-submit.
Change-Id: I4cdc6353a3d4382a53a8e6d7c65a447acb90ee2c

5 years agoMerge "Add logging for KeyguardUpdateMonitor visibility and biometric state" into...
Kevin Chyn [Mon, 15 Apr 2019 23:03:50 +0000 (23:03 +0000)]
Merge "Add logging for KeyguardUpdateMonitor visibility and biometric state" into qt-dev

5 years agoRemove the disableSelf() api
Alex Salo [Thu, 11 Apr 2019 21:45:42 +0000 (14:45 -0700)]
Remove the disableSelf() api

No longer needed, the logic will be handled in AttentionDetector which
implements the feature. Settings app makes sure to grey out the setting
if does not have sufficient permissions.

Bug: 130350903130246574
Test: manually confirmed, atest AttentionDetectorTests, make RunSettingsRoboTests
Change-Id: I324223af01b5198e3af0b84d47120f307f3aa71a

5 years agoMerge "AudioManager: test API for dynamic audio policy" into qt-dev
Jean-Michel Trivi [Mon, 15 Apr 2019 22:46:46 +0000 (22:46 +0000)]
Merge "AudioManager: test API for dynamic audio policy" into qt-dev

5 years agoAdd EHPLMN and HPLMN to SubscriptionInfo
Hall Liu [Thu, 11 Apr 2019 22:28:20 +0000 (15:28 -0700)]
Add EHPLMN and HPLMN to SubscriptionInfo

Add EHPLMN and HPLMN fields to SubscriptionInfo. These fields are read
from the ICC card.

Bug: 130253962
Test: manual
Change-Id: If98c57c14e39b917a5e7e8bbc59c2170989b63a7

5 years agoSkip idmap1 generation if target defines overlayable
Winson [Fri, 12 Apr 2019 23:19:26 +0000 (16:19 -0700)]
Skip idmap1 generation if target defines overlayable

Since idmap1 can't enforce policy restrictions, we can't allow it
to generate an idmap that might get used.

Migrating to idmap2 is too difficult for now as it requires a lot
of PackageManager infrastructure to validate policies, and none of
that is available during manifest parsing, which is where idmap1
is currently used.

Bug: b/130260055

Test: manual test BT issue from b/130260055
Test: manual test app with test overlay toggling Activity enabled

Change-Id: I5e7e321d27aab9be360a5e8be77d804ad3f66336

5 years agoRestore navbar transparency state on config change
Amin Shaikh [Thu, 11 Apr 2019 21:34:51 +0000 (17:34 -0400)]
Restore navbar transparency state on config change

Restore systemUIVisibility flags upon NavBarFragment recreation.
Ensure back button visibility is also restored.

Fixes: 130281802
Test: make; adb shell am update-appinfo 0 com.android.systemui
Change-Id: I74bf1717bc434b32490b9c6c66b6c88e3bb226e9

5 years agoMove deprecated IMS_SERVICE_UP/DOWN intents to Phone process
Brad Ebinger [Fri, 5 Apr 2019 22:23:32 +0000 (15:23 -0700)]
Move deprecated IMS_SERVICE_UP/DOWN intents to Phone process

The ImsService was sending the deprecated IMS intents, which
should only be send using the Phone process. This was causing
GTS failures.

Bug: 130569556
Test: atest FrameworksTelephonyTests; atest GtsTelephonyTestCases
Change-Id: Ie844053aac9c067e66d03c02cf2b87134ee91065

5 years agoMerge "Telecom API doc cleanup." into qt-dev
Tyler Gunn [Mon, 15 Apr 2019 22:15:57 +0000 (22:15 +0000)]
Merge "Telecom API doc cleanup." into qt-dev

5 years agoDo not fail idmap scan if one idmap fails to generate
Ryan Mitchell [Fri, 12 Apr 2019 19:29:36 +0000 (12:29 -0700)]
Do not fail idmap scan if one idmap fails to generate

If one static overlay fails to have its idmap generated, continue
scanning other overlays.

Bug: 130324774
Test: idmap2_tests and manual
Change-Id: I06a74c844ebc81dcfb5b50e8c9a30a68c7e4ffb0

5 years agoOnly reset layout seq when moved to a new display.
Garfield Tan [Mon, 15 Apr 2019 16:59:25 +0000 (09:59 -0700)]
Only reset layout seq when moved to a new display.

In previous commit 2f145f225eeaa22fe6fbe739d33553b6ec50acf4 we
consolidated display info change and moving to new display into one
single method. Partner found that change may lead to timeout on turning
on the screen (needs more than 1s to turn on screen). Thus restrict the
layout sequence update to only moving to a new display, which is
effectively the same to it before the consolidation in the previous
commit.

Bug: 128812757
Test: go/wm-smoke. Partner verified this fix too.
atest WmTests:WindowStateTests
Change-Id: Ifd5d8e98468f5fdb4bf9ec0de14766b58b36085e

5 years agoAnnotate single property listener from DeviceConfig as removed.
Matt Pape [Mon, 15 Apr 2019 20:17:21 +0000 (13:17 -0700)]
Annotate single property listener from DeviceConfig as removed.
Will remove entirely after all references (esp. Play Services) are cleaned up.

Test: atest FrameworksCoreTests:DeviceConfigTest
Bug: 128902955
Change-Id: I1ab11fa2a2bbdb673841364c36b87a7356ba1e28

5 years agoAdd new constructors for mandatory fields in AppTarget.Builder
Mehdi Alizadeh [Fri, 12 Apr 2019 18:36:33 +0000 (11:36 -0700)]
Add new constructors for mandatory fields in AppTarget.Builder

Test: it builds
Test: atest AppPredictionServiceTest
Bug: 129901111
Change-Id: Ifacf5b86d5f436b02191af58541a403198840f18

5 years agoMerge "Move DisplayTransformManagerTest" into qt-dev
Christine Franks [Mon, 15 Apr 2019 21:44:37 +0000 (21:44 +0000)]
Merge "Move DisplayTransformManagerTest" into qt-dev

5 years agoAdd DENSITY_140, DENSITY_180, DENSITY_200, DENSITY_220
Harry Slatyer [Mon, 8 Apr 2019 22:58:02 +0000 (08:58 +1000)]
Add DENSITY_140, DENSITY_180, DENSITY_200, DENSITY_220

This gives supported densities every 20dpi at the low end of densities,
which is where all current automotive screens sit.

BUG: 127714569
Test: None, just adding constants.

Change-Id: I6dd96493bf4474a55f22ce4ddbe27566d4ab9deb

5 years agoMerge "Fix Emergency Number API doc" into qt-dev
Shuo Qian [Mon, 15 Apr 2019 21:39:02 +0000 (21:39 +0000)]
Merge "Fix Emergency Number API doc" into qt-dev

5 years agoCache and log enrollment settings
Kevin Chyn [Mon, 15 Apr 2019 21:11:58 +0000 (14:11 -0700)]
Cache and log enrollment settings

Bug: 130370995

Test: Builds
Change-Id: Id23b6befe62cf5ea3a4468169f36da191ae97cc9

5 years agoMerge "AudioTrack: offload is not tied to USAGE_MEDIA" into qt-dev
Jean-Michel Trivi [Mon, 15 Apr 2019 21:17:12 +0000 (21:17 +0000)]
Merge "AudioTrack: offload is not tied to USAGE_MEDIA" into qt-dev

5 years agoMerge "Address comments from API review." into qt-dev
Jiuyu Sun [Mon, 15 Apr 2019 21:02:42 +0000 (21:02 +0000)]
Merge "Address comments from API review." into qt-dev

5 years agoMerge "Fix for unexpected scale factors in ScaleGestureDetector" into qt-dev
TreeHugger Robot [Mon, 15 Apr 2019 21:02:19 +0000 (21:02 +0000)]
Merge "Fix for unexpected scale factors in ScaleGestureDetector" into qt-dev

5 years agoMerge "Fix set_buffers_damage in VulkanSurface" into qt-dev
TreeHugger Robot [Mon, 15 Apr 2019 21:00:08 +0000 (21:00 +0000)]
Merge "Fix set_buffers_damage in VulkanSurface" into qt-dev

5 years agoMerge "End button fade animation when its visiblity changes" into qt-dev
TreeHugger Robot [Mon, 15 Apr 2019 20:56:29 +0000 (20:56 +0000)]
Merge "End button fade animation when its visiblity changes" into qt-dev

5 years agoAdd logging for KeyguardUpdateMonitor visibility and biometric state
Kevin Chyn [Mon, 15 Apr 2019 20:47:25 +0000 (13:47 -0700)]
Add logging for KeyguardUpdateMonitor visibility and biometric state

Bug: 130095380

Test: Builds, logs are seen
Change-Id: If311f552e716a3ea164eda13c2fc8638adb26fb0

5 years agoAdd missing set/getExtras to ConversationActions.Request.
Tony Mak [Mon, 15 Apr 2019 16:22:54 +0000 (17:22 +0100)]
Add missing set/getExtras to ConversationActions.Request.

All requests / result objects from TextClassifier have get/setRequest,
so ConversationActions.Request should have them as well.

BUG: 130529981

Test: atest cts/tests/tests/view/src/android/view/textclassifier/cts/ConversationActionsTest.java

Change-Id: I19719b009d4f34df8650c669cc24cb304293407a

5 years agoAvoid NPE when accessing to EnforcedAdmin
Daisuke Niwa [Fri, 1 Mar 2019 02:30:31 +0000 (11:30 +0900)]
Avoid NPE when accessing to EnforcedAdmin

NPE happens when "modify" is tapped on the carrier wifi network
connected using CarrierConfig information. null is passed to
sendShowAdminSupportDetailsIntent method through 2nd argument.

Bug: 128188146
Test: Manually verified the crash scenario
Test: RunSettingsLibRoboTests
Signed-off-by: Daichi Ueura <daichi.ueura@sony.com>
(Cherry-pick from pa/1302748)
Change-Id: If92c12041b91dbab0f083a1b49d263b201e87699