OSDN Git Service
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
TreeHugger Robot [Tue, 11 Jun 2019 21:53:06 +0000 (21:53 +0000)]
Merge "Moving some methods to PendingIntentController" into qt-dev
TreeHugger Robot [Tue, 11 Jun 2019 20:25:45 +0000 (20:25 +0000)]
Merge "Gesture exclusion for seekbar thumbs/edit handles" into qt-dev
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
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
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
TreeHugger Robot [Fri, 7 Jun 2019 21:36:35 +0000 (21:36 +0000)]
Merge changes I08c5006a,I6686b77c into qt-dev
* changes:
Handle null OnSettingsClickListeners in ChannelDialogEditorController
Close channel dialog when the guts go away
Eugene Susla [Wed, 5 Jun 2019 23:47:04 +0000 (16:47 -0700)]
Guard against null mFunc in PooledLambdaImpl
Fixes:
134594642
Test: presubmit
Change-Id: I7b65d18df1625a276986a844569a1275c09df4e4
(cherry picked from commit
1cff0828e32784cbe67f029becedb5ad68cbd932)
TreeHugger Robot [Fri, 7 Jun 2019 21:21:28 +0000 (21:21 +0000)]
Merge "Invalidate talkback accessibility tree after transitioning" into qt-dev
Andrew Solovay [Thu, 6 Jun 2019 22:10:43 +0000 (15:10 -0700)]
docs: Fixing broken HTML
A couple of broken </code> tags were messing up the formatting
for the entire page (see b/
134696600 , http://screen/aThdcpoDvJo.png )
Staged the fixed doc to:
http://go/dac-stage/reference/android/app/Activity
(The live version of this doc has already been fixed -- I fixed
the HTML by hand in cl/
251937759 -- but we need to fix the Java
comment, or the file will revert when we publish beta 5.)
Bug:
134696600
Test: make ds-docs (& staged HTML output)
Exempt-From-Owner-Approval: Docs-only fix
Change-Id: I7e6d11ca358d747cdc6d04741d31c7acd85aa080
Hongyang Jiao [Fri, 7 Jun 2019 21:08:02 +0000 (21:08 +0000)]
Merge "Whitelist START_ACTIVITIES_FROM_BACKGROUND permission for permissionController" into qt-dev
Quang Luong [Thu, 6 Jun 2019 23:51:53 +0000 (16:51 -0700)]
Made AccessPoint's scan result list thread safe
If wifi verbose logging is enabled, the main thread may iterate through
the scan result list while the worker thread updates it, resulting in
an ArrayIndexOutOfBounds exception. This change adds a lock to every
iteration through mScanResults and mExtraScanResults.
Bug:
134098126
Test: atest WifiTrackerTest && atest AccessPointTest
Change-Id: If42a9ad8031ff66b1732a79772ba441185f7a18f
Chris Wailes [Wed, 5 Jun 2019 23:07:50 +0000 (16:07 -0700)]
Fixes two data races in USAP pool management.
The USAP pool management code contained two data races. One could cause
a double decrement if a runtime thread executed the SIGCHLD handler
while the server was responding to a pool exit message from a USAP. The
other data race could occur when the SIGCHLD handler executed in the
middle of a USAP pool flush.
The solution to the first race is to change the return value from a
helper function to ensure that the decrement only occurs when the entry
is invalidated through that specific invocation of the helper.
The second data race was fixed by using SIGTERM instead of SIGKILL when
flushing the USAP pool. This allows the Zygote to clear the table
entries outside of the SIGCHLD handler, and the handler to avoid
duplicate bookkeeping cleanup when this occurs. SIGTERM is used so that
it can be differentiated from other process termination events and so
that it can be blocked while the USAP is specializing, but hasn't yet
informed the Zygote of it's removal from the pool. This issue and this
fix will no longer be necessary once the Zygote signal handler has been
replaced with a signalfd.
Bug:
132794985
Test: atest SignedConfigHostTest
Change-Id: Ie01637a10b356b80b5aa62291a97f2c167242827
Merged-In: Ie01637a10b356b80b5aa62291a97f2c167242827
(cherry picked from commit
fb329ba7c858bd73f5a57b2b700c5d042ab8675d)
Evan Laird [Fri, 7 Jun 2019 20:12:06 +0000 (16:12 -0400)]
Handle null OnSettingsClickListeners in ChannelDialogEditorController
The property was already nullable, but prepareDialogForApp() didn't
accept a null click listener.
Test: atest ChannelDialogEditorControllerTest
Fixes:
134697988
Change-Id: I08c5006ac5519f2baa0df1a5ad29d6802c63fb3c
Eugene Susla [Fri, 7 Jun 2019 17:42:19 +0000 (10:42 -0700)]
Add timeout for setPermissionGrantState
Fixes:
134380096
Test: presubmit
Change-Id: Ifff243068eea2637cf8f6391b52a4c53bc544615
Quang Luong [Fri, 7 Jun 2019 18:32:16 +0000 (11:32 -0700)]
Unsaved carrier wifi connection should display carrier in summary
Autoconnected carrier wifi should display "Connected via <carrier>"
in the wifi picker even if the network has not been saved.
Bug:
134525097
Test: atest AccessPointTest
Change-Id: Id28daec3f80124f5329386ef5ff2b32cda505355
Evan Laird [Fri, 7 Jun 2019 18:55:59 +0000 (14:55 -0400)]
Invalidate talkback accessibility tree after transitioning
Using AutoTransition seems to allow the talkback accessibility nodes to
stay out of sync if the user starts iterating the view during the
transition. Calling `notifySubtreeAccessibilityStateChangedIfNeeded()`
on the end of the transition gets us back into the correct state.
Test: manual; start iterating view via talkback swiping while the
channel dialog editor transitions between app notifications on/off
Fixes:
133822221
Change-Id: I7218bc0734cf05372b8fbecfb6eeef69cb3f1d40
TreeHugger Robot [Fri, 7 Jun 2019 19:01:37 +0000 (19:01 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Fri, 7 Jun 2019 18:46:47 +0000 (18:46 +0000)]
Merge "Restore WATCH_APPOPS permission for systemui" into qt-dev
jiaohy [Wed, 5 Jun 2019 19:08:17 +0000 (12:08 -0700)]
Whitelist START_ACTIVITIES_FROM_BACKGROUND permission for
permissionController
Bug:
134429397
Test: Locally flash on sailfish
Change-Id: I650c08a7f0a823085e0eaa0e1cae8b5b44cabd8f
TreeHugger Robot [Fri, 7 Jun 2019 18:28:35 +0000 (18:28 +0000)]
Merge "Resetting widget cache when some configurations change" into qt-dev
Evan Laird [Fri, 31 May 2019 20:46:48 +0000 (16:46 -0400)]
Close channel dialog when the guts go away
Also don't open the NotificationInfo panel from the keyguard without
authenticating first.
Test: long press on notification from lockscreen
Test: lock the device while the channel editor dialog is open
Bug:
133182818
Change-Id: I6686b77cf54ed5c1b82596217263a53d9664fc64
Tracy Zhou [Tue, 4 Jun 2019 23:05:19 +0000 (16:05 -0700)]
Make PiP window visible when user launches PiP in landscape mode
Two PiP animations are triggered when launching PiP in landscape mode
(one when first swiping up (FADE_IN), the other moves the PiP window to
portrait position (BOUNDS)). When screen rotation happens after the first
animation is started, it cancels it while leaving the window alpha to
close to 0. In order to make sure the window after rotation has the correct
alpha, we should set the alpha of the window when mCancelCurrentBoundsAnimation is true to 1.
Fixes:
133711307
Test: Play a YouTube video in landscape mode, and then swipe up. Make
sure that PiP window shows up after screen rotation forced by launcher
Test: atest PinnedStackTests
Change-Id: I3ec186b0e1e3f50dc91cfb03fc3847ddd7b5faef
Amit Mahajan [Fri, 7 Jun 2019 17:40:09 +0000 (10:40 -0700)]
Avoid UnsupportedOperationException from getDefaultSmsSubscriptionId()
This is basically reverting to earlier behavior.
Test: basic sanity
Bug:
134375393
Change-Id: I44dc66f9f3d5d4dfcab95220d7a6a6be0ed5a825
Fabian Kozynski [Fri, 7 Jun 2019 17:20:49 +0000 (13:20 -0400)]
Restore WATCH_APPOPS permission for systemui
This permission is necessary for Q as it allows systemui to tag
notifications of apps that are using certain AppOps. This is a P
feature that has regressed when the permission was made privileged.
This is used by AppOpsController in order to obtain updates on any apps
(onOpActiveChanged, onOpNoted). There is no other way to obtain the
updates from apps that are not systemui, as specified in AppOpsManager.
Talked to moltmann@ to verify that this is the correct API to use for this feature.
I'll remove this permission once SystemUI does not need it anymore.
In particular, if AppOpsController does not require it for being notified of AppOps changes.
Fixes:
134747188
Test: build
Test: dumpsys SystemUI. Check that AppOpsController is getting updates.
Change-Id: I08cca4361a7fbfa8b2eb419f1459b0b8bce93a5f
Daniel Sandler [Fri, 7 Jun 2019 17:11:23 +0000 (17:11 +0000)]
Merge "Dramatically simplify NotificationRankingUpdate." into qt-dev
Daniel Sandler [Fri, 7 Jun 2019 17:07:15 +0000 (17:07 +0000)]
Merge "You get a memory tile, and you get a memory tile." into qt-dev
Svet Ganov [Mon, 3 Jun 2019 20:32:01 +0000 (13:32 -0700)]
Add OWNERS for DeviceConfig
Test: N/A
Bug:
134753749
Change-Id: Ia1b10287a0d056fd9d242936e90d8f91d847fe59
Santos Cordon [Fri, 7 Jun 2019 16:20:41 +0000 (17:20 +0100)]
Ignore brightness change thresholds for manual changes.
Bug:
131395565
Test: Manual - set screen_brightness to 32, then 26. Verify it changes.
Verify that threshold still hold for small sensor changes.
Change-Id: I9d9521d9dcfabdeb57eb77b4d968aa0e0e53b946
TreeHugger Robot [Fri, 7 Jun 2019 15:04:37 +0000 (15:04 +0000)]
Merge "Add a rolling log of external vibrations" into qt-dev
Miranda Kephart [Fri, 7 Jun 2019 14:56:14 +0000 (14:56 +0000)]
Merge "Use nav bar color for invocation lights" into qt-dev
Bill Yi [Fri, 7 Jun 2019 14:43:48 +0000 (07:43 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Iac4022ac6ff25ea77bc986924127d970e25f5444
Howard Chen [Thu, 6 Jun 2019 03:36:48 +0000 (11:36 +0800)]
Stub the oemlock operations when the PersistentDataBlock is not supported
The PersistentDataBlockService is not a compulsory component of framework thus we need to
handle cases when the PersistentDataBlockService is unavailable.
Bug:
132943408
Bug:
123777418
Test: toggle the oemlock in setting menu.
Change-Id: I59eec0a4905b588bf261b8447ad4b4e26ba5278d
TreeHugger Robot [Fri, 7 Jun 2019 12:27:36 +0000 (12:27 +0000)]
Merge "Remove deleted strings from symbols.xml." into qt-dev
Alan Stokes [Fri, 7 Jun 2019 09:50:51 +0000 (10:50 +0100)]
Remove deleted strings from symbols.xml.
The background activity start toast strings were removed from
strings.xml in commit
9e2457622abb8611876185f09cb79f5c3c2f4711, but
not from symbols.xml. (Because I didn't know it existed.)
Bug:
131747138
Fixes:
134686670
Test: Still builds.
Change-Id: I934e96155dcc4404f50a309f07ba4ba6c86f151f
Benedict Wong [Fri, 7 Jun 2019 00:08:02 +0000 (17:08 -0700)]
Revert "Take all VPN underlying networks into account when migrating traffic for"
This reverts commit
917327b1933c6edc8314fe728e5f14f6e29dd5f4.
Reason for revert: This change has been implicated in 4-way deadlocks as seen in b/
134244752.
Bug:
134244752
Change-Id: Ibdaad3a4cbf0d8ef1ed53cfab1e454b9b878bae9
Benedict Wong [Fri, 7 Jun 2019 00:06:48 +0000 (17:06 -0700)]
Revert "NetworkStatsService: Fix getDetailedUidStats to take VPNs into account."
This reverts commit
ed11b84131eae1e104af9be2c17fc9b07183eee3.
Reason for revert: This change has been implicated in 4-way deadlocks as seen in b/
134244752.
Bug:
134244752
Change-Id: I0c00e8f0e30cee987b71b561079a97bf09d4dae4
Benedict Wong [Fri, 7 Jun 2019 00:06:39 +0000 (17:06 -0700)]
Revert "Addressing comments for ag/
7700679."
This reverts commit
a229333986f95e48347fa8b653d7e1776019f84a.
Reason for revert: This change has been implicated in 4-way deadlocks as seen in b/
134244752.
Bug:
134244752
Change-Id: I5fbb3443a39a21fc9d96442726cd10d20e8d61cd
Benedict Wong [Thu, 6 Jun 2019 23:59:01 +0000 (23:59 +0000)]
Revert "Add one more test for VPN usage stats."
This reverts commit
1419b0b20e4b079bfa66662d042b4dc35fb22d78.
Reason for revert: This change has been implicated in 4-way deadlocks as seen in b/
134244752.
Bug:
134244752
Change-Id: I64b48d575f2e6ec4cb7d2d100a859a30af0501dc
Dan Sandler [Fri, 7 Jun 2019 03:35:22 +0000 (23:35 -0400)]
You get a memory tile, and you get a memory tile.
Turn on the SysUI memory QS tile for all debuggable builds.
This has the side effect of enabling ActivityManager heap
tracking for com.android.systemui, so don't be surprised
when you start seeing notifications saying "here's a heap
dump!"
Bug:
133671238
Test: runtest systemui
Change-Id: Ib40850bdcc0d67bfbcaf797886d53f2ae706bd72
Remi NGUYEN VAN [Fri, 7 Jun 2019 02:15:39 +0000 (19:15 -0700)]
Add comments to frozen AIDL API files
Generated by re-freezing the API with the new aidl_interface code, and
replacing the previous API with the new files. This only adds comments.
Test: comments only, builds
Bug:
134452637
Merged-In: I983a59d6ecae0c0d49136da723b65a1bb8c9ff53
(cherry picked from commit
44657b8e19a227e0887a0235b6b16d202edfd9e2)
Change-Id: Ie6581f2991152b7e3a7f477097a51b8cbaf0674c
TreeHugger Robot [Fri, 7 Jun 2019 02:35:51 +0000 (02:35 +0000)]
Merge "Blacklist truncated atoms instead of whitelistnig" into qt-dev
TreeHugger Robot [Fri, 7 Jun 2019 00:49:53 +0000 (00:49 +0000)]
Merge "Don't abort multi-package install early" into qt-dev
TreeHugger Robot [Fri, 7 Jun 2019 00:43:31 +0000 (00:43 +0000)]
Merge "Fixed issue where negative angles were not parsed properly" into qt-dev
Sunny Goyal [Thu, 6 Jun 2019 23:26:38 +0000 (16:26 -0700)]
Resetting widget cache when some configurations change
Sometimes widget providers hardcode colors in their remoteViews
by loading them from resources. On UI mode change, this can lead to
inconsistent UI if some widgets use a different configuration
than others.
Test: Verified with calendar widget on device
Bug:
133064045
Change-Id: If47a6b1973f55b7590f5d4116813d6a332951697