Commit Graph

380683 Commits

Author SHA1 Message Date
Eran Messeri
84c8b0fe47 Merge "Correctly preserve key generation parameters" into pi-dev am: 6f7cfb0627
am: e323fcbe98

Change-Id: I8cdbb82cd6fee604775764519dc8bf835a9c3738
2018-07-03 12:07:59 -07:00
Minchan Kim
6614a08683 Merge "Add system_server to system group only if per_app_memcg is true" into pi-dev
am: fb11e4c9b1

Change-Id: Icc9d0bb40515a87ddb0c8c0b28d0715a3f6bb0fe
2018-07-03 12:05:38 -07:00
Eran Messeri
e323fcbe98 Merge "Correctly preserve key generation parameters" into pi-dev
am: 6f7cfb0627

Change-Id: Id7fb68a441e873f7ae844bfc87f7f60798ecd57c
2018-07-03 11:59:13 -07:00
Lucas Dupin
42e713d7a3 Merge "Cross fade wake-up from pulsing" into pi-dev 2018-07-03 18:52:23 +00:00
Jean-Michel Trivi
cd64600ba8 Merge "AudioService: history of A2DP commands" into pi-dev 2018-07-03 18:49:33 +00:00
TreeHugger Robot
fb11e4c9b1 Merge "Add system_server to system group only if per_app_memcg is true" into pi-dev 2018-07-03 18:39:18 +00:00
Lucas Dupin
8dc9c6f3ba Clearer charging text
Used to be "Charged," now it is "Fully Charged."

Test: visual
Change-Id: I5cda3110d8fbfa58985625e3a0ccf5ef354f7d09
Fixes: 111100554
2018-07-03 11:37:52 -07:00
Neil Fuller
7e957e57b7 Merge "Make Half class use public APIs" 2018-07-03 18:32:27 +00:00
TreeHugger Robot
6f7cfb0627 Merge "Correctly preserve key generation parameters" into pi-dev 2018-07-03 18:31:06 +00:00
Fyodor Kupolov
6a7aac4afe Merge "Use sharedUserId as package name if there are collisions" 2018-07-03 18:27:47 +00:00
Neil Fuller
038b20c99b Track constructor changes in libcore/
The 2-arg constructor is being removed.

Test: build / boot
Bug: 111055375
Change-Id: I72413a8c7885f9514a88f59deb649fa755deff92
2018-07-03 19:22:45 +01:00
TreeHugger Robot
e341d4a88f Merge "MediaPlayer2: move SubtitleData listener into EventCallback" 2018-07-03 18:08:03 +00:00
Julia Reynolds
28149f65f9 Be more strict about triggering notification lights
Don't trigger lights if they should be suppressed by notification flags.

Don't log that notification lights happened if global or temporary
settings have turned them off

Test: runtest systemui-notification, verify
notification_itnerruptiveness numbers for a fresh 3p app that uses
lights
Bug: 111069748

Change-Id: I68750bf39eb76ef0bda40ddacfd90e1be79e8575
2018-07-03 13:54:53 -04:00
Siyamed Sinir
ad4883bb1b Add UrlSpanFactory to Linkify
Enable API user to create their own URLSpan for Linkify operations.

Test: atest android.text.util.cts.LinkifyTest
Test: atest android.text.util.LinkifyTest

Bug: 28536972
Bug: 32613009
Bug: 29150779

Change-Id: Ia4495dc7e656044b91a79804d3b50a30cae98225
2018-07-03 10:53:16 -07:00
Andrew Zeng
dbc26e0e9d Merge "Keep track of all bound services." 2018-07-03 17:44:41 +00:00
TreeHugger Robot
9445ca3ab9 Merge "Bugreport: Fix SystemUI service from being dumped twice 1/2" 2018-07-03 17:42:25 +00:00
TreeHugger Robot
e7ece5a69d Merge "Fix leak where system held onto slice providers" 2018-07-03 17:41:21 +00:00
Nick James
0000c05486 Merge "Revert "Disable DND status change notification on watches."" 2018-07-03 17:35:40 +00:00
Jorim Jaggi
bb12193435 Don't call updateInputWindow twice in relayoutWindow
Test: go/wm-smoke
Test: Inspect perf
Bug: 110464019
Change-Id: I1e59dd758444363d985eb10cdcedc8e01d036cdb
2018-07-03 17:34:54 +00:00
TreeHugger Robot
f1ea4f4011 Merge "Decrease delay to improve battery life" 2018-07-03 17:14:32 +00:00
Nick James
d7f77cfab7 Revert "Disable DND status change notification on watches."
This reverts commit 506417450b.

Reason for revert: Looking for +2 from main Android team.

Change-Id: Ieae138d8a2acce814d6ddbef2545e319edd216fe
2018-07-03 16:37:25 +00:00
Wale Ogunwale
86b7446c2b Break direct calls to UserController object in AMS from activity classes (12/n)
Make calls from activity classes go through ActivityManagerInternal
interface to case UserController instead of calling AMS.mUserController
object directly. Note that calls to UserController should not hold the
AMS lock.

Bug: 80414790
Test: Existing tests pass
Change-Id: Ie56f08d10b62d609e9b5e31f45b5f0d6eed3a9d4
2018-07-03 08:22:59 -07:00
Jason Monk
664af785d5 Fix how we get provider pkgs
Test: all existing tests pass (including high level supportlib ones)
Change-Id: I6b37ef419e3c76f35912f84500f88c069b7505ac
2018-07-03 11:21:57 -04:00
Jason Monk
e1c0c2cb8d Fix leak where system held onto slice providers
Test: uiservicestests
Bug: 110985973
Change-Id: Ie8fab3c7b8c22d302825fb147d2c3468f9ae7172
2018-07-03 11:08:32 -04:00
Wale Ogunwale
9333840e90 Reduce object allocation in AMS.computeOomAdjLocked()
Follow-up clean-up CL to ag/4246927 where we introduced structured
way of communicating process state to WM. However, in that CL we
were creating a few objects whenever AMS.computeOomAdjLocked() is
called. This CL corrects that with a temp. object/class pattern.

Test: existing tests pass.
Bug: 80414790
Change-Id: I97241b3d71e10610cca562397d33c8fa77727efa
2018-07-03 07:30:57 -07:00
Aaron Heuckroth
6ffe655a63 Merge "Add more information to notifications dump." 2018-07-03 14:13:22 +00:00
TreeHugger Robot
05329bb46a Merge "Hide windows even when AOD is off" 2018-07-03 12:35:46 +00:00
TreeHugger Robot
e026b408b5 Merge "Track max CPU and latency of binder calls" 2018-07-03 11:11:27 +00:00
Erik Kline
305293d529 Merge "Push DNS configuration on network validation" am: ef941e192a am: e3f76635f7
am: f882e66f2b

Change-Id: I209c38fab7f05909e61731a348b1b1a2b35feab2
2018-07-03 03:29:26 -07:00
Erik Kline
f882e66f2b Merge "Push DNS configuration on network validation" am: ef941e192a
am: e3f76635f7

Change-Id: Ic2046e053faf58e2edf2824e01145c61a9f2991f
2018-07-03 03:19:32 -07:00
Erik Kline
e3f76635f7 Merge "Push DNS configuration on network validation"
am: ef941e192a

Change-Id: I5907831e5f5f1f3659580cc56e2e081cbe88b1cc
2018-07-03 03:09:16 -07:00
Treehugger Robot
ef941e192a Merge "Push DNS configuration on network validation" 2018-07-03 09:03:35 +00:00
TreeHugger Robot
95e4e67dc6 Merge "Docs: generateKeyPair() can't be called from the main thread." 2018-07-03 08:32:23 +00:00
Jack Yu
a554f8791e [automerger skipped] Merge "Reordered the params for network registration" am: 38f7576297 -s ours am: d111501e8c
am: bf633db476

Change-Id: I541fab7ad6203733e0452cb9b96f144be2fe8464
2018-07-03 01:30:03 -07:00
Jack Yu
bf633db476 [automerger skipped] Merge "Reordered the params for network registration" am: 38f7576297 -s ours
am: d111501e8c

Change-Id: I86db28ba40fbb73fe0b50f8e751740767d22300f
2018-07-03 01:21:06 -07:00
Jack Yu
d111501e8c [automerger skipped] Merge "Reordered the params for network registration"
am: 38f7576297  -s ours

Change-Id: Ibbe9027176ff14eae912c794fb0724cdc32f4926
2018-07-03 01:12:03 -07:00
Tiger Huang
3404601e07 Don't flash system bars while showing an immersive app on lockscreen
Before applying this patch, when a show-when-locked immersive app is
showing, the system bars would quickly show and hide, which are
redundant to the user.

The root cause is that, for nav bar, we have a policy to show nav bar
if the width and height of status bar are MATCH_PARENT and status bar
has no PRIVATE_FLAG_KEYGUARD. When keyguard is becoming status bar,
its keyguard flag would be removed first, and then the height would
be changed to the bar height. So the nav bar would be shown between
these events. For status bar, we force showing it when it is expanded
by checking its width and height are MATCH_PARENT or not.

To fix the issue, this change introduces a new private flag which
indicates that the status bar window is now in an explicit expanded
state. We check this flag instead of checking the width and height of
status bar.

This change also fix a bug that: when AOD is enabled, if the
foreground app has FLAG_SHOW_WHEN_LOCKED, FLAG_TURN_SCREEN_ON, and
FLAG_FULLSCREEN, clicking on the power key would make it show the app
again instead of AOD. (not 100%, but chances)

Bug: 80147982
Test: 1. go/wm-smoke
      2. Launch a show-when-locked turn-screen-on immersive app on
         AOD, and see if any system bar flashes.
      3. Launch a show-when-locked turn-screen-on immersive app on
         lockscreen, and see if any system bar flashes.
      4. a. Enable AOD in Settings.
         b. Open a show-when-locked turn-screen-on immersive app.
         c. Click on power key, and see if AOD shows.
      5. Launch an immersive app and drag down the status bar, see
         if nav bar keeps there as long as status bar is expanded.

Change-Id: Ie885d504eb73ae8a86736b2c3ed4fb03eb9f739e
2018-07-03 14:41:43 +08:00
Erik Kline
c6d00228cd Push DNS configuration on network validation
Test: as follows
    - built, flashed, booted
    - runtest frameworks-net passes
    - connected to captive portal network,
      saw failed validation attempt (opportunistic),
      passed portal, saw successful revalidation attempt
Bug: 64133961
Bug: 72344805
Bug: 109928338

Change-Id: I0471685c2234af8a8c7f5b2ad3205eb6e36333c5
2018-07-03 13:33:34 +09:00
TreeHugger Robot
ca3d7aeb59 Merge "Add active admin app to power white list." 2018-07-03 02:26:16 +00:00
Carmen Jackson
e939d86df9 Merge "Add in-app tracepoints to TouchLatency app." am: 674fd12278 am: b6d12b8bb1
am: 0ede701120

Change-Id: Iee202f3c645249109a7f27ba393bb41c50b6b9e8
2018-07-02 19:02:23 -07:00
Carmen Jackson
0ede701120 Merge "Add in-app tracepoints to TouchLatency app." am: 674fd12278
am: b6d12b8bb1

Change-Id: I719439a6323ef38f2f39cd578cc4700b9e70850c
2018-07-02 18:52:46 -07:00
TreeHugger Robot
9e01f4293c Merge "Add Feature Flag for Hearing Aid Profile" 2018-07-03 01:18:15 +00:00
Jean-Michel Trivi
3bf75781ca AudioService: history of A2DP commands
Keep history of command coming from A2dpService in AudioService
  logger.

Bug: 110186160
Test: connect/disconnect A2DP device and take bugreport,
      or run $ adb shell dumpsys audio

Change-Id: Ice65c20e91aa2675fbacb1c326a53d5b02bba3e5
2018-07-02 18:15:49 -07:00
Wei Jia
ba145fec56 MediaPlayer2: move SubtitleData listener into EventCallback
Rename onMediaTimeChanged to onMediaTimeDiscontinuity
Remove stop
Test: MediaPlayer2Test
Bug: 109928575

Change-Id: I7e81a3255360fe780f07d8478634a4a41935db8c
2018-07-02 18:12:42 -07:00
Lei Yu
f5a13f8b3a Add active admin app to power white list.
So user can't restrict it in settings app.

Bug: 110337989
Test: RunSettingsLibTests
Change-Id: Ie32dc8b2204369c9ca8f704436d5c988f76481ae
Merged-In: Ie32dc8b2204369c9ca8f704436d5c988f76481ae
2018-07-02 18:08:06 -07:00
Carmen Jackson
b6d12b8bb1 Merge "Add in-app tracepoints to TouchLatency app."
am: 674fd12278

Change-Id: I69a89ba6fac90a454a1d8befe9317af25979ccbf
2018-07-02 17:57:29 -07:00
SongFerngWang
eda30b4981 Merge "add three new carrier configs for call forwarding, Caller ID and Call Waiting." into pi-dev am: 9ccabdbc45
am: c49d3b2e2f

Change-Id: I9b5f09a5f42c099d048ea5ac0a98a644514a1067
2018-07-02 17:26:14 -07:00
SongFerngWang
c49d3b2e2f Merge "add three new carrier configs for call forwarding, Caller ID and Call Waiting." into pi-dev
am: 9ccabdbc45

Change-Id: I7517b64e87b43acff501afc858c8fad433d0ecfc
2018-07-02 17:12:49 -07:00
TreeHugger Robot
9ccabdbc45 Merge "add three new carrier configs for call forwarding, Caller ID and Call Waiting." into pi-dev 2018-07-03 00:01:52 +00:00
Treehugger Robot
38f7576297 Merge "Reordered the params for network registration" 2018-07-02 23:56:11 +00:00