OSDN Git Service
TreeHugger Robot [Thu, 13 Jun 2019 14:29:12 +0000 (14:29 +0000)]
Merge "Set channel dialog switches to 48dp height" into qt-dev
TreeHugger Robot [Thu, 13 Jun 2019 14:14:43 +0000 (14:14 +0000)]
Merge "Invalidate SignalDrawable on level change." into qt-dev
Narayan Kamath [Thu, 13 Jun 2019 09:23:59 +0000 (09:23 +0000)]
Merge "Move legacy obb data migration to a handler thread." into qt-dev
Anil Admal [Thu, 13 Jun 2019 02:13:25 +0000 (02:13 +0000)]
Merge "Reconfigure GNSS HAL NFW proxy app list on GNSS service crash" into qt-dev
TreeHugger Robot [Thu, 13 Jun 2019 01:40:41 +0000 (01:40 +0000)]
Merge "Revert "Add extra debug to capture system state"" into qt-dev
Mathieu Chartier [Wed, 12 Jun 2019 18:45:52 +0000 (11:45 -0700)]
Update dirty-image-objects
Numbers 60s after boot on taimen, saves ~4MB of RAM system wide.
Obtained on apps:
system_server
com.android.systemui
com.android.phone
com.android.nfc
com.google.android.networkstack
com.android.bluetooth
com.google.android.apps.nexuslauncher
com.google.android.gms.persistent
com.google.android.as
com.google.process.gservices
com.google.android.gms
com.google.android.inputmethod.latin
Before (measured processes):
PSS Private Dirty
.Boot art 2538 2300 0 0
.Boot art 2663 2428 0 0
.Boot art 1962 1676 0 0
.Boot art 816 540 0 0
.Boot art 1297 1032 0 0
.Boot art 1234 968 0 0
.Boot art 1751 1496 0 0
.Boot art 2227 1984 0 0
.Boot art 1114 844 0 0
.Boot art 772 492 0 0
.Boot art 2215 1972 0 0
.Boot art 1213 912 0 0
System wide
71,282K: .art mmap
66,418K: .Boot art
4,864K: .App art
After:
PSS Private Dirty
.Boot art 2447 2216 0 0
.Boot art 2477 2256 0 0
.Boot art 1717 1444 0 0
.Boot art 799 540 0 0
.Boot art 1268 1020 0 0
.Boot art 1196 948 0 0
.Boot art 1703 1464 0 0
.Boot art 2094 1864 0 0
.Boot art 1055 804 0 0
.Boot art 749 484 0 0
.Boot art 2096 1868 0 0
.Boot art 1058 772 0 0
System wide
67,138K: .art mmap
62,274K: .Boot art
4,864K: .App art
Bug:
134776403
Test: Reboot and inspect RAM usage
Change-Id: I5c056565a10b0becc4257f051aecc05cef6247dd
TreeHugger Robot [Thu, 13 Jun 2019 00:31:24 +0000 (00:31 +0000)]
Merge "Game Driver: Add settings global for prerelease driver opt in option" into qt-dev
John Reck [Thu, 13 Jun 2019 00:24:08 +0000 (00:24 +0000)]
Merge "Fix setPositionListener race condition" into qt-dev
Anil Admal [Wed, 12 Jun 2019 20:55:42 +0000 (13:55 -0700)]
Reconfigure GNSS HAL NFW proxy app list on GNSS service crash
Fixes:
134729449
Test: 1. Killed GNSS service several times and verified that the
GNSS HAL is reconfigured.
2. Verified on reboot the GNSS service is configured correctly.
Change-Id: Ic8b40ef2a907deef07d01ecb190291035069264d
TreeHugger Robot [Wed, 12 Jun 2019 23:42:24 +0000 (23:42 +0000)]
Merge "Revert "Prevent dismissing starting window when reopening app"" into qt-dev
TreeHugger Robot [Wed, 12 Jun 2019 23:35:30 +0000 (23:35 +0000)]
Merge "Create String before bundling AsyncTask" into qt-dev
Todd Kennedy [Wed, 12 Jun 2019 22:39:56 +0000 (22:39 +0000)]
Revert "Add extra debug to capture system state"
This reverts commit
bca1229305be2e8e6631f9212898856f3ae2a6b7.
Reason for revert: Logs are no longer beneficial and leading
to confusion when looking at bug reports.
Change-Id: Ib1abdddf5fee473e89bada83568b3a5de3171a20
Fixes:
135143061
Test: Manual. Builds and runs without spurious logs.
John Reck [Wed, 12 Jun 2019 22:01:51 +0000 (15:01 -0700)]
Fix setPositionListener race condition
Fixes:
131625115
Test: atest android.view.cts.SystemGestureExclusionRectsTest android.view.cts.SurfaceViewSyncTest android.uirendering.cts.testclasses.SurfaceViewTests
Change-Id: Ia357ff6fa5d5fe1e152abc23bbd6d8051cfd7aa7
Elisa Pascual Trevino [Wed, 12 Jun 2019 22:10:23 +0000 (22:10 +0000)]
Revert "Prevent dismissing starting window when reopening app"
This reverts commit
7c88cf83035e331bb4c4ccb519c8200f2e9d083f.
Original bug: b/
134561008
Reason for revert: b/
135084202
Change-Id: Ib4c17f98d66c9efb10d800d9ba585d14be4ac878
TreeHugger Robot [Wed, 12 Jun 2019 22:08:35 +0000 (22:08 +0000)]
Merge "Added test coverage to Context.startActivityAsUser" into qt-dev
Michael Groover [Wed, 12 Jun 2019 20:31:16 +0000 (20:31 +0000)]
Merge "Remove settings to relax device ID access restrictions" into qt-dev
TreeHugger Robot [Wed, 12 Jun 2019 20:20:04 +0000 (20:20 +0000)]
Merge "Remove stopship for IdmapManager vendor sdk" into qt-dev
Philip P. Moltmann [Wed, 12 Jun 2019 20:18:23 +0000 (20:18 +0000)]
Merge "Set app-op for restricted pre-22 apps" into qt-dev
TreeHugger Robot [Wed, 12 Jun 2019 20:18:17 +0000 (20:18 +0000)]
Merge "Reduces Assist Handle fade out duration" into qt-dev
TreeHugger Robot [Wed, 12 Jun 2019 20:10:31 +0000 (20:10 +0000)]
Merge "Disabled items shouldn't also be marked as unactionable." into qt-dev
Christian Wailes [Wed, 12 Jun 2019 19:45:41 +0000 (19:45 +0000)]
Merge "Removes unused code from the SystemServer/Zygote classes." into qt-dev
Govinda Wasserman [Wed, 12 Jun 2019 18:41:36 +0000 (14:41 -0400)]
Reduces Assist Handle fade out duration
This matches home handle behavior and ensures that the handles are gone
when the screen fades.
Test: Tested locally
BUG:
133767295
Change-Id: Ib8a5ee8c2a408cdf6f0f0741047b3f9f2d3bddff
FIX:
133767295
Lucas Dupin [Wed, 12 Jun 2019 18:41:12 +0000 (18:41 +0000)]
Merge "Fix SysUI / AoD leaking content observers" into qt-dev
Philip P. Moltmann [Tue, 11 Jun 2019 16:01:59 +0000 (09:01 -0700)]
Set app-op for restricted pre-22 apps
For these apps the permission is always granted and the grant state is
encoded into the app-op.
Also, unify syncOps* for restricted and foreground permissions into one.
Test: atest RestrictedPermissionsTest
SplitPermissionTest
Bug:
134500512
Change-Id: I2250a52d2250752c74907b3a9789ed45a4c75390
TreeHugger Robot [Wed, 12 Jun 2019 18:08:05 +0000 (18:08 +0000)]
Merge "Draw legacy nav bar background directly" into qt-dev
Jovana Knezevic [Wed, 12 Jun 2019 18:01:23 +0000 (18:01 +0000)]
Merge "Preventing keyguard dismissal when screen is off." into qt-dev
TreeHugger Robot [Wed, 12 Jun 2019 17:39:37 +0000 (17:39 +0000)]
Merge "Wrap legacyExtra generation in targetsdk check" into qt-dev
TreeHugger Robot [Wed, 12 Jun 2019 17:31:20 +0000 (17:31 +0000)]
Merge "Catch SecurityException thrown from job binding" into qt-dev
Winson Chung [Wed, 12 Jun 2019 17:28:58 +0000 (17:28 +0000)]
Merge "Fix missing overlay values" into qt-dev
TreeHugger Robot [Wed, 12 Jun 2019 17:25:27 +0000 (17:25 +0000)]
Merge "Fixes an issue where the wrong icons where ambient" into qt-dev
Amin Shaikh [Wed, 12 Jun 2019 14:31:46 +0000 (10:31 -0400)]
Invalidate SignalDrawable on level change.
This regression was introduced by ag/
7248138. Previously, changes to the
level always caused drawable invalidation, but currently invalidation
only occurs on signal level changes (not cutout or carrier change state
changes). This change fixes this behavior to invalidate the signal
drawable on all level changes.
Fixes:
134621165
Test: sysui demo mode
Change-Id: I5e14480a61fde5a0f7fdce781ae4a42a97e5d88a
Nate Myren [Wed, 15 May 2019 18:07:03 +0000 (11:07 -0700)]
Added test coverage to Context.startActivityAsUser
Test: atest ContextTest
Fixes:
127711435
Change-Id: I7629da8d15ded1b2ac0907f2284289fdb07879ec
(cherry picked from commit
7c491a534a2f70dd4ce0bb76eccc57b8b188c90c)
Jorim Jaggi [Tue, 11 Jun 2019 15:54:07 +0000 (17:54 +0200)]
Draw legacy nav bar background directly
If we only use a view for it, it may not be visible depending on
what the app will do with the DecorView, i.e. set a weird clip
region. To fix that, we also draw the legacy navigation bar
background separately in a post-draw callback.
Test: TikTok
Test: Material app is still able to set bar color
Fixes:
131211797
Change-Id: Id744b98780f8f7f6dcd3482803a680a8f93be4c5
Ryan Mitchell [Mon, 10 Jun 2019 19:30:36 +0000 (12:30 -0700)]
Remove stopship for IdmapManager vendor sdk
Idmap now checks if the version of the vendor partition is greater than
or equal to 29 or a development code name to enable enforcement of
overlayable resources.
Bug:
119390857
Test: manual
Change-Id: Iff224b9fae4b74848bd59fedd58236f93a5d7a9a
Svetoslav Ganov [Wed, 12 Jun 2019 16:13:03 +0000 (16:13 +0000)]
Merge "Whitelist all restricted permissions on sideload" into qt-dev
TreeHugger Robot [Wed, 12 Jun 2019 16:12:39 +0000 (16:12 +0000)]
Merge "Fix empty stacks leaked after blocking background activity launches." into qt-dev
Julia Reynolds [Tue, 11 Jun 2019 19:09:41 +0000 (15:09 -0400)]
Wrap legacyExtra generation in targetsdk check
Newer listeners don't need that information!
Test: atest
Fixes:
134964922
Change-Id: I1eb2fe4d339a7ae4950d905d62bd34eebbdb5657
Narayan Kamath [Wed, 12 Jun 2019 12:06:30 +0000 (13:06 +0100)]
Move legacy obb data migration to a handler thread.
The operation can potentially take a long time to complete
depending on the volume of data to be copied, so move it off
the ActivityManager handler thread that needs to be available
for other operations.
Bug:
134570017
Test: manual; set a 1 minute sleep in migrate_legacy_obb_data.sh
Change-Id: I3d2c52e8b012ed71c53810e6919d11be9a97cc6c
TreeHugger Robot [Wed, 12 Jun 2019 09:27:12 +0000 (09:27 +0000)]
Merge "Fix NPE in NSSL test" into qt-dev
Luke Huang [Wed, 12 Jun 2019 08:07:26 +0000 (08:07 +0000)]
Merge "Fix race condition caused by fd reused for DnsResolver" into qt-dev
Svet Ganov [Tue, 11 Jun 2019 00:57:44 +0000 (17:57 -0700)]
Whitelist all restricted permissions on sideload
Test: atest android.permission2.cts.RestrictedPermissionsTest#onSideLoadAllRestrictedPermissionsWhitelisted
Bug:
134500512
Change-Id: Ia5693f6f39b30e04ad6f96f2c1f5ff7665125e52
Lucas Dupin [Wed, 12 Jun 2019 06:24:52 +0000 (06:24 +0000)]
Merge "Fix unreadable clock" into qt-dev
lpeter [Tue, 11 Jun 2019 03:13:54 +0000 (11:13 +0800)]
Fix SysUI / AoD leaking content observers
It will add one more setting observer when AOD state is changed from
DOZE_PULSING to DOZE/DOZE_AOD.
Avoid to register setting observer again when it has been registered
before.
For example: This issue will occur when receving notification in AOD.
Bug:
133388082
Test: atest SystemUITests
Change-Id: Ie3fccc4dd6ecc77692649ace401779b8398b63f8
TreeHugger Robot [Wed, 12 Jun 2019 04:53:47 +0000 (04:53 +0000)]
Merge "Fix crash of test after finishing RecentsAnimationTest" into qt-dev
Lucas Dupin [Tue, 11 Jun 2019 22:20:32 +0000 (15:20 -0700)]
Fix NPE in NSSL test
By making sure that mIconAreaController will not be null.
Test: atest NotificationStackScrollLayoutTest
Fixes:
134976998
Change-Id: Ie85a806cdb0aaf91fa051074ab76d2c65c36235f
Louis Chang [Mon, 10 Jun 2019 02:49:28 +0000 (10:49 +0800)]
Fix empty stacks leaked after blocking background activity launches.
Background activity starts were blocked while stacks were created
and leaked.
Remove the stack if the activity failed to launch and no activities
left in the stack. Also avoid creating new stack for the blocked
background activity which is unnecessary.
Bug:
134016361
Test: atest BackgroundActivityLaunchTest
Change-Id: Ifa04a9062cb771929a9614cc164fd64b3f60edf1
Andreas Gampe [Wed, 12 Jun 2019 02:58:31 +0000 (02:58 +0000)]
Merge changes I66eac0c5,I07602072 into qt-dev
* changes:
Frameworks: Add fdatasync after dumping a trace
Frameworks: Change Java stack trace dumping
Andreas Gampe [Tue, 11 Jun 2019 20:49:48 +0000 (13:49 -0700)]
Frameworks: Add fdatasync after dumping a trace
Ensure that data hits storage when dumping.
Bug:
133525168
Test: m
Test: manual (induce ANRs with various platform changes)
Merged-In: I66eac0c5e77ea98ba1777d0803b35f38d9ca648f
Change-Id: I66eac0c5e77ea98ba1777d0803b35f38d9ca648f
Andreas Gampe [Tue, 11 Jun 2019 20:30:15 +0000 (13:30 -0700)]
Frameworks: Change Java stack trace dumping
When dumping stacks, e.g., for ANRs, even if the "Java" version from ART
reports success, check that output was generated, and fall back to a
"native" dump if the output is too small, currently set at one hundred
bytes.
Add more logging of failure paths.
Fix some error logging in native to go to logcat instead of stderr.
Bug:
133525168
Test: m
Test: manual (induce ANRs with various platform changes)
Exempt-From-Owner-Approval: Cherry-pick
Merged-In: I0760207229989f6f34e10edcf45fb140bc81d0e5
Change-Id: I0760207229989f6f34e10edcf45fb140bc81d0e5
Xiangyu/Malcolm Chen [Wed, 12 Jun 2019 02:23:13 +0000 (02:23 +0000)]
Merge "Make sure on non-dds phone, try MMS data connection when PS is not attached." into qt-dev
Lucas Dupin [Tue, 11 Jun 2019 01:00:22 +0000 (18:00 -0700)]
Fix unreadable clock
- Always use white text with shadows on media
- Use lock screen colors for shade theme
- Remove legacy wallpaper visibility listener
- Remove shadow from black title
Test: set white wallpaper
Test: set dark wallpaper
Test: set dark wallpaper on home, light on ls
Test: set dark wallpaper on ls, light on home
Test: atest SysuiColorExtractorTests
Fixes:
134119878
Change-Id: I64ee2dee14322b2c02891c3ffe5fc0b25d1f100b
Merged-In: I64ee2dee14322b2c02891c3ffe5fc0b25d1f100b
Qasid Ahmad Sadiq [Wed, 12 Jun 2019 01:58:21 +0000 (18:58 -0700)]
Disabled items shouldn't also be marked as unactionable.
Something can be clickable and disabled. Returning early here prevents that state to be reflected in ListView items.
The reported bug was happening because the items were disabled, but they weren't being reported as clickable.
Talkback doesn't read "disabled" for disabled items unless they are also actionable in certain ways.
Test: CTSAccessibility*, CTS AbsListViewTest, CTS ListViewTest, tried UI with sample app.
Fix:
131281972
Change-Id: Ic9b8c995398151f084d194e272ce082ec345e517
Selim Cinek [Tue, 11 Jun 2019 22:41:28 +0000 (15:41 -0700)]
Fixes an issue where the wrong icons where ambient
This is a regression from P from when we hid the
statusbar icons of non-high-priority notifications
by default
Fixes:
134444704
Test: atest SystemUITests
Merged-In: I2e571353735efb0d763ecc236f60aefe4c2b51d4
Change-Id: I2e571353735efb0d763ecc236f60aefe4c2b51d4
TreeHugger Robot [Wed, 12 Jun 2019 01:02:33 +0000 (01:02 +0000)]
Merge "audioservice: add RTT mode observer" into qt-dev
Anil Admal [Wed, 12 Jun 2019 00:59:15 +0000 (00:59 +0000)]
Merge "Emergency location notification text must be in the correct language" into qt-dev
TreeHugger Robot [Wed, 12 Jun 2019 00:15:36 +0000 (00:15 +0000)]
Merge "Fixes bad merge in Assistant Handle logic" into qt-dev
Matt Pietal [Wed, 12 Jun 2019 00:04:23 +0000 (00:04 +0000)]
Merge "GlobalScreenshot - Fix race condition" into qt-dev
Christopher Tate [Tue, 11 Jun 2019 01:19:31 +0000 (18:19 -0700)]
Catch SecurityException thrown from job binding
In some circumstances, a SecurityException can be thrown by
bindService() even when called by the OS itself. If this happens when
starting up a scheduled job, make sure to catch and handle the exception
rather than allowing the system server to crash.
Fixes:
134893684
Test: atest CtsJobSchedulerTestCases
Change-Id: Ib0dd2df5d48e13e7b7c75d7117d0ffa361b000ce
Chris Wailes [Fri, 7 Jun 2019 23:49:46 +0000 (16:49 -0700)]
Removes unused code from the SystemServer/Zygote classes.
This patch partially reversts ag/
6991475 and ag/
7161709. These changes
are no longer needed due to a change in the graphics driver strategy for
Q.
In addition, the preloading of the graphics driver in the USAPs need to
be removed to avoid causing a memory regression on devices with graphics
driver preloading in the Zygote disabled.
Bug:
134526352
Test: Treehugger
Change-Id: I570037866d1ae90794c711622e6045ebbffa5b9c
Merged-In: I570037866d1ae90794c711622e6045ebbffa5b9c
(cherry picked from commit
fcd68fd74b6d2704fc39074f1e177b0c0defc43c)
Anil Admal [Tue, 11 Jun 2019 21:37:31 +0000 (14:37 -0700)]
Emergency location notification text must be in the correct language
When the sytem language is changed, the emergency location user
notification text is not posted in the new language unless the
system server is restarted.
Bug:
116328114
Test: Visually verified that the notification reflects system
language changes.
Change-Id: I63c265da985395879683484af94e10159557789a
TreeHugger Robot [Tue, 11 Jun 2019 22:55:02 +0000 (22:55 +0000)]
Merge "Fixed an issue where the background was visible while pulsing" into qt-dev
Malcolm Chen [Mon, 10 Jun 2019 21:34:33 +0000 (14:34 -0700)]
Make sure on non-dds phone, try MMS data connection when PS is not
attached.
Before setting up data connection, we check if it's on non-dds and
voice is registered on non-LTE network, if true we'll setup the data
connection even if it's not attached.
Bug:
134086103
Test: manual
Change-Id: I43e150c1d0cc4065da07f4a5ec738b967e7a9a6d
Govinda Wasserman [Tue, 11 Jun 2019 22:21:38 +0000 (18:21 -0400)]
Fixes bad merge in Assistant Handle logic
Test: atest AssistHandleBehaviorControllerTest
BUG:
134572553
Change-Id: Ifdbaa45046f68f6af8708180abe97085ab70af0f
Eric Laurent [Tue, 11 Jun 2019 21:29:42 +0000 (14:29 -0700)]
audioservice: add RTT mode observer
Add content observer for RTT mode: when RTT is ON during a call,
The assistant is allowed to capture audio similarly to when an
accessibility service is in the foreground.
Bug:
132976361
Test: use voice input during a call with RTT enabled.
Change-Id: Ief04d886370b50ae3dac0a72dbd1a4ea5f2c66a3
TreeHugger Robot [Tue, 11 Jun 2019 21:53:06 +0000 (21:53 +0000)]
Merge "Moving some methods to PendingIntentController" into qt-dev
jovanak [Tue, 11 Jun 2019 18:51:54 +0000 (11:51 -0700)]
Preventing keyguard dismissal when screen is off.
For automotive, we dismiss keyguard to go straight to the home screen
or the bouncer. However, when the screen is off, we want keyguard to remain
to properly stop the applications.
We dismiss keyguard when the screen comes back on.
Fixes:
133324766
Bug:
133271311
Test: manual, turning screen on and off repeatedly, switching users while
screen is off or on, reboots
Change-Id: Iced146ad8753794bb766eb528dd198f886ccf3d7
TreeHugger Robot [Tue, 11 Jun 2019 20:25:45 +0000 (20:25 +0000)]
Merge "Gesture exclusion for seekbar thumbs/edit handles" into qt-dev
Matt Pietal [Tue, 11 Jun 2019 19:47:10 +0000 (15:47 -0400)]
GlobalScreenshot - Fix race condition
It is possible for the call to system windows to occur slightly after
the ChooserActivity gets launched, therefore preventing it from ever
showing. Wait on the future before attempting to launch the activity.
Bug:
134976976
Test: Screenshot, then share over and over
Change-Id: Iba98a079412f8e35643f3a1db04e749b3c654637
Selim Cinek [Tue, 11 Jun 2019 19:43:03 +0000 (12:43 -0700)]
Fixed an issue where the background was visible while pulsing
We were using our own right instead of the current right to render
the background.
Fixes:
135042415
Test: atest SystemUITests
Change-Id: I853d1ee4d2e9f8472c9786e3ce8f68ab605d1bcd
TreeHugger Robot [Tue, 11 Jun 2019 19:24:29 +0000 (19:24 +0000)]
Merge "Adds note about _native namespaces" into qt-dev
Evan Laird [Tue, 11 Jun 2019 19:04:40 +0000 (15:04 -0400)]
Set channel dialog switches to 48dp height
Makes them meet minimum touch target size requirements
Test: whatever automated accessibility scanner filed the bug initially
Fixes:
134894086
Change-Id: I524a044ff22e0e3cb23af69bf16fea57d918e1ee
TreeHugger Robot [Tue, 11 Jun 2019 18:05:38 +0000 (18:05 +0000)]
Merge "Link to death of external vibrations" into qt-dev
Adrian Roos [Tue, 11 Jun 2019 17:34:32 +0000 (17:34 +0000)]
Merge "DecorView: Fix status guard" into qt-dev
Luke Huang [Tue, 11 Jun 2019 16:08:00 +0000 (09:08 -0700)]
Fix race condition caused by fd reused for DnsResolver
There might be a gap between fd close and fd event listener unregister.
If fd is reused for another query during that gap, it might cause the
query failed with no response since addOnFileDescriptorEventListener
method failed. To fix this problem, we must ensure that fd event
listener is unregistered before fd closing.
Bug:
134310704
Test: atest DnsResolverTest
Merged-In: I443bb11b15845b079ee4370a7797e692e62fa3c8
(cherry picked from commit
07de4cf82ac09f8b9f37afa9eb1b7a44b43b6fe6)
Change-Id: I7041e67d8c906cbf88050e7d94245f8e15dcdbb4
Riddle Hsu [Tue, 11 Jun 2019 15:44:39 +0000 (23:44 +0800)]
Fix crash of test after finishing RecentsAnimationTest
The scheduleIdleLocked may be called when updating visibility
of activity. That will cause a mocked record to be used in
unexpected invocations.
Also block until the test thread has completed the pending
messages to prevent the execution from overlapping with the
next test.
Fix:
134891465
Test: atest RecentsAnimationTest
Change-Id: I339505ee75ba6e67aa8668dd4e40aef0f74df2aa
Patrick Baumann [Tue, 11 Jun 2019 17:17:49 +0000 (10:17 -0700)]
Adds note about _native namespaces
This change is purely documentation and addresses the use of _native for
device config namespaces.
Bug:
129344328
Test: N/A
Change-Id: I4eea3252be39024c02e4e601b6892223b009c82f
Jorim Jaggi [Tue, 11 Jun 2019 17:00:55 +0000 (17:00 +0000)]
Merge "If window isn't requested to be visible, don't consider it" into qt-dev
TreeHugger Robot [Tue, 11 Jun 2019 16:18:57 +0000 (16:18 +0000)]
Merge "Add comments to frozen AIDL API files" into qt-dev
TreeHugger Robot [Tue, 11 Jun 2019 15:20:51 +0000 (15:20 +0000)]
Merge "Prevent dismissing starting window when reopening app" into qt-dev
TreeHugger Robot [Tue, 11 Jun 2019 15:10:50 +0000 (15:10 +0000)]
Merge "Fixed an issue where test had lingering inflations" into qt-dev
Adrian Roos [Wed, 29 May 2019 14:12:09 +0000 (16:12 +0200)]
DecorView: Fix status guard
Fixes several issues with the status guard:
- poor background color for light status bar background
- guard & action mode need insets for the navigation bar in landscape
- status guard was not properly dismissed after completion of the action mode
- uses the proper non-zero root inset when LAYOUT_HIDE_NAVIGATION is unset & in landscape
Bug:
132924796
Test: make ApiDemos, use SystemUiModes activity to trigger action mode
Change-Id: Ie9ba2b6fb2c87a1825df85f756ffb062a45d4f55
Adrian Roos [Tue, 11 Jun 2019 14:52:58 +0000 (14:52 +0000)]
Merge "ScreenDecor: Fix cutout overlay regression" into qt-dev
Alexey Kuzmin [Wed, 5 Jun 2019 16:23:43 +0000 (17:23 +0100)]
Link to death of external vibrations
Bug:
133200481
Test: manual
Change-Id: I6a76b926d60a79fd450a2f7eaf9609243ac0aaf7
Jorim Jaggi [Thu, 6 Jun 2019 12:03:41 +0000 (14:03 +0200)]
If window isn't requested to be visible, don't consider it
For the -1 overlay in Launcher, we'd like to keep it invisible
to reduce global system contention, to avoid allocating a surface
when just swiping up. However, this doesn't work yet as we always
consider the window as interesting even though it requested to
be not visible.
To fix that, we only consider a window as interesting if it has
also requested to be visible. Note: This doesn't apply for the main
window.
Test: go/wm-smoke
Test: Swipe up with special home APK
Bug:
123539527
Change-Id: I19f712051b51fed0435d80442ecb7bd9b0a69f80
Selim Cinek [Tue, 11 Jun 2019 06:52:32 +0000 (23:52 -0700)]
Fixed an issue where test had lingering inflations
Because we are overriding the mainLooper and certain tests
had lingering inflations, when those inflation finished,
the main handler had been changed again.
We should really look into if this is 100% necessary in the
future but this should fix the flakey tests.
Fixes:
131413417
Test: atest SystemUITests
Change-Id: I761eace99cbedc2fa57e90016152c6d29b351dc2
PO HUNG CHEN [Tue, 11 Jun 2019 05:48:28 +0000 (05:48 +0000)]
Merge "Stub the oemlock operations when the PersistentDataBlock is not supported" into qt-dev
TreeHugger Robot [Tue, 11 Jun 2019 05:09:12 +0000 (05:09 +0000)]
Merge "AccessibilityNodeIdManager should hold onto weak references of Views." into qt-dev
Qasid Ahmad Sadiq [Fri, 7 Jun 2019 02:53:23 +0000 (19:53 -0700)]
AccessibilityNodeIdManager should hold onto weak references of Views.
... as opposed to strong references.
In case the calls between register and unregister aren't matched, we don't want to be leaking views.
I haven't seen any real eveidence of there being leaks, just a report. But this is preventative.
Created a "WeakSparseArray", which wraps SparseArray, and passes in a kind of WeakReference that has an id.
The references become unreachable, we use the id to remove the the entry from the SparseArray.
Test: Used the device for a bit with talkback on. CTSAccessibility*
Change-Id: I8d11727428f56fc06007232ae341d1409a11991f
Fix:
134506015
TreeHugger Robot [Tue, 11 Jun 2019 02:35:38 +0000 (02:35 +0000)]
Merge "Try augmented autofill if regular autofill is disabled." into qt-dev
Hongyi Zhang [Tue, 11 Jun 2019 00:04:24 +0000 (00:04 +0000)]
Merge "Fix NPE in removeGeofence" into qt-dev
Suprabh Shukla [Mon, 10 Jun 2019 23:25:35 +0000 (16:25 -0700)]
Moving some methods to PendingIntentController
Few code paths were still using the AMS lock which would cause races
corrupting PendingIntentRecord data.
Test: Builds. Existing pending intent tests pass:
atest CtsAppTestCases:android.app.cts.PendingIntentTest
Bug:
134707863
Change-Id: If55c0df1a24b50e72eb38f24d69a5a4aa1e8bfb3
TreeHugger Robot [Mon, 10 Jun 2019 23:35:20 +0000 (23:35 +0000)]
Merge "Correct sequencing of widget vs boot-complete broadcasts" into qt-dev
Adam He [Mon, 10 Jun 2019 23:21:31 +0000 (16:21 -0700)]
Try augmented autofill if regular autofill is disabled.
Fixes:
134914712
Test: atest android.autofillservice.cts.augmented
Change-Id: I7440bc4a9bff0b62b2625cd5bf24d3e276e4802c
Mehdi Alizadeh [Mon, 10 Jun 2019 22:39:20 +0000 (22:39 +0000)]
Merge "Show notifications when default launcher changes" into qt-dev
Christian Wailes [Mon, 10 Jun 2019 22:09:43 +0000 (22:09 +0000)]
Merge "Fixes two data races in USAP pool management." into qt-dev
Quang Luong [Mon, 10 Jun 2019 21:37:43 +0000 (21:37 +0000)]
Merge "Made AccessPoint's scan result list thread safe" into qt-dev
Tracy Zhou [Mon, 10 Jun 2019 21:22:19 +0000 (21:22 +0000)]
Merge "Make PiP window visible when user launches PiP in landscape mode" into qt-dev
TreeHugger Robot [Mon, 10 Jun 2019 20:28:11 +0000 (20:28 +0000)]
Merge "Guard against null mFunc in PooledLambdaImpl" into qt-dev
Adam Powell [Mon, 10 Jun 2019 15:38:49 +0000 (08:38 -0700)]
Gesture exclusion for seekbar thumbs/edit handles
Track gesture exclusion rects for seekbars and EditText selection and
cursor handles.
Bug:
133845668
Bug:
129338678
Test: cts/manual
Change-Id: I029d8ba465459f8ecaa14ee8ad0f5f4139b24e65
Mehdi Alizadeh [Wed, 29 May 2019 17:40:28 +0000 (10:40 -0700)]
Show notifications when default launcher changes
Shows a notification when we have to switch away from Gesture Nav
because the new launcher doesn't support it.
Also shows another notification when previously we had to switch away
from Gesture Nav, but now the new launcher supports it.
Bug:
129532605
Test: Manual test
Change-Id: Ie954dd5dea1b45795f5c0e22ab7cc1cffde4aabe