Commit Graph

79551 Commits

Author SHA1 Message Date
Tao Bao
cbc4d36dcc Merge "Expose an update_engine API that verifies the given payload metadata." 2018-02-12 18:36:47 +00:00
Neil Fuller
d93e8866a3 Merge "Add support for time zone notifications" 2018-02-12 15:14:49 +00:00
TreeHugger Robot
9036a88d95 Merge "Logging for linkify selections" 2018-02-12 14:44:35 +00:00
TreeHugger Robot
d591904d1d Merge "Fix size of parcelled TextClassification icons." 2018-02-12 12:17:58 +00:00
Petr Cermak
10011fa917 Replace smart reply boolean setting with key-value list
This patch replaces the recently introduced
Settings.Global.ENABLE_SMART_REPLIES_IN_NOTIFICATIONS boolean setting
with a new Settings.Global.SMART_REPLIES_IN_NOTIFICATIONS_FLAGS
key-value list.

Rationale: This will allow us to add and tweak smart reply parameters
without polluting the global settings namespace.

Bug: 67765414
Test: atest SmartReplyConstantsTest
Change-Id: I284bb6b31618a234c4772d16ad6190a713035f1b
2018-02-12 09:40:37 +00:00
TreeHugger Robot
d6d5e0cc77 Merge changes from topic "revert-assetmanager2-02-09-2018"
* changes:
  Revert "Replace AssetManager with AssetManager2 implementation"
  Revert "libandroidfw: Make sure to set the 'app as lib' flag"
  Revert "Make idiomatic use of ApkAssets and AssetManager"
  Revert "libandroidfw: Add ApplyStyle and SetConfiguration benchmark"
  Revert "libandroidfw: Improve performance of AssetManager2"
  Revert "AssetManager2: Allow out of order type/type spec"
  Revert "AssetManager2: Fix list function"
  Revert "AssetManager2: Fix issue with native cast"
2018-02-10 03:42:41 +00:00
nharold
29d6c4367c Merge "Require NETWORK_STACK Permission for IpSec Tunnel Mode" am: 43699e90f3 am: e736f83caf
am: 0f7857e587

Change-Id: Ib33ccecfe2fc600c05a208d24df10a474addb0e5
2018-02-10 02:11:15 +00:00
TreeHugger Robot
b6ff8364c9 Merge "[3rd try] JobScheduler to use UID active state for job exemption" 2018-02-10 01:59:36 +00:00
nharold
0f7857e587 Merge "Require NETWORK_STACK Permission for IpSec Tunnel Mode" am: 43699e90f3
am: e736f83caf

Change-Id: If7330b4fdf5d2ccbddb590ab81a4b19c1f612b66
2018-02-10 01:57:50 +00:00
nharold
e736f83caf Merge "Require NETWORK_STACK Permission for IpSec Tunnel Mode"
am: 43699e90f3

Change-Id: I1f286f0215ce88f947775ded0ddfbc8e0cd7bc55
2018-02-10 01:46:00 +00:00
Makoto Onuki
e491821c5f [3rd try] JobScheduler to use UID active state for job exemption
JobScheduler used to use procstate foreground state to decide whether
to exempt jobs, but it should use UID's active state instead, so that
if apps in the temp-whitelist schedule jobs, they run immediately.

Test: Boot
Test: atest CtsAlarmManagerTestCases
Test: atest CtsJobSchedulerTestCases
Test: atest CtsBatterySavingTestCases
Test: atest $ANDROID_BUILD_TOP/frameworks/base/services/tests/servicestests/src/com/android/server/AppStateTrackerTest.java

Bug: 72125364
Change-Id: I7a5628e76121199f3a5299e2a5576e1481574a6e
2018-02-09 15:39:20 -08:00
nharold
43699e90f3 Merge "Require NETWORK_STACK Permission for IpSec Tunnel Mode" 2018-02-09 23:36:59 +00:00
TreeHugger Robot
eb50aec148 Merge "Add AttributeSet.getAttributeNamespace()." 2018-02-09 22:57:27 +00:00
TreeHugger Robot
421822ce0f Merge "Clean up usage of COWArrayList in a11y code" 2018-02-09 22:17:41 +00:00
Siyamed Sinir
a454df9c06 Merge "Fix Editor ActionMode content rectangle" 2018-02-09 21:57:14 +00:00
Dianne Hackborn
12ff371627 Add AttributeSet.getAttributeNamespace().
Why not.

Bug: 73101753
Test: Build and booted
Change-Id: I8f712ce9d7ed06eceef04d50a733a9471429b94c
2018-02-09 12:51:58 -08:00
Adam Lesinski
bde1df21ad Revert "Replace AssetManager with AssetManager2 implementation"
This reverts commit 1187590da3.

Bug: 73134570
Change-Id: I59b4d714e447478ea124f086356f127f42251fb7
2018-02-09 12:43:24 -08:00
Adam Lesinski
56c82be0d4 Revert "Make idiomatic use of ApkAssets and AssetManager"
This reverts commit 633085456e.

Bug: 73134570
Change-Id: I7c5171e752dd178dcd64497a780ba0f97d03b7a0
2018-02-09 12:43:15 -08:00
TreeHugger Robot
27d86e9088 Merge "ByteStringUtils: fix hex parsing to include lowercase input." 2018-02-09 19:49:15 +00:00
TreeHugger Robot
df19e5a5c4 Merge "Refactor ZygoteProcess to deal in LocalSocketAddress." 2018-02-09 19:44:55 +00:00
Siyamed Sinir
fdbc5ee763 Fix Editor ActionMode content rectangle
We have made a mistake in a previous change and change the single cursor
selection bounds in a wrong way. 

Test: atest CtsWidgetTestCases:TextViewTest
Bug: 72244890
Change-Id: Ie597ff5a9f82e04d673534e35c49da513132cd5b
2018-02-09 11:24:16 -08:00
Eugene Susla
b7c8f2dc06 Clean up usage of COWArrayList in a11y code
The single usage we had was already mostly guarded by lock -
replaced with a regular list to prevent confusion

Fixes: 71795155
Test: atest CtsAccessibilityServiceTestCases
Change-Id: I1c3235aadb0db4907cbe92a17cc58d2c8a8b5564
2018-02-09 11:15:18 -08:00
Tao Bao
d27be3444f Expose an update_engine API that verifies the given payload metadata.
android.os.UpdateEngine.verifyPayloadMetadata() allows a system updater
to verify a payload can be safely applied, by using its payload metadata
(usually a few hundred KiB only or even less). This would be useful in
improving update UX, since the updater can be smarter to avoid
installing an update that would fail to apply, or to fall back from an
incremental to full payload.

Bug: 65283633
Test: Build and flash walleye on device. Trigger a call to this API.
Change-Id: I82546f6b2a8f27cfd956cc1677556e7221cce5fd
2018-02-09 11:12:56 -08:00
TreeHugger Robot
a26ac5f775 Merge "Follow up to ambient brightness stats change" 2018-02-09 18:20:41 +00:00
TreeHugger Robot
8fbd47056d Merge "Improve temporary logging around activity destruction." 2018-02-09 18:05:05 +00:00
TreeHugger Robot
4f07fa4e74 Merge "Add support for vibrator HAL 1.2 effects." 2018-02-09 16:36:13 +00:00
Peeyush Agarwal
8c2006d502 Follow up to ambient brightness stats change
- Add docs to public methods of the API
- Use single variable for scheduling write from brightness tracker

Test: atest com.android.server.display.AmbientBrightnessStatsTrackerTest
&& atest android.hardware.display.AmbientBrightnessDayStatsTest
Bug: 69406079
Change-Id: I828e3bde4691240a2c0e0443e60b30665b65b8de
2018-02-09 16:20:18 +00:00
Bryce Lee
a33c13df13 Improve temporary logging around activity destruction.
This changelist improves logging for capture details around
b/71506345. These modifications are intended to be reverted once
the root cause has been found.

Bug: 71506345
Test: manual
Change-Id: I1dd5eba710e81bf78632359d4ee4c047fefa5da6
2018-02-09 07:56:49 -08:00
TreeHugger Robot
27b3cad257 Merge "Fix issue #72116995: Add permission guarding Service#startForeground" 2018-02-09 07:31:46 +00:00
TreeHugger Robot
446772121f Merge "Send broadcast to pkg installers on config change" 2018-02-09 07:22:03 +00:00
tiansiming [田思明]
f96309e812 Merge "Modify javadoc for onWindowShown" am: 2d46e07e48 am: d5d1718c4a
am: b95b38ca3a

Change-Id: I04bbf26857e60a1129c6947cb91fffef2c939edf
2018-02-09 06:51:32 +00:00
tiansiming [田思明]
b95b38ca3a Merge "Modify javadoc for onWindowShown" am: 2d46e07e48
am: d5d1718c4a

Change-Id: I82c1c9a4601e579b34e6f8c40f80258b78a8a7d8
2018-02-09 06:39:54 +00:00
tiansiming [田思明]
d5d1718c4a Merge "Modify javadoc for onWindowShown"
am: 2d46e07e48

Change-Id: I126b0bcfbc5d1d10cad7564e7f8c8a7e419b96c6
2018-02-09 06:28:30 +00:00
TreeHugger Robot
09726a5d9d Merge "Added display name to DisplayInfo proto" 2018-02-09 06:16:25 +00:00
Treehugger Robot
2d46e07e48 Merge "Modify javadoc for onWindowShown" 2018-02-09 03:50:05 +00:00
TreeHugger Robot
25d7f46aa9 Merge "Revert "Call ImageDecoder directly in ResourcesImpl"" 2018-02-09 03:47:26 +00:00
TreeHugger Robot
bde353c36f Merge "Turn off debug logging in statsd" 2018-02-09 03:10:20 +00:00
TreeHugger Robot
88f284a3d3 Merge "Change Resources.getDrawable nullability" 2018-02-09 01:30:23 +00:00
Dan Cashman
f27d080d1a ByteStringUtils: fix hex parsing to include lowercase input.
fromHexToByteArray() should be able to handle any hex input, not
just input specified as upper-case.

Bug: 73001469
Test: Builds, boots.
Change-Id: I89dcbaeb95d6fc540b532d897ff27fb5f40381c7
2018-02-08 17:06:05 -08:00
Yifan Hong
1c9e8b2bfa Merge "VintfObject: add getTargetFcmVersion" am: 5a748e5ee2 am: b901a37a85
am: 600ee19e3d

Change-Id: I93fcdab5d1dd81392f20a947f2c7bbe91ddaa525
2018-02-09 00:56:05 +00:00
TreeHugger Robot
407445813a Merge "Draw text with a hairline stroke as if it is fill style" 2018-02-09 00:48:10 +00:00
Yifan Hong
600ee19e3d Merge "VintfObject: add getTargetFcmVersion" am: 5a748e5ee2
am: b901a37a85

Change-Id: Ide89fa9bc6c3dfb0bbeff6a3a8afdee4c31504e2
2018-02-09 00:44:01 +00:00
Adam Lesinski
57fccd61a5 Send broadcast to pkg installers on config change
Send a protected system broadcast to apps that hold
the INSTALL_PACKAGES permission whenever a change to
properties like locale or display density happens.

Receivers can be registered in the manifest, and a process
will be woken up to receive the broadcast.

This will happen rarely, since the configuration changes
eligible to trigger this broadcast are rare themselves.

Bug: 63918966
Test: manual

Change-Id: I817a51ea05f762e02561691825d57d643db7dc30
2018-02-08 16:41:37 -08:00
Yifan Hong
b901a37a85 Merge "VintfObject: add getTargetFcmVersion"
am: 5a748e5ee2

Change-Id: I902bf93cb06bdbab8aba58e41db8eb71a066dbb6
2018-02-09 00:33:38 +00:00
TreeHugger Robot
1b6f515550 Merge "Temporary fix to prevent breakage with new API." 2018-02-09 00:29:19 +00:00
TreeHugger Robot
cacd69515f Merge "Switch activity relaunch to lifecycler" 2018-02-08 23:58:15 +00:00
TreeHugger Robot
efd14bf5a5 Merge "Wireless charging on aod and lockscreen" 2018-02-08 23:46:15 +00:00
TreeHugger Robot
40279e5407 Merge changes I6993325b,Icb5114fe
* changes:
  Frameworks: Annotate trivial @GuardedBy in services/core
  Frameworks: Annotate trivial @GuardedBy in core/java
2018-02-08 23:32:03 +00:00
TreeHugger Robot
6c78b876e7 Merge "Revert "Revert "Turn on about phone v2""" 2018-02-08 23:24:49 +00:00
Andrii Kulian
764e104e28 Added display name to DisplayInfo proto
Bug: 72048469
Test: ActivityManagerMultiDisplayTests
Change-Id: Ied6ed9ce26c8ea8fc49c645ecb86dc455255f947
2018-02-08 15:12:14 -08:00