OSDN Git Service

android-x86/frameworks-base.git
9 years agoRename *AppIdle to *AppInactive per api-council
Amith Yamasani [Fri, 8 May 2015 20:20:22 +0000 (13:20 -0700)]
Rename *AppIdle to *AppInactive per api-council

Change to setAppInactive and isAppInactive in a few places.

Bug: 20823737
Change-Id: Ie57dbc0dd2842e771bb5fd9f69b8041aacaa005c

9 years agoMerge "Fix setName use-after-free" into mnc-dev
John Reck [Mon, 4 May 2015 17:35:32 +0000 (17:35 +0000)]
Merge "Fix setName use-after-free" into mnc-dev

9 years agoFix setName use-after-free
John Reck [Mon, 4 May 2015 16:44:28 +0000 (09:44 -0700)]
Fix setName use-after-free

Bug: 20764439
Change-Id: I7a0f85bb82629b1302db02015fa493dc09eb31f7

9 years agoMerge "Move ContentInfoExtender from Notification.java to a support library" into...
Jose Lima [Mon, 4 May 2015 16:29:27 +0000 (16:29 +0000)]
Merge "Move ContentInfoExtender from Notification.java to a support library" into mnc-dev

9 years agoMerge "Ensure sort menu is shown as needed." into mnc-dev
Steve McKay [Mon, 4 May 2015 16:22:42 +0000 (16:22 +0000)]
Merge "Ensure sort menu is shown as needed." into mnc-dev

9 years agoEnsure sort menu is shown as needed.
Steve McKay [Thu, 30 Apr 2015 23:12:59 +0000 (16:12 -0700)]
Ensure sort menu is shown as needed.

This also hoists common code for options menu setup into BaseActivity.

Change-Id: Ie87b8188a6c142b2312c92dc0d0bd550f0b1e59f

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Mon, 4 May 2015 14:44:11 +0000 (14:44 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 4 May 2015 14:43:39 +0000 (07:43 -0700)]
Import translations. DO NOT MERGE

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

9 years agoMerge "SystemUI Carrier Network Change unit tests" into mnc-dev
Andrew Flynn [Mon, 4 May 2015 14:43:19 +0000 (14:43 +0000)]
Merge "SystemUI Carrier Network Change unit tests" into mnc-dev

9 years agoMerge "Remove Bitmap#getSkBitmap" into mnc-dev
John Reck [Mon, 4 May 2015 14:34:41 +0000 (14:34 +0000)]
Merge "Remove Bitmap#getSkBitmap" into mnc-dev

9 years agoMerge "Move AssetAtlas off of SkBitmap*" into mnc-dev
John Reck [Mon, 4 May 2015 14:34:38 +0000 (14:34 +0000)]
Merge "Move AssetAtlas off of SkBitmap*" into mnc-dev

9 years agoSystemUI Carrier Network Change unit tests
Andrew Flynn [Fri, 1 May 2015 15:50:07 +0000 (11:50 -0400)]
SystemUI Carrier Network Change unit tests

- Includes unit tests for verifying mobile data indicators.
- Found one bug where dark mode icon wasn't showing properly when
  different from light mode icon.
- Comment out failing test
  NetworkControllerSignalTest#testSetCurrentSubscriptions

Bug: 20288155
Change-Id: Ib3c9ba224c4187cab35d6bfa68f6bd4c489cf98e

9 years agoMerge "Add permission annotations on the AccountManager" into mnc-dev
Tor Norbye [Mon, 4 May 2015 14:19:18 +0000 (14:19 +0000)]
Merge "Add permission annotations on the AccountManager" into mnc-dev

9 years agoAdd permission annotations on the AccountManager
Tor Norbye [Thu, 23 Apr 2015 23:36:09 +0000 (16:36 -0700)]
Add permission annotations on the AccountManager

Also add some @NonNull and @Nullable annotations.

Change-Id: Ia42b1af21ed14691b2268ea8b0f55d1b8b5ea2a3

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 4 May 2015 12:11:09 +0000 (07:11 -0500)]
Import translations. DO NOT MERGE

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

9 years agoMerge "Add a status bar icon for Ethernet." into mnc-dev
Lorenzo Colitti [Mon, 4 May 2015 01:01:47 +0000 (01:01 +0000)]
Merge "Add a status bar icon for Ethernet." into mnc-dev

9 years agoAdd full backup criteria to android manifest
Matthew Williams [Sat, 18 Apr 2015 01:22:51 +0000 (18:22 -0700)]
Add full backup criteria to android manifest

BUG: 20010079
Api change: ApplicationInfo now has a fullBackupContent int
where -1 is (off) 0 is (on) and >0 indicates an xml
resource that should be parsed in order for a developer
to indicate exactly which files they want to include/exclude
from the backup set.
dd: https://docs.google.com/document/d/1dnNctwhWOI-_qtZ7I3iNRtrbShmERj2GFTzwV4xXtOk/edit#heading=h.wcfw1q2pbmae

Change-Id: I90273dc0aef5e9a3230c6b074a45e8f5409ed5ce

9 years agoMerge "Add read cell broadcast app op - framework" into mnc-dev
Svet Ganov [Sun, 3 May 2015 00:44:13 +0000 (00:44 +0000)]
Merge "Add read cell broadcast app op - framework" into mnc-dev

9 years agoAdd read cell broadcast app op - framework
Svet Ganov [Sun, 3 May 2015 00:42:44 +0000 (17:42 -0700)]
Add read cell broadcast app op - framework

Change-Id: Icecc9d918db55493ada7a0faa6bfcc41d4114bbd

9 years agoMerge "Add camera app op - framework" into mnc-dev
Svetoslav [Sun, 3 May 2015 00:41:49 +0000 (00:41 +0000)]
Merge "Add camera app op - framework" into mnc-dev

9 years agoAdd camera app op - framework
Svetoslav [Fri, 1 May 2015 23:52:41 +0000 (16:52 -0700)]
Add camera app op - framework

Change-Id: I17736a8abe2c6775e990b88fb3eab963f47167d0

9 years agoMerge "BluetoothMidiService: Add support for sending SysEx messages that span multipl...
Mike Lockwood [Sat, 2 May 2015 16:09:45 +0000 (16:09 +0000)]
Merge "BluetoothMidiService: Add support for sending SysEx messages that span multiple Bluetooth packets" into mnc-dev

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Sat, 2 May 2015 06:29:54 +0000 (06:29 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Sat, 2 May 2015 06:27:24 +0000 (23:27 -0700)]
Import translations. DO NOT MERGE

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

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Sat, 2 May 2015 04:23:06 +0000 (04:23 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Sat, 2 May 2015 04:16:15 +0000 (23:16 -0500)]
Import translations. DO NOT MERGE

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

9 years agoMerge "media: hook up MediaCodec.setSurface" into mnc-dev
Lajos Molnar [Sat, 2 May 2015 02:23:06 +0000 (02:23 +0000)]
Merge "media: hook up MediaCodec.setSurface" into mnc-dev

9 years agoMerge "MediaRecorderTest: test recording from persistent surface" into mnc-dev
Chong Zhang [Sat, 2 May 2015 02:20:46 +0000 (02:20 +0000)]
Merge "MediaRecorderTest: test recording from persistent surface" into mnc-dev

9 years agoMediaRecorder: implement persistent input surface APIs
Chong Zhang [Fri, 1 May 2015 19:50:30 +0000 (12:50 -0700)]
MediaRecorder: implement persistent input surface APIs

Bug: 19127604
Bug: 19489395

Change-Id: Ic8e151b97ea6b85fc65f724d3e68e1cb6b500866

9 years agoMerge "MediaCodec: implement persistent input surface APIs" into mnc-dev
Chong Zhang [Sat, 2 May 2015 02:14:36 +0000 (02:14 +0000)]
Merge "MediaCodec: implement persistent input surface APIs" into mnc-dev

9 years agoAdd a status bar icon for Ethernet.
Lorenzo Colitti [Mon, 27 Apr 2015 11:32:01 +0000 (20:32 +0900)]
Add a status bar icon for Ethernet.

Bug: 20613953
Change-Id: I52970b4f5fb6429876d1a2eb195a834c9e020021

9 years agoMediaRecorderTest: test recording from persistent surface
Chong Zhang [Fri, 1 May 2015 22:02:49 +0000 (15:02 -0700)]
MediaRecorderTest: test recording from persistent surface

Bug: 19127604
Bug: 19489395

Change-Id: I17984e0febaf0541a0ce650a07e0c485ffc41c08

9 years agoMove ContentInfoExtender from Notification.java to a support library
Jose Lima [Wed, 29 Apr 2015 21:32:29 +0000 (14:32 -0700)]
Move ContentInfoExtender from Notification.java to a support library

Bug: 20643107

Change-Id: Idabd8b0ceb4b3c63584296736e0a5015511659e7

9 years agoMediaCodec: implement persistent input surface APIs
Chong Zhang [Tue, 28 Apr 2015 20:38:48 +0000 (13:38 -0700)]
MediaCodec: implement persistent input surface APIs

Bug: 19127604
Bug: 19489395

Change-Id: If0d723c9ecd6fe81d9df210bd2fd026b8603ea4a

9 years agoam f626c679: am a7f07fc3: Merge "Add configuration to allow animations during low...
Bryce Lee [Sat, 2 May 2015 01:22:24 +0000 (01:22 +0000)]
am f626c679: am a7f07fc3: Merge "Add configuration to allow animations during low power mode." into lmp-mr1-modular-dev

* commit 'f626c679fdd7e44c6cf0eb2d2f6be786636a90bc':
  Add configuration to allow animations during low power mode.

9 years agoam 31e49327: am 4e3a9193: am 7e42a822: am a00cf127: am 3e70c6b4: Merge "docs: studio...
Rich Slogar [Sat, 2 May 2015 01:22:14 +0000 (01:22 +0000)]
am 31e49327: am 4e3a9193: am 7e42a822: am a00cf127: am 3e70c6b4: Merge "docs: studio 1.2 download link fix" into lmp-docs

* commit '31e493277ada5dc72e6b0bf501fa649307bf6814':

9 years agoam 906c4f27: am f7ef3edb: am 3e70c6b4: Merge "docs: studio 1.2 download link fix...
Rich Slogar [Sat, 2 May 2015 01:22:07 +0000 (01:22 +0000)]
am 906c4f27: am f7ef3edb: am 3e70c6b4: Merge "docs: studio 1.2 download link fix" into lmp-docs

* commit '906c4f2719f73263a2c004e110172f41f5fbd67a':
  docs: studio 1.2 download link fix

9 years agoMerge "Expose StaticLayout.Builder publicly" into mnc-dev
Raph Levien [Sat, 2 May 2015 00:42:13 +0000 (00:42 +0000)]
Merge "Expose StaticLayout.Builder publicly" into mnc-dev

9 years agoMerge "Make Paint a required field of StaticLayout Builder" into mnc-dev
Raph Levien [Sat, 2 May 2015 00:41:50 +0000 (00:41 +0000)]
Merge "Make Paint a required field of StaticLayout Builder" into mnc-dev

9 years agomedia: hook up MediaCodec.setSurface
Lajos Molnar [Fri, 1 May 2015 22:59:35 +0000 (15:59 -0700)]
media: hook up MediaCodec.setSurface

Bug: 11990461
Change-Id: Id2dc952594c21c6be68e4ffd039c7f74006a2374

9 years agoRemove unused methods/variables/fields from Editor.java.
Yohei Yukawa [Fri, 1 May 2015 23:18:25 +0000 (16:18 -0700)]
Remove unused methods/variables/fields from Editor.java.

This CL does nothing but remove unused code.

Change-Id: Ibe7c7aa1b9bdfd4117e27cb198082e307f4d68a4

9 years agoBluetoothMidiService: Add support for sending SysEx messages that span multiple Bluet...
Mike Lockwood [Fri, 1 May 2015 21:36:44 +0000 (14:36 -0700)]
BluetoothMidiService: Add support for sending SysEx messages that span multiple Bluetooth packets

Change-Id: Id56f7c82ec97b6a46258111bbfd46ab1dc14dfe9

9 years agoMerge "Add body sensors app op - framework base" into mnc-dev
Svet Ganov [Fri, 1 May 2015 23:09:51 +0000 (23:09 +0000)]
Merge "Add body sensors app op - framework base" into mnc-dev

9 years agoExpose StaticLayout.Builder publicly
Raph Levien [Thu, 30 Apr 2015 23:29:59 +0000 (16:29 -0700)]
Expose StaticLayout.Builder publicly

Expose the new Builder pattern for creating StaticLayout. This allows
access to a number of features that have been available to TextView
through a hidden constructor. Some of these features have existed
for a while (mostly maxLines), while others are new (breakStrategy,
indents).

The builder is cleaner and has a better upgrade path than the old
pattern of lots of constructors with varying numbers of arguments.

Bug: 20190561
Change-Id: Ia3cd124825ab0cb469d22d1fc576ad26454545b8

9 years agoRemove Bitmap#getSkBitmap
John Reck [Wed, 15 Apr 2015 22:52:10 +0000 (15:52 -0700)]
Remove Bitmap#getSkBitmap

Change-Id: Ifb9047b426122d3e5a445eb7a0eb3fce38dedf27

9 years agoMerge "Revert "Revert "Merge getDisplayList and updateDisplayListIfDirty""" into...
Chris Craik [Fri, 1 May 2015 21:36:05 +0000 (21:36 +0000)]
Merge "Revert "Revert "Merge getDisplayList and updateDisplayListIfDirty""" into mnc-dev

9 years agoMove AssetAtlas off of SkBitmap*
John Reck [Wed, 15 Apr 2015 20:24:47 +0000 (13:24 -0700)]
Move AssetAtlas off of SkBitmap*

Switched to SkPixelRef*

Change-Id: I4a1d9dc6c55c1ebcce6b0b8c585e69559e523898

9 years agoRevert "Revert "Merge getDisplayList and updateDisplayListIfDirty""
Chris Craik [Fri, 1 May 2015 21:22:47 +0000 (14:22 -0700)]
Revert "Revert "Merge getDisplayList and updateDisplayListIfDirty""

Fixes breakage from HwAccelerationTest

This reverts commit b2847afde24aac22c8fb804cdce0c24b8a7c40c4.

Change-Id: I762b3c9020fc1d06bac61ffa8b956049147515b1

9 years agoMerge "Remove obsolete code for App Links IntentFilterVerifier" into mnc-dev
Fabrice Di Meglio [Fri, 1 May 2015 21:25:25 +0000 (21:25 +0000)]
Merge "Remove obsolete code for App Links IntentFilterVerifier" into mnc-dev

9 years agoRemove obsolete code for App Links IntentFilterVerifier
Fabrice Di Meglio [Fri, 1 May 2015 21:21:41 +0000 (14:21 -0700)]
Remove obsolete code for App Links IntentFilterVerifier

- the intent filter verification is now done by the StatementService

See bug #20759587

Change-Id: Icee668819feffc282b3986873c9d13abbe03e92b

9 years agoMerge "Fix build." into mnc-dev
Chris Craik [Fri, 1 May 2015 21:01:13 +0000 (21:01 +0000)]
Merge "Fix build." into mnc-dev

9 years agoFix build.
Chris Craik [Fri, 1 May 2015 21:01:01 +0000 (21:01 +0000)]
Fix build.

Revert "Merge getDisplayList and updateDisplayListIfDirty"

This reverts commit f85d064b536d9b2028a83e21d98eac9b40b74e95.

Change-Id: I8b1566aba67c385d72759ea2aea16edcd8477813

9 years agoAdd body sensors app op - framework base
Svet Ganov [Thu, 30 Apr 2015 17:38:13 +0000 (10:38 -0700)]
Add body sensors app op - framework base

Change-Id: Idd5cd573fab3405e5b2a6e51d2d9d115650826e9

9 years agoMerge "Merge getDisplayList and updateDisplayListIfDirty" into mnc-dev
Chris Craik [Fri, 1 May 2015 20:36:03 +0000 (20:36 +0000)]
Merge "Merge getDisplayList and updateDisplayListIfDirty" into mnc-dev

9 years agoMerge "Update alpha documentation" into mnc-dev
Chris Craik [Fri, 1 May 2015 20:36:02 +0000 (20:36 +0000)]
Merge "Update alpha documentation" into mnc-dev

9 years agoMerge "Rename supportsAssistGesture to supportsAssist" into mnc-dev
Jorim Jaggi [Fri, 1 May 2015 20:34:21 +0000 (20:34 +0000)]
Merge "Rename supportsAssistGesture to supportsAssist" into mnc-dev

9 years agoRename supportsAssistGesture to supportsAssist
Jorim Jaggi [Thu, 30 Apr 2015 18:49:29 +0000 (11:49 -0700)]
Rename supportsAssistGesture to supportsAssist

Bug: 20642759
Change-Id: Idddc786980244cc94570d04fd414540bbad60448

9 years agoMerge "Look at map extensions before /dev/ + ashmem." into mnc-dev
Mathieu Chartier [Fri, 1 May 2015 18:52:19 +0000 (18:52 +0000)]
Merge "Look at map extensions before /dev/ + ashmem." into mnc-dev

9 years agoLook at map extensions before /dev/ + ashmem.
Mathieu Chartier [Fri, 1 May 2015 18:30:22 +0000 (11:30 -0700)]
Look at map extensions before /dev/ + ashmem.

Prevents stuff like:
dalvik-classes.dex appearing as GC overhead.

Bug: 20752953
Change-Id: Iab0935e882a5d938651ec2581845d8242aaf98af

9 years agoMerge changes from topic 'tron' into mnc-dev
Chris Wren [Fri, 1 May 2015 18:46:40 +0000 (18:46 +0000)]
Merge changes from topic 'tron' into mnc-dev

* changes:
  remove unused edge border dimension.
  log clear all button

9 years agoMerge "Correctly handle intercepted touch events in FastScroller" into mnc-dev
Alan Viverette [Fri, 1 May 2015 18:30:25 +0000 (18:30 +0000)]
Merge "Correctly handle intercepted touch events in FastScroller" into mnc-dev

9 years agocamera: Update Camera2 API for arbitration.
Ruben Brunk [Fri, 17 Apr 2015 21:23:40 +0000 (14:23 -0700)]
camera: Update Camera2 API for arbitration.

- Update documentation for new arbitration behavior.
- Ensure an appropriate error is thrown when calling
  open while an existing, higher-priority user holds
  the camera device.

Bug: 19186859
Change-Id: I486193c14b7fd5dc6ce30c1b7471669c009d64b3

9 years agoMerge "Add IntentFilter auto verification - part 7" into mnc-dev
Fabrice Di Meglio [Fri, 1 May 2015 18:27:29 +0000 (18:27 +0000)]
Merge "Add IntentFilter auto verification - part 7" into mnc-dev

9 years agoMerge "Add Properties to Call.Details." into mnc-dev
Andrew Lee [Fri, 1 May 2015 18:27:20 +0000 (18:27 +0000)]
Merge "Add Properties to Call.Details." into mnc-dev

9 years agoMerge "Suggestions popup must be dismissed before device rotation." into mnc-dev
Yohei Yukawa [Fri, 1 May 2015 18:27:04 +0000 (18:27 +0000)]
Merge "Suggestions popup must be dismissed before device rotation." into mnc-dev

9 years agoAdd IntentFilter auto verification - part 7
Fabrice Di Meglio [Thu, 30 Apr 2015 02:42:41 +0000 (19:42 -0700)]
Add IntentFilter auto verification - part 7

- update packages priming so that it effectively save its data
- use ArraySet instead of ArrayList for list of domains (a set
is preferable as we dont want duplicates)

See bug #19628909

Change-Id: I52085f4bc28dcbc7fbc02ba0898abcd4ae9cf1e2

9 years agoMerge "Exclude bound app widgets from idle app list" into mnc-dev
Amith Yamasani [Fri, 1 May 2015 18:21:39 +0000 (18:21 +0000)]
Merge "Exclude bound app widgets from idle app list" into mnc-dev

9 years agoExclude bound app widgets from idle app list
Amith Yamasani [Fri, 1 May 2015 00:32:25 +0000 (17:32 -0700)]
Exclude bound app widgets from idle app list

Track package names of bound app widgets and use the list when
querying for idle apps.

Bug: 20066058
Change-Id: If8039397a061ef04bb13aa38d57cd7f0221f5fc7

9 years agoMerge "Icon: a clean, parcelable place for images." into mnc-dev
Dan Sandler [Fri, 1 May 2015 17:57:13 +0000 (17:57 +0000)]
Merge "Icon: a clean, parcelable place for images." into mnc-dev

9 years agoMerge "Improve Accessibility behaviour in recents" into mnc-dev
Benjamin Franz [Fri, 1 May 2015 17:56:16 +0000 (17:56 +0000)]
Merge "Improve Accessibility behaviour in recents" into mnc-dev

9 years agoMerge "Make sure transform matrix is applied when hardware layer is re-created" into...
Doris Liu [Fri, 1 May 2015 17:54:43 +0000 (17:54 +0000)]
Merge "Make sure transform matrix is applied when hardware layer is re-created" into mnc-dev

9 years agoIcon: a clean, parcelable place for images.
Dan Sandler [Wed, 4 Mar 2015 18:08:49 +0000 (13:08 -0500)]
Icon: a clean, parcelable place for images.

Binder APIs which wish to consume Bitmaps *and* drawable
resources can now do so by using Icon, a kind of union type
that accommodates each of these. Icon also accepts byte
arrays holding compressed Bitmaps (PNG, JPEG, etc), which
saves clients the additional memory cost of decoding and
sending full uncompressed bitmaps through Binder interfaces.
Receiving clients can call loadDrawable{,Async} and then
getDrawable to start immediately using the image in an
ImageView or other Drawable-hosting container.

Bug: 19609468
Change-Id: Ic1343711c2ac0b15876b46f0b6008b0108a49470

9 years agoCorrectly handle intercepted touch events in FastScroller
Alan Viverette [Fri, 1 May 2015 17:10:15 +0000 (10:10 -0700)]
Correctly handle intercepted touch events in FastScroller

Previously we'd return true from onIntercept and assume the DOWN event
was handled, then onTouch would return false and the host view would
receive the DOWN event. Now we consume the event in onTouch.

Bug: 19080751
Change-Id: I1bd35b4c25a0760f4248ade443d09b8ca4b71e7c

9 years agoMerge "Rename Noto Han fonts to their latest names." into mnc-dev
Roozbeh Pournader [Fri, 1 May 2015 16:50:51 +0000 (16:50 +0000)]
Merge "Rename Noto Han fonts to their latest names." into mnc-dev

9 years agoSupport for bearer_bitmask.
Amit Mahajan [Thu, 26 Feb 2015 18:46:17 +0000 (10:46 -0800)]
Support for bearer_bitmask.

Change-Id: I7cae3d229445607c66b6472124264588f7571097

9 years agoMerge "Move both app code and data together." into mnc-dev
Jeff Sharkey [Fri, 1 May 2015 16:22:40 +0000 (16:22 +0000)]
Merge "Move both app code and data together." into mnc-dev

9 years agoremove unused edge border dimension.
Chris Wren [Fri, 1 May 2015 14:38:46 +0000 (10:38 -0400)]
remove unused edge border dimension.

Change-Id: I9f763aa130b76179d98288601f023038f086756b

9 years agolog clear all button
Chris Wren [Thu, 30 Apr 2015 19:24:05 +0000 (15:24 -0400)]
log clear all button

Bug: 20089768
Change-Id: I96d64c387b6085025df76c4aaf7ff9d7bdf51799

9 years agoMerge "A bunch more cleanups" into mnc-dev
John Reck [Fri, 1 May 2015 14:42:49 +0000 (14:42 +0000)]
Merge "A bunch more cleanups" into mnc-dev

9 years agoMerge "Device policy: use owner label instead of name" into mnc-dev
Robin Lee [Fri, 1 May 2015 12:57:35 +0000 (12:57 +0000)]
Merge "Device policy: use owner label instead of name" into mnc-dev

9 years agoAlarmManager: Reject non-olson timezones for targetSdk >= M
Narayan Kamath [Fri, 24 Apr 2015 12:22:03 +0000 (13:22 +0100)]
AlarmManager: Reject non-olson timezones for targetSdk >= M

This has caused a lot of grief, confusion and outright broken
behaviour due to the fact that the Posix spec and the Java spec
define conflicting interpretations of "custom" timezones like
GMT+5:30 (eastern hemisphere for java, western for posix).

bug: 19987403
bug: 19106773
Change-Id: Ia9b007067bb175b0805d4262f17390a0bd98d927

9 years agoMerge "Fix a bug in ScanSettings constructor." into mnc-dev
Wei Wang [Fri, 1 May 2015 07:51:39 +0000 (07:51 +0000)]
Merge "Fix a bug in ScanSettings constructor." into mnc-dev

9 years agoFix a bug in ScanSettings constructor.
Wei Wang [Fri, 1 May 2015 07:50:32 +0000 (00:50 -0700)]
Fix a bug in ScanSettings constructor.

Change-Id: I36e6effe8063bacddd61fe2c47c0360d7ffaee71

9 years agoam 12b1b8ed: am 026e204e: Fixes velocity tracking bug in SwipeDismissLayout.
Gus Prevas [Fri, 1 May 2015 07:36:43 +0000 (07:36 +0000)]
am 12b1b8ed: am 026e204e: Fixes velocity tracking bug in SwipeDismissLayout.

* commit '12b1b8ed3b5bfe623cd69d3cdafd8b6b5dfe68d8':
  Fixes velocity tracking bug in SwipeDismissLayout.

9 years agoMerge "Honor Ble scanning settings from Settings UI." into mnc-dev
Wei Wang [Fri, 1 May 2015 05:10:17 +0000 (05:10 +0000)]
Merge "Honor Ble scanning settings from Settings UI." into mnc-dev

9 years agoMerge changes Icf7d67e2,Ia914ec88,I2490ad75,Ie79f2d28 into mnc-dev
Lorenzo Colitti [Fri, 1 May 2015 03:45:12 +0000 (03:45 +0000)]
Merge changes Icf7d67e2,Ia914ec88,I2490ad75,Ie79f2d28 into mnc-dev

* changes:
  Add a hidden method to clear NetworkCapabilities.
  Fix javadoc error for requestNetwork.
  Simplify network callback handling code.
  Document and unhide CALLBACK_PRECHECK.

9 years agoAdd a hidden method to clear NetworkCapabilities.
Lorenzo Colitti [Mon, 27 Apr 2015 02:31:55 +0000 (11:31 +0900)]
Add a hidden method to clear NetworkCapabilities.

Change-Id: Icf7d67e24a09113340e9bff2c72526760914ef48

9 years agoFix javadoc error for requestNetwork.
Lorenzo Colitti [Fri, 24 Apr 2015 08:03:31 +0000 (17:03 +0900)]
Fix javadoc error for requestNetwork.

The ConnectivityManager documentation uses {@link requestNetwork}
without specifying which version of that method it refers to.
This results in javadoc incorrectly linking to the version of the
method that takes a PendingIntent instead of the version that
takes a callback.

Change-Id: Ia914ec88005a6401b6391c5b4fc92f988baa3922

9 years agoSimplify network callback handling code.
Lorenzo Colitti [Fri, 24 Apr 2015 06:21:21 +0000 (15:21 +0900)]
Simplify network callback handling code.

Change-Id: I2490ad754bf2a1282f27302c8556fb19983cc6b1

9 years agoDocument and unhide CALLBACK_PRECHECK.
Lorenzo Colitti [Fri, 24 Apr 2015 03:23:24 +0000 (12:23 +0900)]
Document and unhide CALLBACK_PRECHECK.

Bug: 20038463
Change-Id: Ie79f2d28c06cf611289504e49c471b55ffb9890f

9 years agoMerge "MediaPlayer: provide mime type for all track types" into mnc-dev
Robert Shih [Fri, 1 May 2015 00:31:22 +0000 (00:31 +0000)]
Merge "MediaPlayer: provide mime type for all track types" into mnc-dev

9 years agoMerge "[RenderScript] typo fix in BLAS, TRMM & TSMM" into mnc-dev
Miao Wang [Fri, 1 May 2015 00:26:31 +0000 (00:26 +0000)]
Merge "[RenderScript] typo fix in BLAS, TRMM & TSMM" into mnc-dev

9 years agoSuggestions popup must be dismissed before device rotation.
Yohei Yukawa [Thu, 30 Apr 2015 03:12:37 +0000 (20:12 -0700)]
Suggestions popup must be dismissed before device rotation.

This is a follow up CL for Ia515fc576ddf2127b2f9863cc2652aeb619fff6e
for Bug 5420741, which had basically the same goal to Bug 20158984.

The goal here is to dismiss any popup window opened by the TextView
when the device is about to be rotated.  This is important because
Window Manager and Input Method Manager Service are really sensitive
about which window is focused before and after the device is rotated.

In Ia515fc576ddf2127b2f9863cc2652aeb619fff6e, we tried to distinguish
two kinds of focus-lost. One is the true focus lost where suggestions
pop-up (if any) should be dismissed, and the other is an side effect
of showing the suggestions pop-up itself. We have used isShowingUp()
to distinguish distinguish one from the other. In short, it
indicates whether onWindowFocusChanged() is not called yet or is
called at least once.

In extract edit mode, however, it turned out that
onWindowFocusChanged() is never called (at least in recent builds).
As a result, the popup window is not dismissed when it should be.
One of the smallest solution would checking isShowingUp() only when
the target TextView is not ExtractEditText.

Adding unit test would be handled as Issue #20703391.

BUG: 5420741
BUG: 20158984
BUG: 20703391
Change-Id: I1706cf2ea0b0bdfe8894ab57fc3caa8ff12d8aab

9 years agoAdd Properties to Call.Details.
Andrew Lee [Wed, 29 Apr 2015 21:38:11 +0000 (14:38 -0700)]
Add Properties to Call.Details.

Moved some capabilities to properties which seemed appropriate.

Bug: 20160395
Change-Id: Iacef4365822e5c3e50f0c41a501bf295c22055f1

9 years agoMerge "Fix typo. bug: b/20610710" into mnc-dev
tturney [Fri, 1 May 2015 00:17:40 +0000 (00:17 +0000)]
Merge "Fix typo. bug: b/20610710" into mnc-dev

9 years agoMake sure transform matrix is applied when hardware layer is re-created
Doris Liu [Fri, 1 May 2015 00:00:35 +0000 (17:00 -0700)]
Make sure transform matrix is applied when hardware layer is re-created

Bug: 11168275
Change-Id: I9234a2efc7580d27ac8b7f0e60ceed7df23f5f25

9 years ago[RenderScript] typo fix in BLAS, TRMM & TSMM
Miao Wang [Fri, 1 May 2015 00:14:28 +0000 (17:14 -0700)]
[RenderScript] typo fix in BLAS, TRMM & TSMM

Change-Id: I78f014a864700369c7ccdfb46a257851a45abd7c

9 years agoUpdate alpha documentation
Chris Craik [Thu, 30 Apr 2015 22:11:43 +0000 (15:11 -0700)]
Update alpha documentation

bug:19412691
bug:20254728

Change-Id: I5bcdd888fb7b6498d43957a3ef32d3ad13683ad0

9 years agomedia: Hook up MediaPlayer and MediaSync to new settings
Lajos Molnar [Thu, 30 Apr 2015 03:41:19 +0000 (20:41 -0700)]
media: Hook up MediaPlayer and MediaSync to new settings

Bug: 19666434
Change-Id: Ib815a80a991d4be9ce179514ac517c54f98234fd

9 years agoMediaPlayer: provide mime type for all track types
Robert Shih [Thu, 30 Apr 2015 21:36:48 +0000 (14:36 -0700)]
MediaPlayer: provide mime type for all track types

Bug: 20729923
Change-Id: Id05ca0616a72f66abe6a541417baef491c49a417