Commit Graph

417449 Commits

Author SHA1 Message Date
TreeHugger Robot
d07bcd4b0d Merge "Import translations. DO NOT MERGE" into qt-dev 2019-06-07 19:01:37 +00:00
TreeHugger Robot
76de5167ab Merge "Restore WATCH_APPOPS permission for systemui" into qt-dev 2019-06-07 18:46:47 +00:00
TreeHugger Robot
5cb8996742 Merge "Resetting widget cache when some configurations change" into qt-dev 2019-06-07 18:28:35 +00:00
Fabian Kozynski
ade26fa73a 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
2019-06-07 17:38:01 +00:00
Daniel Sandler
d4d9b233b2 Merge "Dramatically simplify NotificationRankingUpdate." into qt-dev 2019-06-07 17:11:23 +00:00
Daniel Sandler
bc276072ab Merge "You get a memory tile, and you get a memory tile." into qt-dev 2019-06-07 17:07:15 +00:00
Svet Ganov
85c951601a Add OWNERS for DeviceConfig
Test: N/A

Bug: 134753749

Change-Id: Ia1b10287a0d056fd9d242936e90d8f91d847fe59
2019-06-07 16:43:12 +00:00
TreeHugger Robot
0a3e150e52 Merge "Add a rolling log of external vibrations" into qt-dev 2019-06-07 15:04:37 +00:00
Miranda Kephart
31167d1d64 Merge "Use nav bar color for invocation lights" into qt-dev 2019-06-07 14:56:14 +00:00
Bill Yi
99193c4d50 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Iac4022ac6ff25ea77bc986924127d970e25f5444
2019-06-07 07:43:48 -07:00
TreeHugger Robot
445d7b38e4 Merge "Remove deleted strings from symbols.xml." into qt-dev 2019-06-07 12:27:36 +00:00
Alan Stokes
6aa7f28aae Remove deleted strings from symbols.xml.
The background activity start toast strings were removed from
strings.xml in commit 9e2457622a, but
not from symbols.xml. (Because I didn't know it existed.)

Bug: 131747138
Fixes: 134686670
Test: Still builds.
Change-Id: I934e96155dcc4404f50a309f07ba4ba6c86f151f
2019-06-07 10:50:51 +01:00
Benedict Wong
ac06c1022d Revert "Take all VPN underlying networks into account when migrating traffic for"
This reverts commit 917327b193.

Reason for revert: This change has been implicated in 4-way deadlocks as seen in b/134244752.

Bug: 134244752
Change-Id: Ibdaad3a4cbf0d8ef1ed53cfab1e454b9b878bae9
2019-06-07 09:18:01 +00:00
Benedict Wong
055992b112 Revert "NetworkStatsService: Fix getDetailedUidStats to take VPNs into account."
This reverts commit ed11b84131.

Reason for revert: This change has been implicated in 4-way deadlocks as seen in b/134244752.

Bug: 134244752
Change-Id: I0c00e8f0e30cee987b71b561079a97bf09d4dae4
2019-06-07 09:17:47 +00:00
Benedict Wong
1fbf261c01 Revert "Addressing comments for http://ag/7700679."
This reverts commit a229333986.

Reason for revert: This change has been implicated in 4-way deadlocks as seen in b/134244752.

Bug: 134244752
Change-Id: I5fbb3443a39a21fc9d96442726cd10d20e8d61cd
2019-06-07 09:17:31 +00:00
Benedict Wong
54a08a686d Revert "Add one more test for VPN usage stats."
This reverts commit 1419b0b20e.

Reason for revert: This change has been implicated in 4-way deadlocks as seen in b/134244752.

Bug: 134244752
Change-Id: I64b48d575f2e6ec4cb7d2d100a859a30af0501dc
2019-06-07 09:16:48 +00:00
Dan Sandler
1e5d012db0 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
2019-06-06 23:35:22 -04:00
TreeHugger Robot
85a3a4689c Merge "Blacklist truncated atoms instead of whitelistnig" into qt-dev 2019-06-07 02:35:51 +00:00
TreeHugger Robot
9a4601fbac Merge "Don't abort multi-package install early" into qt-dev 2019-06-07 00:49:53 +00:00
TreeHugger Robot
741e818ef3 Merge "Fixed issue where negative angles were not parsed properly" into qt-dev 2019-06-07 00:43:31 +00:00
Sunny Goyal
758e88bd44 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
2019-06-06 17:02:55 -07:00
TreeHugger Robot
7a38a73522 Merge "Reset bottom area opacity when making it visible" into qt-dev 2019-06-06 23:31:42 +00:00
TreeHugger Robot
1f66726d08 Merge "Decouple Game Driver from preloading graphics driver" into qt-dev 2019-06-06 22:54:21 +00:00
Todd Kennedy
56fbd4e123 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
2019-06-06 15:31:55 -07:00
Miranda Kephart
2c464b80a3 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
2019-06-06 18:08:15 -04:00
TreeHugger Robot
4335d958e4 Merge "Improves the REMINDER_EXP mode for Assist Handle behavior" into qt-dev 2019-06-06 21:50:28 +00:00
Lucas Dupin
e05421a8f3 Merge "Hide keyguard bottom area when SHADE_LOCKED" into qt-dev 2019-06-06 21:49:49 +00:00
Lucas Dupin
6df373efdd Merge "Fix charging animation clipping" into qt-dev 2019-06-06 21:08:44 +00:00
TreeHugger Robot
f49c18e1a9 Merge "OMS: add TEST_MAPPING" into qt-dev 2019-06-06 20:44:49 +00:00
Tracy Zhou
802e56c4f0 Merge "Inset floating rotation button." into qt-dev 2019-06-06 20:41:11 +00:00
Govinda Wasserman
48cdd68afe 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
2019-06-06 16:24:35 -04:00
Dan Sandler
ba666f8f54 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
2019-06-06 15:43:23 -04:00
Lucas Dupin
eff8ef000b Fix charging animation clipping
Test: visual
Fixes: 134653127
Change-Id: I43eb2523a481237da27f159121bdc5b44b966d75
2019-06-06 11:53:39 -07:00
Lucas Dupin
5778eb0443 Hide keyguard bottom area when SHADE_LOCKED
Fixes: 133308946
Test: manual
Change-Id: I1e855f204cf43672cd0bb95c137b48be333c821c
2019-06-06 11:49:36 -07:00
TreeHugger Robot
a501bbc75c Merge "Default silent notifs on lockscreen to on" into qt-dev 2019-06-06 18:37:08 +00:00
Svet Ganov
dc0f443cb6 [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
2019-06-06 18:26:54 +00:00
Adam Bookatz
14a34b9efb Merge "loadUnbadgedItemIcon doesn't crash from getUserIcon" into qt-dev 2019-06-06 17:54:24 +00:00
TreeHugger Robot
9bd11895d8 Merge "Refine zoom in and zoom out transition of iamge wallpaper." into qt-dev 2019-06-06 17:47:54 +00:00
TreeHugger Robot
a0d66cf3f6 Merge "Clarify problems with Linkify.MAP_ADDRESSES." into qt-dev 2019-06-06 17:40:51 +00:00
Lucas Dupin
f14b34f6c8 Reset bottom area opacity when making it visible
Fixes: 134646136
Test: manual
Change-Id: Iae1c659550aa20d222fcaa38a5e7f8aa5b5f5873
2019-06-06 10:40:23 -07:00
Julia Reynolds
837ed9ac7a Default silent notifs on lockscreen to on
Test: manual
Bug: 134613164
Change-Id: I4873d7120959c25511ba8c51b4de9bf81df06b72
2019-06-06 16:49:58 +00:00
TreeHugger Robot
730b22c229 Merge "GestureNav: Fix broken split screen navbar" into qt-dev 2019-06-06 16:09:25 +00:00
Lorenzo Colitti
831831c76c Merge "Don't use a high-priority notification on auto-join." into qt-dev 2019-06-06 11:08:19 +00:00
Ahan Wu
e16e1fa96b 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
2019-06-06 09:42:47 +00:00
TreeHugger Robot
78a48f5512 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 2019-06-06 09:22:13 +00:00
Lorenzo Colitti
c8d0589c9c 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
2019-06-06 18:21:34 +09:00
TreeHugger Robot
de7e1ccb0c Merge "Allow same matcher to cancel >1 event activation" into qt-dev 2019-06-06 06:15:55 +00:00
Matt Casey
4d06c6d954 Merge "Updated entrance animation for assistant handles." into qt-dev 2019-06-06 04:47:28 +00:00
Winson Chung
87ee4e1dc7 Merge "Fix regressions in PiP movement bounds handling" into qt-dev 2019-06-06 03:43:47 +00:00
Bryan Ferris
1855302fbe [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
2019-06-05 20:42:48 -07:00