230922 Commits

Author SHA1 Message Date
Jae Seo
a826d0172a TIF: Recording API
Bug: 23786643
Change-Id: Ie26e8944312048bc865b4506aa49fced15360fe4
2016-01-25 16:30:51 -08:00
Winson Chung
2e0eef3e89 Merge changes I53b9dab1,If8a33073
* changes:
  Make mock tasks work again.
  Fixing layout issue causing overlay to sometimes not appear.
2016-01-26 00:16:06 +00:00
John Reck
975591a7af 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
2016-01-25 16:15:14 -08:00
Miao Wang
0facf021ea [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
2016-01-25 16:12:37 -08:00
Siyamed Sinir
135554e628 AbsListView invalidates data when it isn’t changed
When setItemChecked is called for AbsListView, it does not check if the
value has changed or not. Then it invalidates the data by setting
mDataChanged to true and also requests a layout. This CL changes the
behavior and does not invalidate data or make a layout request when
the old and the new values are same.

Bug: 25793105
Change-Id: Id0e1f9d3ef348549a2aa88cf5ec9fe7a4b870f44
2016-01-25 16:01:18 -08:00
Sanket Padawe
3ea9b72a8e Merge "Cellinfo: Update to version 12" into mm-wireless-dev
am: 480bd2b97a

* commit '480bd2b97a46628f36fee606a2b63248aa75dd8a':
  Cellinfo: Update to version 12
2016-01-25 23:58:15 +00:00
Jorim Jaggi
11cc01df27 Add animation when docking top task with long press
Change-Id: I7af4149f2c517e8d6ace22f1e49e319d2461503e
2016-01-25 15:54:38 -08:00
Sanket Padawe
480bd2b97a Merge "Cellinfo: Update to version 12" into mm-wireless-dev 2016-01-25 23:54:37 +00:00
Youngsang Cho
6a00b709f9 Handle TaskStackListener.onPinnedActivityRestartAttempt in PIP system UI
Bug: 26452296
Change-Id: Ic828462dce0b6f88c9b00fac36ade5492cec94fb
2016-01-25 15:51:49 -08:00
Ashutosh Joshi
deee720a52 Merge "Adding a sensor for device pose with six degrees of freedom" 2016-01-25 23:46:07 +00:00
David Gross
407a385b7b Merge "Unhide Script::reduce() interface for general reduction." 2016-01-25 23:45:14 +00:00
Wale Ogunwale
cc25a8a24e 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
2016-01-25 15:14:26 -08:00
Tony Mantler
af6a01fb6f Merge "Move AccessPointPreference to SettingsLib" 2016-01-25 23:06:42 +00:00
Ashutosh Joshi
17efe02a05 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
2016-01-25 23:02:38 +00:00
Yigit Boyar
c3bc45ec04 Merge "Fix requestRectangleOnScreen" 2016-01-25 23:00:42 +00:00
Sudheer Shanka
1450173034 Add support for adding preference summary when disabled by admin.
Change-Id: I455c3180266734fa4ba6b5bf7cb5fc2f34177759
2016-01-25 22:40:10 +00:00
Jason Monk
ed090d1729 Merge "Add data saver tile" 2016-01-25 22:36:32 +00:00
Adrian Roos
fd7b946951 Merge "Fix broken checkbuild" 2016-01-25 22:20:54 +00:00
Johannes Mauerer
9008eef74f Merge "Added 44567* to fee-free US short codes and removed old Wallet Number 46654." 2016-01-25 22:18:41 +00:00
Jason Monk
9a4ce137eb Add data saver tile
Bug: 22817899
Change-Id: I900f19cca54daabd45fe358ae4117d4f3e9ab824
2016-01-25 17:16:22 -05:00
Johannes Mauerer
c1f9c3725d 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
2016-01-25 14:15:27 -08:00
Sanket Padawe
aa2be45a56 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
2016-01-25 14:14:30 -08:00
Vladislav Kaznacheev
92b26c5bff Merge "Restore correct mouse pointer after drag and drop" 2016-01-25 22:09:38 +00:00
Adrian Roos
c8d807aa19 Fix broken checkbuild 2016-01-25 14:09:01 -08:00
Philipp Weiß
28950ae525 Merge "Make API createAndManageUser public" 2016-01-25 21:39:27 +00:00
phweiss
a92e1216ca 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
2016-01-25 22:33:52 +01:00
Victor Chang
97bdacc6d1 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
2016-01-25 21:32:44 +00:00
Felipe Leme
2216d824f6 Merge "Fixed RestrictBackgroundStatus signature by adding @hide." 2016-01-25 21:06:49 +00:00
Rakesh Iyer
2790a37e0f 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
2016-01-25 13:00:20 -08:00
Siyamed Sinir
6feab9fb59 Merge "SpannableStringBuilder.getSpans returns array with null values." 2016-01-25 20:57:16 +00:00
Florin Malita
eecff56fed Add internal Canvas save flags
Skia's SkCanvas::SaveFlags are being deprecated.  This CL introduces
the equivalent android::SaveFlags, converts all internal clients to
the new enum, and switches the saveLayer glue to the
SaveLayerRec-based API.

Change-Id: Icb1785f4e7c0f652b1f04b34a1e3ccb063c408f3
2016-01-25 15:48:00 -05:00
Dianne Hackborn
bfb94e21d3 Merge "Add and implement JobScheduler content observer APIs." 2016-01-25 20:34:41 +00:00
David Gross
ba038689b1 Unhide Script::reduce() interface for general reduction.
Bug: 23535724

Change-Id: I7a43622954de9f4168f7e4376f39d6ec54191c03
2016-01-25 12:17:29 -08:00
Jason Monk
d7ecd381e4 Merge "Re-add support for the app shelf" 2016-01-25 20:16:14 +00:00
Jason Monk
4f878ef5cc 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
2016-01-25 15:15:24 -05:00
Felipe Leme
ecfcceaecb Fixed RestrictBackgroundStatus signature by adding @hide.
BUG: 26082535
Change-Id: I2e4b63327a8f791db01ee0c1ab090557170857fa
2016-01-25 12:09:03 -08:00
Siyamed Sinir
3a789f657b 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
2016-01-25 11:32:37 -08:00
Mitchell Wills
12eef9f18a Updates for gscan HAL updates in N
am: c90855d7a9

* commit 'c90855d7a9f3ebd300de4dad9842cd6771ff27d1':
  Updates for gscan HAL updates in N
2016-01-25 19:12:55 +00:00
Wale Ogunwale
5a5877d52e Merge "Removed handling of layoutDirection configuration change" 2016-01-25 19:04:20 +00:00
Wale Ogunwale
133f299c16 Removed handling of layoutDirection configuration change
We thought this was required for resizing, but it isn't.

Bug: 26742139
Change-Id: I2b25ac8b188f8cafaf9d7472f79ca947cfe824c0
2016-01-25 10:49:13 -08:00
John Reck
83b09fb919 Merge "Validate Region.orSelf arguments" 2016-01-25 18:45:15 +00:00
Winson
6e6bd8776f Make mock tasks work again.
- Rename it so that it’s a bit more clear that they are mock tasks.

Change-Id: I53b9dab1789a208e74538cd8c3ee4ec58cfa364f
2016-01-25 10:41:40 -08:00
Sandra Kwan
1ebdb21753 Merge "AccountManager: add finishSessionAsUser api." 2016-01-25 18:40:51 +00:00
Yigit Boyar
d62d5e9acc 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
2016-01-25 10:39:29 -08:00
John Reck
25f0dc440d 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
2016-01-25 10:37:52 -08:00
Jason Monk
76c70c8f5c Merge "Fix crash on bug report" 2016-01-25 18:35:09 +00:00
Wei Liu
b8eaf45e1d Add a null check before reference networkInfo.
b/26758858

Change-Id: If335ece223114dbfb6b08391f18a09467f377cf1
2016-01-25 10:34:27 -08:00
Wale Ogunwale
2ced3d531c Merge "Don't keep visible windows in pinned stack on screen when app dies" 2016-01-25 18:24:58 +00:00
Dimitry Ivanov
844ccc5ad9 Merge "Remove path to the apk from the permittedPath" am: 5194d217b8
am: e057ed6b6b

* commit 'e057ed6b6bd9d71d034f4cdf5a1edc05f8b63a40':
  Remove path to the apk from the permittedPath
2016-01-25 18:21:52 +00:00
Wale Ogunwale
3fd20fe8d8 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
2016-01-25 18:20:40 +00:00