OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Internationalize subclasses of NumberKeyListener"
TreeHugger Robot [Mon, 13 Feb 2017 18:41:51 +0000 (18:41 +0000)]
Merge "Internationalize subclasses of NumberKeyListener"

7 years agoMerge changes Ic3affb60,If09a6623
Diego Perez [Mon, 13 Feb 2017 18:25:27 +0000 (18:25 +0000)]
Merge changes Ic3affb60,If09a6623

* changes:
  Fix NopCanvas initialization
  NopCanvas is only hw accelerated during construction

7 years agoMerge "Remove custom service Class -> name mapping"
Diego Perez [Mon, 13 Feb 2017 18:24:55 +0000 (18:24 +0000)]
Merge "Remove custom service Class -> name mapping"

7 years agoMerge "PendingIntent: Use rethrowFromSystemServer"
TreeHugger Robot [Mon, 13 Feb 2017 18:16:24 +0000 (18:16 +0000)]
Merge "PendingIntent: Use rethrowFromSystemServer"

7 years agoImport translations. DO NOT MERGE am: c342666ac8 -s ours
Bill Yi [Mon, 13 Feb 2017 18:02:52 +0000 (18:02 +0000)]
Import translations. DO NOT MERGE am: c342666ac8  -s ours
am: 46cff11000  -s ours

Change-Id: I09a6d85d1664b8842507fd550303775159520088

7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 13 Feb 2017 17:56:48 +0000 (17:56 +0000)]
Import translations. DO NOT MERGE
am: c342666ac8  -s ours

Change-Id: I039290ce49b857b35f9c83177a32e0195c267d36

7 years agoMerge "Removed TaskSnapshotCacheTest from presumbit"
Wale Ogunwale [Mon, 13 Feb 2017 17:54:59 +0000 (17:54 +0000)]
Merge "Removed TaskSnapshotCacheTest from presumbit"

7 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Mon, 13 Feb 2017 17:54:33 +0000 (17:54 +0000)]
Merge "Import translations. DO NOT MERGE"

7 years agoMerge "Updated Inline Notification Controls"
Geoffrey Pitsch [Mon, 13 Feb 2017 17:47:30 +0000 (17:47 +0000)]
Merge "Updated Inline Notification Controls"

7 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Mon, 13 Feb 2017 17:42:41 +0000 (17:42 +0000)]
Merge "Import translations. DO NOT MERGE"

7 years agoMerge "TextClassifierImpl: Handle urls."
Abodunrinwa Toki [Mon, 13 Feb 2017 17:35:14 +0000 (17:35 +0000)]
Merge "TextClassifierImpl: Handle urls."

7 years agoMerge "Partial revert of "Disable StatusBarTests due to flakes.""
TreeHugger Robot [Mon, 13 Feb 2017 16:34:48 +0000 (16:34 +0000)]
Merge "Partial revert of "Disable StatusBarTests due to flakes.""

7 years agoPartial revert of "Disable StatusBarTests due to flakes."
Adrian Roos [Sat, 11 Feb 2017 08:35:54 +0000 (09:35 +0100)]
Partial revert of "Disable StatusBarTests due to flakes."

Only disable the flakey metrics tests. The other tests in
this class are fine. Also use @Ignore instead of commenting
out @Test.

This reverts commit 63b55435e8406f3235876da2e672fc8d890fc7c2.

Change-Id: I023e63be18dba3659cabe4db9ae1245ccafe835c

7 years agoMerge "Set oom adj for processes displaying app-overlays to PERCEPTIBLE_APP_ADJ"
TreeHugger Robot [Mon, 13 Feb 2017 16:19:38 +0000 (16:19 +0000)]
Merge "Set oom adj for processes displaying app-overlays to PERCEPTIBLE_APP_ADJ"

7 years agoFix NopCanvas initialization
Diego Perez [Thu, 2 Feb 2017 17:32:35 +0000 (17:32 +0000)]
Fix NopCanvas initialization

Reverse the logic since the field wouldn't be initialized to true before
super is called.

Test: Layoutlib tests
Change-Id: Ic3affb608bdf3306ada25e2dd986a48f6caae202

7 years agoNopCanvas is only hw accelerated during construction
Diego Perez [Thu, 2 Feb 2017 10:32:03 +0000 (10:32 +0000)]
NopCanvas is only hw accelerated during construction

During construction, we want to make NopCanvas as light as possible so
we just say that we are hw accelerated.
This caused some crashes further down the line for some views that
thought that NopCanvas was hw accelerated. From now on, NopCanvas is
only hw accelerated during construction.

Test: Covered by the existing tests
Change-Id: If09a662312e5c90d011e7ab2cbb524ef7b420d12

7 years agoRemove custom service Class -> name mapping
Diego Perez [Mon, 16 Jan 2017 11:39:17 +0000 (11:39 +0000)]
Remove custom service Class -> name mapping

Keeping the mapping manually is very error prone and the
SystemServiceRegistry already does it for us.

Bug: http://b.android.com/231975
Test: Added new test
Change-Id: I507c4a9d5f0821a5a237ee27f5e97c5cd9040223

7 years agoMerge "Specify limitations of DISALLOW_UNINSTALL_APPS in documentation"
TreeHugger Robot [Mon, 13 Feb 2017 15:15:05 +0000 (15:15 +0000)]
Merge "Specify limitations of DISALLOW_UNINSTALL_APPS in documentation"

7 years agoRemoved TaskSnapshotCacheTest from presumbit
Wale Ogunwale [Mon, 13 Feb 2017 15:14:20 +0000 (07:14 -0800)]
Removed TaskSnapshotCacheTest from presumbit

Until b/35196891 is fixed.

Bug: 35196891
Test: TaskSnapshotCacheTest
Change-Id: I636b1da5149e45f24ef740d0d7619743856d6df4

7 years agoMerge "SysUiLeaks: Add GarbageMonitor"
Adrian Roos [Mon, 13 Feb 2017 15:06:11 +0000 (15:06 +0000)]
Merge "SysUiLeaks: Add GarbageMonitor"

7 years agoTextClassifierImpl: Handle urls.
Abodunrinwa Toki [Mon, 6 Feb 2017 20:29:36 +0000 (20:29 +0000)]
TextClassifierImpl: Handle urls.

This cl also updates label strings, renames an internal method,
and fixes some bugs in TextClassifierImpl caught by tests.

Test: See: I31ee94177e58c986e61e9b24c6c5816fa4b022e1
Bug: 34778263
Bug: 34922928
Change-Id: Ibf60d345d462dfc8a13dead6f01053f1ae50f35a

7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 13 Feb 2017 14:10:54 +0000 (06:10 -0800)]
Import translations. DO NOT MERGE

Change-Id: I3355bb35c1500306ddaf5102f82beb010b67c208
Auto-generated-cl: translation import

7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 13 Feb 2017 13:55:21 +0000 (05:55 -0800)]
Import translations. DO NOT MERGE

Change-Id: Ia81f744e2074cd855a72e54a81250676dcb64300
Auto-generated-cl: translation import

7 years agoPendingIntent: Use rethrowFromSystemServer
Adrian Roos [Mon, 13 Feb 2017 13:48:57 +0000 (14:48 +0100)]
PendingIntent: Use rethrowFromSystemServer

Fixes an issue where during a crash or shutdown of system_server apps
would start getting unexpected nulls as results of PendingIntent.get...(),
causing them to crash and getting flagged by AUPT.

Change-Id: Ieec289921f125da469f83813ca3f5920b5794a31
Fixes: 34932613
Test: adb shell stop; verify that there are no crashes in logcat.

7 years agoMerge "BackupAgent#getBackupQuota() API"
Shreyas Basarge [Mon, 13 Feb 2017 13:45:55 +0000 (13:45 +0000)]
Merge "BackupAgent#getBackupQuota() API"

7 years agoSpecify limitations of DISALLOW_UNINSTALL_APPS in documentation
Esteban Talavera [Mon, 13 Feb 2017 12:35:04 +0000 (12:35 +0000)]
Specify limitations of DISALLOW_UNINSTALL_APPS in documentation

Bug: 24928722
Fix: 29871221
Bug: 31344846

Test: Builds successfully

Change-Id: I870c71d537da79b9dd50f81ba5394eb8afc8d839

7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 13 Feb 2017 12:43:07 +0000 (04:43 -0800)]
Import translations. DO NOT MERGE

Change-Id: Id5389309517ac0561cf869814c8936dcf9069702
Auto-generated-cl: translation import

7 years agoMerge "Add test coverage for cleanup bug to be fixed." am: 89e6bf0532 am: 0cca15ff88...
Erik Kline [Mon, 13 Feb 2017 12:14:13 +0000 (12:14 +0000)]
Merge "Add test coverage for cleanup bug to be fixed." am: 89e6bf0532 am: 0cca15ff88 am: 3de5971b40
am: 60d14c429b

Change-Id: Ia4a084be38e6f4dce14da012afb6760a3cbd32d0

7 years agoMerge "Add test coverage for cleanup bug to be fixed." am: 89e6bf0532 am: 0cca15ff88
Erik Kline [Mon, 13 Feb 2017 12:08:11 +0000 (12:08 +0000)]
Merge "Add test coverage for cleanup bug to be fixed." am: 89e6bf0532 am: 0cca15ff88
am: 3de5971b40

Change-Id: I470c481a0eebc9cadf134c73ece08803927f4ca2

7 years agoMerge "Add test coverage for cleanup bug to be fixed." am: 89e6bf0532
Erik Kline [Mon, 13 Feb 2017 12:02:48 +0000 (12:02 +0000)]
Merge "Add test coverage for cleanup bug to be fixed." am: 89e6bf0532
am: 0cca15ff88

Change-Id: Ib5d1a6d6616b99a9e4f7cf0286ebc0a11d62bff8

7 years agoMerge "Add test coverage for cleanup bug to be fixed."
Erik Kline [Mon, 13 Feb 2017 11:57:37 +0000 (11:57 +0000)]
Merge "Add test coverage for cleanup bug to be fixed."
am: 89e6bf0532

Change-Id: I33347c8fc2bec5660b8e9c14a316f6d14a6cf8b1

7 years agoMerge "Add test coverage for cleanup bug to be fixed."
Treehugger Robot [Mon, 13 Feb 2017 11:51:20 +0000 (11:51 +0000)]
Merge "Add test coverage for cleanup bug to be fixed."

7 years agoMerge "Rely on com.android.internal.os.SomeArgs"
TreeHugger Robot [Mon, 13 Feb 2017 09:32:30 +0000 (09:32 +0000)]
Merge "Rely on com.android.internal.os.SomeArgs"

7 years agoMerge changes I8a2c5ffb,I2750695d
TreeHugger Robot [Mon, 13 Feb 2017 09:06:12 +0000 (09:06 +0000)]
Merge changes I8a2c5ffb,I2750695d

* changes:
  Fix live wallpaper not showing on lock screen after restore
  Workaround wallpaper restore race

7 years agoAdd test coverage for cleanup bug to be fixed.
Erik Kline [Mon, 13 Feb 2017 08:12:02 +0000 (17:12 +0900)]
Add test coverage for cleanup bug to be fixed.

The test calls that need to pass but do not currently are commented out.

Test: as follows
    - built (bullhead)
    - flashed
    - booted
    - runtest -x .../tethering/TetherInterfaceStateMachineTest.java passes
Bug: 32031803
Bug: 32163131

Change-Id: I68ed476920bef882f353d8e8a54c72120bc27002

7 years agoRely on com.android.internal.os.SomeArgs
Yohei Yukawa [Mon, 13 Feb 2017 07:16:47 +0000 (23:16 -0800)]
Rely on com.android.internal.os.SomeArgs

Before introducing new state tracking IDs to IInputConnectionWrapper,
this CL cleans up IInputConnectionWrapper to use
com.android.internal.os.SomeArgs instead of local-defined one in favor
of possible performance improvement thanks to the process grobal
object pool that com.android.internal.os.SomeArgs has.

This is a mechanical refactoring CL. No behavior change is intended.
Test: No new warnings in `adb logcat` from the following TAGs
      - IInputConnectionWrapper
      - InputMethodManager
      - InputMethodManagerService
      - InputMethodService
Bug: 35079353
Change-Id: Ic614f112f960382280acd8891b3af56d47679f08

7 years agoMerge "Hide logspam due to redundant finishComposingText"
TreeHugger Robot [Mon, 13 Feb 2017 06:49:49 +0000 (06:49 +0000)]
Merge "Hide logspam due to redundant finishComposingText"

7 years agoHide logspam due to redundant finishComposingText
Yohei Yukawa [Mon, 13 Feb 2017 04:08:13 +0000 (20:08 -0800)]
Hide logspam due to redundant finishComposingText

Currently we see two warning messages
  "finishComposingText on inactive InputConnection"
  "finishComposingText on inactive InputConnection"
every time every time the View focus is switched from one EditText
to another EditText on the same window, which is really spammy.

This is actually not critical if IInputConnectionWrapper was already
finished, because with my previous CL [1] it is guaranteed that
InputConnection#finishComposingText() was already called followed by
InputConnection#closeConnection(), which means that the connection
is closed and should not accept any further requests. Thus ignoring
further #finishComposingText() only means that the system and/or IME
is calling #finishComposingText() unnecessarily, which is worth
showing spammy warnings in production builds.

To reduce logspam this CL hides warnings from the above case behind
DEBUG flag.

 [1]: If2a03bc84d318775fd4a197fa43acde086eda442
      aaa38c9f1ae019f0fe8c3ba80630f26e582cc89c

Test: Make sure `adb logcat -s IInputConnectionWrapper:*` does not
      show "finishComposingText on inactive InputConnection" warnings
      while switching focus across different EditText on the same
      window.
Bug: 35079353
Bug: 35301295
Change-Id: I17f3a4f500bc19ebf8bae771bf658a93627b3ba3

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 agoSet oom adj for processes displaying app-overlays to PERCEPTIBLE_APP_ADJ
Wale Ogunwale [Sun, 5 Feb 2017 21:52:09 +0000 (13:52 -0800)]
Set oom adj for processes displaying app-overlays to PERCEPTIBLE_APP_ADJ

For processes with a window of type TYPE_APPLICATION_OVERLAY adjust their
oom importance to PERCEPTIBLE_APP_ADJ to reduce the chance of them getting
killed by the low-memory-killer since they are displaying something that
is perceptible to the user.

Also z-order TYPE_DREAM windows above alerts windows.

Bug: 33256752
Test: cts/.../run-test CtsAppTestCases android.app.cts.AlertWindowsTests
Change-Id: I4c05a9fee6fad61399bf4d10c8647467cc596ca6

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 agoSysUiLeaks: Add GarbageMonitor
Adrian Roos [Mon, 6 Feb 2017 22:48:15 +0000 (14:48 -0800)]
SysUiLeaks: Add GarbageMonitor

Adds a service for monitoring the amount of tracked garbage.
If it exceeds reasonable levels, a notification with a leak
report is posted.

Test: runtest systemui
Change-Id: Ib55281f2aac557743b97c46bc616688261c72e9c

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)