OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Change AccessPoint sorting to bucket signal levels"
Tony Mantler [Thu, 28 Jan 2016 17:15:12 +0000 (17:15 +0000)]
Merge "Change AccessPoint sorting to bucket signal levels"

8 years agoMerge "Support different multi-window compatibility modes"
Wale Ogunwale [Thu, 28 Jan 2016 17:12:36 +0000 (17:12 +0000)]
Merge "Support different multi-window compatibility modes"

8 years agoMerge "Add a DPM method to allow system to query parent profile instance."
Sudheer Shanka [Thu, 28 Jan 2016 16:48:31 +0000 (16:48 +0000)]
Merge "Add a DPM method to allow system to query parent profile instance."

8 years agoMerge "Deprecated platform Android testing APIs"
Stephan Linzner [Thu, 28 Jan 2016 16:40:25 +0000 (16:40 +0000)]
Merge "Deprecated platform Android testing APIs"

8 years agoAdd a DPM method to allow system to query parent profile instance.
Sudheer Shanka [Thu, 28 Jan 2016 13:51:10 +0000 (13:51 +0000)]
Add a DPM method to allow system to query parent profile instance.

Bug: 26830384
Change-Id: Ib12b171b1032bd86488f32f8d22eb0a9efb75e8f

8 years agoSupport different multi-window compatibility modes
Wale Ogunwale [Tue, 26 Jan 2016 04:04:04 +0000 (20:04 -0800)]
Support different multi-window compatibility modes

- Change idea of activity resizablility from true or false to
unresizeable, cropped_windows, resizeable, and resizeable_and_pipable
- Default pre-N apps to cropped_windows mode and N or greater apps to
unresizeable or resizeable depending on the value of resizeableActivity
attribute.
- Mark legacy apps that specify fix orientation or immersive only mode
as unresizeable.
- Change to hide docked stack when unsupported app is the focus app.

Bug: 26774816
Change-Id: Ie473d36ca95f08e9332ab10fd2f0ec17ef50a02f

8 years agoMerge "FloatingToolbar: Fix logic error in determining open/close overflow animation...
Abodunrinwa Toki [Thu, 28 Jan 2016 14:45:47 +0000 (14:45 +0000)]
Merge "FloatingToolbar: Fix logic error in determining open/close overflow animation duration scale."

8 years agoMerge "Update notification title when admin disallows unredacted ones."
Sudheer Shanka [Thu, 28 Jan 2016 14:43:35 +0000 (14:43 +0000)]
Merge "Update notification title when admin disallows unredacted ones."

8 years agoMerge "Fix the initialize of PreviewImageData to its default values."
Anton Daubert [Thu, 28 Jan 2016 14:00:27 +0000 (14:00 +0000)]
Merge "Fix the initialize of PreviewImageData to its default values."

8 years agoMerge "Fix optimizable package filter"
Calin Juravle [Thu, 28 Jan 2016 13:31:02 +0000 (13:31 +0000)]
Merge "Fix optimizable package filter"

8 years agoFix the initialize of PreviewImageData to its default values.
Anton Daubert [Thu, 28 Jan 2016 12:52:46 +0000 (13:52 +0100)]
Fix the initialize of PreviewImageData to its default values.

Bug: 2676278026837999
Change-Id: Ifc268beb84903576b8c82681fddf2f51ffc4a2ec

8 years agoMerge "Logging of keyguard actions into security log"
Michal Karpinski [Thu, 28 Jan 2016 11:47:23 +0000 (11:47 +0000)]
Merge "Logging of keyguard actions into security log"

8 years agoFix optimizable package filter
Calin Juravle [Wed, 27 Jan 2016 18:17:19 +0000 (18:17 +0000)]
Fix optimizable package filter

System apps don't have an oat dir according to Package.canHaveOatDir but
installd will put their oat files in dalvik-cache.

Bug: 26080105
Bug: 26740458

Change-Id: I3d293e95af42753ebb29f15f341e9ca366fa03cb

8 years agoMerge "Introduce DEVICESUMMARY access level to NetworkStatsAccess."
Zoltan Szatmary-Ban [Thu, 28 Jan 2016 11:22:37 +0000 (11:22 +0000)]
Merge "Introduce DEVICESUMMARY access level to NetworkStatsAccess."

8 years agoLogging of keyguard actions into security log
Michal Karpinski [Mon, 25 Jan 2016 16:43:07 +0000 (16:43 +0000)]
Logging of keyguard actions into security log

Bug: 22860162
Change-Id: I7dbe68fff7d9d45b6c417d960cf025c8d0694917

8 years agoMerge "Don't show suspended applications in system intent picker dialog."
Nicolas Prévot [Thu, 28 Jan 2016 10:21:27 +0000 (10:21 +0000)]
Merge "Don't show suspended applications in system intent picker dialog."

8 years agoMerge "Add the network handle to the NetworkAgentInfo#toString() output."
Erik Kline [Thu, 28 Jan 2016 06:44:59 +0000 (06:44 +0000)]
Merge "Add the network handle to the NetworkAgentInfo#toString() output."

8 years agoMerge "Reuse buffer when reading bytes from files."
Daichi Hirono [Thu, 28 Jan 2016 06:08:21 +0000 (06:08 +0000)]
Merge "Reuse buffer when reading bytes from files."

8 years agoAdd the network handle to the NetworkAgentInfo#toString() output.
Erik Kline [Mon, 25 Jan 2016 08:44:42 +0000 (17:44 +0900)]
Add the network handle to the NetworkAgentInfo#toString() output.

This will make it possible to find nethandles via, e.g.
 "dumpsys connectivity --short".

Without this, native multinetwork API debugging requires running
"dumpsys connectivity --diag" in order to see the nethandle values.

Bug: 19537384
Change-Id: Icdd2b112523d4ecf88d5339f229e714a56d248f8

8 years agoMerge "MediaExtractor: add getDrmInitData API"
Lajos Molnar [Thu, 28 Jan 2016 05:55:07 +0000 (05:55 +0000)]
Merge "MediaExtractor: add getDrmInitData API"

8 years agoMerge "PIP: Disable translations for picture-in-picture temporarily"
Jaewan Kim [Thu, 28 Jan 2016 05:42:45 +0000 (05:42 +0000)]
Merge "PIP: Disable translations for picture-in-picture temporarily"

8 years agoMerge "Part 3: Fade in app icons"
Winson Chung [Thu, 28 Jan 2016 05:35:59 +0000 (05:35 +0000)]
Merge "Part 3: Fade in app icons"

8 years agoMerge "Tweaks to user creation intent text and error codes"
Amith Yamasani [Thu, 28 Jan 2016 05:23:08 +0000 (05:23 +0000)]
Merge "Tweaks to user creation intent text and error codes"

8 years agoMerge "Implementation of sensor additioanl info report"
Peng Xu [Thu, 28 Jan 2016 05:21:08 +0000 (05:21 +0000)]
Merge "Implementation of sensor additioanl info report"

8 years agoReuse buffer when reading bytes from files.
Daichi Hirono [Wed, 27 Jan 2016 03:34:29 +0000 (12:34 +0900)]
Reuse buffer when reading bytes from files.

Previously AppFuse getObjectBytes returns byte array and the array's
length needs to equals to the exact number of bytes the method read.

The CL change the function signature so that it can return the number of
read bytes. And reuse a buffer array instead of slicing the array with
valid length.

BUG=None

Change-Id: I78b714554cac9ae71b895cb8929bc98969f5a8ca

8 years agoMerge "Add DocumentsProvider::removeDocument()."
Tomasz Mikolajewski [Thu, 28 Jan 2016 05:08:07 +0000 (05:08 +0000)]
Merge "Add DocumentsProvider::removeDocument()."

8 years agoAdd DocumentsProvider::removeDocument().
Tomasz Mikolajewski [Thu, 28 Jan 2016 03:39:25 +0000 (12:39 +0900)]
Add DocumentsProvider::removeDocument().

Multi-parents are supported already in moveDocument(). For parity, this CL
adds removeDocument, so it's possible to delete a file from a specific
parent.

Bug: 26481380
Change-Id: Icd4213abc0c3413931902f4f8984746c84c65e52

8 years agoPIP: Disable translations for picture-in-picture temporarily
Jaewan Kim [Thu, 28 Jan 2016 04:55:35 +0000 (13:55 +0900)]
PIP: Disable translations for picture-in-picture temporarily

UX and strings are not finalized yet, so do not ask for translation
for a while.

Bug: 26602353
Change-Id: I8d823ace47cae39a07a68ac8867ae58e2cd03f70

8 years agoMerge "Show a warning notification and a dialog in case of conversion when copying."
Tomasz Mikolajewski [Thu, 28 Jan 2016 04:53:50 +0000 (04:53 +0000)]
Merge "Show a warning notification and a dialog in case of conversion when copying."

8 years agoImplementation of sensor additioanl info report
Peng Xu [Wed, 27 Jan 2016 02:42:17 +0000 (18:42 -0800)]
Implementation of sensor additioanl info report

This implements a mechanism for sensor hardware/HAL to deliver additional information beside sensor
readings to application. It includes internal temperature reading, untracked delay of sample,
location and pose of sensor device placement in phone frame, etc. This is also a very expandable
frame to account for future need.

Change-Id: Ifd52ff315ef675086326f118eab773b0194bae23
Note: sensor additional information report used to be called sensor meta data.

8 years agoMerge "Implement MtpDevice#getPartialObject64 in Java API."
Daichi Hirono [Thu, 28 Jan 2016 04:46:16 +0000 (04:46 +0000)]
Merge "Implement MtpDevice#getPartialObject64 in Java API."

8 years agoMediaExtractor: add getDrmInitData API
Robert Shih [Thu, 28 Jan 2016 00:50:08 +0000 (16:50 -0800)]
MediaExtractor: add getDrmInitData API

Bug: 26070802
Change-Id: I32e256f5988e206188f43d1bef0ad2ffdce8caec

8 years agoAdd account locked notification when users are encrypted
Jim Miller [Thu, 28 Jan 2016 03:05:43 +0000 (19:05 -0800)]
Add account locked notification when users are encrypted

Fixes bug 26407543

Change-Id: Ic66669cd5f75b5fa41449e33133439752cef112b

8 years agoMerge "API to query recording format and device on AudioRecordConfiguration"
Jean-Michel Trivi [Thu, 28 Jan 2016 04:23:04 +0000 (04:23 +0000)]
Merge "API to query recording format and device on AudioRecordConfiguration"

8 years agoMerge "Grant CAP_WAKE_ALARM to the Bluetooth process for any user" am: 26fdbc1833
Pavlin Radoslavov [Thu, 28 Jan 2016 04:21:25 +0000 (04:21 +0000)]
Merge "Grant CAP_WAKE_ALARM to the Bluetooth process for any user" am: 26fdbc1833
am: dc84cff34f

* commit 'dc84cff34f020e4768e99fa08749bbe0b87a2233':
  Grant CAP_WAKE_ALARM to the Bluetooth process for any user

8 years agoMerge "Unhide DocumentsContract.isTreeUri."
Tomasz Mikolajewski [Thu, 28 Jan 2016 04:20:43 +0000 (04:20 +0000)]
Merge "Unhide DocumentsContract.isTreeUri."

8 years agoShow a warning notification and a dialog in case of conversion when copying.
Tomasz Mikolajewski [Fri, 22 Jan 2016 07:22:51 +0000 (16:22 +0900)]
Show a warning notification and a dialog in case of conversion when copying.

Change-Id: I451b0944069deb5f0b49b54c514e7761be449e3d

8 years agoMerge "SoundTrigger system API changes."
Arunesh Mishra [Thu, 28 Jan 2016 04:10:38 +0000 (04:10 +0000)]
Merge "SoundTrigger system API changes."

8 years agoDO NOT MERGE Add capability to determine if downgrade to audio is denied.
Tyler Gunn [Thu, 28 Jan 2016 04:08:49 +0000 (04:08 +0000)]
DO NOT MERGE Add capability to determine if downgrade to audio is denied.
am: a3fc54f0d8  -s ours

* commit 'a3fc54f0d879cbf0bdbb5bd2fe5043dd19232191':
  DO NOT MERGE Add capability to determine if downgrade to audio is denied.

8 years agoAdd preview section to nav bar tuner.
Jason Monk [Sun, 24 Jan 2016 17:03:19 +0000 (12:03 -0500)]
Add preview section to nav bar tuner.

It uses density scaling to show a slightly smaller real time version
of the nav bar, so you can see edits without possibly breaking the
nav bar.

Also fix rotation in the tuner, cause it was broken.

Change-Id: I3de89c3df25c6adb18f0aef41b597c96446d1631

8 years agoAdd keycode buttons to nav bar tuner
Jason Monk [Sun, 24 Jan 2016 15:15:55 +0000 (10:15 -0500)]
Add keycode buttons to nav bar tuner

Allow a keycode (list generated from KeyEvent.java) and a image to
be selected as a new KeyButtonView to be shown in the nav bar.

Change-Id: I26fcad5b74a96090f2c5574fd214b4afbcadbb30

8 years agoAdd clipboard to tuner
Jason Monk [Sat, 23 Jan 2016 21:47:59 +0000 (16:47 -0500)]
Add clipboard to tuner

Allow button to be added to nav bar that acts as a drag target/source
for the clipboard.

Change-Id: I94ca3c7decd1a1b178ceb9a4b4ab9e275c90acbb

8 years agoAllow width control of nav bar buttons
Jason Monk [Sat, 23 Jan 2016 20:28:10 +0000 (15:28 -0500)]
Allow width control of nav bar buttons

Encode the width as part of the spec as a float. For instance:
"home[.5]" is a home button with half its normal width.

The UI will allow users to adjust the width of standard buttons and
spaces from .25 to 1.75, excluding the app shelf, which fills all
available space.

Change-Id: Icd2f498c164933d61f55d779b3e9be0afaba9c2d

8 years agoNav bar tuner
Jason Monk [Fri, 22 Jan 2016 15:01:44 +0000 (10:01 -0500)]
Nav bar tuner

Allows reorginization of the navigation bar.  First pass.

Change-Id: If546ca5835412d15c05c41ffd5c5aa0857b9417f

8 years agoSysUI Tuner: Color mod v2
Jason Monk [Thu, 21 Jan 2016 03:24:50 +0000 (22:24 -0500)]
SysUI Tuner: Color mod v2

Change-Id: Id2734c2f4ee8724ef7d7e633fed124454e2d8c5a

8 years agoDO NOT MERGE Add capability to determine if downgrade to audio is denied.
Tyler Gunn [Tue, 19 Jan 2016 23:59:34 +0000 (15:59 -0800)]
DO NOT MERGE Add capability to determine if downgrade to audio is denied.

By default we assume downgrade to audio is permitted; this capability
probides a means for a carrier to specifically deny that.

Bug: 22728624

Change-Id: I75e0a5b9e5ad2d970003a4691b6fc0ac0dcfe9e0

8 years agoMerge "Gradient for VectorDrawable's fill and stroke"
Tenghui Zhu [Thu, 28 Jan 2016 03:41:15 +0000 (03:41 +0000)]
Merge "Gradient for VectorDrawable's fill and stroke"

8 years agoAPI to query recording format and device on AudioRecordConfiguration
Jean-Michel Trivi [Thu, 28 Jan 2016 03:05:29 +0000 (19:05 -0800)]
API to query recording format and device on AudioRecordConfiguration

Bug 22876530

Change-Id: I5d529cecbef91361afce64f20faca17f6ebb8ba9

8 years agoMerge "Add varietions of MtpDevice's mehtods using long."
Daichi Hirono [Thu, 28 Jan 2016 02:56:34 +0000 (02:56 +0000)]
Merge "Add varietions of MtpDevice's mehtods using long."

8 years agoAdd varietions of MtpDevice's mehtods using long.
Daichi Hirono [Fri, 15 Jan 2016 05:42:53 +0000 (14:42 +0900)]
Add varietions of MtpDevice's mehtods using long.

BUG=26525304

Change-Id: I0a0b187910cf498720d8e7b8fbe9b0590e67e65e

8 years agoMerge "Dynamic audio policies by UID"
Jean-Michel Trivi [Thu, 28 Jan 2016 02:48:00 +0000 (02:48 +0000)]
Merge "Dynamic audio policies by UID"

8 years agoPart 3: Fade in app icons
Winson [Wed, 27 Jan 2016 01:15:45 +0000 (17:15 -0800)]
Part 3: Fade in app icons

- Fixing misordered call to remove the callbacks when recycling before
  unloading the actual task data
- Prevent thumbnails from being fetched while loading icons in the
  history view.

Change-Id: I8f5dc65f867e60c2d062bb8222c91bf98f54f6d6

8 years agoMerge "Added a constant to be used as an Intent extra"
Suprabh Shukla [Thu, 28 Jan 2016 02:32:34 +0000 (02:32 +0000)]
Merge "Added a constant to be used as an Intent extra"

8 years agoMerge "Part 2: Adding clear-all to history"
Winson Chung [Thu, 28 Jan 2016 02:20:55 +0000 (02:20 +0000)]
Merge "Part 2: Adding clear-all to history"

8 years agoImplement MtpDevice#getPartialObject64 in Java API.
Daichi Hirono [Fri, 22 Jan 2016 10:34:25 +0000 (19:34 +0900)]
Implement MtpDevice#getPartialObject64 in Java API.

BUG=26703522

Change-Id: I08510e3a179b7dc8bf247a9e997dc8a160138fc2

8 years agoTweaks to user creation intent text and error codes
Amith Yamasani [Wed, 27 Jan 2016 22:40:16 +0000 (14:40 -0800)]
Tweaks to user creation intent text and error codes

Return error codes in some cases.
Tweak the message to the user.

Bug: 22776757
Change-Id: Ieff0caf0add9542287b5629d7d97331df0cada1e

8 years agoMerge "Remodel Network Selection" into mm-wireless-dev
xin He [Thu, 28 Jan 2016 02:15:56 +0000 (02:15 +0000)]
Merge "Remodel Network Selection" into mm-wireless-dev
am: 2fdee90b68

* commit '2fdee90b685781ec5e30f0788b727f692df32d40':
  Remodel Network Selection

8 years agoMerge "Grant CAP_WAKE_ALARM to the Bluetooth process for any user"
Pavlin Radoslavov [Thu, 28 Jan 2016 02:12:42 +0000 (02:12 +0000)]
Merge "Grant CAP_WAKE_ALARM to the Bluetooth process for any user"
am: 26fdbc1833

* commit '26fdbc18337a8e9d16e18255e39ce7a16e83d57b':
  Grant CAP_WAKE_ALARM to the Bluetooth process for any user

8 years agoDeprecated platform Android testing APIs
Stephan Linzner [Thu, 28 Jan 2016 02:09:50 +0000 (18:09 -0800)]
Deprecated platform Android testing APIs

- Deprecated most android.test.* APIs
- Kept ProviderTestCase2 and LoaderTestCase since we don't have a
replacement yet
- Deprecated android.test.suitebuilder
- Added Javadoc to all deprecated APIs with links to corresponding
Android Testing Support Library APIs
- Removed all trailing whitespace

Bug: 22314304
Change-Id: I1b1f0dd5132364110f1dfd4e3eb2dd044700d859

8 years agoMerge "Remodel Network Selection" into mm-wireless-dev
xin He [Thu, 28 Jan 2016 02:08:23 +0000 (02:08 +0000)]
Merge "Remodel Network Selection" into mm-wireless-dev

8 years agoMerge changes from topic 'camera-hardening'
Chien-Yu Chen [Thu, 28 Jan 2016 02:04:37 +0000 (02:04 +0000)]
Merge changes from topic 'camera-hardening'

* changes:
  Add cameraserver process
  Camera: update connect call

8 years agoSoundTrigger system API changes.
Arunesh Mishra [Thu, 28 Jan 2016 00:20:08 +0000 (16:20 -0800)]
SoundTrigger system API changes.

This CL exposes the SoundTriggerManager and SoundTriggerDetector as a
system/privileged API. The API is protected by a system/priv permission
and also via SEpolicy rules.

Bug: 22860713

Change-Id: I07ee3548ef0d5c584570004645267f5021dfa84c

8 years agoMerge changes from topic '2016 GPS Changes'
Lifu Tang [Thu, 28 Jan 2016 02:02:18 +0000 (02:02 +0000)]
Merge changes from topic '2016 GPS Changes'

* changes:
  Framework support to read newly added fields
  Added an API to query GPS hardware version info
  GPS Measurement and Navigation APIs go public
  Supported GNSS multi-constellation in frameworks

8 years agoFramework support to read newly added fields
Lifu Tang [Tue, 26 Jan 2016 02:02:17 +0000 (18:02 -0800)]
Framework support to read newly added fields

Change-Id: Ie43395addd102656a4dbf9c25111ac50ec9afe41

8 years agoAdded a constant to be used as an Intent extra
Suprabh Shukla [Wed, 27 Jan 2016 20:57:24 +0000 (12:57 -0800)]
Added a constant to be used as an Intent extra

Added a constant which can be specified to skip the uninstallation
confirmation dialog. Useful in cases where we want to show a different
warning message to the user before starting the UninstallerActivity

Change-Id: Ia87184a9ad715b628118feb447388625b8bf7f1c

8 years agoMerge "Revert "Deprecated platform Android testing APIs""
Stephan Linzner [Thu, 28 Jan 2016 01:42:21 +0000 (01:42 +0000)]
Merge "Revert "Deprecated platform Android testing APIs""

8 years agoRevert "Deprecated platform Android testing APIs"
Stephan Linzner [Thu, 28 Jan 2016 01:40:29 +0000 (01:40 +0000)]
Revert "Deprecated platform Android testing APIs"

This reverts commit d46a7d0d6edbb36aa1a851af3769cc528d943ba0.

Change-Id: I4e4079d17f3bcdde7dc84e440a2168bb3e6d89d3

8 years agoAdded an API to query GPS hardware version info
Lifu Tang [Fri, 22 Jan 2016 02:15:33 +0000 (18:15 -0800)]
Added an API to query GPS hardware version info

Change-Id: Ic45357d30da350759f56c9d061e60196acb3255b

8 years agoMerge "Pinning components in ChooserActivity"
Adam Powell [Thu, 28 Jan 2016 01:38:05 +0000 (01:38 +0000)]
Merge "Pinning components in ChooserActivity"

8 years agoPart 2: Adding clear-all to history
Winson [Tue, 26 Jan 2016 21:37:37 +0000 (13:37 -0800)]
Part 2: Adding clear-all to history

Change-Id: I9cd51f2a97ebe0f306e4934cdcac1a522526cf50

8 years ago[DO NOT MERGE ANYWHERE]: Allow button events in ambient. am: 7528f57c4d -s ours...
Joe LaPenna [Thu, 28 Jan 2016 01:21:38 +0000 (01:21 +0000)]
[DO NOT MERGE ANYWHERE]: Allow button events in ambient. am: 7528f57c4d  -s ours am: 2bccc45cec  -s ours am: b47972df80  -s ours
am: ab00e4e38c  -s ours

* commit 'ab00e4e38c113e2e0b60cde5d210e39683c75040':
  [DO NOT MERGE ANYWHERE]: Allow button events in ambient.

8 years agoPinning components in ChooserActivity
Adam Powell [Wed, 27 Jan 2016 17:09:35 +0000 (09:09 -0800)]
Pinning components in ChooserActivity

Move ChooserActivity to SystemUI. This is a safer place for it to live
and still be able to persist data to storage.

Add a context menu to long press for chooser targets allowing users to
'pin' a target component from an app. This causes it to sort to the
front of the list so that a user's favorite apps are always available
from share UIs, etc. Similarly, all ChooserTargets from a pinned
component receive an impossibly large boost for sorting so that they
will always appear first.

Bug 26791843

Change-Id: Ib4e603d9d4263403e98ce619287452ddab593044

8 years ago[DO NOT MERGE ANYWHERE]: Allow button events in ambient. am: 7528f57c4d -s ours...
Joe LaPenna [Thu, 28 Jan 2016 01:17:24 +0000 (01:17 +0000)]
[DO NOT MERGE ANYWHERE]: Allow button events in ambient. am: 7528f57c4d  -s ours am: 2bccc45cec  -s ours
am: b47972df80  -s ours

* commit 'b47972df80ffa40c4ea8541f96275c25ed939d7b':
  [DO NOT MERGE ANYWHERE]: Allow button events in ambient.

8 years ago[DO NOT MERGE ANYWHERE]: Allow button events in ambient. am: 7528f57c4d -s ours
Joe LaPenna [Thu, 28 Jan 2016 01:12:36 +0000 (01:12 +0000)]
[DO NOT MERGE ANYWHERE]: Allow button events in ambient. am: 7528f57c4d  -s ours
am: 2bccc45cec  -s ours

* commit '2bccc45cec5201c5b613134ebb0b398bc45483ef':
  [DO NOT MERGE ANYWHERE]: Allow button events in ambient.

8 years agoMerge "Remember view mode by root."
Steve McKay [Thu, 28 Jan 2016 01:08:51 +0000 (01:08 +0000)]
Merge "Remember view mode by root."

8 years agoMerge "Make CallScreening.CallResponse static"
Sailesh Nepal [Thu, 28 Jan 2016 01:07:24 +0000 (01:07 +0000)]
Merge "Make CallScreening.CallResponse static"

8 years ago[DO NOT MERGE ANYWHERE]: Allow button events in ambient.
Joe LaPenna [Thu, 28 Jan 2016 01:06:28 +0000 (01:06 +0000)]
[DO NOT MERGE ANYWHERE]: Allow button events in ambient.
am: 7528f57c4d  -s ours

* commit '7528f57c4ddbde1c6d0a2a352bd8a1af43711013':
  [DO NOT MERGE ANYWHERE]: Allow button events in ambient.

8 years agoMerge "Deprecated platform Android testing APIs"
Stephan Linzner [Thu, 28 Jan 2016 01:05:34 +0000 (01:05 +0000)]
Merge "Deprecated platform Android testing APIs"

8 years agoUnhide DocumentsContract.isTreeUri.
Tomasz Mikolajewski [Thu, 28 Jan 2016 00:50:01 +0000 (09:50 +0900)]
Unhide DocumentsContract.isTreeUri.

Bug: 22212976
Change-Id: I5267e5de0037559eba5bd3adf16d552c25ca8037

8 years agoMerge "Fix GpsTimeStamp format string"
Jaesung Chung [Thu, 28 Jan 2016 00:53:34 +0000 (00:53 +0000)]
Merge "Fix GpsTimeStamp format string"

8 years agoMake CallScreening.CallResponse static
Sailesh Nepal [Thu, 28 Jan 2016 00:45:51 +0000 (16:45 -0800)]
Make CallScreening.CallResponse static

A small mistake in my previous CL. The response object
needs to be static.

Change-Id: Idf9bca7a7076275f53475c2531090f406daecab9

8 years agoMerge "Grant CAP_WAKE_ALARM to the Bluetooth process for any user"
Pavlin Radoslavov [Thu, 28 Jan 2016 00:52:41 +0000 (00:52 +0000)]
Merge "Grant CAP_WAKE_ALARM to the Bluetooth process for any user"

8 years agoMerge "Dynamic Sensor Discovery Implementation"
Peng Xu [Thu, 28 Jan 2016 00:46:29 +0000 (00:46 +0000)]
Merge "Dynamic Sensor Discovery Implementation"

8 years agoDynamic Sensor Discovery Implementation
Peng Xu [Wed, 20 Jan 2016 08:05:45 +0000 (00:05 -0800)]
Dynamic Sensor Discovery Implementation

Defined the dynamic sensor meta data type and UUID of sensor, as well
as the broadcast intent that is related to dynamic sensor status
change.

Modify SensorManager, SystemSensorManager and the JNI layer to support
dynamic sensor discovery.

Added SensorNotificationService to notify apps that sensor connected
or disconnected via broadcast.

Change-Id: I28adfb005357d7e3983d65117d6865830c75027d

8 years agoMerge "Part 1: Tweaking history transition to match design."
Winson Chung [Thu, 28 Jan 2016 00:35:36 +0000 (00:35 +0000)]
Merge "Part 1: Tweaking history transition to match design."

8 years agoGradient for VectorDrawable's fill and stroke
Teng-Hui Zhu [Tue, 15 Dec 2015 19:01:27 +0000 (11:01 -0800)]
Gradient for VectorDrawable's fill and stroke

Add ComplexColor interface for both GradientColor and ColorStateList.
Set up constant state, factory, theme attrs for GradientColor, while
refactoring the ColorStateList's similar code. (Functionality in CSL should
be the same).

Support themeing in both the root and item level in GradientColor.
For example, both startColor in <gradient> tag or color in <item> tag can
have theme color.
Add tests for both simple and complex cases with themeing etc.

Hook up the native VectorDrawable implementation using 2 extra JNI calls for
simplicity. Such calls only happen at inflate and applyTheme call.

b/22564318

Change-Id: Ibdc564ddb4a7ee0133c6141c4784782f0c93ce0e

8 years agoMerge "media: expose media format keys for color characteristics"
Lajos Molnar [Thu, 28 Jan 2016 00:31:43 +0000 (00:31 +0000)]
Merge "media: expose media format keys for color characteristics"

8 years agoRemember view mode by root.
Steve McKay [Tue, 26 Jan 2016 03:00:22 +0000 (19:00 -0800)]
Remember view mode by root.

Now stored in local prefs, not recents DB.
Don't consult preferences for recents from DocumentsActivity.

Bug: 22671255 26689962 26411301
Change-Id: I492d85c450253bce984c929a6dd15d7c31ee6a0b

8 years agoGrant CAP_WAKE_ALARM to the Bluetooth process for any user
Pavlin Radoslavov [Thu, 28 Jan 2016 00:22:15 +0000 (16:22 -0800)]
Grant CAP_WAKE_ALARM to the Bluetooth process for any user

Use multiuser_get_app_id(uid) to check for AID_BLUETOOTH
and allow the CAP_WAKE_ALARM capability for any user.

Bug: 26784675
Change-Id: I11641e212b7c815e9137ae5620da6ad55f95a899

8 years agoMerge "Fix exception message"
Makoto Onuki [Thu, 28 Jan 2016 00:20:35 +0000 (00:20 +0000)]
Merge "Fix exception message"

8 years agoFix exception message
Makoto Onuki [Thu, 28 Jan 2016 00:19:38 +0000 (16:19 -0800)]
Fix exception message

Change-Id: I6fe4b8b745414ed589337079e2893d87dadb34f5

8 years agoGPS Measurement and Navigation APIs go public
Lifu Tang [Tue, 26 Jan 2016 09:22:10 +0000 (01:22 -0800)]
GPS Measurement and Navigation APIs go public

Those APIs are already used by first-party Apps for a while. We now make them
available to third-party Apps as well.

Change-Id: I87d9f0dbb04831fc849228d7df03a2686e2eb383

8 years agoMerge "Reduced more radio log spam" into mm-wireless-dev
Jack Yu [Thu, 28 Jan 2016 00:05:14 +0000 (00:05 +0000)]
Merge "Reduced more radio log spam" into mm-wireless-dev
am: 24c5e7c4ce

* commit '24c5e7c4ceb31c85868fe2c03e8a507e2cb0520f':
  Reduced more radio log spam

8 years agoMerge "Record ModemActivityInfo and distribute power blame to apps"
Adam Lesinski [Thu, 28 Jan 2016 00:03:56 +0000 (00:03 +0000)]
Merge "Record ModemActivityInfo and distribute power blame to apps"

8 years agoMerge "Reduced more radio log spam" into mm-wireless-dev
Jack Yu [Thu, 28 Jan 2016 00:00:04 +0000 (00:00 +0000)]
Merge "Reduced more radio log spam" into mm-wireless-dev

8 years agoChange AccessPoint sorting to bucket signal levels
Tony Mantler [Wed, 27 Jan 2016 23:57:03 +0000 (15:57 -0800)]
Change AccessPoint sorting to bucket signal levels

Keeps the list from jumping around for non-user-visible reasons

Change-Id: I2a47fa2f8e3dfcd95c17c5ffbb552332273eb425

8 years agoMerge "[RenderScript] Unhide new Allocation APIs"
Miao Wang [Wed, 27 Jan 2016 23:49:23 +0000 (23:49 +0000)]
Merge "[RenderScript] Unhide new Allocation APIs"

8 years agoRecord ModemActivityInfo and distribute power blame to apps
Adam Lesinski [Mon, 25 Jan 2016 20:27:06 +0000 (12:27 -0800)]
Record ModemActivityInfo and distribute power blame to apps

Telephony expsoses a getModemActivity() method, which BatteryStats
will poll when a change in network activity occurs (on the modem).

The time spent in various states (tx, idle, rx) are distributed amongst
the apps that did rx/tx traffic during that window.

Bug:23147562
Change-Id: I480a85df95786f87c382b96816fe2ed4bb2d5a42

8 years agoUpdate notification title when admin disallows unredacted ones.
Sudheer Shanka [Mon, 25 Jan 2016 19:58:59 +0000 (19:58 +0000)]
Update notification title when admin disallows unredacted ones.

Currently, we use "Contents hidden" message in either case where user
wants to hide sensitive content or admin disallows  unredacted
notifications. Updated to use a different message when the
admin disallows it.
Change-Id: Idc73968ff7894e96d8f9b5be4621cc02f682e0aa

8 years agoMerge "Add new RIL command for sending ack to solicited async and unsolicited msg...
Sanket Padawe [Wed, 27 Jan 2016 23:29:25 +0000 (23:29 +0000)]
Merge "Add new RIL command for sending ack to solicited async and unsolicited msg." into mm-wireless-dev
am: 2ed3add734

* commit '2ed3add734df1b9b35d91b69f2722b9554d2cf2b':
  Add new RIL command for sending ack to solicited async and unsolicited msg.