OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Introduce @SoftInputModeFlags annotation"
TreeHugger Robot [Mon, 13 Feb 2017 03:36:04 +0000 (03:36 +0000)]
Merge "Introduce @SoftInputModeFlags annotation"

7 years agoMerge "Track the last softInputMode in IMMS"
TreeHugger Robot [Mon, 13 Feb 2017 03:31:42 +0000 (03:31 +0000)]
Merge "Track the last softInputMode in IMMS"

7 years agoMerge "Merge restartInput into startInput in internal IPC"
TreeHugger Robot [Mon, 13 Feb 2017 03:28:53 +0000 (03:28 +0000)]
Merge "Merge restartInput into startInput in internal IPC"

7 years agoIntroduce @SoftInputModeFlags annotation
Yohei Yukawa [Mon, 13 Feb 2017 00:54:16 +0000 (16:54 -0800)]
Introduce @SoftInputModeFlags annotation

Doing this allows us to annotate integer values that should corresponds
to WindowManager.LayoutParams#softInputMode.

Test: There should be no behavior change.  RetentionPolicy.SOURCE
      annotation should change nothing in production code.
Test: checkbuild
Bug: 32784563
Bug: 35079353
Change-Id: I96300b090edce327d0515c740183abe91ded6bac

7 years agoTrack the last softInputMode in IMMS
Yohei Yukawa [Mon, 13 Feb 2017 00:38:59 +0000 (16:38 -0800)]
Track the last softInputMode in IMMS

A field in WindowManager.LayoutParams softInputMode is something that
definitely needs to be kept tracking in historical debugging
infrastructure across IME-related processes (Bug 35079353) [1].  As a
preparation, this CL enables InputMethodManagerService (IMMS) to
include the last softInputMode specified in IMMS#windowGainedFocus()
in the dumpsys in human readable format.

 [1]: As explained in b.android.com/224318, softInputMode misspecified
      by app developers is a typical root cause of unexpected behavior
      in keyboard visibility.  Bugs such as Bug 23168250, Bug 27275709,
      and Bug 31770400 fall into this category.

Test: `adb shell dumpsys input_method | grep softInputMode=`
Bug: 35079353
Change-Id: I485ced030def179dad78b4b811c6eb52b5e5c951

7 years agoMerge "Add tweaks to smooth out swipe to dismiss."
TreeHugger Robot [Sun, 12 Feb 2017 23:57:27 +0000 (23:57 +0000)]
Merge "Add tweaks to smooth out swipe to dismiss."

7 years agoAdd tweaks to smooth out swipe to dismiss.
Michael Kwan [Sun, 12 Feb 2017 21:43:45 +0000 (13:43 -0800)]
Add tweaks to smooth out swipe to dismiss.

Bug: 34673753
Change-Id: I5a9d420c70d124fc764803d505291e66818b1aa2

7 years agoMerge "Allow for multiple preferred densities in the strip command."
Pierre Lecesne [Sun, 12 Feb 2017 18:43:57 +0000 (18:43 +0000)]
Merge "Allow for multiple preferred densities in the strip command."

7 years agoAllow for multiple preferred densities in the strip command.
Pierre Lecesne [Mon, 6 Feb 2017 10:29:02 +0000 (10:29 +0000)]
Allow for multiple preferred densities in the strip command.

Test: Unit tests pass.

Change-Id: I1f27ac8c36ff3489e4c8e4fce7f3d9cb31df6906

7 years agoMerge "Explicit API for allocating disk space."
TreeHugger Robot [Sun, 12 Feb 2017 13:17:29 +0000 (13:17 +0000)]
Merge "Explicit API for allocating disk space."

7 years agoMerge "Switch RecoverableSE over to using RemoteAction."
TreeHugger Robot [Sun, 12 Feb 2017 12:52:05 +0000 (12:52 +0000)]
Merge "Switch RecoverableSE over to using RemoteAction."

7 years agoExplicit API for allocating disk space.
Jeff Sharkey [Sun, 12 Feb 2017 09:39:24 +0000 (02:39 -0700)]
Explicit API for allocating disk space.

Now that we're giving apps better guidance around how much cached
disk space they can use, we also need to provide a way to help clear
some of those cached files.  The final logic is coming in a future
CL, but it will be designed to prevent abuse.

Test: newly added CTS tests
Bug: 34690590
Change-Id: I1e46ade0cdabbc33162fc7bfa76abec711992f92

7 years agoMerge "DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 6f754e48e9...
Jeff Sharkey [Sun, 12 Feb 2017 10:35:43 +0000 (10:35 +0000)]
Merge "DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 6f754e48e9 am: a0b1198e70  -s ours am: 48f1ddc94a am: 00f5232dd0 am: 9335807fc4 am: 208dcadb4f  -s ours am: 9aca89293a am: ab296986fc am: 55ef8ba763 am: 62314d7dd3 am: 41c9029be0" into nyc-mr2-dev-plus-aosp
am: 912a5f054c  -s ours

Change-Id: I1f1206f8d3bfb815e2effbc072522ece02a25ce9

7 years agoDO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 6f754e48e9 am: a0b119...
Jeff Sharkey [Sun, 12 Feb 2017 10:34:50 +0000 (10:34 +0000)]
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 6f754e48e9 am: a0b1198e70  -s ours am: 48f1ddc94a am: 00f5232dd0 am: 9335807fc4 am: 208dcadb4f  -s ours am: 9aca89293a am: ab296986fc am: 55ef8ba763 am: 62314d7dd3 am: 8100f549bf
am: ed3841df86  -s ours

Change-Id: Ie77c38a65afeae8c2fbd55eb2f4edc32ea342a70

7 years agoMerge "DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 6f754e48e9...
Android Build Merger (Role) [Sun, 12 Feb 2017 10:31:41 +0000 (10:31 +0000)]
Merge "DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 6f754e48e9 am: a0b1198e70  -s ours am: 48f1ddc94a am: 00f5232dd0 am: 9335807fc4 am: 208dcadb4f  -s ours am: 9aca89293a am: ab296986fc am: 55ef8ba763 am: 62314d7dd3 am: 41c9029be0" into nyc-mr2-dev-plus-aosp

7 years agoDO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 6f754e48e9 am: a0b119...
Jeff Sharkey [Sun, 12 Feb 2017 10:30:58 +0000 (10:30 +0000)]
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 6f754e48e9 am: a0b1198e70  -s ours am: 48f1ddc94a am: 00f5232dd0 am: 9335807fc4 am: 208dcadb4f  -s ours am: 9aca89293a am: ab296986fc am: 55ef8ba763 am: 62314d7dd3
am: 41c9029be0

Change-Id: I491c4ae2b64e2a15a626bc20a8e2083e0bb6a91d

7 years agoDO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 6f754e48e9 am: a0b119...
Jeff Sharkey [Sun, 12 Feb 2017 10:30:50 +0000 (10:30 +0000)]
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 6f754e48e9 am: a0b1198e70  -s ours am: 48f1ddc94a am: 00f5232dd0 am: 9335807fc4 am: 208dcadb4f  -s ours am: 9aca89293a am: ab296986fc am: 55ef8ba763 am: 62314d7dd3
am: 8100f549bf

Change-Id: Icb69b7af8a1e7c9c2fb8c2ea47e41932006128d8

7 years agoDO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 6f754e48e9 am: a0b119...
Jeff Sharkey [Sun, 12 Feb 2017 10:26:57 +0000 (10:26 +0000)]
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 6f754e48e9 am: a0b1198e70  -s ours am: 48f1ddc94a am: 00f5232dd0 am: 9335807fc4 am: 208dcadb4f  -s ours am: 9aca89293a am: ab296986fc am: 55ef8ba763
am: 62314d7dd3

Change-Id: Iba461adcfafc41128bc4cd33f934830c7a92ae65

7 years agoDO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 6f754e48e9 am: a0b119...
Jeff Sharkey [Sun, 12 Feb 2017 10:26:51 +0000 (10:26 +0000)]
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 6f754e48e9 am: a0b1198e70  -s ours am: 48f1ddc94a am: 00f5232dd0 am: 9335807fc4 am: 208dcadb4f  -s ours am: 9aca89293a am: ab296986fc am: 55ef8ba763
am: 62314d7dd3

Change-Id: I1eca65886210f095a29125506422a846ae6567f9

7 years agoMerge "DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3f3da42ef9...
Jeff Sharkey [Sun, 12 Feb 2017 10:25:44 +0000 (10:25 +0000)]
Merge "DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3f3da42ef9 am: 32c71b078c am: 75f767afa1 am: 502ee22a9d  -s ours am: deea677359 am: 853e178de4 am: c7b754f62b am: 86f242b071 am: d491410316" into nyc-mr2-dev-plus-aosp
am: 09b336febd  -s ours

Change-Id: I0caa68f60a66a17f7627ea83f143555c8fdcb74e

7 years agoDO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3f3da42ef9 am: 32c71b...
Jeff Sharkey [Sun, 12 Feb 2017 10:24:44 +0000 (10:24 +0000)]
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3f3da42ef9 am: 32c71b078c am: 75f767afa1 am: 502ee22a9d  -s ours am: deea677359 am: 853e178de4 am: c7b754f62b am: 86f242b071 am: 5b49be4488
am: ce567aa642  -s ours

Change-Id: I82dc6c91b5c215679d30cf47cebe444e6581dc9f

7 years agoDO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 6f754e48e9 am: a0b119...
Jeff Sharkey [Sun, 12 Feb 2017 10:22:43 +0000 (10:22 +0000)]
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 6f754e48e9 am: a0b1198e70  -s ours am: 48f1ddc94a am: 00f5232dd0 am: 9335807fc4 am: 208dcadb4f  -s ours am: 9aca89293a am: ab296986fc
am: 55ef8ba763

Change-Id: Ie2f9e943501b62177b23b701a9eea219a1dc696f

7 years agoSwitch RecoverableSE over to using RemoteAction.
Jeff Sharkey [Sun, 12 Feb 2017 10:21:25 +0000 (03:21 -0700)]
Switch RecoverableSE over to using RemoteAction.

Now that RemoteAction supports PendingIntent, we should be using it
instead of rolling our own fields.  Continue offering legacy
constructor for some existing unit tests.

Create a notification channel for each remote app that throws at a
client app.  All apps targeting O must now use channels, which give
the user better control over notifications.

Mention in docs that strings should be localized.

Test: builds
Bug: 337491823501225334676491
Change-Id: Ic57e32025bc6caf784d3746d9f97f6595b0edb69

7 years agoMerge "DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3f3da42ef9...
Android Build Merger (Role) [Sun, 12 Feb 2017 10:21:33 +0000 (10:21 +0000)]
Merge "DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3f3da42ef9 am: 32c71b078c am: 75f767afa1 am: 502ee22a9d  -s ours am: deea677359 am: 853e178de4 am: c7b754f62b am: 86f242b071 am: d491410316" into nyc-mr2-dev-plus-aosp

7 years agoDO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3f3da42ef9 am: 32c71b...
Jeff Sharkey [Sun, 12 Feb 2017 10:20:52 +0000 (10:20 +0000)]
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3f3da42ef9 am: 32c71b078c am: 75f767afa1 am: 502ee22a9d  -s ours am: deea677359 am: 853e178de4 am: c7b754f62b am: 86f242b071
am: d491410316

Change-Id: If549125c9057964da34ab178af08e926962dd1d5

7 years agoDO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3f3da42ef9 am: 32c71b...
Jeff Sharkey [Sun, 12 Feb 2017 10:20:41 +0000 (10:20 +0000)]
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3f3da42ef9 am: 32c71b078c am: 75f767afa1 am: 502ee22a9d  -s ours am: deea677359 am: 853e178de4 am: c7b754f62b am: 86f242b071
am: 5b49be4488

Change-Id: I576f71a635e1d1da44506b4e10ea7d915f5e7ba5

7 years agoDO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 6f754e48e9 am: a0b119...
Jeff Sharkey [Sun, 12 Feb 2017 10:18:15 +0000 (10:18 +0000)]
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 6f754e48e9 am: a0b1198e70  -s ours am: 48f1ddc94a am: 00f5232dd0 am: 9335807fc4 am: 208dcadb4f  -s ours am: 9aca89293a
am: ab296986fc

Change-Id: Idd20eb270f3824840900b60a0b507b3c135ddc9e

7 years agoDO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3f3da42ef9 am: 32c71b...
Jeff Sharkey [Sun, 12 Feb 2017 10:16:12 +0000 (10:16 +0000)]
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3f3da42ef9 am: 32c71b078c am: 75f767afa1 am: 502ee22a9d  -s ours am: deea677359 am: 853e178de4 am: c7b754f62b
am: 86f242b071

Change-Id: Iec17b7e2b1dcc972951e71d3c0d9e12d03440e88

7 years agoDO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3f3da42ef9 am: 32c71b...
Jeff Sharkey [Sun, 12 Feb 2017 10:16:12 +0000 (10:16 +0000)]
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3f3da42ef9 am: 32c71b078c am: 75f767afa1 am: 502ee22a9d  -s ours am: deea677359 am: 853e178de4 am: c7b754f62b
am: 86f242b071

Change-Id: Iaf37416af9d8d3e31b1825719f2f0cc8e860a603

7 years agoDO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 6f754e48e9 am: a0b119...
Jeff Sharkey [Sun, 12 Feb 2017 10:14:09 +0000 (10:14 +0000)]
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 6f754e48e9 am: a0b1198e70  -s ours am: 48f1ddc94a am: 00f5232dd0 am: 9335807fc4 am: 208dcadb4f  -s ours
am: 9aca89293a

Change-Id: Ifc71c14cbdfe8e93cb6bca789daa17117b8f214f

7 years agoDO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3f3da42ef9 am: 32c71b...
Jeff Sharkey [Sun, 12 Feb 2017 10:12:11 +0000 (10:12 +0000)]
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3f3da42ef9 am: 32c71b078c am: 75f767afa1 am: 502ee22a9d  -s ours am: deea677359 am: 853e178de4
am: c7b754f62b

Change-Id: Icc3179df0206649ca412eb3cb4a8b5a4691718fb

7 years agoDO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 6f754e48e9 am: a0b119...
Jeff Sharkey [Sun, 12 Feb 2017 10:10:13 +0000 (10:10 +0000)]
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 6f754e48e9 am: a0b1198e70  -s ours am: 48f1ddc94a am: 00f5232dd0 am: 9335807fc4
am: 208dcadb4f  -s ours

Change-Id: If13e06378379077bbf25e6accc35951c26703a9c

7 years agoDO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3f3da42ef9 am: 32c71b...
Jeff Sharkey [Sun, 12 Feb 2017 10:08:11 +0000 (10:08 +0000)]
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3f3da42ef9 am: 32c71b078c am: 75f767afa1 am: 502ee22a9d  -s ours am: deea677359
am: 853e178de4

Change-Id: I7adf093b7b09d6cc69e13f17865f754ccf327200

7 years agoDO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 6f754e48e9 am: a0b119...
Jeff Sharkey [Sun, 12 Feb 2017 10:06:34 +0000 (10:06 +0000)]
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 6f754e48e9 am: a0b1198e70  -s ours am: 48f1ddc94a am: 00f5232dd0
am: 9335807fc4

Change-Id: I66766f7b8feccdf1855b3819ca30cec5b480ef07

7 years agoDO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3f3da42ef9 am: 32c71b...
Jeff Sharkey [Sun, 12 Feb 2017 10:04:10 +0000 (10:04 +0000)]
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3f3da42ef9 am: 32c71b078c am: 75f767afa1 am: 502ee22a9d  -s ours
am: deea677359

Change-Id: I579175736bf9c3839492e67d08b8ce765c85c121

7 years agoDO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 6f754e48e9 am: a0b119...
Jeff Sharkey [Sun, 12 Feb 2017 10:02:08 +0000 (10:02 +0000)]
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 6f754e48e9 am: a0b1198e70  -s ours am: 48f1ddc94a
am: 00f5232dd0

Change-Id: I535ba4091bcb29fc25fc640f938a483b829e15c2

7 years agoDO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3f3da42ef9 am: 32c71b...
Jeff Sharkey [Sun, 12 Feb 2017 10:00:37 +0000 (10:00 +0000)]
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3f3da42ef9 am: 32c71b078c am: 75f767afa1
am: 502ee22a9d  -s ours

Change-Id: Ibb1a72ca35121ba586f18852445941b0a0c15724

7 years agoDO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 6f754e48e9 am: a0b119...
Jeff Sharkey [Sun, 12 Feb 2017 09:58:13 +0000 (09:58 +0000)]
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 6f754e48e9 am: a0b1198e70  -s ours
am: 48f1ddc94a

Change-Id: I1785a0a301e2847946276be682f62ee263b39a3f

7 years agoDO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3f3da42ef9 am: 32c71b078c
Jeff Sharkey [Sun, 12 Feb 2017 09:56:10 +0000 (09:56 +0000)]
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3f3da42ef9 am: 32c71b078c
am: 75f767afa1

Change-Id: I1393b6bcfa074bef42b7491204df55e39471e689

7 years agoDO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 6f754e48e9
Jeff Sharkey [Sun, 12 Feb 2017 09:53:38 +0000 (09:53 +0000)]
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 6f754e48e9
am: a0b1198e70  -s ours

Change-Id: Ieefebd7669b892cba9afade572e3f43d56095902

7 years agoDO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3f3da42ef9
Jeff Sharkey [Sun, 12 Feb 2017 09:51:37 +0000 (09:51 +0000)]
DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3f3da42ef9
am: 32c71b078c

Change-Id: I1af83dbf9869bd93ecc5c07e1ce6155206f73290

7 years agoDO NOT MERGE. Grant MMS Uri permissions as the calling UID.
Jeff Sharkey [Sun, 12 Feb 2017 09:48:46 +0000 (09:48 +0000)]
DO NOT MERGE. Grant MMS Uri permissions as the calling UID.
am: 6f754e48e9

Change-Id: I2f6dd5ba1e266b3d451533e518ec7f2fe24b262c

7 years agoDO NOT MERGE. Grant MMS Uri permissions as the calling UID.
Jeff Sharkey [Sun, 12 Feb 2017 09:47:33 +0000 (09:47 +0000)]
DO NOT MERGE. Grant MMS Uri permissions as the calling UID.
am: 3f3da42ef9

Change-Id: I222c32931827d906db5fc1e3258f2095e6013481

7 years agoMerge restartInput into startInput in internal IPC
Yohei Yukawa [Sun, 12 Feb 2017 04:57:10 +0000 (20:57 -0800)]
Merge restartInput into startInput in internal IPC

This is the 2nd attempt to merge restartInput into startInput in
internal IPC after fixing the mistake in new parameter order in
the previous CL [1].

As a preparation to start tracking all the event flows that
cause InputMethodManagerService#setImeWindowStatus(), this CL
merges an internal IPC method IInputMethod#restartInput() into
IInputMethod#startInput() in favor of simplicity.

This is a refactoring CL that should have no behavior change.

 [1]: Ifda6f74ac1b1370d9e9a9fe60354b692121fdcb9
      1a5838e966eab7a9f0dca71cabbc9922babb995e

Test: Set true to InputMethodService#DEBUG and make sure startInput()
      and restartInput() are called in the following scenario.
      1. Complete the setup wizard.
      2. adb shell am start -a android.app.action.SET_NEW_PASSWORD
      3. Proceed to "Choose your password" page
      4. Make sure startInput() gets called.
      5. Type "aaaa" then hit "CONTINUE" button.
      6. Make sure restartInput() gets called.
Bug: 35079353
Change-Id: I476d0cf8cbb0a0134941854f9337d9ad15e66a71

7 years agoMerge "Revert "Merge restartInput into startInput in internal IPC""
TreeHugger Robot [Sun, 12 Feb 2017 02:08:06 +0000 (02:08 +0000)]
Merge "Revert "Merge restartInput into startInput in internal IPC""

7 years agoRevert "Merge restartInput into startInput in internal IPC"
Yohei Yukawa [Sat, 11 Feb 2017 23:40:07 +0000 (23:40 +0000)]
Revert "Merge restartInput into startInput in internal IPC"

This reverts commit 1a5838e966eab7a9f0dca71cabbc9922babb995e [1].

Reason of revert:
There was a mistake in the parameter order of MSG_START_INPUT.

 [1]: Ifda6f74ac1b1370d9e9a9fe60354b692121fdcb9

Test: none. This is a revert.
Bug: 35079353
Change-Id: Ic1487768932febe0f1f1b6e71929464e91f357e0

7 years agoMerge "Inline IMMS#resetAllInternalStateLocked()"
Yohei Yukawa [Sat, 11 Feb 2017 23:09:34 +0000 (23:09 +0000)]
Merge "Inline IMMS#resetAllInternalStateLocked()"

7 years agoMerge "Merge restartInput into startInput in internal IPC"
Yohei Yukawa [Sat, 11 Feb 2017 23:07:48 +0000 (23:07 +0000)]
Merge "Merge restartInput into startInput in internal IPC"

7 years agoMerge "Dismiss keyguard before displaying bugrepot details dialog."
TreeHugger Robot [Sat, 11 Feb 2017 08:28:04 +0000 (08:28 +0000)]
Merge "Dismiss keyguard before displaying bugrepot details dialog."

7 years agoMerge "fix warning: Potential leak of memory pointed to by 'target'"
TreeHugger Robot [Sat, 11 Feb 2017 04:20:41 +0000 (04:20 +0000)]
Merge "fix  warning: Potential leak of memory pointed to by 'target'"

7 years agoMerge "Implement SkiaCanvasProxy::onDrawArc"
TreeHugger Robot [Sat, 11 Feb 2017 03:31:29 +0000 (03:31 +0000)]
Merge "Implement SkiaCanvasProxy::onDrawArc"

7 years agoMerge "Allow EAP-SIM authentication methods under PEAP" am: e690e0178c am: 549c3fc0da...
Paul Stewart [Sat, 11 Feb 2017 02:57:20 +0000 (02:57 +0000)]
Merge "Allow EAP-SIM authentication methods under PEAP" am: e690e0178c am: 549c3fc0da am: bdfb1b86d3
am: edb9b8df23

Change-Id: I9db72a171526dae90a436398a11229a467736531

7 years agoMerge restartInput into startInput in internal IPC
Yohei Yukawa [Fri, 10 Feb 2017 21:39:10 +0000 (13:39 -0800)]
Merge restartInput into startInput in internal IPC

As a preparation to start tracking all the event flows that
cause InputMethodManagerService#setImeWindowStatus(), this CL
merges an internal IPC method IInputMethod#restartInput() into
IInputMethod#startInput() in favor of simplicity.

Test: Done some quick manual testing to make sure that IME is
      still working
Bug: 35079353
Change-Id: Ifda6f74ac1b1370d9e9a9fe60354b692121fdcb9

7 years agoMerge "Allow EAP-SIM authentication methods under PEAP" am: e690e0178c am: 549c3fc0da
Paul Stewart [Sat, 11 Feb 2017 02:52:44 +0000 (02:52 +0000)]
Merge "Allow EAP-SIM authentication methods under PEAP" am: e690e0178c am: 549c3fc0da
am: bdfb1b86d3

Change-Id: I083778d8867e79b1a2c04166811508a6642a9c68

7 years agoMerge "Allow EAP-SIM authentication methods under PEAP" am: e690e0178c
Paul Stewart [Sat, 11 Feb 2017 02:48:31 +0000 (02:48 +0000)]
Merge "Allow EAP-SIM authentication methods under PEAP" am: e690e0178c
am: 549c3fc0da

Change-Id: I35592cd0e25bf459505c0a2008b7fe1f3be6298c

7 years agoMerge "Allow EAP-SIM authentication methods under PEAP"
Paul Stewart [Sat, 11 Feb 2017 02:43:38 +0000 (02:43 +0000)]
Merge "Allow EAP-SIM authentication methods under PEAP"
am: e690e0178c

Change-Id: I3f61bdd86c97210acd14b6d2d30e44e26c8b1085

7 years agoMerge "Clarified requirements for cross-user calls"
TreeHugger Robot [Sat, 11 Feb 2017 02:40:01 +0000 (02:40 +0000)]
Merge "Clarified requirements for cross-user calls"

7 years agoMerge "Allow EAP-SIM authentication methods under PEAP"
Treehugger Robot [Sat, 11 Feb 2017 02:34:50 +0000 (02:34 +0000)]
Merge "Allow EAP-SIM authentication methods under PEAP"

7 years agoUpdate the exception description for start(). am: ac06177a13 am: 8b137cc06b am: 539e1...
Mark Goldstein [Sat, 11 Feb 2017 01:53:13 +0000 (01:53 +0000)]
Update the exception description for start(). am: ac06177a13 am: 8b137cc06b am: 539e1bab4d
am: 31ecb52860

Change-Id: Ieb8f45cf4fe1bcaf4712bde3564fc005c00dc35c

7 years agoImplement SkiaCanvasProxy::onDrawArc
Yuqian Li [Fri, 3 Feb 2017 20:01:41 +0000 (15:01 -0500)]
Implement SkiaCanvasProxy::onDrawArc

Test: UiRendering CTS SweepTests with picture mode turned on and
drawBitmapMesh turned off (it's not implemented yet).

This should fix BUG:34306056, and part of BUG:34871089 (the drawArc part
of SweepTests in picture mode).

BUG:34306056
BUG:34871089

Change-Id: I8fdcf72ddb4a0bfccedfd7e4e374a1ec5df17d75
(cherry picked from commit 538b6359cf81b14322141089161f20291295d6d3)

7 years agoUpdate the exception description for start(). am: ac06177a13 am: 8b137cc06b am: fd889...
Mark Goldstein [Sat, 11 Feb 2017 01:44:40 +0000 (01:44 +0000)]
Update the exception description for start(). am: ac06177a13 am: 8b137cc06b am: fd88989486
am: 673a2df291

Change-Id: I297d9243273a178e31abad5bfedc50422a6a8610

7 years agoMerge changes from topic 'API_AnimatorSet_getCurrentPlayTime'
Doris Liu [Sat, 11 Feb 2017 01:41:47 +0000 (01:41 +0000)]
Merge changes from topic 'API_AnimatorSet_getCurrentPlayTime'

* changes:
  Add getter for current play time
  Fix reverse with start delay

7 years agoUpdate the exception description for start(). am: ac06177a13 am: 8b137cc06b
Mark Goldstein [Sat, 11 Feb 2017 01:41:37 +0000 (01:41 +0000)]
Update the exception description for start(). am: ac06177a13 am: 8b137cc06b
am: 539e1bab4d

Change-Id: I1274412a79c59da1a76f0b54f8633d9a2ec02d34

7 years agoUpdate the exception description for start(). am: ac06177a13 am: 8b137cc06b
Mark Goldstein [Sat, 11 Feb 2017 01:38:34 +0000 (01:38 +0000)]
Update the exception description for start(). am: ac06177a13 am: 8b137cc06b
am: fd88989486

Change-Id: I9fef1f2ba9ca5db9b46ea67e2507a682b249c595

7 years agoUpdate the exception description for start(). am: ac06177a13
Mark Goldstein [Sat, 11 Feb 2017 01:34:35 +0000 (01:34 +0000)]
Update the exception description for start(). am: ac06177a13
am: 8b137cc06b

Change-Id: Id448ab164e1fd0d3f5977c30c5395bcb6e87f90f

7 years agoUpdate the exception description for start(). am: ac06177a13
Mark Goldstein [Sat, 11 Feb 2017 01:34:30 +0000 (01:34 +0000)]
Update the exception description for start(). am: ac06177a13
am: 8b137cc06b

Change-Id: I4fcbc9b93ce8e908810d6c8eb4f0dd06c471ed3a

7 years agoUpdate the exception description for start().
Mark Goldstein [Sat, 11 Feb 2017 01:29:27 +0000 (01:29 +0000)]
Update the exception description for start().
am: ac06177a13

Change-Id: I124d99971918daa7768d79daa01ecbbb86f60199

7 years agoMerge "Track update count of IMMS#mMethodMap"
TreeHugger Robot [Sat, 11 Feb 2017 01:28:36 +0000 (01:28 +0000)]
Merge "Track update count of IMMS#mMethodMap"

7 years agoresolve merge conflicts of b3a1417663d6 to nyc-mr2-dev-plus-aosp
Jesse Hall [Sat, 11 Feb 2017 01:24:32 +0000 (01:24 +0000)]
resolve merge conflicts of b3a1417663d6 to nyc-mr2-dev-plus-aosp
am: 516274249f

Change-Id: Ifd131fb69d3fb2fe31bd0f06c074fdf15408dece

7 years agoresolve merge conflicts of b3a1417663d6 to nyc-mr2-dev-plus-aosp
Jesse Hall [Fri, 10 Feb 2017 23:53:27 +0000 (15:53 -0800)]
resolve merge conflicts of b3a1417663d6 to nyc-mr2-dev-plus-aosp

Test: mmma frameworks/base
Change-Id: I2e1e04f55d05fd8aa33da304bdb951713b37793c

7 years agoClarified requirements for cross-user calls
Fyodor Kupolov [Fri, 10 Feb 2017 19:48:32 +0000 (11:48 -0800)]
Clarified requirements for cross-user calls

Test: make
Bug: 35199390
Change-Id: Ie997c690dd24439cc0e8d7fedfc58bd26b2c067f

7 years agoMerge "Clear exceptions before calling IsInstanceOf."
TreeHugger Robot [Sat, 11 Feb 2017 00:46:23 +0000 (00:46 +0000)]
Merge "Clear exceptions before calling IsInstanceOf."

7 years agoMerge "Move Keyguard to SystemUI"
Jason Monk [Sat, 11 Feb 2017 00:37:36 +0000 (00:37 +0000)]
Merge "Move Keyguard to SystemUI"

7 years agoDismiss keyguard before displaying bugrepot details dialog.
Felipe Leme [Sat, 11 Feb 2017 00:18:09 +0000 (16:18 -0800)]
Dismiss keyguard before displaying bugrepot details dialog.

Fixes: 27494228
Test: manual verification
Test: BugreportReceiverTest passes

Change-Id: I7755fc2d3d4f1f9b55301c65f7a58c9374e93664

7 years agoAllow EAP-SIM authentication methods under PEAP
Paul Stewart [Wed, 25 Jan 2017 22:12:14 +0000 (14:12 -0800)]
Allow EAP-SIM authentication methods under PEAP

Extend the PEAP outer method to contain EAP-SIM innner methods
so these transactions can be encrypted.

Cherry-pick of 68c63024c2ace87921c1e84a99d18dae6001c74c

Bug: 34835771
Test: Unit tests

Change-Id: I4931ed43e396c93bad0bfce1750291982f8cd146

7 years agoAdd getter for current play time
Doris Liu [Wed, 8 Feb 2017 22:51:54 +0000 (14:51 -0800)]
Add getter for current play time

BUG: 30993532
Test: cts tests in the same topic branch
Change-Id: I45ee9c61f53051fcac3399eebc378aa2c0ce056d

7 years agoMerge "Set package name on bugreport intents."
TreeHugger Robot [Fri, 10 Feb 2017 23:24:29 +0000 (23:24 +0000)]
Merge "Set package name on bugreport intents."

7 years agoMerge "Implement "dump displaylist" button for skia pipelines"
TreeHugger Robot [Fri, 10 Feb 2017 23:10:56 +0000 (23:10 +0000)]
Merge "Implement "dump displaylist" button for skia pipelines"

7 years agoClear exceptions before calling IsInstanceOf.
Aurimas Liutikas [Fri, 10 Feb 2017 22:52:59 +0000 (14:52 -0800)]
Clear exceptions before calling IsInstanceOf.

Test: None
Change-Id: Iac94f4d7c489c1062a757919fd12a343b8abd001

7 years agoMerge "Add Shell commands to list and reset auto-fill sessions."
TreeHugger Robot [Fri, 10 Feb 2017 23:01:25 +0000 (23:01 +0000)]
Merge "Add Shell commands to list and reset auto-fill sessions."

7 years agoMerge "Fixed call to setServiceForegroundInnerLocked()."
TreeHugger Robot [Fri, 10 Feb 2017 22:44:24 +0000 (22:44 +0000)]
Merge "Fixed call to setServiceForegroundInnerLocked()."

7 years agoMerge "Idle whitelist always-on VPN host apps while VPN services are launching"
Chris Tate [Fri, 10 Feb 2017 22:43:25 +0000 (22:43 +0000)]
Merge "Idle whitelist always-on VPN host apps while VPN services are launching"

7 years agoMerge "separate the JNI part of the NDK into their own source"
Mathias Agopian [Fri, 10 Feb 2017 22:07:18 +0000 (22:07 +0000)]
Merge "separate the JNI part of the NDK into their own source"

7 years agoMerge "Report bitmap config when decoding only metadata"
TreeHugger Robot [Fri, 10 Feb 2017 21:52:27 +0000 (21:52 +0000)]
Merge "Report bitmap config when decoding only metadata"

7 years agoMerge "Expand seccomp whitelist" am: c6c11723cb am: 3b9c0fadda am: 507c3fb099
Paul Lawrence [Fri, 10 Feb 2017 21:34:07 +0000 (21:34 +0000)]
Merge "Expand seccomp whitelist" am: c6c11723cb am: 3b9c0fadda am: 507c3fb099
am: 6c1238699b

Change-Id: I9ecf11de7bef9f199700b3539b526ce3a9e7dea5

7 years agoMerge "Expand seccomp whitelist" am: c6c11723cb am: 3b9c0fadda
Paul Lawrence [Fri, 10 Feb 2017 21:28:56 +0000 (21:28 +0000)]
Merge "Expand seccomp whitelist" am: c6c11723cb am: 3b9c0fadda
am: 507c3fb099

Change-Id: Idcdec4c87b2ad5f91cbe05874ea532139fe38d42

7 years agoMerge "Expand seccomp whitelist" am: c6c11723cb
Paul Lawrence [Fri, 10 Feb 2017 21:22:25 +0000 (21:22 +0000)]
Merge "Expand seccomp whitelist" am: c6c11723cb
am: 3b9c0fadda

Change-Id: I50851e4d3c92d53562e593be0b82c09709262d4a

7 years agoUpdate the exception description for start().
Mark Goldstein [Fri, 10 Feb 2017 17:54:08 +0000 (09:54 -0800)]
Update the exception description for start().

Bug: 31592353
Change-Id: Ic325a8004a87b71c0b43d02db58d4717b4b3831d

7 years agoMerge "Expand seccomp whitelist"
Paul Lawrence [Fri, 10 Feb 2017 21:17:14 +0000 (21:17 +0000)]
Merge "Expand seccomp whitelist"
am: c6c11723cb

Change-Id: I73a7ede13a35354a08e1bc3301f624295373cd52

7 years agoMerge "Fix missing break statement."
TreeHugger Robot [Fri, 10 Feb 2017 21:15:10 +0000 (21:15 +0000)]
Merge "Fix missing break statement."

7 years agoMerge "Expand seccomp whitelist"
Treehugger Robot [Fri, 10 Feb 2017 21:08:05 +0000 (21:08 +0000)]
Merge "Expand seccomp whitelist"

7 years agoSet package name on bugreport intents.
Felipe Leme [Fri, 10 Feb 2017 21:06:58 +0000 (13:06 -0800)]
Set package name on bugreport intents.

BUG: 35257764
Test: BugreportReceiverTest passes
Change-Id: Ia6ff03b2a12ab9987f5b36fa1da88e9c77af18a2

7 years agoAdd Shell commands to list and reset auto-fill sessions.
Felipe Leme [Thu, 9 Feb 2017 17:40:15 +0000 (09:40 -0800)]
Add Shell commands to list and reset auto-fill sessions.

These commands are useful during development and CTS tests (for
example, the test can assert there is no dangling session after it's
finished).

BUG: 33802548

Test: manual verification
Change-Id: I61f96e30d07642fa2165df9b982c6bf32a4e8716

7 years agoZygote: Restore GL preload
Jesse Hall [Thu, 9 Feb 2017 22:43:14 +0000 (14:43 -0800)]
Zygote: Restore GL preload

Preloading GLES drivers in Zygote was removed previously since it is
incompatible with updatable drivers. That caused some app startup
latency and system memory use regressions. This change re-adds GLES
driver preloading, but only on devices that don't support driver
updates.

Bug: 34611670
Bug: 35052548
Test: boot angler, systrace of Calculator app startup
Change-Id: Ibdc6b3c0ba4473574722641d4bfad4b375f908a3
(cherry picked from commit ba0370eef3d17baa70d43723e96eb135c8e4ed58)

7 years agoMerge "Disable StatusBarTests due to flakes."
TreeHugger Robot [Fri, 10 Feb 2017 20:51:26 +0000 (20:51 +0000)]
Merge "Disable StatusBarTests due to flakes."

7 years agoMerge "Allow destroying display content on removal"
Andrii Kulian [Fri, 10 Feb 2017 20:49:45 +0000 (20:49 +0000)]
Merge "Allow destroying display content on removal"

7 years agoFixed call to setServiceForegroundInnerLocked().
Felipe Leme [Fri, 10 Feb 2017 20:42:44 +0000 (12:42 -0800)]
Fixed call to setServiceForegroundInnerLocked().

It was passing the calling uid instead of the notification id.

Change-Id: Id8b0f6e547ae2e605302be7e8475a10afdb43b77
Fixes: 35252523
Test: manual verification

7 years agoMerge "Don't notify parents of views made focusable off UI thread"
Evan Rosky [Fri, 10 Feb 2017 20:36:10 +0000 (20:36 +0000)]
Merge "Don't notify parents of views made focusable off UI thread"

7 years agoMerge "Fix error logging level in WifiNetworkScoreCache."
TreeHugger Robot [Fri, 10 Feb 2017 20:32:02 +0000 (20:32 +0000)]
Merge "Fix error logging level in WifiNetworkScoreCache."

7 years agoFix reverse with start delay
Doris Liu [Wed, 8 Feb 2017 22:47:08 +0000 (14:47 -0800)]
Fix reverse with start delay

Test: cts in the same topic branch

Change-Id: Ie8793f25d39e0104c880f1a873f68650b918bffa