Commit Graph

413734 Commits

Author SHA1 Message Date
TreeHugger Robot
d072df4d6e Merge "Revert "Revert "Fix issue in attached layouting""" into qt-dev 2019-04-16 15:35:22 +00:00
TreeHugger Robot
b6abb2c59c Merge "make onGetSupportedVoiceActions return @NonNull and return empty set by default" into qt-dev 2019-04-16 15:28:22 +00:00
TreeHugger Robot
37f27b53a8 Merge "Always send Adjustment for importance" into qt-dev 2019-04-16 15:13:33 +00:00
TreeHugger Robot
815397ad47 Merge "Fix crash when clearing package preferred activities." into qt-dev 2019-04-16 14:45:23 +00:00
Tyler Gunn
b1145bd87e Merge "Add PhoneAccountHandle method to check if 2 accts are from same CS." into qt-dev 2019-04-16 14:16:33 +00:00
TreeHugger Robot
0fd71745d6 Merge "Ensure all fields of AutoBufferPointer are initialized" into qt-dev 2019-04-16 14:14:29 +00:00
TreeHugger Robot
c574a91e44 Merge changes from topic "viewRootImplTest failure" into qt-dev
* changes:
  Introduce InsetsModeSession to InsetsAnimationControlImplTest
  Move no longer flaky tests into pre-submit
2019-04-16 13:48:20 +00:00
Jorim Jaggi
d6490572e2 Revert "Revert "Fix issue in attached layouting""
This reverts commit 9acce42652.

Underlying issue fixed in follow up CL.

Test: PopupWindowTest
Bug: 130231322
Bug: 130553898
Change-Id: I5e332394868eb26ef44ce155bc41eb4405d0093a
2019-04-16 15:39:51 +02:00
Hai Zhang
c826cf4fa6 Fix crash when clearing package preferred activities.
Use put() instead of setValueAt().

Bug: 130468857
Test: presubmit
Change-Id: If155c2a4ae9d4f953703b653eef2c04b2b516953
2019-04-16 20:54:49 +08:00
Leon Scroggins
949305fe52 Merge "Do not cache AVDs that are off screen" into qt-dev 2019-04-16 12:15:16 +00:00
Charles Chen
2783faff58 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
2019-04-16 20:04:30 +08:00
Charles Chen
9b98748a43 Move no longer flaky tests into pre-submit
Bug: 123654474
Test: test metrics and wm-tests
Change-Id: I299a471be08c465823e1c18d04f3399797ba5a60
2019-04-16 19:41:05 +08:00
TreeHugger Robot
083190633a Merge "ActivityThread: Preserve windows when relaunching all activities" into qt-dev 2019-04-16 11:20:45 +00:00
Orion Hodson
4174b7691f 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 e522c99430)

Merged-In: I319512aaede7ba8af5d013c9281417695abf9099
Change-Id: I319512aaede7ba8af5d013c9281417695abf9099
2019-04-16 11:29:02 +01:00
TreeHugger Robot
df573a6210 Merge "If the calling process isn't whitelisted for background activity start, check the other processes of calling UID too" into qt-dev 2019-04-16 09:38:25 +00:00
Tarandeep Singh
77d354efa1 Merge "Allow MSIME to set inactive when window loses focus." into qt-dev 2019-04-16 07:37:06 +00:00
Jin Seok Park
b225cffabe Merge "Rename Session2Command methods" into qt-dev 2019-04-16 06:47:18 +00:00
TreeHugger Robot
e6b9bdf4d0 Merge "Defer top process state for VM" into qt-dev 2019-04-16 06:37:50 +00:00
Sean Stout
a0d852907d Merge "Add android.settings.ACTION_APP_BATTERY_SETTINGS to public API" into qt-dev 2019-04-16 05:50:30 +00:00
Kevin Chyn
12154d85a4 Merge "Cache and log enrollment settings" into qt-dev 2019-04-16 04:43:32 +00:00
Jin Seok Park
dbee428755 Rename Session2Command methods
Bug: 130580655
Test: atest CtsMediaTestCases:android.media.cts.Session2CommandTest
Change-Id: I89509ddc1b10d47a01f7227ae60c5529718d39de
2019-04-16 04:02:26 +00:00
jiayuzhou
5422f30c14 make onGetSupportedVoiceActions return @NonNull and return empty set by default
Test: make
Fix: 124302147

Change-Id: Ie91184310a1709cd62cd7d89911beda5c4e2d513
2019-04-15 20:43:48 -07:00
Jeff Sharkey
977f63a3d3 Merge "Allow failures of applyBatch() operations." into qt-dev 2019-04-16 03:26:18 +00:00
TreeHugger Robot
4e57ccbea9 Merge "Remove MediaItem2" into qt-dev 2019-04-16 03:14:29 +00:00
TreeHugger Robot
93e21670c0 Merge "Don't cancel injected event when mouse event arrives" into qt-dev 2019-04-16 02:50:09 +00:00
NT Tsai
4d39c62169 Merge "Fix a deadlock WMG->WMS, WMS->WMG" into qt-dev 2019-04-16 02:27:02 +00:00
Winson Chung
8540e63dec Merge "Don't wait until next fetch of recent tasks to reset the task list" into qt-dev 2019-04-16 02:13:58 +00:00
TreeHugger Robot
0727797765 Merge "Log for pending activities launch" into qt-dev 2019-04-16 01:41:41 +00:00
TreeHugger Robot
805c739ada Merge "Ui should be UI in the javadoc" into qt-dev 2019-04-16 01:20:05 +00:00
TreeHugger Robot
0c7f7a1ee6 Merge "Restore navbar transparency state on config change" into qt-dev 2019-04-16 01:11:23 +00:00
Hall Liu
80ad2a4d8c Merge "Add EHPLMN and HPLMN to SubscriptionInfo" into qt-dev 2019-04-16 01:01:59 +00:00
Jeff Sharkey
295ddbae78 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
2019-04-15 18:55:00 -06:00
TreeHugger Robot
575022f7d1 Merge "Remove the disableSelf() api" into qt-dev 2019-04-16 00:49:21 +00:00
Matt Pape
75d75ce38c Merge "Annotate single property listener from DeviceConfig as removed. Will remove entirely after all references (esp. Play Services) are cleaned up." into qt-dev 2019-04-16 00:34:31 +00:00
Mehdi Alizadeh
6164eb6a8d Merge "Add new constructors for mandatory fields in AppTarget.Builder" into qt-dev 2019-04-16 00:34:13 +00:00
Sungsoo Lim
5562ab8966 Remove MediaItem2
Bug: 130579223
Test: build
Change-Id: Ie772b508b51a12eb4e96f1f19c08ecdec4a9959b
2019-04-16 09:28:11 +09:00
TreeHugger Robot
786714e526 Merge "Add missing set/getExtras to ConversationActions.Request." into qt-dev 2019-04-16 00:17:10 +00:00
Sean Stout
c568477004 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
2019-04-15 17:15:44 -07:00
TreeHugger Robot
5d230c1462 Merge "Migrate to the new ro property for headless multiuser check." into qt-dev 2019-04-16 00:06:38 +00:00
TreeHugger Robot
e20c7dff81 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
2019-04-16 00:06:21 +00:00
Winson Chung
4b118856db Merge "Add nullable annotations" into qt-dev 2019-04-15 23:57:01 +00:00
TreeHugger Robot
11141109f4 Merge "DO NOT MERGE - Removed ContentCapture support from standard SDK toolkit." into qt-dev 2019-04-15 23:42:14 +00:00
Harry Slatyer
151f5b2ec8 Merge "Add DENSITY_140, DENSITY_180, DENSITY_200, DENSITY_220" into qt-dev 2019-04-15 23:38:24 +00:00
jiayuzhou
21cbc63602 Ui should be UI in the javadoc
Fixes: 124883615.
Test: pre-submit.
Change-Id: I4cdc6353a3d4382a53a8e6d7c65a447acb90ee2c
2019-04-15 16:04:31 -07:00
Kevin Chyn
fab88a833e Merge "Add logging for KeyguardUpdateMonitor visibility and biometric state" into qt-dev 2019-04-15 23:03:50 +00:00
Alex Salo
2b7dbe85a2 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: 130350903, 130246574
Test: manually confirmed, atest AttentionDetectorTests, make RunSettingsRoboTests
Change-Id: I324223af01b5198e3af0b84d47120f307f3aa71a
2019-04-15 16:02:41 -07:00
Jean-Michel Trivi
7e46f59a60 Merge "AudioManager: test API for dynamic audio policy" into qt-dev 2019-04-15 22:46:46 +00:00
Hall Liu
75319d28ad 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
2019-04-15 15:43:30 -07:00
Amin Shaikh
02ea7f2490 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
2019-04-15 22:30:40 +00:00
Tyler Gunn
3547b58c5f Merge "Telecom API doc cleanup." into qt-dev 2019-04-15 22:15:57 +00:00