OSDN Git Service
Bernie Innocenti [Wed, 28 Mar 2018 11:11:49 +0000 (20:11 +0900)]
APF: drop multicast ICMPv6 while in doze mode
Some WiFi hotspots send excessive multicast IPv6 ping requests which
cause considerable power drain. Thus, drop all multicast ICMPv6 ping
requests while the device is in doze mode.
Bug:
66930077
Test: runtest -x tests/net/java/android/net/apf/ApfTest.java
Test: manual - compared generated APF bytecode using apf_disassembler
Test: manual - force idle mode while sending multicast pings to device
Change-Id: I25dbf99985cf4413b4d0e3920d281fe6d663197a
(cherry picked from commit
e2c70f8a6092f740ea10e7476b33860d756cf94f)
TreeHugger Robot [Tue, 3 Apr 2018 02:31:27 +0000 (02:31 +0000)]
Merge "Add fileds to AppCrash and ANR atoms" into pi-dev
TreeHugger Robot [Tue, 3 Apr 2018 02:25:49 +0000 (02:25 +0000)]
Merge "Refactor isTetheringSupported() calls" into pi-dev
Sanry Huang [Tue, 3 Apr 2018 02:22:48 +0000 (02:22 +0000)]
Merge "android:ui crash on longpress of empty tile" into pi-dev
TreeHugger Robot [Tue, 3 Apr 2018 01:55:30 +0000 (01:55 +0000)]
Merge "Revert "Throw invalid cert exception when deprecated initRecoveryService method"" into pi-dev
TreeHugger Robot [Tue, 3 Apr 2018 01:36:23 +0000 (01:36 +0000)]
Merge "Disabling print dumping for now." into pi-dev
Chen Xu [Tue, 3 Apr 2018 01:14:24 +0000 (01:14 +0000)]
Merge "A test api to override carrier information" into pi-dev
TreeHugger Robot [Tue, 3 Apr 2018 00:30:34 +0000 (00:30 +0000)]
Merge "Signal view is no loner apart of this fragment Removing custom battery display functionality until a complete fix is implemented." into pi-dev
Bo Zhu [Tue, 3 Apr 2018 00:28:43 +0000 (00:28 +0000)]
Merge "Expose the JNI scrypt function in a standalone Java class so we can use it in RecoverableKeyStore as well" into pi-dev
TreeHugger Robot [Tue, 3 Apr 2018 00:25:47 +0000 (00:25 +0000)]
Merge "Adding a member of Android Auto Embedded to the owners file" into pi-dev
Dmitry Dementyev [Tue, 3 Apr 2018 00:16:20 +0000 (00:16 +0000)]
Revert "Throw invalid cert exception when deprecated initRecoveryService method"
This reverts commit
50bc7e42d73c9ca8d77dcd538619c6d6eeaf6dea.
Reason for revert: API is still used by old binary
Change-Id: I3c8348211baa26245786abda6360a8df96e2d223
Bug:
77293264
Erik Kline [Fri, 9 Mar 2018 05:18:02 +0000 (14:18 +0900)]
Refactor isTetheringSupported() calls
Tethering currently wants access to complex isTetheringSupported
logic that is only available in ConnectivityService. Instead of
trying to access that via ConnectivityManager, pass this capability
in to Tethering directly, in the TetheringDependencies object.
Also:
- ConnectivityManager is only a source of static constants now,
so "import static" all the constants that are actually used.
Test: as follows
- built
- flashed
- booted
- runtest frameworks-net works
- manual USB towards WiFi tethering works
Bug:
68951715
Merged-In: Ifa121b057f9959ddb980edc940327929e48ea973
Merged-In: Iad6358dc2f1d10b322d22ec90543adc50882962d
Change-Id: Ia64faaadefb4a5d84a50da98bdebd544b6fda101
(cherry picked from commit
465ff3a0c1da8afd5cb13b25ed9a3c95ee0dd2c4)
Gil O'Neil [Mon, 2 Apr 2018 23:42:01 +0000 (23:42 +0000)]
Merge "Made a note that app names may not contain delimiter characters" into pi-dev
Android Build Merger (Role) [Mon, 2 Apr 2018 23:13:36 +0000 (23:13 +0000)]
Merge "[automerger skipped] Use concrete CREATOR instance for parceling lists am:
4921986db7 am:
609bc2d63e am:
3f13ccee8c -s ours" into pi-dev
Fyodor Kupolov [Mon, 2 Apr 2018 23:12:42 +0000 (23:12 +0000)]
[automerger skipped] Use concrete CREATOR instance for parceling lists am:
4921986db7 am:
609bc2d63e
am:
3f13ccee8c -s ours
Change-Id: Id60877e08d928db681e5f47b26e92264996e1e11
Remi NGUYEN VAN [Mon, 2 Apr 2018 23:09:50 +0000 (23:09 +0000)]
Merge "Fix network usage stats on 464xlat tethered." into pi-dev
Brad Stenning [Mon, 2 Apr 2018 22:19:54 +0000 (15:19 -0700)]
Adding a member of Android Auto Embedded to the owners file
Bug:
77493795
Test: none
Change-Id: I3758952b4c51e9b42b787c931377f20035ac4a31
TreeHugger Robot [Mon, 2 Apr 2018 23:04:42 +0000 (23:04 +0000)]
Merge "Camera: fix errorFlag logic" into pi-dev
Jovana Knezevic [Mon, 2 Apr 2018 22:59:24 +0000 (22:59 +0000)]
Merge "Adding user accessor functions to UserManagerHelper." into pi-dev
Fyodor Kupolov [Mon, 2 Apr 2018 22:59:23 +0000 (22:59 +0000)]
Use concrete CREATOR instance for parceling lists am:
4921986db7
am:
609bc2d63e
Change-Id: I4d1315586acd143cece0c27c08084012b7b18e22
Bo Zhu [Sun, 1 Apr 2018 19:24:09 +0000 (12:24 -0700)]
Expose the JNI scrypt function in a standalone Java class so we can
use it in RecoverableKeyStore as well
Bug:
77325751
Test: It builds. No caller code yet.
Change-Id: I6ff847cff2efbd023612e51fe35be980f27f162d
Fyodor Kupolov [Mon, 2 Apr 2018 22:46:26 +0000 (22:46 +0000)]
Use concrete CREATOR instance for parceling lists
am:
4921986db7
Change-Id: I935e9a5db9faaf150a6472e49dc5a900bdf30b5a
Mihai Popa [Mon, 2 Apr 2018 22:42:17 +0000 (22:42 +0000)]
Merge "[Magnifier-38] Avoid deadlock causing ANR" into pi-dev
Brad Stenning [Mon, 2 Apr 2018 22:06:44 +0000 (15:06 -0700)]
Signal view is no loner apart of this fragment
Removing custom battery display functionality until a complete fix
is implemented.
Bug:
77473401
Test: deploy a car build
Change-Id: I3a18ee45d23caa8d2c798cede3e9cb3e7334372f
Derek Sollenberger [Mon, 2 Apr 2018 22:38:50 +0000 (22:38 +0000)]
Merge "Print detailed memory usage of Skia for dumpsys gfxinfo" into pi-dev
Chenjie Yu [Mon, 2 Apr 2018 21:22:19 +0000 (14:22 -0700)]
Add fileds to AppCrash and ANR atoms
Bug:
77487218
Change-Id: I13fe87c9811e248ed0ee87c64d482c9463d6b9a1
Fix:
77487218
Test: cts test
Lorenzo Colitti [Mon, 2 Apr 2018 22:20:03 +0000 (22:20 +0000)]
Merge "Allow applications to query for foreground/background data usage." into pi-dev
Rob Carr [Mon, 2 Apr 2018 22:15:49 +0000 (22:15 +0000)]
Merge changes Ia9df12fa,Ib114e8cb into pi-dev
* changes:
Avoid calling detachChildren from onAppVisibilityChanged
Fix computation of child window insets.
TreeHugger Robot [Mon, 2 Apr 2018 22:07:29 +0000 (22:07 +0000)]
Merge "Add ROLLBACK past signing cert capability." into pi-dev
Kweku Adams [Fri, 30 Mar 2018 23:42:13 +0000 (16:42 -0700)]
Disabling print dumping for now.
Also updating privacy tags.
Bug:
72570451
Bug:
74975371
Test: Android builds
Change-Id: Ia1e6a5d0f5e4f141154fc5346bff432149c9123e
TreeHugger Robot [Mon, 2 Apr 2018 21:56:59 +0000 (21:56 +0000)]
Merge changes from topic "planz" into pi-dev
* changes:
Tests for SubscriptionManager APIs.
Obtain NPMS through helper method.
TreeHugger Robot [Mon, 2 Apr 2018 21:40:34 +0000 (21:40 +0000)]
Merge ""Unlocked device required" javadoc clarification" into pi-dev
TreeHugger Robot [Mon, 2 Apr 2018 21:07:37 +0000 (21:07 +0000)]
Merge "Exit the loop at the right time" into pi-dev
Dianne Hackborn [Mon, 2 Apr 2018 20:48:51 +0000 (20:48 +0000)]
Merge "Work on issue #
74404949: Screen state usage API" into pi-dev
TreeHugger Robot [Mon, 2 Apr 2018 20:41:24 +0000 (20:41 +0000)]
Merge "Remove old alarm IPC" into pi-dev
TreeHugger Robot [Mon, 2 Apr 2018 20:36:34 +0000 (20:36 +0000)]
Merge "Rename trustedUserPresenceRequired." into pi-dev
Bryce Lee [Mon, 2 Apr 2018 20:28:00 +0000 (20:28 +0000)]
Merge "Do not set activity's task before clearing in some scenarios." into pi-dev
Bryce Lee [Mon, 26 Mar 2018 23:03:47 +0000 (16:03 -0700)]
Do not set activity's task before clearing in some scenarios.
When the clear top and reset task launch flags are specified for a
standard launch mode activity, we should not add the activity to the
task before taking these actions. Doing so leads to the potential of
prematurely ending the starting activity and reparenting the activity
without a window container controller set.
This changelist ensures that the task is not associated until later.
Fixes:
70635977
Test: atest CtsActivityManagerDeviceTestCases:ActivityStarterTests
Change-Id: I8e2245f9ad9f07e259b099daefe9ebb2170ae28d
Daniel Cashman [Sat, 31 Mar 2018 01:54:14 +0000 (18:54 -0700)]
Add ROLLBACK past signing cert capability.
Add a new capability that may be granted to past signing certificates
after changing to a new signing certificate that will allow applications
to go back to a previous signing certificate. This capability is
intended to not be granted, but may be added later in the event that
a signing certificate change caused undesirable behavior.
Bug:
73927694
Test: PkgInstallSignatureVerificationTest
Change-Id: I7453a2da00e740a55de45e7b144f308a9bc33772
(cherry picked from commit
a1d0cf74f93bc6cdef054e73c9f09f44cc44d501)
TreeHugger Robot [Mon, 2 Apr 2018 20:00:46 +0000 (20:00 +0000)]
Merge "Updates MediaDrm developer docs" into pi-dev
Brian C. Young [Mon, 2 Apr 2018 19:40:58 +0000 (12:40 -0700)]
"Unlocked device required" javadoc clarification
Wording changes on the public API functions for these keys.
Test: CTS
Bug:
67752510
Change-Id: Iaf620e8c0e06d436d09f50d308268653bec196ce
Derek Sollenberger [Thu, 29 Mar 2018 18:18:44 +0000 (14:18 -0400)]
Print detailed memory usage of Skia for dumpsys gfxinfo
Bug:
74435803
Test: adb shell dumpsys gfxinfo [package_name]
Change-Id: I1f2bcab500fb47c5e0b50c7459d4a876b063916b
TreeHugger Robot [Mon, 2 Apr 2018 19:22:58 +0000 (19:22 +0000)]
Merge "Don't use a copy of window params when showing a dialog." into pi-dev
Robert Carr [Fri, 30 Mar 2018 22:39:58 +0000 (15:39 -0700)]
Avoid calling detachChildren from onAppVisibilityChanged
When entering PiP we use mDeferHidingClient to prevent sending
the app visibility to the client before it has a chance to enter PiP.
However, WindowState#onAppVisibilityChanged is not guarded by this
so we could end up detaching children when we mean to enter PiP. Instead
only detach children from sendAppVisibilityToClients so that we are
correctly guarded by the mDeferHidingClient flag.
Bug:
77294187
Test: Manual. go/wm-smoke.
Change-Id: Ia9df12fadf3c48d0704e9e6d7e98a6e9cf46783d
Robert Carr [Fri, 30 Mar 2018 21:00:53 +0000 (14:00 -0700)]
Fix computation of child window insets.
Translate some old code that derived conditions
from Surface layers to directly infer the conditions.
Bug:
75253006
Test: Manual. go/wm-smoke
Change-Id: Ib114e8cb3b7c2255d68237e18eebba8f48e0fb16
Shawn Willden [Tue, 27 Mar 2018 22:10:37 +0000 (16:10 -0600)]
Rename trustedUserPresenceRequired.
The existing name is misleading, because it can be read as requiring
that a trusted user be present, rather than the intended meaning of
requiring trusted proof of user presence. Since this is all about
TEE/SE-based keys, the "trusted" part is implied, so the simple
"userPresenceRequired" name makes more sense.
Bug:
77151288
Test: Keystore CTS tests
Change-Id: If8b533b9f34a1875eaf35cdd1bb8f3709da9761b
TreeHugger Robot [Mon, 2 Apr 2018 18:45:35 +0000 (18:45 +0000)]
Merge "Revise secure key import API after review" into pi-dev
Mihai Popa [Thu, 29 Mar 2018 14:56:17 +0000 (15:56 +0100)]
[Magnifier-38] Avoid deadlock causing ANR
A deadlock between the UI and render threads caused by magnifier is
currently making the running app to become not responding. The deadlock
could happen in the following scenario:
1. The UI thread sets a frame callback and asks mRenderer to sync and
draw the current frame. A draw task is enqueued by RenderProxy in the
C++ code
2. The UI thread starts an InternalPopupWindow#destroy() on the UI
thread and acquires mLock
3. mRenderer#destroy() is called on the UI thread, which enqueues a
destroy task in the C++ code. However, this is implemented
synchronously, so the UI thread will wait until the destroy task is
dequeued and executed
4. Since the draw task was enqueued before the destroy task, this will
be executed and the frame callback will be called on the render thread
5. The frame callback tries to acquire mLock. However, this is held by
the UI thread, so the render thread has to wait for it. At the same
time, the UI thread cannot progress either as it is waiting for its
destroy task to execute.
The CL adds a new lock which is used by the UI thread to mark its
intention to #destroy(), such that the render thread will know about
this before trying to acquire mLock and starving.
Bug:
75276625
Test: manual testing
Test: atest CtsWidgetTestCases:android.widget.cts.MagnifierTest
Change-Id: Iedf2948350fcf8dd9c819c085b31b7ccaf2db7c5
Yi Jin [Mon, 2 Apr 2018 18:09:57 +0000 (11:09 -0700)]
Remove some letters of verbose log
Bug:
77333635
Test: N/A
Change-Id: I94b288d070dfb372edf345d369d75bb3255f631b
Lucas Dupin [Mon, 2 Apr 2018 18:05:09 +0000 (11:05 -0700)]
Remove old alarm IPC
Not necessary anymore because the alarm moved to
KeyguardSliceProvider.
Test: switch from 12 to 24h format
Change-Id: I5796edfe7251e599d76ffecc35eeab27ddcc1e0d
Fixes:
77154815
TreeHugger Robot [Mon, 2 Apr 2018 18:01:15 +0000 (18:01 +0000)]
Merge "Use modern c++ code style for incidentd." into pi-dev
Andrii Kulian [Mon, 2 Apr 2018 17:58:42 +0000 (17:58 +0000)]
Merge "Don't finish activity on duplicate resume request" into pi-dev
Sudheer Shanka [Mon, 2 Apr 2018 17:34:16 +0000 (17:34 +0000)]
Merge "Update uid state used for bucketizing data in fg vs bg states." into pi-dev
TreeHugger Robot [Mon, 2 Apr 2018 17:23:34 +0000 (17:23 +0000)]
Merge "Use per user info for seinfo" into pi-dev
Felipe Leme [Thu, 29 Mar 2018 17:02:32 +0000 (10:02 -0700)]
Don't use a copy of window params when showing a dialog.
When a Dialog's show() method is called, it makes a copy (l) of its window param
and change the copy's softInputMode before calling wm.addView(). This call ends
up calling WindowManagerGlobal.addView(view, l, display, parentWindow),
which in turn sets the application token from the parentWindow into l and stores
l on its mParams map.
Later, when the dialog layout is changed (for example, if it's resized), the
original params ends up passed to WindowManagerGlobal.updateViewLayout(),
which in turn updates it's internal mParams with it, hence losing the
application token (as the token was set in the copy).
Then, when Autofill (and possibly Assist) is triggered to that activity, the
Dialog's view hierarchy is ignored because WindowManagerGlobal.getRootViews()
ignores views whose params do not have an application token.
This CL fixes this issue by passing the original dialog's param to the wm
method and resetting the softInputMode that was changed, rather than making a
copy.
Test: atest DialogLauncherActivityTest
Test: manual verification with Twitch
Fixes:
68816440
Change-Id: I55f510ab7a44030bc368221b7db1a221bc2e09c8
TreeHugger Robot [Mon, 2 Apr 2018 15:32:01 +0000 (15:32 +0000)]
Merge "Fix right-most navbar icon tinting mismatch" into pi-dev
TreeHugger Robot [Mon, 2 Apr 2018 15:07:25 +0000 (15:07 +0000)]
Merge "Make addUnwantedCapability method public" into pi-dev
TreeHugger Robot [Mon, 2 Apr 2018 14:28:48 +0000 (14:28 +0000)]
Merge "Restore saveLayer APIs back into the public API." into pi-dev
Remi NGUYEN VAN [Tue, 27 Feb 2018 07:47:22 +0000 (16:47 +0900)]
Fix network usage stats on 464xlat tethered.
Usage stats corrections for 464xlat in NetworkStatsFactory are not applied
to tethered traffic. Add adjustments in NetworkStatsService. After
migrating external callers off NetworkStatsFactory, we will be able to
only apply adjustments in NetworkStatsService and remove stacked
interface tracking from NetworkStatsFactory.
Bug:
72107146
Fixes:
72107146
Test: runtest frameworks-net & manual - checked corrected network usage
Merged-In: Ieb25c41c651499fdd01225ae5ac21d95e3d823f5
Merged-In: I016722f3a0ae2ae0a1d48bfacc4fe07ee3578ef7
(cherry-pick of aosp I5ce450e616b4fddf21f2a491fe5d0c9e9f969bda)
Change-Id: Id41cf22a0f9a63cb1832e9375bfb045861f08e52
Remi NGUYEN VAN [Mon, 2 Apr 2018 11:21:22 +0000 (11:21 +0000)]
Merge "Calculate multipath quota excluding current day." into pi-dev
Lorenzo Colitti [Mon, 2 Apr 2018 07:48:31 +0000 (16:48 +0900)]
Allow applications to query for foreground/background data usage.
Currently the NetworkStatsManager APIs allow applications to
query for their own data usage by UID and tag, but do not allow
applications to query by foreground/background state.
This is causing popular apps to resort to parsing xt_qtaguid
stats files directly. Because this is no longer allowed for apps
targeting P and above, provide replacement functionality.
This API allows apps to query for data usage for a given state,
but not to receive data usage broken down by state. This is
consistent with how the current UID and tag APIs work. It is also
not an undue burden on apps: there are currently only two states
of interest (FOREGROUND and everything else), and even if we add
states in the future, unmodified apps can still obtain total
traffic using STATE_ALL.
Bug:
72977484
Test: New CTS test added in other change in this topic.
Change-Id: Ic8c9194569ffd599b49e4a8197c5c2ea0ec3f7f7
TreeHugger Robot [Mon, 2 Apr 2018 09:42:26 +0000 (09:42 +0000)]
Merge "Fix PermissionMonitorTest that has been failing." into pi-dev
TreeHugger Robot [Mon, 2 Apr 2018 09:08:52 +0000 (09:08 +0000)]
Merge "TextClassifier API updates." into pi-dev
Remi NGUYEN VAN [Mon, 2 Apr 2018 06:48:19 +0000 (15:48 +0900)]
Calculate multipath quota excluding current day.
The current calculation includes data usage for the current day,
which causes the returned daily quota to change during the day.
This makes it difficult to use for callers that need a fixed
data limit for the day.
Current usage in MultipathPolicyTracker (the only caller) is
incorrect because of this, as it assumes that quota is not constantly
changing.
Test: Tests in go/ag/
3803612 pass
Bug: b/
72631572
Bug: b/
72877610
Change-Id: I9b3edde2dee7c7479d428e2bf2b73297afed3e6b
TreeHugger Robot [Mon, 2 Apr 2018 08:37:20 +0000 (08:37 +0000)]
Merge "apf: adjust JNI to accept_packet()'s new signature" into pi-dev
Chalard Jean [Mon, 2 Apr 2018 07:16:46 +0000 (16:16 +0900)]
Fix PermissionMonitorTest that has been failing.
The fail is related to a recent fix to PermissionMonitor
that went into pi-dev only : ag/
3799094, which fixed getting
the remote package name for the correct macro user instead of
the default. That fix had broken the test, this change fixes it.
Test: test now passes
Bug:
77315205
Change-Id: I26f8276eafe80478d5fefcff92e7dc2f12128bb4
Bernie Innocenti [Fri, 30 Mar 2018 08:12:02 +0000 (17:12 +0900)]
apf: adjust JNI to accept_packet()'s new signature
Bug:
73804303
Test: runtest -x tests/net/java/android/net/apf/ApfTest.java
Merged-Id: I0a3ad562496f3e06bc9527af4e038be3cdfe25c6
Merged-Id: I1674ac22f00af037ad415a4436b94b2eec6a02b7
Merged-Id: I966776e6574cbf167a6148e20d40e2bdcc887327
Change-Id: Id5c3cec5459ce6f9693457448002e60bbca6c09b
(cherry picked from commit
64bc32c5d4ae8a5c479a15615f99180476e9b2fa)
Remi NGUYEN VAN [Mon, 2 Apr 2018 05:40:04 +0000 (05:40 +0000)]
Merge "Add method to NetworkStatsService for UID stats." into pi-dev
Remi NGUYEN VAN [Mon, 2 Apr 2018 05:09:50 +0000 (05:09 +0000)]
Merge "Differentiate depleted and unset multipath quota" into pi-dev
Bill Yi [Mon, 2 Apr 2018 03:55:47 +0000 (03:55 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Mon, 2 Apr 2018 03:54:39 +0000 (03:54 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Mon, 2 Apr 2018 03:50:26 +0000 (03:50 +0000)]
Merge "Fills font metrics before passing to ReplacementSpan" into pi-dev
TreeHugger Robot [Mon, 2 Apr 2018 03:48:25 +0000 (03:48 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Mon, 2 Apr 2018 03:35:17 +0000 (03:35 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Bo Zhu [Mon, 2 Apr 2018 03:02:03 +0000 (03:02 +0000)]
Merge "Skip the cert xml serial number check if the test root cert is in use" into pi-dev
TreeHugger Robot [Mon, 2 Apr 2018 02:45:27 +0000 (02:45 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Mon, 2 Apr 2018 02:11:00 +0000 (19:11 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I4def9dedaf59e38981c2ea802aa54a0061da6a0b
TreeHugger Robot [Mon, 2 Apr 2018 00:58:23 +0000 (00:58 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Mon, 2 Apr 2018 00:57:21 +0000 (00:57 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Mon, 2 Apr 2018 00:19:24 +0000 (00:19 +0000)]
Merge "Add config flag to specify if wallpaper is rendered" into pi-dev
Bill Yi [Mon, 2 Apr 2018 00:05:30 +0000 (17:05 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I3d47b103c9f6150c224f78ecab946e12e5439954
Bill Yi [Sun, 1 Apr 2018 23:58:38 +0000 (16:58 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Icd25d4ae0e198ba80ad85cb0b8369500d7d00098
Bill Yi [Sun, 1 Apr 2018 23:51:45 +0000 (16:51 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I67084b2003296065cf866b5a2e933587f0d8b4a2
TreeHugger Robot [Sun, 1 Apr 2018 23:39:30 +0000 (23:39 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Bo Zhu [Sun, 1 Apr 2018 00:13:46 +0000 (17:13 -0700)]
Skip the cert xml serial number check if the test root cert is in use
Bug:
77165400
Test: runtest frameworks-services -p
com.android.server.locksettings.recoverablekeystore
Change-Id: I2242b4a97b9efa60a5a5ad7ab79e786951580299
Bill Yi [Sun, 1 Apr 2018 22:32:55 +0000 (15:32 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I1c0883a67a583134ec82c67269ca77c6a2d50830
Dianne Hackborn [Sun, 1 Apr 2018 22:26:18 +0000 (22:26 +0000)]
Merge "Fix issue #
77230164: Add app op to control foreground services" into pi-dev
Bill Yi [Sun, 1 Apr 2018 22:19:16 +0000 (15:19 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Id1811dea9422d20ad23a590ecf803776a9602c92
Bill Yi [Sun, 1 Apr 2018 22:05:31 +0000 (15:05 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I8f44cb512f7edaf24706ece3aa2b832e69379aea
Bill Yi [Sun, 1 Apr 2018 21:58:25 +0000 (14:58 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I3078289f1c8675b32cbeeeae1fdbb6558278fb28
TreeHugger Robot [Sun, 1 Apr 2018 20:31:28 +0000 (20:31 +0000)]
Merge "[Magnifier-36] Fix content clamping inside view" into pi-dev
TreeHugger Robot [Sun, 1 Apr 2018 19:51:53 +0000 (19:51 +0000)]
Merge "Don't allow using raw public keys to init recovery service any more" into pi-dev
Dmitry Dementyev [Sun, 1 Apr 2018 19:34:31 +0000 (19:34 +0000)]
Merge "Throw invalid cert exception when deprecated initRecoveryService method is used." into pi-dev
TreeHugger Robot [Sun, 1 Apr 2018 19:30:29 +0000 (19:30 +0000)]
Merge "Throw an exception if the given root alias is unknown" into pi-dev
Abodunrinwa Toki [Mon, 26 Mar 2018 23:04:06 +0000 (00:04 +0100)]
TextClassifier API updates.
1. Wraps TC queries in Request objects
2. Adds create/destroyTextClassificationSession system APIs
3. Adds the session Ids to system API calls
4. Change setSignature() to setId() on result objects
5. Plumbing to make the API updates work as things currently work
6. Hide Linkify.addLinksAsync APIs
Bug:
74461129
Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest
Test: bit CtsViewTestCases:android.view.textclassifier.cts.TextClassificationManagerTest
Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest
Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationTest
Test: bit FrameworksCoreTests:android.view.textclassifier.TextSelectionTest
Test: bit FrameworksCoreTests:android.view.textclassifier.TextLinksTest
Change-Id: I933ada8b37ef9893331a265e3b4fc08e043f1029
Mihai Popa [Tue, 27 Mar 2018 13:43:08 +0000 (14:43 +0100)]
[Magnifier-36] Fix content clamping inside view
We try to never display in the magnifier content that does not belong to
the magnified view. If the magnified view has one or more scrollable
containers, these have to be considered in order to find out the visible
portion of the view which is not masked by scrollable containers.
The previous logic for computing the visible region was wrong when one
of the containers was a ViewPager, whose getScrollX() returns the scroll
relative to all pages, rather than the currently visible one as the
logic was expecting. This CL replaces the old logic with a
View#getGlobalVisibleRect().
Bug:
74359490
Test: atest CtsWidgetTestCases:android.widget.cts.MagnifierTest
Change-Id: Ib6b63a35436aa691f29c13a0789688f23bfca9f1
Lucas Dupin [Sun, 1 Apr 2018 16:13:49 +0000 (16:13 +0000)]
Merge "Slice row redlines and animations" into pi-dev
Bo Zhu [Fri, 30 Mar 2018 18:31:53 +0000 (11:31 -0700)]
Throw an exception if the given root alias is unknown
Bug:
76433465
Test: runtest frameworks-services -p
com.android.server.locksettings.recoverablekeystore
Change-Id: I3a213ab0cd3b0e9c002bc44d4ce929977e119e81
TreeHugger Robot [Sun, 1 Apr 2018 04:08:32 +0000 (04:08 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Sat, 31 Mar 2018 14:49:41 +0000 (07:49 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I8a72daf0c83337a251f03738393db2f7e26e9caf