Commit Graph

357898 Commits

Author SHA1 Message Date
TreeHugger Robot
ea2bc6ffbc Merge "Turn off AA while notification expanding animation is running" 2018-02-07 22:31:54 +00:00
TreeHugger Robot
4bc024094e Merge "Pullers merge isolated process with host" 2018-02-07 22:27:19 +00:00
Chenjie Yu
80f9112aec Pullers merge isolated process with host
Test: unit test
Change-Id: Idcb4d19e1f5182554b503c5a35fbde4da146835c
Fix: 72230210
2018-02-07 22:16:50 +00:00
TreeHugger Robot
9555c952da Merge "Add shared strings to settingsLib" 2018-02-07 22:15:29 +00:00
TreeHugger Robot
0ac01dd40d Merge "Use framework onNavigateUp() instead of simply finish()." 2018-02-07 22:05:39 +00:00
Emilie Roberts
3b60d0221c Merge "Close Dialog when ESC Pressed" 2018-02-07 22:03:38 +00:00
Emilie Roberts
1ab70f3b37 Merge "Remove ESC key fallback mapping" 2018-02-07 22:03:38 +00:00
Emilie Roberts
b29243b64d Merge "Add Ctrl-Alt-Backspace to Back mapping" 2018-02-07 22:03:38 +00:00
TreeHugger Robot
568849b99a Merge "bind android.bg in system_server to small cores" 2018-02-07 21:55:24 +00:00
TreeHugger Robot
6b2203439f Merge "Let's not divide by zero." 2018-02-07 21:55:03 +00:00
TreeHugger Robot
e6bb3818ed Merge "Removing some powermanager proto fields." 2018-02-07 21:53:22 +00:00
TreeHugger Robot
764db50773 Merge "Removing allow_while_idle_min_duration_ms." 2018-02-07 21:53:22 +00:00
TreeHugger Robot
0589371900 Merge "PackageInfo: add Parcel read/write for cert history." 2018-02-07 21:03:32 +00:00
TreeHugger Robot
c9bb857026 Merge "Further tuning of PSS collection." 2018-02-07 20:51:58 +00:00
TreeHugger Robot
ea8feabec5 Merge "Minor improvements on autofill compat mode:" 2018-02-07 19:44:26 +00:00
TreeHugger Robot
28ddc0a68e Merge "Change night display auto mode Validator type" 2018-02-07 19:32:29 +00:00
Jeff Sharkey
f46dc156cf Let's not divide by zero.
Test: sure
Bug: 73060623
Change-Id: Ic9d60bb99e43a05c4131f642563d792de665e592
2018-02-07 12:28:24 -07:00
Stan Iliev
d192911e95 Turn off AA while notification expanding animation is running
Turn off AA from GriadientDrawable, while drawing with SRC
transfer mode. This CL speeds up drawing by avoiding intermediate
texture buffer in skia.

Bug:72804165
Test: Measured performance with systrace on opening a notifiation.
Change-Id: Icc69de90d81e8b1c4492f97722f72e7440d9acac
2018-02-07 19:27:52 +00:00
Alison Cichowlas
0ab4ea3ef2 Merge "Ignore flaky test. See discussion on bug." 2018-02-07 19:24:27 +00:00
Seigo Nonaka
ecc00786d0 Merge "Revert "Use new minikin::Font constructor"" 2018-02-07 19:06:26 +00:00
Tim Murray
b2f929d726 bind android.bg in system_server to small cores
android.bg in system_server primarily handles PSS collection, which is
not performance critical. Accordingly, bind it to little cores.

However, because threads in zygote-derived applications are only in a
single cpuset at a time, this also means the scheduling policy for
system_servershould never be reset by applyOomAdjLocked(). The only
time this happens is when system_server's ProcessRecord is first
created, and its scheduler configuration is already controlled by
init.rc. Configure the right defaults for system_server's scheduling
group so it's never modified from applyOomAdjLocked().

Test: android.bg is in background, rest of system_server is in fg
bug 70859548

Change-Id: Id8582e6d493c6b2d3390fdc45ac2396390744f06
2018-02-07 11:02:08 -08:00
Salvador Martinez
eb9ab29ec6 Add shared strings to settingsLib
Now that hybrid notifications exist in SysUI these strings should
be moved into settingsLib so we don't duplicate them. Additionally
several utility methods were moved so that they could be shared to
help keep behavior and strings consistent between different system
components that show battery time remaining.

Test: robotests
Bug: 65656091
Bug: 66909350
Bug: 67469159
Change-Id: Ifdaf02cf39354ed0088560490eabf8b101788a83
2018-02-07 10:55:42 -08:00
Fan Zhang
92a2613353 Use framework onNavigateUp() instead of simply finish().
- Simply finishing activity bypasses the entire nav-up chain, making
  taskAffinity/parentActivity defined in androidmanifest.xml no-op, which
  is bad.

- Also removed showMenu() logic, this is from drawer era and was only
  needed by mobile settings. We no longer need drawer so this method can
  be removed.

Bug: 72337421
Test: atest

Change-Id: Idee1b72751363b5162887a799197404a9498c83e
2018-02-07 10:50:03 -08:00
Winson Chung
0ee9c0db54 Merge "Revert "Exposing content insets and minimized home bounds for recents transition"" 2018-02-07 18:39:20 +00:00
Seigo Nonaka
36dadcfc7e Revert "Use new minikin::Font constructor"
This causes a regression for some characters

This reverts commit ab40df9e69.

Bug: 73054061
Change-Id: Icf1f9d2b89b75031aabb47507135e45a21bc5363
2018-02-07 18:38:58 +00:00
Winson Chung
bb5d97f00f Revert "Exposing content insets and minimized home bounds for recents transition"
This reverts commit 67f31199fb.

Reason for revert: Need to wait for the Launcher drop at EOD today

Change-Id: I039cd3092d786c62a88f599eb79c0704c6257981
2018-02-07 18:30:40 +00:00
TreeHugger Robot
b8b8b86d2e Merge "Made ScreenDecorWindowTests less flaky" 2018-02-07 18:29:17 +00:00
TreeHugger Robot
171951d8e0 Merge "Add more common private APIs into the light greylist" 2018-02-07 18:12:36 +00:00
Winson Chung
bcaeb104c2 Merge "Exposing content insets and minimized home bounds for recents transition" 2018-02-07 17:34:50 +00:00
Martijn Coenen
a13430af4c Merge "Fix gNumProxies double increment." am: 18f8500e32 am: 1b4f537429
am: 445f60fc1a

Change-Id: I90e203f48905b9a5e38d2be4a36b2bcb46097ac4
2018-02-07 16:31:52 +00:00
Martijn Coenen
445f60fc1a Merge "Fix gNumProxies double increment." am: 18f8500e32
am: 1b4f537429

Change-Id: I39f5db2bf430051d80ef27fe312cf3f397774edd
2018-02-07 16:21:01 +00:00
TreeHugger Robot
5bc67523ab Merge "Silent does not put phone into DND by default" 2018-02-07 16:17:28 +00:00
Martijn Coenen
1b4f537429 Merge "Fix gNumProxies double increment."
am: 18f8500e32

Change-Id: I1cc29693fd50fc033342c592841a17dbd5b9d532
2018-02-07 16:12:04 +00:00
TreeHugger Robot
db4c5bc8a1 Merge "Use removeUserEvenWhenDisallowed for removing ephemeral user" 2018-02-07 16:02:52 +00:00
David Brazdil
d56b320d80 Add more common private APIs into the light greylist
Bug: 64382372
Test: make
Change-Id: I2e244ea10d609dacb2517c1bb50bad5a4de58c54
2018-02-07 16:01:10 +00:00
David Brazdil
940acac974 Merge "Add more entries into hidden API light greylist" 2018-02-07 15:28:09 +00:00
Christine Franks
eafb541439 Change night display auto mode Validator type
NIGHT_DISPLAY_AUTO_MODE_VALIDATOR was incorrectly aliasing
BOOLEAN_EVALUATOR. As the valid values for this setting are { 0, 1, 2 },
when 2 (sunset-sunrise auto mode) was restored, the restoration would
fail.

Bug: 72992475
Test: B&R a device from the cloud with a sunrise-sunset auto mode.
Change-Id: I2dcb746847054e1f3d93731790a4d534f927ae28
2018-02-07 15:27:59 +00:00
Artem Iglikov
159fdccde5 Merge "Revert "JobScheduler to use UID active state for job exemption"" 2018-02-07 15:04:05 +00:00
Ricky Wai
d70c53fc91 Merge "Better handling unknown uid case in network watchlist service" 2018-02-07 14:30:29 +00:00
Martijn Coenen
18f8500e32 Merge "Fix gNumProxies double increment." 2018-02-07 13:47:45 +00:00
Leon Scroggins
349f1487fe Merge "Deprecate createFromResourceStream with BitmapFactory.Options" 2018-02-07 13:02:31 +00:00
Narayan Kamath
b5bca1dc92 Merge "BatteryStats : Remove unused upTime parameter." 2018-02-07 11:18:25 +00:00
Narayan Kamath
fb166de438 Merge "BatteryStats: Remove empty conditional." 2018-02-07 11:17:16 +00:00
felipeal
fd3f8f6f4b Minor improvements on autofill compat mode:
- Added missing fields such as viewResourceId, maxTextLength, and hint.
- Set input type class for passwords.

Test: manual verification
Bug: 72811034

Change-Id: I60dc7a368726d298f43e1f84b28561140ba10329
2018-02-07 11:54:12 +01:00
Artem Iglikov
0b053fecb6 Revert "JobScheduler to use UID active state for job exemption"
This reverts commit 6132e7bb1b.

Reason for revert: crashes master

Bug: 73049495
Change-Id: Idfd9a284163d26970b7cb89dea475d7c6abe0193
2018-02-07 09:47:51 +00:00
Martijn Coenen
5183c0eeff Fix gNumProxies double increment.
Bug: 70217678
Test: proxy counts look reasonable
Change-Id: I6147d6038794eabd6b3446d78cd29af9d40ef7cc
2018-02-07 10:35:35 +01:00
Jong Wook Kim
2dcd15de37 Merge "MacAddress: Use SecureRandom and add a 46 bit randomized MAC generator" am: 9f16828767 am: 775861bb12
am: b6b2957b8e

Change-Id: I5f2d395705841b7da03b1552b16507466e47ef84
2018-02-07 09:26:56 +00:00
Gurpreet Ghai
c6703cc512 Merge "Fix ANR due to long wait for synchronization lock" am: 9193014ee6 am: ad4e3c5d8b
am: a36539cf51

Change-Id: I4818ea8641ab937dbefb4a39810c97c3bbf5c262
2018-02-07 09:10:48 +00:00
Siyuan Zhou
dd98087d56 Merge "BootReceiver: changed deprecated Build.RADIO to Build.getRadioVerison to get non-empty radio firmware version in SYSTEM_LAST_KMSG." am: 1a535ba4b9 am: 1801988051
am: 11942417b2

Change-Id: Idb7b94a6f07334184e4be5088e2b4e50183d3600
2018-02-07 08:52:04 +00:00
TreeHugger Robot
387071bf4a Merge "Revert "STOPSHIP: Add UidCpuPower global setting"" 2018-02-07 07:12:19 +00:00