474391 Commits

Author SHA1 Message Date
Roshan Pius
cfc6db259d wifi: Add subfilters for android.hardware.wifi
Renaming android.hardware.wifi package also renames the various wifi
PackageManager feature flags. So, refine it to only match the HIDL
stubs.

Bug: 153697614
Test: Manual
a) Added a log to check for rtt, p2p, aware feature flags in Wifiservice
b) Returns false before the change.
c) Returns true with the change.
Test: Manual
dexdump and ensured that all the HIDL stubs are renamed.
Test: Device boots up and connects to wifi networks.
Test: Cts-Verifier aware RTT test does not fail immediately.
Wi-Fi Aware test --> Discovery with ranging --> Publish.
Change-Id: I43ac3195304a4bd2d8e725a4302eb4239290396f
2020-04-10 18:37:01 +00:00
TreeHugger Robot
03fa01bfa0 Merge "Preserve windows when resizing tasks" into rvc-dev 2020-04-10 18:32:38 +00:00
TreeHugger Robot
92b1b302a9 Merge "Fix tuner JNI breakage due to recent changes" into rvc-dev 2020-04-10 18:27:48 +00:00
Riddle Hsu
3c3e0c659a Do not unparcel bundle from application in LaunchActivityItem
The bundle fields may contain custom Parcelables. And Bundle#size
will call unparcel that causes BadParcelableException from
LaunchActivityItem#hashCode and LaunchActivityItem#equals.

Since the bundle fields of LaunchActivityItem may not be significant
for being the accurate identity of the item, the bundle fields can
be treated roughly (empty or not) to avoid unparceling.

Fixes: 153737846
Test: atest FrameworksCoreTests:TransactionParcelTests#testLaunch

Change-Id: I7ec55bbfcffcd47cfb586ede8053ab411891902d
2020-04-11 02:21:10 +08:00
TreeHugger Robot
4914d4cd4c Merge "Add tests for RRO of APK-in-APEX." into rvc-dev 2020-04-10 18:19:26 +00:00
Matt Pietal
269a7b4dce Controls a11y - Set activity titles
Set proper activity titles and do not use the default application
label. Do not allow the status text to be focusable.

Bug: 152924457
Bug: 152932546
Bug: 152927300
Test: talkback

Change-Id: Ieed21596c8160aaf945d71e274706c771f7e4693
2020-04-10 13:40:22 -04:00
Matt Pietal
dc78c84748 Controls UI - Support detail panels
Allow apps to specify whether to show full screen or within detail
panels. Default camers and thermostats to use the panel by default
when the following flag is enabled.

Enable by:
adb shell settings put secure systemui.controls_use_panel 1

Change offset from the top in Px:
adb shell settings put secure systemui.controls_panel_top_offset XXX

Bug: 152528130
Test: manual, use camera, thermostat devices

Change-Id: Ia1b12afcf4de2a0bcf7957e6425b282b1e220f46
2020-04-10 13:36:26 -04:00
Sudheer Shanka
b78a0f462e Merge "Keep track of commit times for each blob." into rvc-dev 2020-04-10 17:31:47 +00:00
Paul Chang
53ee852ffc Merge "Handle the case that bug report handler app is not available" into rvc-dev 2020-04-10 17:21:12 +00:00
TreeHugger Robot
e3b4daa804 Merge "Revert "Only use the IME target from IMMS to update the IME control target"" into rvc-dev 2020-04-10 17:20:05 +00:00
TreeHugger Robot
8c98f79c41 Merge "Make sure PipBoundsHelper (on TVs) receives DisplayInfo" into rvc-dev 2020-04-10 17:16:17 +00:00
Brad Ebinger
08ca469222 Merge "Add a new call direction parameter to conferences for multiparty" into rvc-dev 2020-04-10 17:14:01 +00:00
Sergey Nikolaienkov
e767da4cd9 Make sure PipBoundsHelper (on TVs) receives DisplayInfo
In order to make sure that PipBoundsHelper holds a valid DisplayInfo
that it could use in its calculations, call
PipBoundsHelper.onDisplayInfoChanhed() wich the current DisplayInfo from
tv/PipManager constuctors (same as phone/PipManager does).

Bug: 153711420
Bug: 153613389
Bug: 153050065
Test: manually
Change-Id: Iab2d377bc7c816b614df3bfa2b6eafa080cd3b4d
2020-04-10 19:08:33 +02:00
TreeHugger Robot
3c5ea9cd82 Merge "Allow caller dismissing split to specify top stack" into rvc-dev 2020-04-10 17:03:39 +00:00
TreeHugger Robot
771027008b Merge "Refactor: move dataLoader details to a separate class." into rvc-dev 2020-04-10 16:53:56 +00:00
Yurii Zubrytskyi
0cd8012b73 Get rid of two runtime static destructors
Bug: 153704006
Test: compiles
Change-Id: Icb44c2d2c1e26b13a4d03a4996bffe016a141286
2020-04-10 16:49:34 +00:00
Wonsik Kim
0081f25310 Merge changes Ibd8ce581,I04cc955d into rvc-dev
* changes:
  media: change of asC2Buffer behavior
  media: fix MediaCodec JNI method signatures
2020-04-10 16:11:31 +00:00
TreeHugger Robot
766aa3a107 Merge "Restore config of associated window when clearing fixed rotation" into rvc-dev 2020-04-10 16:09:14 +00:00
TreeHugger Robot
e7979623e6 Merge "Fix clickable notification row elements" into rvc-dev 2020-04-10 16:00:17 +00:00
Vishnu Nair
40b4afb004 Preserve windows when resizing tasks
If the activity doesn't handle a configuration change and needs to be
relaunched, preserve the windows to prevent a flicker.

Test: resize in split screen and observe there is no flicker
Fixes: 153583483
Change-Id: Ibe71035da9eb2bd9dca270e7eca8e47afbffcb78
2020-04-10 16:00:00 +00:00
Cody Kesting
fb9ff36b95 Merge "Fix typo in VpnManager Docs." into rvc-dev 2020-04-10 15:52:10 +00:00
Ryan Mitchell
6cb79cdfb7 Merge changes from topic "invalidate_idmap" into rvc-dev
* changes:
  Fix InstallOverlayTests fail to install overlay
  Test that upgrading target apk invalidates idmap
  Invalidate idmap when target updates
2020-04-10 15:50:15 +00:00
TreeHugger Robot
ce4cd092d9 Merge "MediaRouter: don't scanPackages if unnecessary" into rvc-dev 2020-04-10 15:43:14 +00:00
TreeHugger Robot
fd09fe5cea Merge "Return actual failure to parse base APK" into rvc-dev 2020-04-10 15:28:13 +00:00
Tiger Huang
4fbe677f10 Revert "Only use the IME target from IMMS to update the IME control target"
This reverts commit 304db431533085708d376aa5d1e5292f9a6870b2.

Reason for revert: This CL broke a test: b/153606760
Bug: 153606760
Change-Id: I6034fad7f88de14518ea9f46bf8774e4b8196926
2020-04-10 15:14:42 +00:00
TreeHugger Robot
51ec322208 Merge "Add an empty IMM#windowDismissed(IBinder) for app compat" into rvc-dev 2020-04-10 15:10:43 +00:00
Kweku Adams
49f609038f Log package name that becomes active in the NEVER bucket.
Bug: 153669651
Test: read JobScheduler log output
Change-Id: I009633848b0dd22c0825fca56bc006c3081e5531
2020-04-10 08:09:30 -07:00
Joanne Chung
5edb1aed08 Pass augmented client state to the event history.
Bug: 153030079
Test: manual
Test: atest android.autofillservice.cts.inline.\
InlineAugmentedLoginActivityTest

Change-Id: Ida14605296b9dcffe5ee55e0fb4612350d1629af
2020-04-10 23:08:21 +08:00
Yurii Zubrytskyi
4e21986e59 [incfs] Fix a leaked pending_reads FD
Bug: 153670585
Test: adb install/uninstall a dozen times
Change-Id: Iac05b5dc3792e55c2f103ac08bdd734b3b398882
2020-04-10 14:49:31 +00:00
Chris Wren
af4ce84637 port more global actions legacy logs to new pipeline
Bug: 147508238
Test: atest GlobalActionsDialogTest
Change-Id: I57d9d43b6076eb4a10d74fd007becd585ff01d68
2020-04-10 10:32:11 -04:00
Fabian Kozynski
8765d35779 Add controls rearrange activity
This activity is accesses from the overflow menu in the Controls UI. It
does the following:

* Shows all favorites for current structure
* Allows for rearranging current favorites in that structure
* Allows for removing current favorites in that structure
* Links to ControlsFavoritingActivity with just that structure

Test: manual
Test: atest ControlsControllerImplTest
Test: atest FavoritesModelTest
Test: atest AllModelTest
Fixes: 149138395

Change-Id: I8a57d4f835467247b7cc360fee4e382cd5553481
2020-04-10 10:18:57 -04:00
Darryl Johnson
6c6d81a121 Merge "Temporal fix of the Android Auto orientation chaniging on phone's orientation change." into rvc-dev 2020-04-10 14:07:36 +00:00
Riddle Hsu
522029a9f9 Restore config of associated window when clearing fixed rotation
If wallpaper is visible and its target window has fixed rotation
transform, wallpaper token will be associated to share the same
transform. So if the target window cancels the transform, the
associated window, i.e. wallpaper should also be restored to the
original configuration.

Fixes: 153420536
Fixes: 153201558
Test: atest WindowTokenTests#testClearFixedRotationTransform
Change-Id: I75fe8bfadf3b681f2dc33df9c6599a9bbc5769ea
2020-04-10 21:55:45 +08:00
Beverly
63273d4531 Fix clickable notification row elements
- Don't mark notification guts as clickable. Originally they were marked
as clickable so that the guts wouldn't send touches to trigger the
ExpandableNotificationRow's click, NotificationClicker. This caused
talkback to speak "Double-tap to activate" when announcing the
NotificationGuts even though double-tapping would do nothing.
- Instead, added logic in NotificationClicker to ignore clicks that
occur when the guts are exposed.

Test: manual
Fixes: 140398522
Change-Id: I806051ffd43ed27c38e804fdc43e2c2d3522566c
2020-04-10 09:50:12 -04:00
Mark Chien
1528d90dc8 Merge "Assign specific client address to dhcp server" into rvc-dev 2020-04-10 13:22:17 +00:00
Kyunglyul Hyun
89e2ee9bc7 MediaRouter: don't scanPackages if unnecessary
scanPackages was called whenever it receives a broadcast,
which could be duplicated.
This CL adds a boolean variable (mScanPackagesScheduled) not
to scan packages if it is scheduled.

Bug: 153527463
Test: cts test, atest mediarouertest and check
MediaRouteProvider#onBind, #onUnbind are called
when a new provider is installed.
Confirm # of calls is reduced (3 -> 1).

Change-Id: Iaa423b7d1b2b2a97aebed0001b4077bdf95b1d54
2020-04-10 22:07:54 +09:00
TreeHugger Robot
4e2d66ed6c Merge "Add an interface in SettingsInjector to log metrics" into rvc-dev 2020-04-10 12:55:08 +00:00
Jin Seok Park
5ef6b0d6e0 Ensure thread-safety of SimpleDateFormat
Since ExifInterface supports multi-thread, SimpleDateFormat
should be thread-safe.

Bug: 152801859
Test: N/A
Change-Id: I9ad5a035162f5e3caff2a2d4aaff2ae0cd870cd2
2020-04-10 19:45:58 +09:00
Raff Tsai
5962269af8 Merge "Add SettingsStats puller in StatsPullAtomService" into rvc-dev 2020-04-10 10:08:30 +00:00
Treehugger Robot
86d212b4c8 Assign specific client address to dhcp server
Bug: 141256482
Test: manual
      atest TetheringTests

Merged-In: Ief76c98c843ba5420224cbf0f34464f366c891b7
Change-Id: Ief76c98c843ba5420224cbf0f34464f366c891b7
2020-04-10 10:03:20 +00:00
TreeHugger Robot
7f091e01ee Merge "Add getInterface(Version|Hash) in ILights stub for test" into rvc-dev 2020-04-10 08:59:57 +00:00
Wei Sheng Shih
1a46294fdb Merge "Support addWindow as other user" into rvc-dev 2020-04-10 08:33:12 +00:00
Bonian Chen
eca8cf5166 Merge "[Settings] Data usage for each subscription" into rvc-dev 2020-04-10 08:30:07 +00:00
Anton Hansson
a94c9b8d0c Merge "Use module_current to build module stubs" into rvc-dev 2020-04-10 08:10:08 +00:00
Luke Huang
723514cf9b Merge "Use the lastest frozen netd_aidl_interface in framework" into rvc-dev 2020-04-10 08:09:06 +00:00
TreeHugger Robot
93b7e70d9f Merge "Controls a11y - Fix title repetition, min height" into rvc-dev 2020-04-10 07:14:27 +00:00
Paul Chang
663fb84eaa Handle the case that bug report handler app is not available
- Let bug report shortcut request bug report when bug report handler app doesn't provide response

BUG: 151595664
Test: Flash and press bug report shortcut, then confirm requesting bug report when bug report handler app doesn't provide response

Change-Id: I5f7129fcdcb617a0993fbfed30553d59d3bd5ab5
2020-04-10 15:07:43 +08:00
TreeHugger Robot
926a6d7a33 Merge "Whitelist MediaProvider for statsd metrics" into rvc-dev 2020-04-10 06:19:52 +00:00
TreeHugger Robot
89d5f51c7e Merge "Improve MediaProvider WW atoms" into rvc-dev 2020-04-10 06:19:46 +00:00
Nikita Dubrovsky
cac7080163 Update the set of cursor drag tests that run in presubmits
Bug: 152948704
Test: Ran test locally and presubmits
  atest FrameworksCoreTests:EditorCursorDragTest
Change-Id: Ice1b3bf49cf556353f6b7c0b14fde0ebad3cc83e
2020-04-09 23:06:38 -07:00