OSDN Git Service
Amit Mahajan [Fri, 7 Jun 2019 22:25:36 +0000 (22:25 +0000)]
Merge "Avoid UnsupportedOperationException from getDefaultSmsSubscriptionId()" into qt-dev
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
TreeHugger Robot [Fri, 7 Jun 2019 21:21:28 +0000 (21:21 +0000)]
Merge "Invalidate talkback accessibility tree after transitioning" into qt-dev
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
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
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
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
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
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
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
TreeHugger Robot [Thu, 6 Jun 2019 23:31:42 +0000 (23:31 +0000)]
Merge "Reset bottom area opacity when making it visible" into qt-dev
TreeHugger Robot [Thu, 6 Jun 2019 22:54:21 +0000 (22:54 +0000)]
Merge "Decouple Game Driver from preloading graphics driver" into qt-dev
Suprabh Shukla [Thu, 6 Jun 2019 21:19:41 +0000 (14:19 -0700)]
Removing wtf log when crashing alarm manager client
Removing before final release. Issues with accounting seem to be fixed.
App crashes should serve as a signal now onwards.
Test: Logcat emits no wtf logs when running
CtsAlarmManagerTestCases:UidCapTests#alarmsCannotExceedLimit
Fixes:
128866264
Change-Id: Iad5914ee46baa2b8bd8a596ecd71a5e8bda7b9c8
Todd Kennedy [Thu, 6 Jun 2019 21:47:24 +0000 (14:47 -0700)]
Don't abort multi-package install early
The multi-package install flow depends upon all of the packages being
processed. If we ever skip one, any installation status will never be
returned to the installation observer.
Fixes:
134632533
Test: adb install-multi-package app1/base.apk app2/base.apk app3/base.apk app4/base.apk
Test: adb did not hang and returned proper error "Failure [INSTALL_FAILED_VERSION_DOWNGRADE"
Change-Id: I3c0d1df059e1411c2d77f96b8fb656c9d1050ce1
Miranda Kephart [Wed, 5 Jun 2019 20:09:15 +0000 (16:09 -0400)]
Use nav bar color for invocation lights
Registers a listener so that the assistant invocation lights are
set to the same color as the nav bar (and therefore show up on
white backgrounds). Changes the stroke caps to BUTT rather than
ROUND/SQUARE so that they do not overlap (since the nav bar color
can be non-opaque).
If the lights are explicitly set to some other color, the listener
is not used.
Bug:
134523274
Test: manual
Change-Id: I4fc2dd4c609dcada6acdf34e269a0e62547747d0
TreeHugger Robot [Thu, 6 Jun 2019 21:50:28 +0000 (21:50 +0000)]
Merge "Improves the REMINDER_EXP mode for Assist Handle behavior" into qt-dev
Lucas Dupin [Thu, 6 Jun 2019 21:49:49 +0000 (21:49 +0000)]
Merge "Hide keyguard bottom area when SHADE_LOCKED" into qt-dev
Lucas Dupin [Thu, 6 Jun 2019 21:08:44 +0000 (21:08 +0000)]
Merge "Fix charging animation clipping" into qt-dev
TreeHugger Robot [Thu, 6 Jun 2019 20:44:49 +0000 (20:44 +0000)]
Merge "OMS: add TEST_MAPPING" into qt-dev
Tracy Zhou [Thu, 6 Jun 2019 20:41:11 +0000 (20:41 +0000)]
Merge "Inset floating rotation button." into qt-dev
Govinda Wasserman [Tue, 4 Jun 2019 16:15:23 +0000 (12:15 -0400)]
Improves the REMINDER_EXP mode for Assist Handle behavior
- User learning state is reset when leaving REMINDER_EXP behavior.
- Default parameters updated for easier testing and better experience
- Show and go only performed once per day when gesture has been learned
- Slightly delay handle showing when entering an apps with a longer
delay when switching between apps rapidly.
- Adds state dump to improve debugability.
- Adds ability to suppress handle showing in specific states using
flags.
Test: atest AssistHandleBehaviorControllerTest
Test: Tested locally
BUG:
132983599
Change-Id: I7829ad55d7667f5db3633e702add709968dcd0a9
Dan Sandler [Tue, 29 Jan 2019 18:58:52 +0000 (13:58 -0500)]
Dramatically simplify NotificationRankingUpdate.
It is now simply a container for a parceled RankingMap,
which can be unparceled entirely into objects in the
listener's heap and discarded. Notification key strings are
interned (by reference into the Ranking data structure).
This should save a considerable amount of RAM:
- parceled Bundles hanging around in the listener process,
waiting to be unparceled, never freed
- a dozen copies of the notification key string
Bug:
133763354
Test: atest NotificationManagerServiceTest NotificationListenerServiceTest NotificationDataTest
Test: coretests, cts, etc.
Change-Id: I5d8ab5c8f27c70f4af7051b24608ba0d1f2dd5cd
Lucas Dupin [Thu, 6 Jun 2019 18:14:01 +0000 (11:14 -0700)]
Fix charging animation clipping
Test: visual
Fixes:
134653127
Change-Id: I43eb2523a481237da27f159121bdc5b44b966d75
Lucas Dupin [Thu, 6 Jun 2019 00:50:48 +0000 (17:50 -0700)]
Hide keyguard bottom area when SHADE_LOCKED
Fixes:
133308946
Test: manual
Change-Id: I1e855f204cf43672cd0bb95c137b48be333c821c
TreeHugger Robot [Thu, 6 Jun 2019 18:37:08 +0000 (18:37 +0000)]
Merge "Default silent notifs on lockscreen to on" into qt-dev
Svet Ganov [Tue, 4 Jun 2019 21:16:51 +0000 (14:16 -0700)]
[DO NOT MERGE] Handle config override via settings correctly
Initialize persistence only after we can read the settings
provider as we need to take into account the current config
potentially set as an override in settings vs using the
hard coded defaults.
Make the last persist time more robust to ensure it always
termines to guard against other unforeseen cases wehere the
persistet files don't match what is expected under the current
config.
Test: atest CtsAppOpsTestCases
Test: atest android.appsecurity.cts.AppOpsTest
Bug:
134093967
Change-Id: I4bd272d3908eb8fc2afcdb7c1bd96b05a182d8c4
Adam Bookatz [Thu, 6 Jun 2019 17:54:24 +0000 (17:54 +0000)]
Merge "loadUnbadgedItemIcon doesn't crash from getUserIcon" into qt-dev
TreeHugger Robot [Thu, 6 Jun 2019 17:47:54 +0000 (17:47 +0000)]
Merge "Refine zoom in and zoom out transition of iamge wallpaper." into qt-dev
TreeHugger Robot [Thu, 6 Jun 2019 17:40:51 +0000 (17:40 +0000)]
Merge "Clarify problems with Linkify.MAP_ADDRESSES." into qt-dev
Lucas Dupin [Thu, 6 Jun 2019 17:40:23 +0000 (10:40 -0700)]
Reset bottom area opacity when making it visible
Fixes:
134646136
Test: manual
Change-Id: Iae1c659550aa20d222fcaa38a5e7f8aa5b5f5873
Julia Reynolds [Thu, 6 Jun 2019 15:17:20 +0000 (11:17 -0400)]
Default silent notifs on lockscreen to on
Test: manual
Bug:
134613164
Change-Id: I4873d7120959c25511ba8c51b4de9bf81df06b72
TreeHugger Robot [Thu, 6 Jun 2019 16:09:25 +0000 (16:09 +0000)]
Merge "GestureNav: Fix broken split screen navbar" into qt-dev
Lorenzo Colitti [Thu, 6 Jun 2019 11:08:19 +0000 (11:08 +0000)]
Merge "Don't use a high-priority notification on auto-join." into qt-dev
Ahan Wu [Wed, 29 May 2019 10:39:33 +0000 (18:39 +0800)]
Refine zoom in and zoom out transition of iamge wallpaper.
We do zoom in from lockscreen to aod1 and zoom out in reverse
transition.
Bug:
124822340
Bug:
133785684
Test: manually set image wallpaper.
Test: Press power key back and forth and observe.
Change-Id: I842f929c730d1234717faa77e32f733f131c6ca0
TreeHugger Robot [Thu, 6 Jun 2019 09:22:13 +0000 (09:22 +0000)]
Merge "Fix an issue that clicking on a smart action chip on keyguard ... failed to launch app resolver when there are more than one app handlers." into qt-dev
Lorenzo Colitti [Wed, 5 Jun 2019 07:08:37 +0000 (16:08 +0900)]
Don't use a high-priority notification on auto-join.
If the device connects to a network automatically and not through
user action, a high-priority notification is intrusive and is
inconsistent with other networking notifications, which are
usually only high priority if the network is manually selected.
Bug:
130766237
Test: see next CL in patch series
Change-Id: I8824f2d1a0efeb6cb75e430ef5159ebce0018779
TreeHugger Robot [Thu, 6 Jun 2019 06:15:55 +0000 (06:15 +0000)]
Merge "Allow same matcher to cancel >1 event activation" into qt-dev
Matt Casey [Thu, 6 Jun 2019 04:47:28 +0000 (04:47 +0000)]
Merge "Updated entrance animation for assistant handles." into qt-dev
Winson Chung [Thu, 6 Jun 2019 03:43:47 +0000 (03:43 +0000)]
Merge "Fix regressions in PiP movement bounds handling" into qt-dev
Bryan Ferris [Thu, 6 Jun 2019 03:42:48 +0000 (20:42 -0700)]
[automerger skipped] Merge changes from topic "am-
641f3aa3-ebd9-46aa-8f39-
1f4ec4f86eb3" into oc-dev am:
7af053390a am:
21cd2569bf am:
4871c475b2 -s ours
am:
459844b640 -s ours
am skip reason: change_id Ib032f800edb0416cc15f01a34954340d0d0ffa78 with SHA1
27d4734049 is in history
Change-Id: Ib3882a5188685a508d17d519f065a8676bc74652
Michael Wachenschwanz [Thu, 6 Jun 2019 03:40:51 +0000 (20:40 -0700)]
[automerger skipped] [automerger] Clear the Parcel before writing an exception during a transaction am:
f8ef5bcf21 am:
86c9bdd251 am:
6d72c0681f am:
d944d907df am:
31737b4618 am:
2ca66d4d10 am:
1c8a632ad2 am:
7eec0a8448
am:
57f6c0deb2 -s ours
am skip reason: change_id Iaf80a0ad711762992b8ae60f76d861c97a403013 with SHA1
06041db074 is in history
Change-Id: Ic15424d4bb5a2bcaf0d04bd302a36a376b814022
Bryan Ferris [Thu, 6 Jun 2019 03:07:23 +0000 (20:07 -0700)]
[automerger skipped] Merge changes from topic "am-
641f3aa3-ebd9-46aa-8f39-
1f4ec4f86eb3" into oc-dev am:
7af053390a am:
21cd2569bf
am:
4871c475b2 -s ours
am skip reason: change_id Ib032f800edb0416cc15f01a34954340d0d0ffa78 with SHA1
27d4734049 is in history
Change-Id: I73474b928179591981f7dde4520fb3f6695d9e3f
Michael Wachenschwanz [Thu, 6 Jun 2019 03:05:28 +0000 (20:05 -0700)]
[automerger] Clear the Parcel before writing an exception during a transaction am:
f8ef5bcf21 am:
86c9bdd251 am:
6d72c0681f am:
d944d907df am:
31737b4618 am:
2ca66d4d10 am:
1c8a632ad2
am:
7eec0a8448
Change-Id: Ic2cc203ee994927ec0b7f355917a15010f6e2a7c
TreeHugger Robot [Thu, 6 Jun 2019 01:46:13 +0000 (01:46 +0000)]
Merge "Remove alarms of cancelled pending intents" into qt-dev
Sudheer Shanka [Thu, 6 Jun 2019 01:32:03 +0000 (01:32 +0000)]
Merge "Fix Environment.isExternalStorageLegacy() impl." into qt-dev
TreeHugger Robot [Thu, 6 Jun 2019 01:24:23 +0000 (01:24 +0000)]
Merge "Fixed an issue where the insets of the cutout weren't respected" into qt-dev
Tej Singh [Thu, 6 Jun 2019 01:10:12 +0000 (18:10 -0700)]
Blacklist truncated atoms instead of whitelistnig
We used a whitelist to determine which atoms should have their
timestamps truncated to the nearest 5 minutes. This changes the logic
to a blacklist so that we can get fine grained timestamps from vendor and
mainline atoms. Also reserves a range for atoms that need to be
truncated in the future.
Bug:
134574701
Test: inspected generated statslog.cpp file to make sure it had the
correct blacklist
Test: testdrive on ScreenStateChanged to ensure timestamps are preserved
when they should be
Test: testdrive on CallStateChanged to ensure timestamps are truncated
when they should be.
Change-Id: Id3468542c830cdf41395a94c77f7df0b46cd11b7
Bryan Ferris [Thu, 6 Jun 2019 00:41:32 +0000 (17:41 -0700)]
Merge changes from topic "am-
641f3aa3-ebd9-46aa-8f39-
1f4ec4f86eb3" into oc-dev am:
7af053390a
am:
21cd2569bf
Change-Id: If444013b7d35152ca49ccc20a89841b1e5582c62
Chalard Jean [Thu, 6 Jun 2019 00:40:52 +0000 (17:40 -0700)]
[automerger skipped] [RESTRICT AUTOMERGE] Protect VPN dialogs against overlay.
am:
27d4734049 -s ours
am skip reason: subject contains skip directive
Change-Id: Iee025417ba496ea02b6c68ef2c7bf4422f77c6a0
Michael Wachenschwanz [Thu, 6 Jun 2019 00:38:43 +0000 (17:38 -0700)]
[automerger] Clear the Parcel before writing an exception during a transaction am:
f8ef5bcf21 am:
86c9bdd251 am:
6d72c0681f am:
d944d907df am:
31737b4618 am:
2ca66d4d10
am:
1c8a632ad2
Change-Id: I6cc244c8e40d66d639faef43ec8d3a23bfc11df7
Bryan Ferris [Thu, 6 Jun 2019 00:34:26 +0000 (17:34 -0700)]
Merge changes from topic "am-
641f3aa3-ebd9-46aa-8f39-
1f4ec4f86eb3" into oc-dev
am:
7af053390a
Change-Id: Ie90797e6c620819b92b2bd32ad8a07363fbee947
Michael Wachenschwanz [Thu, 6 Jun 2019 00:07:58 +0000 (17:07 -0700)]
[automerger] Clear the Parcel before writing an exception during a transaction am:
f8ef5bcf21 am:
86c9bdd251 am:
6d72c0681f am:
d944d907df am:
31737b4618
am:
2ca66d4d10
Change-Id: I452bc18a9cebc417e7c4499c2bebf8fd3cc0f1ce
Bryan Ferris [Thu, 6 Jun 2019 00:01:53 +0000 (00:01 +0000)]
Merge changes from topic "am-
641f3aa3-ebd9-46aa-8f39-
1f4ec4f86eb3" into oc-dev
* changes:
[automerger] Protect VPN dialogs against overlay. am:
016c72c8ab am:
e2100ac8f2 am:
caf19dfbb8 am:
8c3a23e6b1 am:
22a1644e1f
[automerger] Protect VPN dialogs against overlay. am:
016c72c8ab am:
e2100ac8f2 am:
caf19dfbb8 am:
8c3a23e6b1
[automerger] Protect VPN dialogs against overlay. am:
016c72c8ab am:
e2100ac8f2 am:
caf19dfbb8
[automerger] Protect VPN dialogs against overlay. am:
016c72c8ab am:
e2100ac8f2
[automerger] Protect VPN dialogs against overlay. am:
016c72c8ab
Protect VPN dialogs against overlay.
Yiwei Zhang [Tue, 4 Jun 2019 23:25:28 +0000 (16:25 -0700)]
Decouple Game Driver from preloading graphics driver
Previously, when the Game Driver package name is set, graphics driver preloading
is automatically disabled. Now we'd like to decouple the relation here. So Game
Driver could still work no matter graphics driver is preloaded in Zygote or not.
Bug:
134526352
Test: build, flash and boot.
Change-Id: Id720cc11e3365423dd9b984b7d30a2dbeecb6116
Winson Chung [Wed, 5 Jun 2019 04:20:41 +0000 (21:20 -0700)]
Fix regressions in PiP movement bounds handling
- When we return early when detecting when to skip applying the bounds
the stored bounds and rotation weren't being updated
- In landscape, the addition of the nav bar inset in the bottom pushed
the movement bounds to be out of range, which cause an incorrect
offset to be calculated
- Simplified the logic to calculate the offset for the adjustment for
IME and shelf -- keep track of the previous offset, check the previous
movement+offset bounds with the next movement+offset bounds and only
update if the PIP is currently between those two bounds
- Tweak to landscape policy, if there isn't enough space for the ime
offset, then don't apply it as a part of the shift
Bug:
126199952
Test: Go to landscape + pip, open IME and dismiss IME and ensure the
PIP is pushed off and restored correctly
Test: In portrait, test going from app/home/ime and verify that the right
offsets are applied, and then if the stack is not in the bounds of
the offset change, that it is not applied
Change-Id: I67eee7d321995f403137db940b06f685d0c919af
Suprabh Shukla [Fri, 31 May 2019 22:57:05 +0000 (15:57 -0700)]
Remove alarms of cancelled pending intents
When a pending intent is cancelled, the alarm is essentially defunct.
Keeping around this alarm takes unneeded memory and unreasonably counts
towards the per-uid cap of pending alarms.
Test: Unit test:
atest com.android.server.AlarmManagerServiceTest
Existing CTS:
atest CtsAlarmManagerTestCases
Bug:
132379078
Change-Id: I4c6d59d9ac79708d8daf40657e9773c715271f1e
Joe Onorato [Wed, 5 Jun 2019 22:13:55 +0000 (22:13 +0000)]
Merge "Do not include specific_mention sections in bugreports either." into qt-dev
Tracy Zhou [Wed, 5 Jun 2019 22:12:01 +0000 (15:12 -0700)]
Inset floating rotation button.
Fixes:
134182303
Test: Manual
Change-Id: Ic22aa2744f9e99baf4c6dd9533c5f6794b6587d5
Kevin Chyn [Wed, 5 Jun 2019 22:05:08 +0000 (22:05 +0000)]
Merge "Partial revert of ag/
7508382 to retain back button responsiveness in BiomtericPrompt" into qt-dev
Winson Chung [Wed, 5 Jun 2019 21:31:32 +0000 (21:31 +0000)]
Merge "Ensure that the IME switcher button is always touchable" into qt-dev
Matt Casey [Wed, 5 Jun 2019 21:14:09 +0000 (17:14 -0400)]
Updated entrance animation for assistant handles.
Implemented piecewise overshoot-like interpolation in collaboration with
UX. Visually, the animation works the same, it's just broken up into
several chained animations for simpler tweaking.
Test: Visual evaluation
Bug:
134487710
Change-Id: Ifd1f16393014f7c30413adf91aea7407fb526992
Kevin Chyn [Wed, 5 Jun 2019 20:43:58 +0000 (13:43 -0700)]
Partial revert of ag/
7508382 to retain back button responsiveness in BiomtericPrompt
The layout should be focusable and be set to focused in order for the
back button events to be received, since the key listener is set on
the layout.
Fixes:
133781042
Test: Back button cancels authentication
Test: No regression in tests mentioned in the CL above
Change-Id: I7d78bea400e8791e296a53603414095cfca62ec1
TreeHugger Robot [Wed, 5 Jun 2019 20:36:42 +0000 (20:36 +0000)]
Merge "Clarify documentation for sensor placement" into qt-dev
Fabian Kozynski [Wed, 5 Jun 2019 20:10:09 +0000 (20:10 +0000)]
Merge "Update KeyguardMonitor when UnlockMethod changes" into qt-dev
TreeHugger Robot [Wed, 5 Jun 2019 20:00:32 +0000 (20:00 +0000)]
Merge "Read the subtext of noti guts field on selection" into qt-dev
Selim Cinek [Wed, 5 Jun 2019 01:40:31 +0000 (18:40 -0700)]
Fixed an issue where the insets of the cutout weren't respected
Both the sampled region as well as the detection if it's in the
swipeable region did not factor in the cutout insets and
would calculate the wrong thing.
Bug:
132394665
Test: atest SystemUITests
Change-Id: I9d84f7c76bd987587546b69de6c2875dc5cb303b
Matt Casey [Wed, 5 Jun 2019 19:02:35 +0000 (19:02 +0000)]
Merge "Always show ScreenDecorations when in gesture nav mode." into qt-dev
Joe Onorato [Wed, 5 Jun 2019 18:57:05 +0000 (11:57 -0700)]
Do not include specific_mention sections in bugreports either.
Test: adb bugreport & manually verify
Bug:
134583922
Change-Id: I6b4df17fc729f78e70e126882bce611a33c8ef9a
TreeHugger Robot [Wed, 5 Jun 2019 18:50:32 +0000 (18:50 +0000)]
Merge "Always prompt for limited connectivity." into qt-dev
Brian Duddie [Wed, 5 Jun 2019 18:41:40 +0000 (11:41 -0700)]
Clarify documentation for sensor placement
Update documentation to be in sync with new language added to HAL
interface, which better explains the expected payload, format, and
usage.
Fixes:
133264933
Test: make docs, view HTML
Change-Id: Ib602674d395cb8c8e6431d23b051685c8d172560
Julia Reynolds [Wed, 5 Jun 2019 18:30:05 +0000 (14:30 -0400)]
Read the subtext of noti guts field on selection
When using a11y services
Test: manual with Talkback
Bug:
133649570
Change-Id: Id022e47bef9848e4c5237808659531f8d1c0c953
Xiangyu/Malcolm Chen [Wed, 5 Jun 2019 18:03:17 +0000 (18:03 +0000)]
Merge "Triggering notifications when dual CDMA SIM combinations are detected" into qt-dev
TreeHugger Robot [Wed, 5 Jun 2019 17:36:41 +0000 (17:36 +0000)]
Merge "Don't send SessionCallbacks for DRY_RUN sessions." into qt-dev
Android Build Merger (Role) [Wed, 5 Jun 2019 17:32:04 +0000 (17:32 +0000)]
[automerger] Clear the Parcel before writing an exception during a transaction am:
f8ef5bcf21 am:
86c9bdd251 am:
6d72c0681f am:
d944d907df am:
31737b4618
Change-Id: I780fc62bcad56b4f1518a9a84ff7a77914f5c722
Android Build Merger (Role) [Wed, 5 Jun 2019 17:32:01 +0000 (17:32 +0000)]
[automerger] Clear the Parcel before writing an exception during a transaction am:
f8ef5bcf21 am:
86c9bdd251 am:
6d72c0681f am:
d944d907df
Change-Id: Ia92e1831963623df7931de17b029a92bab7f9374
Android Build Merger (Role) [Wed, 5 Jun 2019 17:31:57 +0000 (17:31 +0000)]
[automerger] Clear the Parcel before writing an exception during a transaction am:
f8ef5bcf21 am:
86c9bdd251 am:
6d72c0681f
Change-Id: I38fbeaf20d21dd174e2b022196446631c20b2367
Android Build Merger (Role) [Wed, 5 Jun 2019 17:31:54 +0000 (17:31 +0000)]
[automerger] Clear the Parcel before writing an exception during a transaction am:
f8ef5bcf21 am:
86c9bdd251
Change-Id: I16e96c2b33f18459189bfff359ae85483667a202
Android Build Merger (Role) [Wed, 5 Jun 2019 17:31:48 +0000 (17:31 +0000)]
[automerger] Clear the Parcel before writing an exception during a transaction am:
f8ef5bcf21
Change-Id: I416ed302e6c680fd006bd9b38565ebfc8b132084
Michael Wachenschwanz [Thu, 16 May 2019 05:58:15 +0000 (22:58 -0700)]
Clear the Parcel before writing an exception during a transaction
This prevents any object data from being accidentally overwritten by the
exception, which could cause unexpected malformed objects to be sent
across the transaction.
Test: atest CtsOsTestCases:ParcelTest#testExceptionOverwritesObject
Bug:
34175893
Change-Id: Iaf80a0ad711762992b8ae60f76d861c97a403013
Merged-In: Iaf80a0ad711762992b8ae60f76d861c97a403013