OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Add fine-grained debug layer"
John Reck [Tue, 26 Jan 2016 15:21:07 +0000 (15:21 +0000)]
Merge "Add fine-grained debug layer"

8 years agoMerge "Only show settings drawer on top level items"
Jason Monk [Tue, 26 Jan 2016 14:46:02 +0000 (14:46 +0000)]
Merge "Only show settings drawer on top level items"

8 years agoMerge "Add support for adding preference summary when disabled by admin."
Sudheer Shanka [Tue, 26 Jan 2016 14:42:04 +0000 (14:42 +0000)]
Merge "Add support for adding preference summary when disabled by admin."

8 years agoMerge "Check for null condition in case there is no DPM support."
Sudheer Shanka [Tue, 26 Jan 2016 14:29:29 +0000 (14:29 +0000)]
Merge "Check for null condition in case there is no DPM support."

8 years agoCheck for null condition in case there is no DPM support.
Sudheer Shanka [Tue, 26 Jan 2016 14:00:16 +0000 (14:00 +0000)]
Check for null condition in case there is no DPM support.

Change-Id: Ie7c70737d0c36ae9efd1920498d9f07b8a7016b1

8 years agoMerge "Fix incorrect @hide usage in libcore" am: 1f3aaf82cb
Przemyslaw Szczepaniak [Tue, 26 Jan 2016 10:52:08 +0000 (10:52 +0000)]
Merge "Fix incorrect @hide usage in libcore" am: 1f3aaf82cb
am: 04785955b5

* commit '04785955b5be7dc1ba164a0ae02c306b4fdd680d':
  Fix incorrect @hide usage in libcore

8 years agoMerge "Fix incorrect @hide usage in libcore"
Przemyslaw Szczepaniak [Tue, 26 Jan 2016 10:47:44 +0000 (10:47 +0000)]
Merge "Fix incorrect @hide usage in libcore"
am: 1f3aaf82cb

* commit '1f3aaf82cba11c55abc25b551e28344f04a1524a':
  Fix incorrect @hide usage in libcore

8 years agoMerge "Launch managed quick contacts without contact id"
Victor Chang [Tue, 26 Jan 2016 10:37:55 +0000 (10:37 +0000)]
Merge "Launch managed quick contacts without contact id"

8 years agoMerge "Fix incorrect @hide usage in libcore"
Przemyslaw Szczepaniak [Tue, 26 Jan 2016 10:37:47 +0000 (10:37 +0000)]
Merge "Fix incorrect @hide usage in libcore"

8 years agoFix incorrect @hide usage in libcore
Przemyslaw Szczepaniak [Fri, 22 Jan 2016 10:21:29 +0000 (10:21 +0000)]
Fix incorrect @hide usage in libcore

@hide annotation is only effective in Javadoc.

Bug: 26689841
Change-Id: I6e924b7452423b25d7258bb174e5b1601302c907
(cherry picked from commit a0dda9ca9d69fdeff620c7986375589e2a4d8c42)

8 years agoRevert "Update test-current.txt to fix build break."
Narayan Kamath [Tue, 26 Jan 2016 10:04:12 +0000 (10:04 +0000)]
Revert "Update test-current.txt to fix build break."

This reverts commit 7123cbd7374c37ffc88c2ffe1983b60e5f39a82c.

8 years agoMerge "Add explicit and persistent user provisioning state."
Alan Treadway [Tue, 26 Jan 2016 09:59:40 +0000 (09:59 +0000)]
Merge "Add explicit and persistent user provisioning state."

8 years agoMerge "Add SmallTest annotation to DevicePolicyManagerTest"
Benjamin Franz [Tue, 26 Jan 2016 09:52:56 +0000 (09:52 +0000)]
Merge "Add SmallTest annotation to DevicePolicyManagerTest"

8 years agoAdd SmallTest annotation to DevicePolicyManagerTest
Benjamin Franz [Mon, 25 Jan 2016 18:56:38 +0000 (18:56 +0000)]
Add SmallTest annotation to DevicePolicyManagerTest

Adding this annotation makes sure that the tests get picked up by
continuous integration tests.

Change-Id: Ia9166898803dd0037f6bb20cb6a12333ed347fd3

8 years agoMerge "Revert "Cellinfo: Update to version 12"" into mm-wireless-dev
Narayan Kamath [Tue, 26 Jan 2016 09:49:20 +0000 (09:49 +0000)]
Merge "Revert "Cellinfo: Update to version 12"" into mm-wireless-dev
am: c980eca638

* commit 'c980eca638e549be342f99ba2bd6f27ada184736':
  Revert "Cellinfo: Update to version 12"

8 years agoMerge "Revert "Cellinfo: Update to version 12"" into mm-wireless-dev
Narayan Kamath [Tue, 26 Jan 2016 09:46:14 +0000 (09:46 +0000)]
Merge "Revert "Cellinfo: Update to version 12"" into mm-wireless-dev

8 years agoRevert "Cellinfo: Update to version 12"
Narayan Kamath [Tue, 26 Jan 2016 09:44:54 +0000 (09:44 +0000)]
Revert "Cellinfo: Update to version 12"

This reverts commit aa2be45a560b37c5249600667ee36a9f156515c2.

Change-Id: I5cc76b15b311e47bc5a892704930d218c9f72b0d

8 years agoUnhide DocumentsContract.copyDocument and moveDocument.
Tomasz Mikolajewski [Tue, 26 Jan 2016 01:17:41 +0000 (10:17 +0900)]
Unhide DocumentsContract.copyDocument and moveDocument.

Change-Id: I304e4219ac679b9da88d785529f946dac058bbff

8 years agoMerge "Add support for multi-parents to DocumentsProvider::moveDocument."
Tomasz Mikolajewski [Tue, 26 Jan 2016 08:03:19 +0000 (08:03 +0000)]
Merge "Add support for multi-parents to DocumentsProvider::moveDocument."

8 years agoAdd support for multi-parents to DocumentsProvider::moveDocument.
Tomasz Mikolajewski [Mon, 25 Jan 2016 05:26:54 +0000 (14:26 +0900)]
Add support for multi-parents to DocumentsProvider::moveDocument.

Bug: 26481380
Change-Id: I96290268fd49072a334bde9c04c5313de8540f56

8 years agoMerge "Fix bugs that prevent from using AppFuse."
Daichi Hirono [Tue, 26 Jan 2016 07:51:49 +0000 (07:51 +0000)]
Merge "Fix bugs that prevent from using AppFuse."

8 years agoFix bugs that prevent from using AppFuse.
Daichi Hirono [Mon, 25 Jan 2016 05:26:14 +0000 (14:26 +0900)]
Fix bugs that prevent from using AppFuse.

 * Allow buffer size that is greater than requested read size in JNI,
   because we reuse fixed-size buffer among multiple requests.
 * Fix condition to check if the file size is greater than 4GB or
   not. We need to use 0xffffffffl instead of 0xffffffff because
   0xffffffff is int and its value is -1.

BUG=None
Change-Id: I155916e139353b15dc1ab535234faf50d942996d

8 years agoMerge "AAPT2: Add -x and -z flags to minimize changes in build scripts"
Adam Lesinski [Tue, 26 Jan 2016 06:51:42 +0000 (06:51 +0000)]
Merge "AAPT2: Add -x and -z flags to minimize changes in build scripts"

8 years agoAAPT2: Add -x and -z flags to minimize changes in build scripts
Adam Lesinski [Tue, 26 Jan 2016 06:48:15 +0000 (22:48 -0800)]
AAPT2: Add -x and -z flags to minimize changes in build scripts

The -z flag will be supported soon anyway and -x is legacy.

Change-Id: I710467d35066d267dea8dfe7c521737fc768ede9

8 years agoMerge "Remove retry logic from DocumentsUI."
Tomasz Mikolajewski [Tue, 26 Jan 2016 04:52:59 +0000 (04:52 +0000)]
Merge "Remove retry logic from DocumentsUI."

8 years agoMerge "Enabled content validation in file ops tests."
Tomasz Mikolajewski [Tue, 26 Jan 2016 04:51:31 +0000 (04:51 +0000)]
Merge "Enabled content validation in file ops tests."

8 years agoTIF: Make TvInputService.onCreateRecordingSession a non-abstract method
Jae Seo [Tue, 26 Jan 2016 04:28:06 +0000 (20:28 -0800)]
TIF: Make TvInputService.onCreateRecordingSession a non-abstract method

Change-Id: I1ecf5d2f66825fa9e87fd743d9d293d8bd395fce

8 years agoImplement ui-based provisioning for the new tether api.
Jeremy Klein [Mon, 25 Jan 2016 01:01:09 +0000 (17:01 -0800)]
Implement ui-based provisioning for the new tether api.

This is dependent on ag/850648 and the Settings changes under the
uiprovisioning topic id.

BUG: 26247383
Change-Id: Ib151d56a1ece5ca3a55219abed965286eac5dd60

8 years agoMerge "Expose a simple tethering API which includes provision checks."
Jeremy Klein [Tue, 26 Jan 2016 03:59:51 +0000 (03:59 +0000)]
Merge "Expose a simple tethering API which includes provision checks."

8 years agoRefine divider behavior
Jorim Jaggi [Sat, 23 Jan 2016 01:18:29 +0000 (17:18 -0800)]
Refine divider behavior

- Switch earlier to the dismissing/fullscreen layout, so
we minimize holes.
- For the bottom/right one, switch also earlier to the larger size to
minimize holes. We can't do this for the upper one because it will be
confusing there if the layout bounds doesn't equal the bounds while
snapping.

Change-Id: I8f065514f7aaa15ae76af648794ab8b23302e534

8 years agoAdd a null check before reference networkInfo. am: b8eaf45e1d am: dca8f10031 am:...
Wei Liu [Tue, 26 Jan 2016 03:16:28 +0000 (03:16 +0000)]
Add a null check before reference networkInfo. am: b8eaf45e1d am: dca8f10031 am: a12d383117
am: 21e0927b47

* commit '21e0927b474a686d5827e059476291370c0b306e':
  Add a null check before reference networkInfo.

8 years agoFix build and reorder methods to match ec6a447c86b03f5896fdb717de530c8abf8887f9
Ian Pedowitz [Tue, 26 Jan 2016 03:07:58 +0000 (19:07 -0800)]
Fix build and reorder methods to match ec6a447c86b03f5896fdb717de530c8abf8887f9

Change-Id: I39ee2864eda489bf0e485ea96d30e56b29500865

8 years agoAdd a null check before reference networkInfo. am: b8eaf45e1d am: dca8f10031
Wei Liu [Tue, 26 Jan 2016 03:06:09 +0000 (03:06 +0000)]
Add a null check before reference networkInfo. am: b8eaf45e1d am: dca8f10031
am: a12d383117

* commit 'a12d3831178616a171382f1546812c26245af2d0':
  Add a null check before reference networkInfo.

8 years agoEnabled content validation in file ops tests.
Steve McKay [Tue, 26 Jan 2016 00:31:35 +0000 (16:31 -0800)]
Enabled content validation in file ops tests.

Authority isn't set by default. Wrapped in RootCursorWrapper.

Bug: 26687509
Change-Id: Ie99dbd799914f03bf7beac540b64df67c1e637a6

8 years agoMerge "Fix build."
Filip Gruszczynski [Tue, 26 Jan 2016 02:30:51 +0000 (02:30 +0000)]
Merge "Fix build."

8 years agoFix build.
Filip Gruszczynski [Tue, 26 Jan 2016 02:25:28 +0000 (18:25 -0800)]
Fix build.

Change-Id: I68d6fade1b2a44a3542182914e0cd5853f4f0a81

8 years agoAdd a null check before reference networkInfo. am: b8eaf45e1d
Wei Liu [Tue, 26 Jan 2016 01:57:31 +0000 (01:57 +0000)]
Add a null check before reference networkInfo. am: b8eaf45e1d
am: dca8f10031

* commit 'dca8f10031f33c7c85577fa1abcc26d560c90388':
  Add a null check before reference networkInfo.

8 years agoAdd a null check before reference networkInfo.
Wei Liu [Tue, 26 Jan 2016 01:52:12 +0000 (01:52 +0000)]
Add a null check before reference networkInfo.
am: b8eaf45e1d

* commit 'b8eaf45e1df007fc4f5a11bb58491abaef39cd57':
  Add a null check before reference networkInfo.

8 years agoMerge "Add xhdpi resources for large mouse pointers"
Vladislav Kaznacheev [Tue, 26 Jan 2016 01:51:38 +0000 (01:51 +0000)]
Merge "Add xhdpi resources for large mouse pointers"

8 years agoMerge "Make scroll bar mouse draggable."
Keisuke Kuroyanagi [Tue, 26 Jan 2016 01:46:53 +0000 (01:46 +0000)]
Merge "Make scroll bar mouse draggable."

8 years agoAdd xhdpi resources for large mouse pointers
Vladislav Kaznacheev [Tue, 26 Jan 2016 01:41:59 +0000 (17:41 -0800)]
Add xhdpi resources for large mouse pointers

Bug: 25778857
Change-Id: I4009bb63afd6269f93b2e06982106d2011228210

8 years agoMerge "TIF: Recording API"
Jae Seo [Tue, 26 Jan 2016 01:39:05 +0000 (01:39 +0000)]
Merge "TIF: Recording API"

8 years agoMerge "Update test-current.txt to fix build break."
Stephen Hines [Tue, 26 Jan 2016 01:29:13 +0000 (01:29 +0000)]
Merge "Update test-current.txt to fix build break."

8 years agoMerge "[RenderScript] Add API to map Allocation mallocptr to Java ByteBuffer" am...
Miao Wang [Tue, 26 Jan 2016 01:27:30 +0000 (01:27 +0000)]
Merge "[RenderScript] Add API to map Allocation mallocptr to Java ByteBuffer" am: ed50f333fb
am: 5f210ae042

* commit '5f210ae04239f4a374763ea9ffe7176f5455017a':
  [RenderScript] Add API to map Allocation mallocptr to Java ByteBuffer

8 years agoMerge "TextView: start drag and drop when dragging selection by mouse."
Keisuke Kuroyanagi [Tue, 26 Jan 2016 01:26:06 +0000 (01:26 +0000)]
Merge "TextView: start drag and drop when dragging selection by mouse."

8 years agoMerge "TextView tests: drag and drop."
Keisuke Kuroyanagi [Tue, 26 Jan 2016 01:26:06 +0000 (01:26 +0000)]
Merge "TextView tests: drag and drop."

8 years agoUpdate test-current.txt to fix build break.
Stephen Hines [Tue, 26 Jan 2016 01:25:55 +0000 (17:25 -0800)]
Update test-current.txt to fix build break.

Change-Id: Ie61fae56ac22f1d028b0de3f8688f626eb2ddacc

8 years agoMerge "[RenderScript] Add API to map Allocation mallocptr to Java ByteBuffer"
Miao Wang [Tue, 26 Jan 2016 01:21:51 +0000 (01:21 +0000)]
Merge "[RenderScript] Add API to map Allocation mallocptr to Java ByteBuffer"
am: ed50f333fb

* commit 'ed50f333fb28905f085473d3150f906f0106295a':
  [RenderScript] Add API to map Allocation mallocptr to Java ByteBuffer

8 years agoMerge "[RenderScript] Add API to map Allocation mallocptr to Java ByteBuffer"
Miao Wang [Tue, 26 Jan 2016 01:11:41 +0000 (01:11 +0000)]
Merge "[RenderScript] Add API to map Allocation mallocptr to Java ByteBuffer"

8 years agoFixing typo in ApplicationInfo documentation.
Kweku Adams [Fri, 22 Jan 2016 20:30:26 +0000 (12:30 -0800)]
Fixing typo in ApplicationInfo documentation.

Change-Id: I6d1d2e5d8bdfefa5ac28e3be46cca78b3a4b09e7

8 years agoExpose a simple tethering API which includes provision checks.
Jeremy Klein [Fri, 22 Jan 2016 22:11:45 +0000 (14:11 -0800)]
Expose a simple tethering API which includes provision checks.

This CL exposes startTethering and stopTethering functions which also
encapsulate all provisioning check logic. Right now, only silent checks
are implemented, but UI checks will come in a follow-up CL. GTS tests
and Settings changes are under the same topic ID.

BUG: 26247383
Change-Id: I65f61d899594cb3f9035d8496366af17a57a090f

8 years agoTIF: Recording API
Jae Seo [Mon, 18 Jan 2016 21:03:35 +0000 (13:03 -0800)]
TIF: Recording API

Bug: 23786643
Change-Id: Ie26e8944312048bc865b4506aa49fced15360fe4

8 years agoMerge changes I53b9dab1,If8a33073
Winson Chung [Tue, 26 Jan 2016 00:16:06 +0000 (00:16 +0000)]
Merge changes I53b9dab1,If8a33073

* changes:
  Make mock tasks work again.
  Fixing layout issue causing overlay to sometimes not appear.

8 years agoAdd fine-grained debug layer
John Reck [Sat, 23 Jan 2016 00:28:07 +0000 (16:28 -0800)]
Add fine-grained debug layer

Full GLES error checking layer via -include
trickery. Change DEBUG_OPENGL to a level system.

HIGH = every GL call is error checked
MODERATE = checkpointing at interesting spots
LOW = only asserts there are no errors at the end of a frame
 or when the FBO changes
NONE = AIN'T GOT NO TIME FOR ERRORS GOTTA GO FAST!

Change-Id: Ibe81aae93d942059c4ddf1cbb11c828b7ce4c10b

8 years ago[RenderScript] Add API to map Allocation mallocptr to Java ByteBuffer
Miao Wang [Wed, 25 Nov 2015 19:21:13 +0000 (11:21 -0800)]
[RenderScript] Add API to map Allocation mallocptr to Java ByteBuffer

Bug: 25926361
Bug: 23535524

  - Construct the ByteBuffer using the AllocationGetPointer.
  - Add an API to query the stride of the allocation.
  - Both ByteBuffer and Stride will be cached for normal Allocations.
    if using USAGE_IO, since after each ioReceive, the mallocPtr will
    change, getByteBuffer will always create a new one using the most
    up-to-date mallocPtr.

Change-Id: I5e84b6690e83bb062c383043275524d0e51e46eb

8 years agoMerge "Cellinfo: Update to version 12" into mm-wireless-dev
Sanket Padawe [Mon, 25 Jan 2016 23:58:15 +0000 (23:58 +0000)]
Merge "Cellinfo: Update to version 12" into mm-wireless-dev
am: 480bd2b97a

* commit '480bd2b97a46628f36fee606a2b63248aa75dd8a':
  Cellinfo: Update to version 12

8 years agoMerge "Cellinfo: Update to version 12" into mm-wireless-dev
Sanket Padawe [Mon, 25 Jan 2016 23:54:37 +0000 (23:54 +0000)]
Merge "Cellinfo: Update to version 12" into mm-wireless-dev

8 years agoMerge "Adding a sensor for device pose with six degrees of freedom"
Ashutosh Joshi [Mon, 25 Jan 2016 23:46:07 +0000 (23:46 +0000)]
Merge "Adding a sensor for device pose with six degrees of freedom"

8 years agoMerge "Unhide Script::reduce() interface for general reduction."
David Gross [Mon, 25 Jan 2016 23:45:14 +0000 (23:45 +0000)]
Merge "Unhide Script::reduce() interface for general reduction."

8 years agoSend notification we attempted to start an already running pinned acitvity
Wale Ogunwale [Sat, 23 Jan 2016 22:31:37 +0000 (14:31 -0800)]
Send notification we attempted to start an already running pinned acitvity

API will be used by Android TV sys-ui to decide what to do next with the
Pinned activity.

Bug: 26452296
Change-Id: I5411515d079468616422ba9e5093164a924cd6a2

8 years agoMerge "Move AccessPointPreference to SettingsLib"
Tony Mantler [Mon, 25 Jan 2016 23:06:42 +0000 (23:06 +0000)]
Merge "Move AccessPointPreference to SettingsLib"

8 years agoAdding a sensor for device pose with six degrees of freedom
Ashutosh Joshi [Fri, 15 Jan 2016 06:23:58 +0000 (22:23 -0800)]
Adding a sensor for device pose with six degrees of freedom

Adding a sensor type that returns the device pose as a -
    . quaternion representing rotation from a vector due north
      and zero pitch and roll &&
    . a translation from an initial position

Change-Id: I8764b8c0b9a2518632f75c7a19c203836dd04b1a

8 years agoMerge "Fix requestRectangleOnScreen"
Yigit Boyar [Mon, 25 Jan 2016 23:00:42 +0000 (23:00 +0000)]
Merge "Fix requestRectangleOnScreen"

8 years agoAdd support for adding preference summary when disabled by admin.
Sudheer Shanka [Mon, 25 Jan 2016 22:40:10 +0000 (22:40 +0000)]
Add support for adding preference summary when disabled by admin.

Change-Id: I455c3180266734fa4ba6b5bf7cb5fc2f34177759

8 years agoMerge "Add data saver tile"
Jason Monk [Mon, 25 Jan 2016 22:36:32 +0000 (22:36 +0000)]
Merge "Add data saver tile"

8 years agoMerge "Fix broken checkbuild"
Adrian Roos [Mon, 25 Jan 2016 22:20:54 +0000 (22:20 +0000)]
Merge "Fix broken checkbuild"

8 years agoMerge "Added 44567* to fee-free US short codes and removed old Wallet Number 46654."
Johannes Mauerer [Mon, 25 Jan 2016 22:18:41 +0000 (22:18 +0000)]
Merge "Added 44567* to fee-free US short codes and removed old Wallet Number 46654."

8 years agoAdd data saver tile
Jason Monk [Thu, 21 Jan 2016 20:27:17 +0000 (15:27 -0500)]
Add data saver tile

Bug: 22817899
Change-Id: I900f19cca54daabd45fe358ae4117d4f3e9ab824

8 years agoAdded 44567* to fee-free US short codes and removed old Wallet Number 46654.
Johannes Mauerer [Fri, 22 Jan 2016 02:05:02 +0000 (18:05 -0800)]
Added 44567* to fee-free US short codes and removed old Wallet Number 46654.

This change excludes the Google Wallet dedicated short code (being used
    by the Google Wallet team to send notifications to users) from
premium phone numbers. Users may answer the text message free of charge
(e.g. answering HELP). Google internal reference b/25675421.

Bug: 25675421
Change-Id: Ie2331d8e4890d9ea4348829b52cb69e39343d937

8 years agoCellinfo: Update to version 12
Sanket Padawe [Mon, 25 Jan 2016 22:14:30 +0000 (14:14 -0800)]
Cellinfo: Update to version 12

Add support for:
GSM: arfcn, bsic, ta
WCDMA: uarfcn
LTE: earfcn
Updated public APIs for getting above fields.

Bug: 23528586

Change-Id: I538a9f392550716d8a9a90e01fc88bc082ef7b81

8 years agoMerge "Restore correct mouse pointer after drag and drop"
Vladislav Kaznacheev [Mon, 25 Jan 2016 22:09:38 +0000 (22:09 +0000)]
Merge "Restore correct mouse pointer after drag and drop"

8 years agoFix broken checkbuild
Adrian Roos [Mon, 25 Jan 2016 22:09:01 +0000 (14:09 -0800)]
Fix broken checkbuild

8 years agoMerge "Make API createAndManageUser public"
Philipp Weiß [Mon, 25 Jan 2016 21:39:27 +0000 (21:39 +0000)]
Merge "Make API createAndManageUser public"

8 years agoMake API createAndManageUser public
phweiss [Mon, 25 Jan 2016 16:14:10 +0000 (17:14 +0100)]
Make API createAndManageUser public

Remove @hide, and add parameter for specifying profile owner. The PO
has to live in the same package as the device owner.

Bug: 25288732
Bug: 25860170
Change-Id: I40e8984a71ee9d1ff74e57d4e79e298deef9bc35

8 years agoLaunch managed quick contacts without contact id
Victor Chang [Thu, 21 Jan 2016 22:24:11 +0000 (22:24 +0000)]
Launch managed quick contacts without contact id

set contact id to enterprise base contact id if it's enterprise uri

BUG=26176780

Change-Id: Ie1160bef22d44c90eb4015783fafdafd160bcdd8

8 years agoMerge "Fixed RestrictBackgroundStatus signature by adding @hide."
Felipe Leme [Mon, 25 Jan 2016 21:06:49 +0000 (21:06 +0000)]
Merge "Fixed RestrictBackgroundStatus signature by adding @hide."

8 years agoMove FullscreenUserSwitcher into car/
Rakesh Iyer [Fri, 22 Jan 2016 23:33:39 +0000 (15:33 -0800)]
Move FullscreenUserSwitcher into car/

Move the full screen user switcher into the car/ directory
because it is only used there.

Bug: 26559008
Change-Id: I4f24b2029ed11be49a165be35e225e726677d37e

8 years agoMerge "SpannableStringBuilder.getSpans returns array with null values."
Siyamed Sinir [Mon, 25 Jan 2016 20:57:16 +0000 (20:57 +0000)]
Merge "SpannableStringBuilder.getSpans returns array with null values."

8 years agoMerge "Add and implement JobScheduler content observer APIs."
Dianne Hackborn [Mon, 25 Jan 2016 20:34:41 +0000 (20:34 +0000)]
Merge "Add and implement JobScheduler content observer APIs."

8 years agoUnhide Script::reduce() interface for general reduction.
David Gross [Fri, 22 Jan 2016 22:33:15 +0000 (14:33 -0800)]
Unhide Script::reduce() interface for general reduction.

Bug: 23535724

Change-Id: I7a43622954de9f4168f7e4376f39d6ec54191c03

8 years agoMerge "Re-add support for the app shelf"
Jason Monk [Mon, 25 Jan 2016 20:16:14 +0000 (20:16 +0000)]
Merge "Re-add support for the app shelf"

8 years agoRe-add support for the app shelf
Jason Monk [Sat, 23 Jan 2016 19:37:38 +0000 (14:37 -0500)]
Re-add support for the app shelf

Accidentally broken as a part of tuner customization of the nav bar.
Now supported for inflation.

Change-Id: Id097fb48d1d77aa37518246cca8c7a9494de2af2

8 years agoFixed RestrictBackgroundStatus signature by adding @hide.
Felipe Leme [Mon, 25 Jan 2016 19:48:04 +0000 (11:48 -0800)]
Fixed RestrictBackgroundStatus signature by adding @hide.

BUG: 26082535
Change-Id: I2e4b63327a8f791db01ee0c1ab090557170857fa

8 years agoSpannableStringBuilder.getSpans returns array with null values.
Siyamed Sinir [Mon, 25 Jan 2016 18:55:59 +0000 (10:55 -0800)]
SpannableStringBuilder.getSpans returns array with null values.

This CL fixes the case where SpannableStringBuilder.getSpans call
forgot to check the case where sort is false, and the span priority
is not set.

Bug: 26761571

Change-Id: I3a548b9c01768e6977a0ff15d6ecb8ca9ec3c075

8 years agoUpdates for gscan HAL updates in N
Mitchell Wills [Mon, 25 Jan 2016 19:12:55 +0000 (19:12 +0000)]
Updates for gscan HAL updates in N
am: c90855d7a9

* commit 'c90855d7a9f3ebd300de4dad9842cd6771ff27d1':
  Updates for gscan HAL updates in N

8 years agoMerge "Removed handling of layoutDirection configuration change"
Wale Ogunwale [Mon, 25 Jan 2016 19:04:20 +0000 (19:04 +0000)]
Merge "Removed handling of layoutDirection configuration change"

8 years agoRemoved handling of layoutDirection configuration change
Wale Ogunwale [Mon, 25 Jan 2016 18:49:13 +0000 (10:49 -0800)]
Removed handling of layoutDirection configuration change

We thought this was required for resizing, but it isn't.

Bug: 26742139
Change-Id: I2b25ac8b188f8cafaf9d7472f79ca947cfe824c0

8 years agoMerge "Validate Region.orSelf arguments"
John Reck [Mon, 25 Jan 2016 18:45:15 +0000 (18:45 +0000)]
Merge "Validate Region.orSelf arguments"

8 years agoMake mock tasks work again.
Winson [Mon, 25 Jan 2016 18:41:40 +0000 (10:41 -0800)]
Make mock tasks work again.

- Rename it so that it’s a bit more clear that they are mock tasks.

Change-Id: I53b9dab1789a208e74538cd8c3ee4ec58cfa364f

8 years agoMerge "AccountManager: add finishSessionAsUser api."
Sandra Kwan [Mon, 25 Jan 2016 18:40:51 +0000 (18:40 +0000)]
Merge "AccountManager: add finishSessionAsUser api."

8 years agoFix requestRectangleOnScreen
Yigit Boyar [Wed, 20 Jan 2016 02:56:20 +0000 (18:56 -0800)]
Fix requestRectangleOnScreen

This CL fixes a bug in View#requestRectangleOnScreen where the
position was not being moved from child's coordinate space to
the parent's coordinate space properly.

I've also added more documentation to clarify the API.

Bug: 25787435
Change-Id: Id821fa178e04016f6fb830d0bd2abde046581465

8 years agoValidate Region.orSelf arguments
John Reck [Mon, 25 Jan 2016 18:21:54 +0000 (10:21 -0800)]
Validate Region.orSelf arguments

Bug: 26611248

libui.so has int overflow sanitization enable, so
validate that we have "reasonable" looking floats
before trying to orSelf the Region.

Change-Id: I135ef7be82e7abaa9aa569224c2799612847cd03

8 years agoMerge "Fix crash on bug report"
Jason Monk [Mon, 25 Jan 2016 18:35:09 +0000 (18:35 +0000)]
Merge "Fix crash on bug report"

8 years agoAdd a null check before reference networkInfo.
Wei Liu [Mon, 25 Jan 2016 18:32:27 +0000 (10:32 -0800)]
Add a null check before reference networkInfo.

b/26758858

Change-Id: If335ece223114dbfb6b08391f18a09467f377cf1

8 years agoMerge "Don't keep visible windows in pinned stack on screen when app dies"
Wale Ogunwale [Mon, 25 Jan 2016 18:24:58 +0000 (18:24 +0000)]
Merge "Don't keep visible windows in pinned stack on screen when app dies"

8 years agoMerge "Remove path to the apk from the permittedPath" am: 5194d217b8
Dimitry Ivanov [Mon, 25 Jan 2016 18:21:52 +0000 (18:21 +0000)]
Merge "Remove path to the apk from the permittedPath" am: 5194d217b8
am: e057ed6b6b

* commit 'e057ed6b6bd9d71d034f4cdf5a1edc05f8b63a40':
  Remove path to the apk from the permittedPath

8 years agoDon't keep visible windows in pinned stack on screen when app dies
Wale Ogunwale [Sun, 24 Jan 2016 01:41:28 +0000 (17:41 -0800)]
Don't keep visible windows in pinned stack on screen when app dies

We previously introduced logic that keeps an apps visible windows on
screen when the app dies. This was to help with the situation where
freeform apps might be killed by the low memory killer and we want
to preserve the space on screen and relaunch the app when the user
interacts with the window again.
However, this doesn't work for windows in the pinned stack since
they an normally not focusable/interactable.
We no longer do this for windows in the pinned stack.

Bug: 24913379
Bug: 26609941
Change-Id: Ie2e7f7d7c7a8c0ef6c1662517f558c385201c433

8 years agoMerge "Add getApplicationConfigForPackage" am: 7519dce8c2
Chad Brubaker [Mon, 25 Jan 2016 18:18:39 +0000 (18:18 +0000)]
Merge "Add getApplicationConfigForPackage" am: 7519dce8c2
am: 8500093a35

* commit '8500093a351c40fdd2077fcd724396f72b51d3ba':
  Add getApplicationConfigForPackage

8 years agoMerge "Remove path to the apk from the permittedPath"
Dimitry Ivanov [Mon, 25 Jan 2016 18:16:44 +0000 (18:16 +0000)]
Merge "Remove path to the apk from the permittedPath"
am: 5194d217b8

* commit '5194d217b81f7375f4d60c35b604bac8bffc51e7':
  Remove path to the apk from the permittedPath

8 years agoMerge "Add getApplicationConfigForPackage"
Chad Brubaker [Mon, 25 Jan 2016 18:14:39 +0000 (18:14 +0000)]
Merge "Add getApplicationConfigForPackage"
am: 7519dce8c2

* commit '7519dce8c2742b8abcc884a930552c8372b777fd':
  Add getApplicationConfigForPackage