OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Blame services for slow operations" into oc-dev
Fyodor Kupolov [Thu, 27 Apr 2017 04:14:24 +0000 (04:14 +0000)]
Merge "Blame services for slow operations" into oc-dev
am: 3acd16b43d

Change-Id: I17dabe18c63f1743b8b7586f27e4c3a16d7303b0

7 years agoMerge "Add device ID attestation method to keymaster" into oc-dev
Bartosz Fabianowski [Thu, 27 Apr 2017 04:04:45 +0000 (04:04 +0000)]
Merge "Add device ID attestation method to keymaster" into oc-dev
am: 9138c5dfa7

Change-Id: I27c7bd606df0c584d897523c787ae684e9c0c30c

7 years agoMerge "Call getAllowedUid on a separate thread" into oc-dev
Fyodor Kupolov [Thu, 27 Apr 2017 04:00:09 +0000 (04:00 +0000)]
Merge "Call getAllowedUid on a separate thread" into oc-dev
am: 21c34e2b50

Change-Id: I7df45a4b0124b68e049bd0b80f7ab6cef2cda4d1

7 years agoMerge "Blame services for slow operations" into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 03:59:53 +0000 (03:59 +0000)]
Merge "Blame services for slow operations" into oc-dev

7 years agoMerge "Clarify some IpManager/ApfFilter debugging output." into oc-dev
Erik Kline [Thu, 27 Apr 2017 03:58:12 +0000 (03:58 +0000)]
Merge "Clarify some IpManager/ApfFilter debugging output." into oc-dev
am: 40ccb1b5aa

Change-Id: Ie883f62bdc731c8da3b3d5ac1df827e1fd5b44be

7 years agoMerge "Add device ID attestation method to keymaster" into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 03:51:29 +0000 (03:51 +0000)]
Merge "Add device ID attestation method to keymaster" into oc-dev

7 years agoMerge "Call getAllowedUid on a separate thread" into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 03:50:47 +0000 (03:50 +0000)]
Merge "Call getAllowedUid on a separate thread" into oc-dev

7 years agoMerge "Clarify some IpManager/ApfFilter debugging output." into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 03:45:50 +0000 (03:45 +0000)]
Merge "Clarify some IpManager/ApfFilter debugging output." into oc-dev

7 years agoMerge "Drop uses-feature requirement for system process" into oc-dev
Svetoslav Ganov [Thu, 27 Apr 2017 03:06:14 +0000 (03:06 +0000)]
Merge "Drop uses-feature requirement for system process" into oc-dev
am: 8ba6fdb3fa

Change-Id: Ic306e331e0eac1d8559cea71a56211eaadbf35e1

7 years agoMerge "Drop uses-feature requirement for system process" into oc-dev
Svetoslav Ganov [Thu, 27 Apr 2017 03:01:55 +0000 (03:01 +0000)]
Merge "Drop uses-feature requirement for system process" into oc-dev

7 years agoMerge "Avoid ClassCastException in ArrayMap." into oc-dev
Daniel Sandler [Thu, 27 Apr 2017 01:31:40 +0000 (01:31 +0000)]
Merge "Avoid ClassCastException in ArrayMap." into oc-dev
am: f9e5395081

Change-Id: I2b8b50865bd6db37092ac5752bf280a74e840074

7 years agoMerge "Avoid ClassCastException in ArrayMap." into oc-dev
Daniel Sandler [Thu, 27 Apr 2017 01:23:52 +0000 (01:23 +0000)]
Merge "Avoid ClassCastException in ArrayMap." into oc-dev

7 years agoMerge "Check only task's override config for adjusting bounds" into oc-dev
Andrii Kulian [Thu, 27 Apr 2017 01:06:51 +0000 (01:06 +0000)]
Merge "Check only task's override config for adjusting bounds" into oc-dev
am: 1ad18abedb

Change-Id: I59cc12ece55b02a30dbd9f5f6ae741632dbbbccc

7 years agoMerge "Temporary tracking of JobStatus unprepare" into oc-dev
Christopher Tate [Thu, 27 Apr 2017 01:03:48 +0000 (01:03 +0000)]
Merge "Temporary tracking of JobStatus unprepare" into oc-dev
am: ddd55793bc

Change-Id: I612beb12fa9ca39f6fb0c745dec8439e3581953a

7 years agoFixing issue with lingering dismiss PiP overlay.
Winson Chung [Thu, 27 Apr 2017 00:49:33 +0000 (00:49 +0000)]
Fixing issue with lingering dismiss PiP overlay.
am: b54b65b001

Change-Id: Iedc5f922b8e4db9cec6fc9f2b28e59846682df2c

7 years agoFix issue with dismiss scrim not spanning full screen
Winson Chung [Thu, 27 Apr 2017 00:48:42 +0000 (00:48 +0000)]
Fix issue with dismiss scrim not spanning full screen
am: ef16fa9842

Change-Id: I3514eb5bf1a7fe42f55dce5bc84b35d433272096

7 years agoPrevent IME adjustment for stacks not affected by docked stack resizing
Winson Chung [Thu, 27 Apr 2017 00:47:30 +0000 (00:47 +0000)]
Prevent IME adjustment for stacks not affected by docked stack resizing
am: fef058d7d0

Change-Id: I18ce84aa67b20b0fbbc44279c89edff107b9d7be

7 years agoUpdating PiP API and documentation.
Winson Chung [Thu, 27 Apr 2017 00:46:25 +0000 (00:46 +0000)]
Updating PiP API and documentation.
am: 709904f800

Change-Id: I28e4de6ab2072c53cc5d7da77b7d70acb63d8ef0

7 years agoMerge "Check only task's override config for adjusting bounds" into oc-dev
Andrii Kulian [Thu, 27 Apr 2017 00:46:05 +0000 (00:46 +0000)]
Merge "Check only task's override config for adjusting bounds" into oc-dev

7 years agoMerge "Allow Bluetooth CAP_SYS_NICE" am: ebc94ecac9 am: dedc04978e
Philip Cuadra [Thu, 27 Apr 2017 00:39:46 +0000 (00:39 +0000)]
Merge "Allow Bluetooth CAP_SYS_NICE" am: ebc94ecac9 am: dedc04978e
am: a63131321e  -s ours

Change-Id: I0eddaabb2aee9e521389905882b42d2cd362e64e

7 years agoMerge "Clarify some IpManager/ApfFilter debugging output." am: ce94c07ffd am: 3cc7ccfc69
Erik Kline [Thu, 27 Apr 2017 00:35:25 +0000 (00:35 +0000)]
Merge "Clarify some IpManager/ApfFilter debugging output." am: ce94c07ffd am: 3cc7ccfc69
am: b1914ebb50

Change-Id: If64f2b8a5cdf8b946a82a0c97a42cf61ef5e0b08

7 years agoMerge "Temporary tracking of JobStatus unprepare" into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 00:33:16 +0000 (00:33 +0000)]
Merge "Temporary tracking of JobStatus unprepare" into oc-dev

7 years agoMerge "Allow Bluetooth CAP_SYS_NICE" am: ebc94ecac9
Philip Cuadra [Thu, 27 Apr 2017 00:26:39 +0000 (00:26 +0000)]
Merge "Allow Bluetooth CAP_SYS_NICE" am: ebc94ecac9
am: dedc04978e

Change-Id: I5fa80631fe566771525a94c54d8cbbe543b783e0

7 years agoMerge "Clarify some IpManager/ApfFilter debugging output." am: ce94c07ffd
Erik Kline [Thu, 27 Apr 2017 00:23:55 +0000 (00:23 +0000)]
Merge "Clarify some IpManager/ApfFilter debugging output." am: ce94c07ffd
am: 3cc7ccfc69

Change-Id: I85ba7fe2da509c4581a27400170a537accd844ee

7 years agoFixing issue with lingering dismiss PiP overlay.
Winson Chung [Wed, 26 Apr 2017 21:02:13 +0000 (14:02 -0700)]
Fixing issue with lingering dismiss PiP overlay.

- Always try and remove the dismiss overlay when animating touch ends, or
  if the input consumer is unregistered to handle cases where the
  interaction is interrupted by the pip animation.

Bug: 37309693
Test: Intermittent, enter pip and try to tap and then tap-drag the PIP
Change-Id: I05f360f1d9d264590725e13eb2cc9254a3f21eef

7 years agoFix issue with dismiss scrim not spanning full screen
Winson Chung [Wed, 26 Apr 2017 15:46:24 +0000 (08:46 -0700)]
Fix issue with dismiss scrim not spanning full screen

Bug: 37309741
Test: Launch PIP activity, go to landscape, drag and ensure dismiss
      overlay spans fullscreen

Change-Id: I449c9f2bdaf01357ebdb652665e884c1ada5ea46

7 years agoPrevent IME adjustment for stacks not affected by docked stack resizing
Winson Chung [Tue, 25 Apr 2017 21:43:10 +0000 (14:43 -0700)]
Prevent IME adjustment for stacks not affected by docked stack resizing

Bug: 37358175
Test: Resize docked stack while PIP is up
Change-Id: I4f057f6671e8c164624359bf3532f9a22fdf768e

7 years agoMerge "Allow Bluetooth CAP_SYS_NICE"
Philip Cuadra [Thu, 27 Apr 2017 00:17:06 +0000 (00:17 +0000)]
Merge "Allow Bluetooth CAP_SYS_NICE"
am: ebc94ecac9

Change-Id: Ibf14ca3ac79d2e522584ad80dc5bf3ffc32c48bc

7 years agoMerge "Clarify some IpManager/ApfFilter debugging output."
Erik Kline [Thu, 27 Apr 2017 00:14:50 +0000 (00:14 +0000)]
Merge "Clarify some IpManager/ApfFilter debugging output."
am: ce94c07ffd

Change-Id: If5e0628c3e8ec5c918fe29fea25c24d0fae53614

7 years agoUpdating PiP API and documentation.
Winson Chung [Tue, 25 Apr 2017 18:00:48 +0000 (11:00 -0700)]
Updating PiP API and documentation.

- Renaming PictureInPictureArgs to PictureInPictureParams, making it
  immutable and built with a builder class.  In addition, making the
  aspect ratio rational.
- Moving the check to get max number of actions to the activity to have
  more flexibility going forward
- Also ensures that enterPictureInPictureMode() returns true if the
  activity is already in PiP mode.
- Will follow up with CL to remove PictureInPictureArgs and related methods
  once this CL drops

Bug: 35765211
Bug: 37638323
Bug: 37637423
Bug: 37636674
Bug: 36342780
Test: android.server.cts.ActivityManagerPinnedStackTests
Test: android.app.cts.PictureInPictureParamsBuilderTest

Change-Id: I54a487d55a59c9ce8ac7bd6c80c61209c8b26224
Signed-off-by: Winson Chung <winsonc@google.com>
7 years agoMerge "Allow Bluetooth CAP_SYS_NICE"
Treehugger Robot [Thu, 27 Apr 2017 00:01:53 +0000 (00:01 +0000)]
Merge "Allow Bluetooth CAP_SYS_NICE"

7 years agoMerge "Clarify some IpManager/ApfFilter debugging output."
Erik Kline [Wed, 26 Apr 2017 23:56:58 +0000 (23:56 +0000)]
Merge "Clarify some IpManager/ApfFilter debugging output."

7 years agoMerge "Provide support for optimized ACTION_REQUEST_SET_AUTOFILL_SERVICE." into oc-dev
Felipe Leme [Wed, 26 Apr 2017 23:54:31 +0000 (23:54 +0000)]
Merge "Provide support for optimized ACTION_REQUEST_SET_AUTOFILL_SERVICE." into oc-dev
am: 62bb027d12

Change-Id: If9e223a9cc7585568eb86995f0d0ef458d2c658c

7 years agoMerge "Enhance DeviceAdminService javadoc and remove TODO." into oc-dev
Makoto Onuki [Wed, 26 Apr 2017 23:49:58 +0000 (23:49 +0000)]
Merge "Enhance DeviceAdminService javadoc and remove TODO." into oc-dev
am: 397335d926

Change-Id: Ie69d82114c5df99261c3d9fcfe2dd47eb6d7ddf1

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
Bill Yi [Wed, 26 Apr 2017 23:48:06 +0000 (23:48 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: 73614be4c5  -s ours

Change-Id: I4e19041610a272a262a80f5f67310db3a7005280

7 years agoMerge "Provide support for optimized ACTION_REQUEST_SET_AUTOFILL_SERVICE." into oc-dev
Felipe Leme [Wed, 26 Apr 2017 23:46:16 +0000 (23:46 +0000)]
Merge "Provide support for optimized ACTION_REQUEST_SET_AUTOFILL_SERVICE." into oc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
Bill Yi [Wed, 26 Apr 2017 23:46:03 +0000 (23:46 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: 62b2950374  -s ours

Change-Id: I795b221dea9ea31efc9e96edaf4598384e75c9ee

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
Bill Yi [Wed, 26 Apr 2017 23:42:29 +0000 (23:42 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: 16e7c7f0df  -s ours

Change-Id: I6fb1b99241d1a43296812bb324127540184e42da

7 years agoMerge "Enhance DeviceAdminService javadoc and remove TODO." into oc-dev
Makoto Onuki [Wed, 26 Apr 2017 23:33:56 +0000 (23:33 +0000)]
Merge "Enhance DeviceAdminService javadoc and remove TODO." into oc-dev

7 years agoMerge "Font API clean up" into oc-dev
Seigo Nonaka [Wed, 26 Apr 2017 23:32:57 +0000 (23:32 +0000)]
Merge "Font API clean up" into oc-dev
am: 25c2cdc052

Change-Id: Ica94609836262103b721138eaac413c8192a7ca7

7 years agoMerge "Only show progress log every 10%" into oc-dev
Makoto Onuki [Wed, 26 Apr 2017 23:29:27 +0000 (23:29 +0000)]
Merge "Only show progress log every 10%" into oc-dev
am: b4e05340e4

Change-Id: Iae1786f56313537acddd5b7ad5aaa1ae9510a5da

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Wed, 26 Apr 2017 23:26:43 +0000 (23:26 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Wed, 26 Apr 2017 23:25:49 +0000 (23:25 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Wed, 26 Apr 2017 23:24:27 +0000 (23:24 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Font API clean up" into oc-dev
Seigo Nonaka [Wed, 26 Apr 2017 23:19:51 +0000 (23:19 +0000)]
Merge "Font API clean up" into oc-dev

7 years agoMerge "Only show progress log every 10%" into oc-dev
Makoto Onuki [Wed, 26 Apr 2017 23:18:43 +0000 (23:18 +0000)]
Merge "Only show progress log every 10%" into oc-dev

7 years agoTemporary tracking of JobStatus unprepare
Christopher Tate [Wed, 26 Apr 2017 22:41:37 +0000 (15:41 -0700)]
Temporary tracking of JobStatus unprepare

For help diagnosing bug 37209909

Test: manual
Change-Id: If93ee0d25f462d5c8e954d3d7cbdc280b5d18c7e

7 years agoMerge "Fix the notification issue shown on startForeground" am: ea86140ba4 am: 3b498d1c56
Suprabh Shukla [Wed, 26 Apr 2017 22:25:44 +0000 (22:25 +0000)]
Merge "Fix the notification issue shown on startForeground" am: ea86140ba4 am: 3b498d1c56
am: fd0239aa3f

Change-Id: I6af10951b51d739a1e0500cefe5d1d07f7742c27

7 years agoMerge "Fix the notification issue shown on startForeground" am: ea86140ba4
Suprabh Shukla [Wed, 26 Apr 2017 22:11:17 +0000 (22:11 +0000)]
Merge "Fix the notification issue shown on startForeground" am: ea86140ba4
am: 3b498d1c56

Change-Id: Ibd6d57617c6d7d8ad2bffebb6f72337e7d11e9af

7 years agoMerge "Fix the notification issue shown on startForeground"
Suprabh Shukla [Wed, 26 Apr 2017 22:05:07 +0000 (22:05 +0000)]
Merge "Fix the notification issue shown on startForeground"
am: ea86140ba4

Change-Id: Ic95c9c78b05c4f4920c04a654296d2a6e4283eea

7 years agoMerge "TIF: fix javadoc of recorded programs" into oc-dev
Conrad Chen [Wed, 26 Apr 2017 22:00:13 +0000 (22:00 +0000)]
Merge "TIF: fix javadoc of recorded programs" into oc-dev
am: a16d465a18

Change-Id: Ica4cee335dcba58f16ac7b1ebd5f96e7211554db

7 years agoMerge "More targeted version of "Correct animation glitch for pinned stack."" into...
Rob Carr [Wed, 26 Apr 2017 21:56:55 +0000 (21:56 +0000)]
Merge "More targeted version of "Correct animation glitch for pinned stack."" into oc-dev
am: d00cb1c48a

Change-Id: I0b91b0d0645a43185a128f1b94ee1ea8eba2c621

7 years agoMerge "Fix the notification issue shown on startForeground"
Suprabh Shukla [Wed, 26 Apr 2017 21:56:23 +0000 (21:56 +0000)]
Merge "Fix the notification issue shown on startForeground"

7 years agoMerge "Fix logspam NPE." into oc-dev
Rob Carr [Wed, 26 Apr 2017 21:54:48 +0000 (21:54 +0000)]
Merge "Fix logspam NPE." into oc-dev
am: bd1ef76684

Change-Id: I16bfcd16236ba42302208dce37e3eb08907f2c91

7 years agoMerge "TIF: fix javadoc of recorded programs" into oc-dev
Conrad Chen [Wed, 26 Apr 2017 21:47:55 +0000 (21:47 +0000)]
Merge "TIF: fix javadoc of recorded programs" into oc-dev

7 years agoAllow Bluetooth CAP_SYS_NICE
Philip Cuadra [Wed, 26 Apr 2017 20:49:37 +0000 (13:49 -0700)]
Allow Bluetooth CAP_SYS_NICE

Bluetooth needs CAP_SYS_NICE in order to make important threads use RT
scheduling policy.

Bug 37518404

Test: Play Bluetooth audio, confirm RT priority in systrace
Change-Id: I388ef78d1aaf3f5fe1aa901b48d76c5c992acacc
Merged-In: I0ee55a2f2cfd80cbb066d9c034bb85d8d85ba470

7 years agoMerge "More targeted version of "Correct animation glitch for pinned stack."" into...
Rob Carr [Wed, 26 Apr 2017 21:43:51 +0000 (21:43 +0000)]
Merge "More targeted version of "Correct animation glitch for pinned stack."" into oc-dev

7 years agoMerge "Fix logspam NPE." into oc-dev
Rob Carr [Wed, 26 Apr 2017 21:43:25 +0000 (21:43 +0000)]
Merge "Fix logspam NPE." into oc-dev

7 years agoMerge "Fix BackupSettingsTest (update blacklists)" into oc-dev
Michal Karpinski [Wed, 26 Apr 2017 21:41:04 +0000 (21:41 +0000)]
Merge "Fix BackupSettingsTest (update blacklists)" into oc-dev
am: 1c2964bdeb

Change-Id: Ia07281b2e9c67250e4f9d927d2a0e3ea3460bac9

7 years agoMerge "Fix BackupSettingsTest (update blacklists)" into oc-dev
TreeHugger Robot [Wed, 26 Apr 2017 21:28:23 +0000 (21:28 +0000)]
Merge "Fix BackupSettingsTest (update blacklists)" into oc-dev

7 years agoMerge "Merge "WifiManager: add updateInterfaceIpState" am: 2dbd137795 am: 6f69ea87e7...
Rebecca Silberstein [Wed, 26 Apr 2017 21:23:20 +0000 (21:23 +0000)]
Merge "Merge "WifiManager: add updateInterfaceIpState" am: 2dbd137795 am: 6f69ea87e7" into nyc-mr2-dev-plus-aosp
am: 2270951bb9

Change-Id: Iabd864759181aba72766a26110ecef9f4cca3d5d

7 years agoMerge "Merge "DO NOT MERGE: change SET_DISPLAY_OFFSET namespace to com.android.permis...
Android Build Merger (Role) [Wed, 26 Apr 2017 21:19:43 +0000 (21:19 +0000)]
Merge "Merge "DO NOT MERGE: change SET_DISPLAY_OFFSET namespace to com.android.permission.* This is to avoid API Level 25 CTS issues. am: 31add96517 am: a701205315  -s ours" into oc-dev am: 9e3c12e173" into oc-dev-plus-aosp

7 years agoMerge "DO NOT MERGE: change SET_DISPLAY_OFFSET namespace to com.android.permission...
Julius D'souza [Wed, 26 Apr 2017 21:18:54 +0000 (21:18 +0000)]
Merge "DO NOT MERGE: change SET_DISPLAY_OFFSET namespace to com.android.permission.* This is to avoid API Level 25 CTS issues. am: 31add96517 am: a701205315  -s ours" into oc-dev
am: 9e3c12e173

Change-Id: I4b5a02f21a394aaa5ec73c88070fdb853b49d68c

7 years agoMerge "Merge "Use uptimeMillis instead of currentTimeMillis for interval calculation...
Android Build Merger (Role) [Wed, 26 Apr 2017 21:18:21 +0000 (21:18 +0000)]
Merge "Merge "Use uptimeMillis instead of currentTimeMillis for interval calculation." into oc-dev am: 776f480c49" into oc-dev-plus-aosp

7 years agoMerge "Use uptimeMillis instead of currentTimeMillis for interval calculation." into...
Alison Cichowlas [Wed, 26 Apr 2017 21:17:36 +0000 (21:17 +0000)]
Merge "Use uptimeMillis instead of currentTimeMillis for interval calculation." into oc-dev
am: 776f480c49

Change-Id: I76c22e43e91ae3d92aceaf197ce2860cb0a744d0

7 years agoMerge "DO NOT MERGE: change SET_DISPLAY_OFFSET namespace to com.android.permission...
Android Build Merger (Role) [Wed, 26 Apr 2017 21:17:12 +0000 (21:17 +0000)]
Merge "DO NOT MERGE: change SET_DISPLAY_OFFSET namespace to com.android.permission.* This is to avoid API Level 25 CTS issues. am: 31add96517 am: a701205315  -s ours am: 4334664267" into oc-dev-plus-aosp

7 years agoDO NOT MERGE: change SET_DISPLAY_OFFSET namespace to com.android.permission.* This...
Julius D'souza [Wed, 26 Apr 2017 21:16:26 +0000 (21:16 +0000)]
DO NOT MERGE: change SET_DISPLAY_OFFSET namespace to com.android.permission.* This is to avoid API Level 25 CTS issues. am: 31add96517 am: a701205315  -s ours
am: 4334664267

Change-Id: I3fc1f7def63e6814a13ad8654280831b7b2e4b29

7 years agoMerge "Merge "WifiManager: add updateInterfaceIpState" am: 2dbd137795 am: 6f69ea87e7...
Android Build Merger (Role) [Wed, 26 Apr 2017 21:14:17 +0000 (21:14 +0000)]
Merge "Merge "WifiManager: add updateInterfaceIpState" am: 2dbd137795 am: 6f69ea87e7" into nyc-mr2-dev-plus-aosp

7 years agoMerge "WifiManager: add updateInterfaceIpState" am: 2dbd137795 am: 6f69ea87e7
Rebecca Silberstein [Wed, 26 Apr 2017 21:13:34 +0000 (21:13 +0000)]
Merge "WifiManager: add updateInterfaceIpState" am: 2dbd137795 am: 6f69ea87e7
am: c58e6e4a7f

Change-Id: I9f9d579f782d3523dd71de9f49231ca6c8a305da

7 years agoMerge "WifiManager: add updateInterfaceIpState" am: 2dbd137795
Rebecca Silberstein [Wed, 26 Apr 2017 21:11:13 +0000 (21:11 +0000)]
Merge "WifiManager: add updateInterfaceIpState" am: 2dbd137795
am: 6f69ea87e7

Change-Id: Ie3223fd22b37f12da2bc5b2bea539a28c9c74b77

7 years agoMerge "DO NOT MERGE: change SET_DISPLAY_OFFSET namespace to com.android.permission...
Android Build Merger (Role) [Wed, 26 Apr 2017 21:07:59 +0000 (21:07 +0000)]
Merge "DO NOT MERGE: change SET_DISPLAY_OFFSET namespace to com.android.permission.* This is to avoid API Level 25 CTS issues. am: 31add96517 am: a701205315  -s ours" into oc-dev

7 years agoMerge "Use uptimeMillis instead of currentTimeMillis for interval calculation." into...
Alison Cichowlas [Wed, 26 Apr 2017 21:07:49 +0000 (21:07 +0000)]
Merge "Use uptimeMillis instead of currentTimeMillis for interval calculation." into oc-dev

7 years agoDO NOT MERGE: change SET_DISPLAY_OFFSET namespace to com.android.permission.* This...
Julius D'souza [Wed, 26 Apr 2017 21:06:55 +0000 (21:06 +0000)]
DO NOT MERGE: change SET_DISPLAY_OFFSET namespace to com.android.permission.* This is to avoid API Level 25 CTS issues. am: 31add96517
am: a701205315  -s ours

Change-Id: I001aea36b99da8cf3c209fb3c5c316200b0d08a2

7 years agoMerge "WifiManager: add updateInterfaceIpState" am: 2dbd137795
Rebecca Silberstein [Wed, 26 Apr 2017 21:06:29 +0000 (21:06 +0000)]
Merge "WifiManager: add updateInterfaceIpState" am: 2dbd137795
am: 6f69ea87e7

Change-Id: I55d0e265488a67d0c379f19e47fbadff5ba51671

7 years agoMerge "DO NOT MERGE: change SET_DISPLAY_OFFSET namespace to com.android.permission...
Android Build Merger (Role) [Wed, 26 Apr 2017 21:00:51 +0000 (21:00 +0000)]
Merge "DO NOT MERGE: change SET_DISPLAY_OFFSET namespace to com.android.permission.* This is to avoid API Level 25 CTS issues. am: 31add96517 am: a701205315 am: 27b18cc632  -s ours" into oc-dev-plus-aosp

7 years agoDO NOT MERGE: change SET_DISPLAY_OFFSET namespace to com.android.permission.* This...
Julius D'souza [Wed, 26 Apr 2017 20:59:03 +0000 (20:59 +0000)]
DO NOT MERGE: change SET_DISPLAY_OFFSET namespace to com.android.permission.* This is to avoid API Level 25 CTS issues. am: 31add96517 am: a701205315
am: 27b18cc632  -s ours

Change-Id: I5f7dbc0f5a03bf0e60dbbcb948b911fc6cc692b2

7 years agoMerge "WifiManager: add updateInterfaceIpState"
Rebecca Silberstein [Wed, 26 Apr 2017 20:58:25 +0000 (20:58 +0000)]
Merge "WifiManager: add updateInterfaceIpState"
am: 2dbd137795

Change-Id: I46b408b2c11e23946ab933b6c780a122ce1b2761

7 years agoMerge "Add ability to fling to dismiss PIP from anywhere" into oc-dev
Mady Mellor [Wed, 26 Apr 2017 20:58:13 +0000 (20:58 +0000)]
Merge "Add ability to fling to dismiss PIP from anywhere" into oc-dev
am: ddb460c18f

Change-Id: I5568b72cc92b38fd168967104df7a2851e12aaca

7 years agoDO NOT MERGE: change SET_DISPLAY_OFFSET namespace to com.android.permission.* This...
Julius D'souza [Wed, 26 Apr 2017 20:54:04 +0000 (20:54 +0000)]
DO NOT MERGE: change SET_DISPLAY_OFFSET namespace to com.android.permission.* This is to avoid API Level 25 CTS issues. am: 31add96517
am: a701205315  -s ours

Change-Id: I2c67e135cfa5d423acd322d1a797222c7018bb2f

7 years agoDO NOT MERGE: change SET_DISPLAY_OFFSET namespace to com.android.permission.* This...
Julius D'souza [Wed, 26 Apr 2017 20:53:38 +0000 (20:53 +0000)]
DO NOT MERGE: change SET_DISPLAY_OFFSET namespace to com.android.permission.* This is to avoid API Level 25 CTS issues. am: 31add96517
am: a701205315

Change-Id: Ic524f1c10de53d0a9974afc4033c334ad871de4a

7 years agoMerge "Add ability to fling to dismiss PIP from anywhere" into oc-dev
TreeHugger Robot [Wed, 26 Apr 2017 20:51:57 +0000 (20:51 +0000)]
Merge "Add ability to fling to dismiss PIP from anywhere" into oc-dev

7 years agoMerge "WifiManager: add updateInterfaceIpState"
Rebecca Silberstein [Wed, 26 Apr 2017 20:49:04 +0000 (20:49 +0000)]
Merge "WifiManager: add updateInterfaceIpState"

7 years agoDO NOT MERGE: change SET_DISPLAY_OFFSET namespace to com.android.permission.* This...
Julius D'souza [Wed, 26 Apr 2017 20:47:26 +0000 (20:47 +0000)]
DO NOT MERGE: change SET_DISPLAY_OFFSET namespace to com.android.permission.* This is to avoid API Level 25 CTS issues.
am: 31add96517

Change-Id: Id12dd73ed18fee0b874af364bad954d39384287f

7 years agoMerge "MediaFrameworkTest: compare media type only for supported media check" into...
Hyungtae Kim [Wed, 26 Apr 2017 20:14:16 +0000 (20:14 +0000)]
Merge "MediaFrameworkTest: compare media type only for supported media check" into oc-dev
am: 486a202164

Change-Id: I970f6f2b12a6a5d243a002896864a47b20ab33a3

7 years agoMerge "Remove default public ctor from RttModifyStatus" into oc-dev
Hall Liu [Wed, 26 Apr 2017 20:12:12 +0000 (20:12 +0000)]
Merge "Remove default public ctor from RttModifyStatus" into oc-dev
am: f18e050007

Change-Id: Iba462aa3b4ee1fe24faf2e282764d151efadd886

7 years agoMerge "MediaFrameworkTest: compare media type only for supported media check" into...
Hyungtae Kim [Wed, 26 Apr 2017 20:05:14 +0000 (20:05 +0000)]
Merge "MediaFrameworkTest: compare media type only for supported media check" into oc-dev

7 years agoMerge "Remove default public ctor from RttModifyStatus" into oc-dev
Hall Liu [Wed, 26 Apr 2017 20:04:26 +0000 (20:04 +0000)]
Merge "Remove default public ctor from RttModifyStatus" into oc-dev

7 years agoMerge "Gather shared libs for split apks based on dependencies." into oc-dev
Jeff Hao [Wed, 26 Apr 2017 19:52:04 +0000 (19:52 +0000)]
Merge "Gather shared libs for split apks based on dependencies." into oc-dev
am: dc088a644d

Change-Id: I186c0c1a189836e7684f7e6204e0ee86fc810a97

7 years agoMerge "Gather shared libs for split apks based on dependencies." into oc-dev
TreeHugger Robot [Wed, 26 Apr 2017 19:44:16 +0000 (19:44 +0000)]
Merge "Gather shared libs for split apks based on dependencies." into oc-dev

7 years agoMore targeted version of "Correct animation glitch for pinned stack."
Robert Carr [Tue, 25 Apr 2017 21:46:50 +0000 (14:46 -0700)]
More targeted version of "Correct animation glitch for pinned stack."

See the referenced CL "Correct animation glitch" for an explanation of
why an exception in this area is required. That CL based the exception
off the dummy animation state, however it seems we also enter this
state in various docked transitions but in that case the dummy animation
will have the incorrect transforms referenced by the original comment.
Now we target the fix on the bounds animating state instead.

Bug: 37448295
Bug: 36777039
Bug: 37511473
Test: Dock app from recents, no stretching. Auto-pip app, doesn't get stuck in top-left. Yay!
Change-Id: I5c9a7384622de9cedcc4be4dec7caacf58c683eb

7 years agoFix the notification issue shown on startForeground
luozhanwei [Wed, 5 Apr 2017 05:30:53 +0000 (13:30 +0800)]
Fix the notification issue shown on startForeground

Install single APP in any user space except Owner user.
The APP will show a notification when call startForeground in Service Component with
Notification which without SmallIcon.
But when you click the notificaiton ,you can't go to the InstalledAppDetails Activity.

Bug:https://code.google.com/p/android/issues/detail?id=330486

Change-Id: I9545c37bf1a36515813cbf1124c82c1c0fc3ad21
Signed-off-by: luozhanwei <luozhanwei@xiaomi.com>
7 years agoFix BackupSettingsTest (update blacklists)
Michal Karpinski [Wed, 26 Apr 2017 18:25:25 +0000 (19:25 +0100)]
Fix BackupSettingsTest (update blacklists)

Adjust blacklists to add new Settings that are not backed up.
I don't personally think any of them are candidates for being backed up.

Remove AUTOFILL_SERVICE from blacklist since it's now being backed up.

Bug: 37684646
Test: mmma -j40 frameworks/base/core/tests/coretests, then
adb install -r ${ANDROID_PRODUCT_OUT}/data/app/FrameworksCoreTests/FrameworksCoreTests.apk, then
adb shell am instrument -w -e class android.provider.SettingsBackupTest com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner
Change-Id: Iab8879b28289094f210c7612cc6ad1be3ca9a81c

7 years agoProvide support for optimized ACTION_REQUEST_SET_AUTOFILL_SERVICE.
Felipe Leme [Tue, 25 Apr 2017 22:54:06 +0000 (15:54 -0700)]
Provide support for optimized ACTION_REQUEST_SET_AUTOFILL_SERVICE.

Also removed obsolete 'cmd autofill save'

Bug: 2153814
Test: manual verification

Change-Id: I082e6bb098e9be5d9e26d0941efcf6f28ab01e1d

7 years agoEnhance DeviceAdminService javadoc and remove TODO.
Makoto Onuki [Wed, 26 Apr 2017 18:42:14 +0000 (11:42 -0700)]
Enhance DeviceAdminService javadoc and remove TODO.

Test: Javadoc only
Bug: 37706621
Change-Id: Iac09675ca923adf40aef8f1871ddd0de797d4a08

7 years agoCheck only task's override config for adjusting bounds
Andrii Kulian [Wed, 26 Apr 2017 18:07:52 +0000 (11:07 -0700)]
Check only task's override config for adjusting bounds

We're only using task override when setting bounds, so no need
to update if merged override config is non-empty but task override
is empty.

Bug: 37648662
Test: Existing tests still pass
Change-Id: I73fd91983bf562dc888081b2a3d590b629aad255

7 years agoMerge "Provide a way to set AutofillId on ViewStructure." into oc-dev
Felipe Leme [Wed, 26 Apr 2017 18:50:39 +0000 (18:50 +0000)]
Merge "Provide a way to set AutofillId on ViewStructure." into oc-dev
am: 5f7979222d

Change-Id: I64c55257b3652f1435f7beba1640fc0081ce4229

7 years agoMerge changes from topic 'wifitracker' into oc-dev
Sundeep Ghuman [Wed, 26 Apr 2017 18:45:00 +0000 (18:45 +0000)]
Merge changes from topic 'wifitracker' into oc-dev
am: b57b3dfc3e

Change-Id: I98df76a59575e2814b39c0afa2e725c6b5622e17

7 years agoMerge "Provide a way to set AutofillId on ViewStructure." into oc-dev
Felipe Leme [Wed, 26 Apr 2017 18:38:12 +0000 (18:38 +0000)]
Merge "Provide a way to set AutofillId on ViewStructure." into oc-dev

7 years agoMerge changes from topic 'wifitracker' into oc-dev
Sundeep Ghuman [Wed, 26 Apr 2017 18:32:42 +0000 (18:32 +0000)]
Merge changes from topic 'wifitracker' into oc-dev

* changes:
  Use synchronization rather than locking in WifiTracker.
  Remove all pending callbacks in stopTracking.

7 years agoAvoid ClassCastException in ArrayMap.
Dan Sandler [Fri, 14 Apr 2017 00:21:12 +0000 (20:21 -0400)]
Avoid ClassCastException in ArrayMap.

Only happens if you're put()ing and clear()ing the map from
different threads, and Dianne told you not to do that.

In addition to avoiding the cache poisoning that results
from concurrent access, ArrayMap now attempts to throw
ConcurrentModificationException if clear() or
ensureCapacity() or put() notices you've modified the map
elsewhere.

Bug: 32994281
Test: runtest -x frameworks/base/core/tests/coretests/src/android/util/ArrayMapTest.java
      runtest -x cts/tests/tests/util/src/android/util/cts/ArrayMapTest.java
Change-Id: Ia75970aa9e2b2b65692179f51243584b9773797f