Commit Graph

485340 Commits

Author SHA1 Message Date
Fabian Kozynski
9cd62519c1 [DO NOT MERGE] Fix BroadcastDispatcher registering with CURRENT am: e771b7529e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11792343

Change-Id: Ia1d89c5e65915027359b1e6d4b2abdc8c26bf24d
2020-06-11 19:22:03 +00:00
Yabin Huang
98d04627e4 Merge "Update the style of navigation button" into rvc-dev am: b5ec9c4d67
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11818599

Change-Id: I3cd9c3717600e106dfffbdd928093d4a3dcf41f7
2020-06-11 19:17:21 +00:00
TreeHugger Robot
eb68852435 Merge "Force-clear nav bar flags when phone finishes booting." into rvc-dev am: b236787b1a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11813213

Change-Id: I753dba8f00be562e0a6256f9477b875fc644a3ab
2020-06-11 19:16:51 +00:00
Yabin Huang
b5ec9c4d67 Merge "Update the style of navigation button" into rvc-dev 2020-06-11 19:14:10 +00:00
TreeHugger Robot
b236787b1a Merge "Force-clear nav bar flags when phone finishes booting." into rvc-dev 2020-06-11 19:11:29 +00:00
TreeHugger Robot
cb9aae0cf8 Merge "Remove incorrect isAppUid check reading memory state" into rvc-dev am: d490578595
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11838098

Change-Id: I932181edc35c89a4f740a859f7de7e7454ada7e9
2020-06-11 19:05:58 +00:00
TreeHugger Robot
d490578595 Merge "Remove incorrect isAppUid check reading memory state" into rvc-dev 2020-06-11 19:03:46 +00:00
Miranda Kephart
d9fffd428e Merge "Animate screenshot dismiss button appearance" into rvc-dev am: 0d3440f4f9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11811380

Change-Id: Icde7057d7b71cc9c53ca76cdcd9d83fac24b7d76
2020-06-11 18:59:39 +00:00
Miranda Kephart
0d3440f4f9 Merge "Animate screenshot dismiss button appearance" into rvc-dev 2020-06-11 18:55:59 +00:00
TreeHugger Robot
428bd1f07c Merge "Release SurfaceView surface if viewrootimpl surface is not valid" into rvc-dev am: 8089c3867e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11829307

Change-Id: I298e00f3502e8301cc8e0ad61a1775d51233478a
2020-06-11 18:45:22 +00:00
TreeHugger Robot
8089c3867e Merge "Release SurfaceView surface if viewrootimpl surface is not valid" into rvc-dev 2020-06-11 18:43:39 +00:00
Mady Mellor
5e93a73d38 Merge "Prevent NPE when dragging last bubble from expanded state" into rvc-dev am: d4952538cc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11832765

Change-Id: I3e9cd0b18319f9ba801e1bbcf840fdd348040ea2
2020-06-11 18:42:33 +00:00
Jeffrey Huang
3046d45830 Merge "Avoid timestamp update when data is kept on dump" into rvc-dev am: 0017b441a8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11829658

Change-Id: Ic6533b4be2a0249f49b00fe1a254009cfa690dbd
2020-06-11 18:42:19 +00:00
TreeHugger Robot
e97c7fbfec Merge "Apply theme shape clipping to group convo avatars" into rvc-dev am: 0561690cac
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11820082

Change-Id: I88a41dc54c3c793471ef9f58c17967a8c01096b8
2020-06-11 18:41:37 +00:00
Mady Mellor
d4952538cc Merge "Prevent NPE when dragging last bubble from expanded state" into rvc-dev 2020-06-11 18:33:32 +00:00
Jeffrey Huang
0017b441a8 Merge "Avoid timestamp update when data is kept on dump" into rvc-dev 2020-06-11 18:27:49 +00:00
TreeHugger Robot
0561690cac Merge "Apply theme shape clipping to group convo avatars" into rvc-dev 2020-06-11 18:22:46 +00:00
Aran Ink
5d9a184ea4 Force-clear nav bar flags when phone finishes booting.
It looks like there may be a bug in StatusBarManager that prevents it from correctly hiding the home button
if flags to show the home button have not been sent since a restart.

This side-steps that problem by sending an empty dismiss call once after the phone restarts, then following it
immediately with a call to hide the home/recents buttons as needed.

Test: Manual -- no home button visible after restarting phone and opening power menu on lock screen.

Bug: 155663717
Change-Id: I489472e364b34390d20baa28d838687498abe69c
2020-06-11 13:58:42 -04:00
TreeHugger Robot
76b6eb1e9f Merge "Add details to VibrationEffect waveform documentation" into rvc-dev am: 19dd14d76a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11837599

Change-Id: Icf911044a80f1226a289598190c48871a8954edc
2020-06-11 17:55:33 +00:00
TreeHugger Robot
19dd14d76a Merge "Add details to VibrationEffect waveform documentation" into rvc-dev 2020-06-11 17:52:05 +00:00
Matt Casey
9f29d8847b Merge "Add FLAG_ALT_FOCUSABLE_IM to screenshot window." into rvc-dev am: b20914d938
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11835320

Change-Id: I8cecdbb6b43d3a50a6edf4f08fd05efd25f0b31b
2020-06-11 17:37:41 +00:00
Winson Chung
676bfaba57 Merge "Add temporary logging for stuck nav button feedback" into rvc-dev am: f587b12e36
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11834007

Change-Id: I1075adde24e1bacea9e5151a07ff33ee1cad29b8
2020-06-11 17:37:26 +00:00
Miranda Kephart
288382cc2a Merge "Remove legacy screenshot notifications flow" into rvc-dev am: 1e9db44dc9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11826322

Change-Id: I21b1608a12c27db459b5840eff4081dd25fc040a
2020-06-11 17:37:00 +00:00
Joshua Duong
9fc04c68ee Merge "Reread the tls port on adbd restarts." into rvc-dev am: 9e7a8c853c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11829829

Change-Id: I821c9590a01c4890ba9e5967dcdc5bd92fd5ec1a
2020-06-11 17:36:49 +00:00
Matt Casey
b20914d938 Merge "Add FLAG_ALT_FOCUSABLE_IM to screenshot window." into rvc-dev 2020-06-11 17:35:37 +00:00
Ioannis Ilkos
e0ec1f3ce4 Remove incorrect isAppUid check reading memory state
The check misclassifies processes as apps (it only checks lower bound,
whereas there's also an upper bound of 20000-1).

At the same time it is redundant. It was originally introduced to
quickly filter out processes that were known to AM, but nowadays we
explicitly remove these from the set of processes to scan.

Bug: 158470048
Test: manual test, android.cts.statsd.atom.UidAtomTests#testProcessMemorySnapshot, 'android.cts.statsd.atom.UidAtomTests#testProcessMemoryHighWaterMark
Change-Id: Ie24107ccea31efae40277d8d46fa36f978f2481e
2020-06-11 17:34:08 +00:00
Winson Chung
f587b12e36 Merge "Add temporary logging for stuck nav button feedback" into rvc-dev 2020-06-11 17:33:55 +00:00
Miranda Kephart
1e9db44dc9 Merge "Remove legacy screenshot notifications flow" into rvc-dev 2020-06-11 17:28:46 +00:00
Joshua Duong
9e7a8c853c Merge "Reread the tls port on adbd restarts." into rvc-dev 2020-06-11 17:23:00 +00:00
Heemin Seog
4d5104df84 Merge "Dismiss panel when requested to close system dialogs" into rvc-dev am: 8808b5a3d3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11827743

Change-Id: Icf83ebdc3a5551503a97b9bb1198ede5df3127d9
2020-06-11 17:16:31 +00:00
Abodunrinwa Toki
57c56e91d8 Merge "Disable language logging in TextClassifier/TranslateEvent" into rvc-dev am: 934df62467
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11744901

Change-Id: I0aa43e678345ca9c13742b6aac1b59edc51aa8e2
2020-06-11 17:16:00 +00:00
Miranda Kephart
958eb9dcd5 Animate screenshot dismiss button appearance
Currently the dismiss button just pops in once the animation
is complete, which is somewhat jarring (and because the animation
decelerates as it ends, it feels like there's a delay before the
button actually appears).

This change starts fading in the button while the animation is
happening, matching its location to the preview at each animation
update.

Bug: 155415756
Fix: 155415756
Test: manual -- tested with ltr/rtl, portrait/landscape, and from
overview vs keychord, all looked correct

Change-Id: Ibd3ea2a4127d6fee87ec9b73d73f8f5a184d1417
2020-06-11 13:03:51 -04:00
Heemin Seog
8808b5a3d3 Merge "Dismiss panel when requested to close system dialogs" into rvc-dev 2020-06-11 16:42:53 +00:00
Abodunrinwa Toki
934df62467 Merge "Disable language logging in TextClassifier/TranslateEvent" into rvc-dev 2020-06-11 16:40:13 +00:00
Lais Andrade
ef5d8751e6 Add details to VibrationEffect waveform documentation
Explain the time unit of timings argument and copy explanation of
amplitude values to the summary segments of the javadocs.

Fix: 140846849
Test: N/A
Change-Id: Ia6fd6cb5d0e16076a54f24f7c3d2f3d4ca78d5bd
2020-06-11 16:39:36 +00:00
Fabian Kozynski
e771b7529e [DO NOT MERGE] Fix BroadcastDispatcher registering with CURRENT
When a BroadcastReceiver is registered with UserHandle.CURRENT, the
current user should be obtained. This has to be cached in order to not
call ActivityManager every time.

As it is done in the initializer the initial value caching will happen
before any other BroadcastReceiver is actually registered. The caching
and updating is all done in the background thread.

Also, remove unnecessary dependency.

Test: manual
Test: atest BroadcastDispatcher
Fixes: 158298581
Change-Id: Idfd2dc65f9079c57e971250aa7b0aef222da5af5
2020-06-11 16:28:07 +00:00
TreeHugger Robot
1650966ee2 Merge "Strip formatting from convo senders and title" into rvc-dev am: 954574cfaa
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11817528

Change-Id: Iab4b9f74f8e492aa0ae527add40acaa6face0ddb
2020-06-11 16:18:40 +00:00
TreeHugger Robot
bb1ccc30d5 Merge "wifi: fix incorrect java doc" into rvc-dev am: 1933391c5b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11833788

Change-Id: I4eb56581e855bc5e4dcc54cd5a35dcf6793486be
2020-06-11 16:18:19 +00:00
TreeHugger Robot
954574cfaa Merge "Strip formatting from convo senders and title" into rvc-dev 2020-06-11 16:14:44 +00:00
TreeHugger Robot
1933391c5b Merge "wifi: fix incorrect java doc" into rvc-dev 2020-06-11 15:59:15 +00:00
Mark Chien
d02eb33e41 Merge "Cleanup config_mobile_hotspot_provision_app usage" into rvc-dev am: ef24e2121d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11716092

Change-Id: Iece352be0190b902c4949c1feb76281653a9b59f
2020-06-11 15:42:41 +00:00
Mady Mellor
55ddc123e6 Prevent NPE when dragging last bubble from expanded state
- We null out stackview when it's removed from the window, this happens
  when the last bubble is removed from the view
- When the last bubble is dragged out, we trigger some other updates
  these get applied *after* the remove step so stackview is null at that
  time. These updates are to set selected bubble to null & collapse the
  stack. These don't technically need to tell stackView about them.
- I don't think this is an ideal solution

Test: drag out last bubble while stack is expanded
Fixes: 157778325
Change-Id: Ia55bf3ba315599ed8afb390ad481e0d3700b1b97
2020-06-11 08:42:15 -07:00
Mark Chien
ef24e2121d Merge "Cleanup config_mobile_hotspot_provision_app usage" into rvc-dev 2020-06-11 15:26:02 +00:00
TreeHugger Robot
b2660dc13d Merge "Pass entitlement configuration to Settings for entitlement check" into rvc-dev am: 2b92ce540b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11560353

Change-Id: I332e6f8965c1571508b310115c45cd4588c933ea
2020-06-11 15:15:15 +00:00
TreeHugger Robot
d60a648f6b Merge "Remove getFreeBytes() to fasten queryRoots call." into rvc-dev am: b3967b656d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11808678

Change-Id: I6ff704e17d64bafb4680530b6dca36dcb765b48c
2020-06-11 15:14:32 +00:00
TreeHugger Robot
2b92ce540b Merge "Pass entitlement configuration to Settings for entitlement check" into rvc-dev 2020-06-11 15:00:57 +00:00
TreeHugger Robot
b3967b656d Merge "Remove getFreeBytes() to fasten queryRoots call." into rvc-dev 2020-06-11 14:57:18 +00:00
Josh Tsuji
8c1d93fd5f Merge "Fix manage not being dismissed by taps in the AV bounds." into rvc-dev am: 6097e16b38
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11827747

Change-Id: I05362905e395e920b96d9b0d9471e1717a100331
2020-06-11 14:35:30 +00:00
Fabian Kozynski
90a3e7e5fb Merge "Add logs for BroadcastDispatcher" into rvc-dev am: 8b9bfd8d1a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11821047

Change-Id: I450f13b331f7cac0f38abc9d2442b42523d918e5
2020-06-11 14:34:54 +00:00
Josh Tsuji
6097e16b38 Merge "Fix manage not being dismissed by taps in the AV bounds." into rvc-dev 2020-06-11 14:31:44 +00:00