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
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
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
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
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
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
This reverts commit 304db431533085708d376aa5d1e5292f9a6870b2.
Reason for revert: This CL broke a test: b/153606760
Bug: 153606760
Change-Id: I6034fad7f88de14518ea9f46bf8774e4b8196926
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
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
- 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
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
Since ExifInterface supports multi-thread, SimpleDateFormat
should be thread-safe.
Bug: 152801859
Test: N/A
Change-Id: I9ad5a035162f5e3caff2a2d4aaff2ae0cd870cd2
Bug: 152948704
Test: Ran test locally and presubmits
atest FrameworksCoreTests:EditorCursorDragTest
Change-Id: Ice1b3bf49cf556353f6b7c0b14fde0ebad3cc83e