OSDN Git Service
Lucas Dupin [Wed, 12 Jun 2019 18:41:12 +0000 (18:41 +0000)]
Merge "Fix SysUI / AoD leaking content observers" into qt-dev
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
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
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
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
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
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
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
TreeHugger Robot [Mon, 10 Jun 2019 20:12:57 +0000 (20:12 +0000)]
Merge "Expose PermissionManager as TestApi and fix SplitPermissionInfo equality" into qt-dev
Andrew Solovay [Mon, 10 Jun 2019 18:23:40 +0000 (18:23 +0000)]
Merge "docs: Fixing broken HTML" into qt-dev
Hongyi Zhang [Mon, 10 Jun 2019 05:49:25 +0000 (22:49 -0700)]
Fix NPE in removeGeofence
Check if geofence is null before reading getRadius()
Test: run cts-dev --module CtsLocationTestCases --test android.location.cts.LocationManagerTest
============================================
================= Results ==================
=============== Consumed Time ==============
arm64-v8a CtsLocationTestCases: 1m 21s
Total aggregated tests run time: 1m 21s
============== TOP 1 Slow Modules ==============
arm64-v8a CtsLocationTestCases: 0.29 tests/sec [24 tests / 81579 msec]
============== Modules Preparation Times ==============
arm64-v8a CtsLocationTestCases => prep = 4604 ms || clean = 750 ms
Total preparation time: 4s || Total tear down time: 750 ms
=======================================================
=============== Summary ===============
Total Run time: 1m 28s
1/1 modules completed
Total Tests : 24
PASSED : 24
FAILED : 0
============== End of Results ==============
============================================
Bug:
134894083
Change-Id: I71f643688855394e14974170bd2380f66cd51308
Winson Chung [Mon, 10 Jun 2019 17:56:28 +0000 (10:56 -0700)]
Fix missing overlay values
Bug:
131447780
Test: Manual, ensure the overlay pkg has the right resource overlays
Change-Id: Ib9e89137480674389c8e405bbca9b04d8a0bf1f5
TreeHugger Robot [Mon, 10 Jun 2019 17:29:52 +0000 (17:29 +0000)]
Merge "Sharesheet - Hide direct share area for low ram devices" into qt-dev
Winson Chung [Mon, 10 Jun 2019 17:14:39 +0000 (17:14 +0000)]
Merge "Inject dependencies instead of fetching them" into qt-dev
TreeHugger Robot [Mon, 10 Jun 2019 16:32:44 +0000 (16:32 +0000)]
Merge "Add timeout for setPermissionGrantState" into qt-dev
TreeHugger Robot [Mon, 10 Jun 2019 14:46:28 +0000 (14:46 +0000)]
Merge "Sharesheet - Adjust timeouts and logic for direct share" into qt-dev
Matt Pietal [Mon, 10 Jun 2019 14:20:15 +0000 (10:20 -0400)]
Sharesheet - Hide direct share area for low ram devices
Make sure to force the item count to 0 to make sure the direct share
area stays hidden.
Bug:
134776740
Test: Low ram device, manual
Change-Id: I598752db5747b1c845495af7ae2f591488799352
Matt Pietal [Wed, 5 Jun 2019 11:04:55 +0000 (07:04 -0400)]
Sharesheet - Adjust timeouts and logic for direct share
Improve direct share loading by:
1. Do not issue redundant service calls within the watchdog timeout
period
2. Set a min and max watchdog timeout period, and if all services
return early, then informt the user we are done to so that they don't
have to wait until the max timeout period.
3. Be more specific on package changes. Resolver requires any change
to trigger a refresh, but chooser only needs to know about top level
package changes.
Bug:
134416594
Test: Manual
Change-Id: I075fd5b6f64c25637fd7ba7aa6b163dca81371a8
Santos Cordon [Sun, 9 Jun 2019 23:58:14 +0000 (23:58 +0000)]
Merge "Ignore brightness change thresholds for manual changes." into qt-dev
Winson Chung [Fri, 7 Jun 2019 17:48:45 +0000 (10:48 -0700)]
Inject dependencies instead of fetching them
Bug:
134712444
Test: atest SystemUITests
Test: atest NotificationStackScrollLayoutTest (wasn't actually able to
reproduce locally)
Change-Id: Ic1478a3eca164b844ba5721014e5591a6af02ffa
Bill Yi [Sun, 9 Jun 2019 08:57:05 +0000 (01:57 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Ida0624dfdb53a688b75bd7e03a7c02e32047ded3
TreeHugger Robot [Sat, 8 Jun 2019 16:39:56 +0000 (16:39 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
Bill Yi [Sat, 8 Jun 2019 15:30:59 +0000 (08:30 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I415dad40c35ad89a25d4df9190742a3515764a27
TreeHugger Robot [Sat, 8 Jun 2019 14:38:06 +0000 (14:38 +0000)]
Merge "Persist metric activation across beta4/5 ota" into qt-dev
TreeHugger Robot [Sat, 8 Jun 2019 05:16:18 +0000 (05:16 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sat, 8 Jun 2019 02:56:24 +0000 (02:56 +0000)]
Merge "Remove obsolete state" into qt-dev
Bill Yi [Sat, 8 Jun 2019 02:55:35 +0000 (19:55 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I8ce265c5d257e5cdbc247dc459a2432713f1c7b6
Lucas Dupin [Fri, 7 Jun 2019 18:44:28 +0000 (11:44 -0700)]
Remove obsolete state
There isn't a fingerprint animation, we don't need the timeout anymore.
This event was triggering unwanted updates, cancelling animations
during wake-up.
Fixes:
134448130
Test: power to wake-up: observe animation
Test: fingerprint from bouncer: observe animation
Test: fingerprint to wake-up: no animation
Change-Id: I17fcd9eb5eba7e7bc88de09309f5c310fe13433f
Merged-In: I17fcd9eb5eba7e7bc88de09309f5c310fe13433f
Lucas Dupin [Sat, 8 Jun 2019 01:54:16 +0000 (01:54 +0000)]
Merge "Do not animate status bar icons outside of shade" into qt-dev
Tej Singh [Sat, 8 Jun 2019 00:23:30 +0000 (17:23 -0700)]
Persist metric activation across beta4/5 ota
In beta 4, activeEventActivation proto object does not have a state
field and assumed to be active if it is written to disk. In beta 5, we
add a state field to support persisting metric activation status across
a system server crash. However, if a device updated from beta 4 to 5, we
don't have any knowledge of the state when we read. Therefore, assume
the lack of the state field as the event activation should be active for
the provided ttl.
Bug:
134795027
Test: used flashstation to flash a device to beta 4. Then manually push
and activate a simple config. Then use vendor/google/tools/flashall to
update to qt-dev + this change. Manually ensure metric/config are still
active.
Test: gts-tradefed run gts-dev --module GtsStatsdHostTestCases
Test: bit statsd_test:*
Change-Id: I8594d04efaa2ae1f669113aaffd33e5fa5851e73
Christopher Tate [Sat, 8 Jun 2019 00:55:43 +0000 (17:55 -0700)]
Correct sequencing of widget vs boot-complete broadcasts
Past fixes to lock-management issues inadvertently altered the intended
sequencing of the widget-lifecyle and boot-completed broadcasts. It's
correct now, with the order guaranteed by thread-of-issuance affinity.
Along the way, add the one missing bit of state reporting to the
plaintext broadcast queue dumpsys infrastructure.
Fixes:
131409711
Test: manual - boot and unlock device when widgets are being hosted by
the home app, and observe the timings & broadcast history.
Change-Id: Iaee75d4f9f85565eab95976633460fc0abd0fa16
Evan Rosky [Sat, 8 Jun 2019 00:40:21 +0000 (00:40 +0000)]
Merge "Update visibility in moveTaskToBack if nothing is resumed" into qt-dev
Lucas Dupin [Tue, 4 Jun 2019 22:14:25 +0000 (15:14 -0700)]
Do not animate status bar icons outside of shade
Test: systrace
Bug:
133182504
Change-Id: Iad0b15f96d935746e16208ae875b69625ba2adfc
Merged-In: I422b3da488fdac6577173d41b26c67f81c7826c5
Quang Luong [Fri, 7 Jun 2019 23:19:04 +0000 (23:19 +0000)]
Merge "Unsaved carrier wifi connection should display carrier in summary" into qt-dev
TreeHugger Robot [Fri, 7 Jun 2019 22:35:55 +0000 (22:35 +0000)]
Merge "Record textAppearance information for TextView." into qt-dev
Amit Mahajan [Fri, 7 Jun 2019 22:25:36 +0000 (22:25 +0000)]
Merge "Avoid UnsupportedOperationException from getDefaultSmsSubscriptionId()" into qt-dev
Winson [Fri, 7 Jun 2019 21:44:40 +0000 (14:44 -0700)]
Expose PermissionManager as TestApi and fix SplitPermissionInfo equality
Bug:
129200416
Bug:
129200610
Test: atest SplitPermissionsTest
Change-Id: I98795944e6440e5b7ebba134bd7735a6f78ebc4f
TreeHugger Robot [Fri, 7 Jun 2019 21:42:31 +0000 (21:42 +0000)]
Merge "Removing wtf log when crashing alarm manager client" into qt-dev