Commit Graph

79569 Commits

Author SHA1 Message Date
TreeHugger Robot
f91f5dc809 Merge "API Review: Nullability annotation for DeviceAdminReceiver device owner user callback" 2018-02-13 04:18:32 +00:00
TreeHugger Robot
40240cf782 Merge "Revert "Add logging to MemoryIntArray"" 2018-02-13 03:13:43 +00:00
Eino-Ville Talvala
34ace45e39 Merge "Camera2: Revise MOTION_TRACKING capability" 2018-02-12 23:16:59 +00:00
Felipe Leme
c9f21f8fcd Merge "Views with autofill hints should be considered important in auto mode." 2018-02-12 23:16:48 +00:00
Philip P. Moltmann
d712f837c4 Revert "Add logging to MemoryIntArray"
This reverts commit 6d8f30bee7.

Reason for revert: No more bug reports, logging not needed anymore

Change-Id: I4b3150ac76f509c5baf75f10b58330d332836b97
2018-02-12 22:50:00 +00:00
Qingxi Li
ceb94979e3 Merge "Public EuiccManager APIs." 2018-02-12 22:09:53 +00:00
TreeHugger Robot
72fa42bee3 Merge "Fix FLAG_EXEMPT_FROM_APP_STANDBY check" 2018-02-12 21:53:48 +00:00
TreeHugger Robot
8dddeb98f5 Merge "Revert "Fix issue #72116995: Add permission guarding Service#startForeground"" 2018-02-12 19:47:35 +00:00
Eino-Ville Talvala
601e0f6d76 Camera2: Revise MOTION_TRACKING capability
Simplify the API for the P release.

Test: Revised Camera CTS passes
Bug: 63629224
Change-Id: I3464bd114a2bf4bd866aaf37e942c01114b75a15
2018-02-12 11:29:10 -08:00
felipeal
059bce9669 Views with autofill hints should be considered important in auto mode.
Test: atest CtsAutoFillServiceTestCases:FatActivityTest

Fixes: 72836107

Change-Id: I0b68cd5f5e8b0c382bdd7a648ecc82a3c50c3325
2018-02-12 11:17:24 -08:00
TreeHugger Robot
e848e106b6 Merge "Revert incorrect NonNull assertions in ColorStateList loading" 2018-02-12 19:17:14 +00:00
TreeHugger Robot
ec053e07c1 Merge "New autofill APIs to get importantForAutofill mode on ViewNodes." 2018-02-12 19:04:42 +00:00
Tao Bao
cbc4d36dcc Merge "Expose an update_engine API that verifies the given payload metadata." 2018-02-12 18:36:47 +00:00
Ian Pedowitz
0b4add68db Revert "Fix issue #72116995: Add permission guarding Service#startForeground"
This reverts commit a9da85fde4.

Reason for revert: b/73224471

Bug: 73224471
Bug: 72116995
Change-Id: I1485305f40d47fdb138cb1e484c329cf20892a6b
2018-02-12 16:12:33 +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
Alex Chau
b12e672379 API Review: Nullability annotation for DeviceAdminReceiver device owner user callback
Bug: 73088491
Test: None
Change-Id: If5c885b128d7447ad80c299b15c2a23a3b648f7d
2018-02-12 16:14:14 +08: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
Chris Craik
2e41d49d00 Revert incorrect NonNull assertions in ColorStateList loading
Fixes: 73157047
Test: atest CtsContentTestCases:ResourcesTest

Partial revert of ceb2693621

Change-Id: I7c1db6f8d2b3451692b018212576960c78250d57
2018-02-09 14:29:11 -08: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