Commit Graph

477604 Commits

Author SHA1 Message Date
TreeHugger Robot
89fde50c8e Merge "Move rotate button logging to Westworld" into rvc-dev 2020-05-18 22:44:57 +00:00
Hunter Knepshield
7eeed0981e Merge "Reapply aosp/970247 to fix SubInfo#toString." into rvc-dev 2020-05-18 22:30:16 +00:00
Hunter Knepshield
e23886b901 Reapply aosp/970247 to fix SubInfo#toString.
Looks like somewhere along the line this was partially overwritten by
another change. This makes the toString value consistent and stops the
MNC field from running into the country ISO code.

Test: compilation (trivial)
Change-Id: Ifdc00d340ae8ce31c224decebdd6c7aa4230bdb7
Bug: 8675309
2020-05-18 22:29:59 +00:00
TreeHugger Robot
082c8b68ae Merge "Pass -XX:PerfettoHprof=true to ART." into rvc-dev 2020-05-18 22:17:56 +00:00
Patrick Baumann
4d61690ba0 Merge "Remove usages of Slog.wtf" into rvc-dev 2020-05-18 21:39:57 +00:00
TreeHugger Robot
afdf940276 Merge "Don't restart non-system DataLoaders on reboot." into rvc-dev 2020-05-18 21:36:15 +00:00
Patrick Baumann
ce6252e5a4 Merge "Doc update re use of MATCH_UNINSTALLED flag" into rvc-dev 2020-05-18 21:31:02 +00:00
Govinda Wasserman
44dbb19a9d Merge "Suppress Assistant handles when device is not provisioned" into rvc-dev 2020-05-18 21:05:19 +00:00
Mike Digman
49260dd983 Move rotate button logging to Westworld
Fixes: 147508316
Test: statsd_testdrive 90
Change-Id: Ibf71098dad6a1cae354ec83d461c4e0b42c47065
(cherry picked from commit 6be1669a8e)
2020-05-18 20:58:48 +00:00
Ruchir Rastogi
e6c5da62fb Merge "Refactor puller of {Mobile|Wifi}BytesTransfer(ByFgBg)" into rvc-dev 2020-05-18 20:55:27 +00:00
TreeHugger Robot
10992382d1 Merge "[SM13] Create new atom for reporting data usage per rat and per sub" into rvc-dev 2020-05-18 20:54:41 +00:00
Collin Fijalkovich
acb2bba925 Merge changes from topic "dump-cacheinfo" into rvc-dev
* changes:
  Add cache debugging information to bugreports.
  Maintain global list of caches; purge on low memory
2020-05-18 20:52:43 +00:00
Florian Mayer
ebf0f91040 Pass -XX:PerfettoHprof=true to ART.
This is a cherry-pick of 7dc66b31c1.

Bug: 147667830
Change-Id: Ibc26afc5e9e8744839dce7e863d0635788ad9507
Merged-In: Ibc26afc5e9e8744839dce7e863d0635788ad9507
2020-05-18 20:47:53 +00:00
TreeHugger Robot
b1bd1279bd Merge "Remove unneeded margin/padding to fix scrolling." into rvc-dev 2020-05-18 20:32:55 +00:00
TreeHugger Robot
193bb8b040 Merge "Adding simple test for PlayerViewHolder construction" into rvc-dev 2020-05-18 20:07:33 +00:00
Wonsik Kim
33db90860f Merge "media: fix encrypted buffer handling" into rvc-dev 2020-05-18 19:54:35 +00:00
TreeHugger Robot
6ee52bdc33 Merge "Fixed a bug where the brighness mirror would make everything invisible" into rvc-dev 2020-05-18 19:45:12 +00:00
TreeHugger Robot
5677226b5b Merge "Use marquee for action items with super-long strings." into rvc-dev 2020-05-18 19:41:13 +00:00
TreeHugger Robot
8c9dc15e4f Merge "Only call onDisplayAreaInfoChanged if config actually changed" into rvc-dev 2020-05-18 19:26:41 +00:00
TreeHugger Robot
6da69cadba Merge "Update deprecation note for Application Cache." into rvc-dev 2020-05-18 19:14:39 +00:00
Govinda Wasserman
5b0a350aba Suppress Assistant handles when device is not provisioned
Test: Tested locally
BUG: 155723880
FIX: 155723880
Change-Id: I10c35ef9af7a2ea9e61772d84fec41d6f839aef4
2020-05-18 15:07:11 -04:00
Ben Lin
cde7161d91 Merge changes I3a200a5d,Ieb7054d9 into rvc-dev
* changes:
  Deprecate PipBoundsHandler#mLastDestinationBounds.
  Update bound as user moves PIP, and reuse it for snapAlgorithm reentry.
2020-05-18 19:06:10 +00:00
TreeHugger Robot
6faef903f6 Merge "Fix crash caused by unhandled bucket" into rvc-dev 2020-05-18 18:51:24 +00:00
Winson Chung
4b3634f78b Merge "Add global actions to sysui state for handling with gesture nav" into rvc-dev 2020-05-18 18:47:58 +00:00
Alex Buynytskyy
ea96c1f624 Don't restart non-system DataLoaders on reboot.
This saves system's resources.
Healthcheck will automatically start data loader on pending reads.

Bug: 153874006
Test: test PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest IncrementalServiceTest
Change-Id: I160153f1d3e7e653db5de06b59d6fbbc3667fdf2
2020-05-18 11:40:43 -07:00
Aran Ink
33ca6fb8de Remove unneeded margin/padding to fix scrolling.
Fixes: 156662033

Test: Manual -- controls section no longer scrolls when not full.
Change-Id: Ice32d439c1d3a71c173a4a1279e08631b16a0500
2020-05-18 14:36:05 -04:00
Robert Snoeberger
b647449d6f Adding simple test for PlayerViewHolder construction
Bug: 153170704
Test: atest tests/src/com/android/systemui/media/PlayerViewHolderTest.kt
Change-Id: I86c69486b2a135da374df823d2b9a8abcc535984
2020-05-18 14:36:00 -04:00
Selim Cinek
7d9d378b28 Fixed a bug where the brighness mirror would make everything invisible
Because of some new animation optimization, this could lead to issues
where we weren't cancelling the animation in one side case.

Fixes: 156569031
Test: tap on brightness mirror, observe
Change-Id: I18164b16a612431f8b3ec87a5b5834c0f48dd761
2020-05-18 11:27:32 -07:00
Christine Tsai
235f1db1c1 Merge "Fix ValueMetric should only pull on real state changes" into rvc-dev 2020-05-18 18:07:13 +00:00
Miranda Kephart
1089ed94b2 Merge "Update screenshot animation from Overview" into rvc-dev 2020-05-18 18:02:07 +00:00
Aran Ink
be297a5758 Use marquee for action items with super-long strings.
Where possible, try to fit strings onto two lines, then fall back to marquee if text is truncated.

Bug: 152624388
Test: Visual -- full strings are readable (if not pretty) across languages (ex. Greek, Georgian, Latvian, etc.)
Test: Visual -- When marquee is needed, all item messages are set to single-line marquee instead of two-line.

Change-Id: I687c0f310df3f237fcd3517a0b62fd912a421d74
2020-05-18 13:43:13 -04:00
Torne (Richard Coles)
fc23be81bd Update deprecation note for Application Cache.
Update the deprecation note for WebSettings.setAppCacheEnabled and
related to mention the public blog post about the feature being removed.

Fixes: 156409857
Test: m offline-sdk-docs
Change-Id: I0481937d665f3f16b61b921aa19e306ba8bb16e0
2020-05-18 13:40:40 -04:00
Patrick Baumann
5de8369e20 Remove usages of Slog.wtf
This change makes better use of logging in AppsFilter by logging warning
or info as appropriate.

Fixes: 156863453
Test: atest AppEnumerationTests
Change-Id: Icf4952f179aa63b29932d56414cb328a088adbe9
2020-05-18 10:37:45 -07:00
Steve Elliott
64320cc2de Fix crash caused by unhandled bucket
We no longer handle all buckets inside of the `when` block,
so the default case should no longer throw an error.

Fixes: 156866868
Test: manual, atest
Change-Id: Ib811165d8b09bca4f3045d4408ac250ef4b9bafa
2020-05-18 17:34:49 +00:00
Peter Kalauskas
093730bff1 Merge "Check user unlocked before write to /data/system_ce/0/snapshots" into rvc-dev 2020-05-18 17:33:25 +00:00
chaviw
b0b893f01f Only call onDisplayAreaInfoChanged if config actually changed
onConfigurationChanged is called pretty frequently if anything in the
hierarchy changed. Avoid sending duplicate callbacks to the client if
the configuration didn't actually change.

Test: Rotate, only unique configurations in onConfigurationChanged
Test: DisplayAreaOrganizerTest
Fixes: 156677444
Change-Id: Icf4dc8a0a5f7bdcfac87721c6ff656f2fe711a90
2020-05-18 10:28:48 -07:00
TreeHugger Robot
6351c72746 Merge "Revert "Add a null home activity to Shell.apk"" into rvc-dev 2020-05-18 17:28:46 +00:00
Darryl Johnson
0d8822c94a Merge "Make sure config change items are executed in the order dispatched." into rvc-dev 2020-05-18 17:26:14 +00:00
Beth Thibodeau
2debf9ca75 Merge "Move screen record icon" into rvc-dev 2020-05-18 17:22:09 +00:00
Nicholas Ambur
f39409edaf Merge "fix SoundTrigger.ModuleProperties equals" into rvc-dev 2020-05-18 17:12:46 +00:00
Nicholas Ambur
ba749f87d4 fix SoundTrigger.ModuleProperties equals
Bug: 152354427
Test: atest SoundTriggerTest
Change-Id: I715ecb51e78bcb45f4b3384c0551297289fe30f9
2020-05-18 10:11:02 -07:00
TreeHugger Robot
691ca6fd78 Merge "Reduce widget exemption status." into rvc-dev 2020-05-18 17:09:21 +00:00
Winson Chung
9467454820 Add global actions to sysui state for handling with gesture nav
Change-Id: I2cdea6761e6665c8f863937eff33a8272381b6e9
Merged-In: I2cdea6761e6665c8f863937eff33a8272381b6e9
Bug: 155499313
Test: Swipe back while global actions are showing over the lockscreen
2020-05-18 17:08:05 +00:00
tsaichristine
9f951059bf Fix ValueMetric should only pull on real state changes
In ValueMetricProducer, we now map the new and old state values from
onStateChanged to their correct group ids (no mapping happens if the
metric has no state map). We then check if the group ids are the same
and return if they are. Having the same group id means that the state
values are in the same group and no pull is needed.

onStateChanged was updated to take state values stored in FieldValue
objects instead of as ints. This makes it easier to utilize the
mapStateValue function in MetricProducer.

Bug: b/156428844
Test: m statsd_test && adb sync data && adb shell
data/nativetest/statsd_test/statsd_test

Change-Id: Id8f110db593470b8923e7c4259d70cc5f5bc9147
2020-05-18 09:45:12 -07:00
Lucas Dupin
745202ff9d Merge "Make media buttons shrink when tapped" into rvc-dev 2020-05-18 16:42:14 +00:00
TreeHugger Robot
3ccf874dca Merge "Screen recording doesnt record internal audio" into rvc-dev 2020-05-18 16:37:11 +00:00
Lucas Dupin
f7b6901230 Merge "Move ripple initialization to view holder" into rvc-dev 2020-05-18 16:13:22 +00:00
Beth Thibodeau
d003d71c60 Move screen record icon
Icon should be more left, set to match where cast icon would normally go

Fixes: 156743525
Test: manual
Change-Id: I72d1775f76994740771d1ebf72a4b7a93d78a4e6
2020-05-18 11:45:43 -04:00
TreeHugger Robot
31db4f456b Merge "Controls UI - Loading animations" into rvc-dev 2020-05-18 15:33:26 +00:00
Miranda Kephart
bd36bac202 Update screenshot animation from Overview
When invoked from Overview, the screenshot ended up at the wrong
size (since the input bitmap is a different size, coming from the
Recents screenshot). Changing the scale to start at the size of the
input bitmap (as well as starting at the correct location) fixes
this problem.

Bug: 155415994
Fix:155415994
Test: manual; tested from Overview and from chord invocation

Change-Id: I25f2ff982af75ea36da7b3e8e47f93c720101b97
2020-05-18 11:22:01 -04:00