OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Minor improvements on parseCommandArgs,"
Felipe Leme [Wed, 27 Jan 2016 23:21:14 +0000 (23:21 +0000)]
Merge "Minor improvements on parseCommandArgs,"

8 years agoMerge "Fix UserAvatarView.setDisabled method."
Sudheer Shanka [Wed, 27 Jan 2016 23:20:52 +0000 (23:20 +0000)]
Merge "Fix UserAvatarView.setDisabled method."

8 years agoMerge "Need to call getApplicationInfo from System id"
Ian Pedowitz [Wed, 27 Jan 2016 22:54:26 +0000 (22:54 +0000)]
Merge "Need to call getApplicationInfo from System id"

8 years agoMerge "Camera2: Clarify LEVEL_3 requirements."
Eino-Ville Talvala [Wed, 27 Jan 2016 22:51:21 +0000 (22:51 +0000)]
Merge "Camera2: Clarify LEVEL_3 requirements."

8 years agoMerge "Adding new sensor types."
Ashutosh Joshi [Wed, 27 Jan 2016 22:37:41 +0000 (22:37 +0000)]
Merge "Adding new sensor types."

8 years agoAdding new sensor types.
Ashutosh Joshi [Tue, 26 Jan 2016 04:24:20 +0000 (20:24 -0800)]
Adding new sensor types.

Adding new sensor types for the following -
     i) Stationay Detection
     ii) Motion Detection
     iii) Heart Beat Detection

Change-Id: I95dd81605e0ce2467fe5e0b65dbd25447bba412b

8 years agoCamera2: Clarify LEVEL_3 requirements.
Eino-Ville Talvala [Wed, 27 Jan 2016 22:16:20 +0000 (14:16 -0800)]
Camera2: Clarify LEVEL_3 requirements.

Bug: 25114814
Change-Id: I0d7e0c17c8860e443cded79506e9144db25fe10b

8 years agoMerge "Make DPM.clearProfileOwner() public."
Makoto Onuki [Wed, 27 Jan 2016 22:25:43 +0000 (22:25 +0000)]
Merge "Make DPM.clearProfileOwner() public."

8 years agoMerge changes I80100f39,I4b39c1c4,I65ce9a23,I5094a137,Id898752f, ...
Jorim Jaggi [Wed, 27 Jan 2016 22:23:39 +0000 (22:23 +0000)]
Merge changes I80100f39,I4b39c1c4,I65ce9a23,I5094a137,Id898752f, ...

* changes:
  Make sure SysUI is not constantly redrawing status bar
  Fix app staying in drag resizing when undocking
  Fix flicker when dismissing non-docked stack
  Start drawing immediately
  Improve dismiss/scrolling handling in recents
  Dim harder when dismissing

8 years agoMerge "Added more granular states to DATA_CHANNEL_STATE"
Ta-wei Yen [Wed, 27 Jan 2016 22:18:23 +0000 (22:18 +0000)]
Merge "Added more granular states to DATA_CHANNEL_STATE"

8 years agoMerge "AudioFormat: add ENCODING_IEC61937"
Phil Burk [Wed, 27 Jan 2016 22:17:53 +0000 (22:17 +0000)]
Merge "AudioFormat: add ENCODING_IEC61937"

8 years agoMerge "Add new public API to allow call screening"
Sailesh Nepal [Wed, 27 Jan 2016 22:16:59 +0000 (22:16 +0000)]
Merge "Add new public API to allow call screening"

8 years agoMake sure SysUI is not constantly redrawing status bar
Jorim Jaggi [Wed, 27 Jan 2016 22:16:21 +0000 (14:16 -0800)]
Make sure SysUI is not constantly redrawing status bar

When status bar was collapsed, bounds were negative thus triggering
a infinite draw loop.

Change-Id: I80100f394fa5e0dd5858569f9535563eac3aeeb4

8 years agoMerge "Expose a meta-data value to allow dialer ringing"
Sailesh Nepal [Wed, 27 Jan 2016 22:15:48 +0000 (22:15 +0000)]
Merge "Expose a meta-data value to allow dialer ringing"

8 years agoAudioFormat: add ENCODING_IEC61937
Phil Burk [Wed, 27 Jan 2016 19:45:06 +0000 (11:45 -0800)]
AudioFormat: add ENCODING_IEC61937

Allows applications to wrap compressed audio in a PCM
stream and pass through directly to HDMI output.

Bug: 24541671
Bug: 20891646
Bug: 26373761
Change-Id: I67a25672a3b5066b5747380d013c26e60c14c272
Signed-off-by: Phil Burk <philburk@google.com>
8 years agoMake DPM.clearProfileOwner() public.
Makoto Onuki [Wed, 27 Jan 2016 21:49:19 +0000 (13:49 -0800)]
Make DPM.clearProfileOwner() public.

Bug 26827204

Change-Id: Ib32e5370b493aa3e36b869d9ed3d78782df4c895

8 years agoMerge "[RenderScript] Implement APIs for better multi-frame process support." am...
Miao Wang [Wed, 27 Jan 2016 22:02:17 +0000 (22:02 +0000)]
Merge "[RenderScript] Implement APIs for better multi-frame process support." am: 6ebdbfa549
am: d90b4a3266

* commit 'd90b4a3266ab2af3cbc6f131a0ed320f7a795a09':
  [RenderScript] Implement APIs for better multi-frame process support.

8 years agoMerge "Add KEY_VVM_PREFETCH_BOOLEAN to CarrierConfigManager"
Ta-wei Yen [Wed, 27 Jan 2016 22:00:27 +0000 (22:00 +0000)]
Merge "Add KEY_VVM_PREFETCH_BOOLEAN to CarrierConfigManager"

8 years agoFix app staying in drag resizing when undocking
Jorim Jaggi [Wed, 27 Jan 2016 10:10:08 +0000 (02:10 -0800)]
Fix app staying in drag resizing when undocking

When dismissing the docked stack, the fullscreen stack stayed in drag
resize mode because it got a relayout, but because the bounds didn't
change (it switches to the fullscreen layout a bit earlier) it never
called WM.relayoutWindow, so it stayed in drag resize mode indefinitely.

To fix this, introduce forceRelayout in Window.resized(), which makes
sure the client always calls relayoutWindow. Set this to true whenever
drag resizing is changing.

For some very weird reason this also broke that home button was not
responding anymore.

Bug: 26806532
Change-Id: I4b39c1c419a166aa7093c31226f2a4915f642328

8 years agoFix flicker when dismissing non-docked stack
Jorim Jaggi [Wed, 27 Jan 2016 09:01:06 +0000 (01:01 -0800)]
Fix flicker when dismissing non-docked stack

Because the right/bottom side of divider moves offscreen when dismissing non
docked stack, it results in empty bounds which then results in window manager
thinking the just dismissed activity is fullscreen, which leads to a black
flicker. Make sure not to calculate garbage when calculating the bounds for the
non-docked stack.

Bug: 26070457
Change-Id: I65ce9a23dc216971a3ae4df8058d5b86b1b792a5

8 years agoAdd new public API to allow call screening
Sailesh Nepal [Mon, 25 Jan 2016 02:21:53 +0000 (18:21 -0800)]
Add new public API to allow call screening

This CL adds a new service that the default dialer can implement to
screen incoming calls.

If the service is implemented then Telecom uses it to decide if a call
should be shown to the user or rejected.

Note, I initially tried to simply extend InCallService instead of
creating a whole new service. The problem with this approach is that:
  - this breaks some in call services which show UI as soon as they are
    bound to
  - the in call service lifecycle is tightly coupled to adding and
    removing calls. Call screening happens before a call is added which
    makes it a bad fit to in call service
  - call screening is a function of only the default dialer's in call
    service but the existing code also binds to "controller" call
    services

For these reasons it seemed simpler to just create a new optional
service.

BUG: 22857261
Change-Id: I53f2ef93360e0af19b6ce45af21026be6cf3a7f3

8 years agoMerge "Fix SoundTriggerModel uses to GenericSoundModel."
Arunesh Mishra [Wed, 27 Jan 2016 21:49:58 +0000 (21:49 +0000)]
Merge "Fix SoundTriggerModel uses to GenericSoundModel."

8 years agoStart drawing immediately
Jorim Jaggi [Wed, 27 Jan 2016 02:48:44 +0000 (18:48 -0800)]
Start drawing immediately

We used to have a condition to start drawing only in the second traversal,
which added a delay of about 10-15ms. We believe that we don't need this
anymore, because we have other means of synchronizing the app transition
animation with the app drawing - we wait for all surfaces to be drawn
in window manager.

Bug: 21035872
Change-Id: I5094a1377817dc7e0a2392cc8f522e99cd7b4d6e

8 years agoImprove dismiss/scrolling handling in recents
Jorim Jaggi [Wed, 27 Jan 2016 02:34:13 +0000 (18:34 -0800)]
Improve dismiss/scrolling handling in recents

Make sure to only enter dismiss mode if xDiff is bigger than yDiff,
and only start scrolling if yDiff is bigger than xDiff.

Change-Id: Id898752ff7a08df549e234678aed0dad074b202d

8 years agoDim harder when dismissing
Jorim Jaggi [Tue, 26 Jan 2016 03:45:42 +0000 (19:45 -0800)]
Dim harder when dismissing

Also fix a bug when selecting the dim target stack.

Change-Id: Id9d5e28caf5e810c7eef1e3b0fd7a9f945f8d146

8 years agoMerge "[RenderScript] Implement APIs for better multi-frame process support."
Miao Wang [Wed, 27 Jan 2016 21:43:27 +0000 (21:43 +0000)]
Merge "[RenderScript] Implement APIs for better multi-frame process support."
am: 6ebdbfa549

* commit '6ebdbfa5498c486a96f2b8b07858eb1a25a6d08a':
  [RenderScript] Implement APIs for better multi-frame process support.

8 years agoMerge "media: define vp9 profile and level"
Ronghua Wu [Wed, 27 Jan 2016 21:37:59 +0000 (21:37 +0000)]
Merge "media: define vp9 profile and level"

8 years agoFix SoundTriggerModel uses to GenericSoundModel.
Arunesh Mishra [Wed, 27 Jan 2016 21:29:12 +0000 (13:29 -0800)]
Fix SoundTriggerModel uses to GenericSoundModel.

Change-Id: I30308b39536864d7b9640367861730e3b1b12129

8 years agoMerge "[RenderScript] Implement APIs for better multi-frame process support."
Miao Wang [Wed, 27 Jan 2016 21:30:00 +0000 (21:30 +0000)]
Merge "[RenderScript] Implement APIs for better multi-frame process support."

8 years agoMerge "PowerManager: Adds the Sustained performance API."
Ruchi Kandoi [Wed, 27 Jan 2016 21:21:06 +0000 (21:21 +0000)]
Merge "PowerManager: Adds the Sustained performance API."

8 years agoPowerManager: Adds the Sustained performance API.
Ruchi Kandoi [Tue, 12 Jan 2016 22:39:24 +0000 (14:39 -0800)]
PowerManager: Adds the Sustained performance API.

Adds a new type of wakelock - SUSTAINED_PERFORMANCE_WAKELOCK. This
wakelock can only be acquired when the application is in the foreground.
And it is not effective when the application is no longer in the
foreground.

Acquiring this wakelock enables the Sustained performance mode which
guarantees a certain level of performance.

Bug: 22864186

Change-Id: Id0ececc756fe014779db6efde7aede23ea181dc5
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
8 years agoMerge "IBluetooth: remove dump(), support arguments" am: d63847a866
Marie Janssen [Wed, 27 Jan 2016 21:04:14 +0000 (21:04 +0000)]
Merge "IBluetooth: remove dump(), support arguments" am: d63847a866
am: f3c5230bf3  -s ours

* commit 'f3c5230bf36401e9c8be718a9f2e620ba77e55bd':
  IBluetooth: remove dump(), support arguments

8 years agoMerge "Add policy for enforcing that all users are ephemeral."
Lenka Trochtova [Wed, 27 Jan 2016 20:58:55 +0000 (20:58 +0000)]
Merge "Add policy for enforcing that all users are ephemeral."

8 years agoMerge "SoundTrigger API improvements."
Arunesh Mishra [Wed, 27 Jan 2016 20:57:18 +0000 (20:57 +0000)]
Merge "SoundTrigger API improvements."

8 years agoMerge "Remove the unused Looper param from Tethering constructor."
Jeremy Klein [Wed, 27 Jan 2016 20:54:01 +0000 (20:54 +0000)]
Merge "Remove the unused Looper param from Tethering constructor."

8 years agoMerge "IBluetooth: remove dump(), support arguments"
Marie Janssen [Wed, 27 Jan 2016 20:49:55 +0000 (20:49 +0000)]
Merge "IBluetooth: remove dump(), support arguments"
am: d63847a866

* commit 'd63847a86680df271cc518a6baaac30a7e07c9f5':
  IBluetooth: remove dump(), support arguments

8 years agoSoundTrigger API improvements.
Arunesh Mishra [Mon, 25 Jan 2016 18:33:11 +0000 (10:33 -0800)]
SoundTrigger API improvements.

This CL implements the SoundTrigger API improvements as given in b/22860713. Only the java-level
parts are implemented in this CL.

Key changes include:

* Addition of a SoundTriggerManager/SoundTriggerDetector system API to manage
  the sound-trigger based sound models.
* Addition of a SoundTriggerService service that manages all sound models
  including voice (keyphrase) and sound-trigger based models.
* Includes logic to write sound-trigger based models to the database.
* VoiceInteractionManager service now uses SoundTriggerService instead of
  SoundTriggerHelper.

Bug: 22860713
Change-Id: I7b5c0ed80702527c4460372efeb5e542d3693a69

8 years agoMerge "IBluetooth: remove dump(), support arguments"
Marie Janssen [Wed, 27 Jan 2016 20:42:07 +0000 (20:42 +0000)]
Merge "IBluetooth: remove dump(), support arguments"

8 years agoMerge "Add WorkSource to BLE scanning API"
Adam Lesinski [Wed, 27 Jan 2016 20:41:45 +0000 (20:41 +0000)]
Merge "Add WorkSource to BLE scanning API"

8 years agoMerge "Add data disabled icon"
Jason Monk [Wed, 27 Jan 2016 20:34:28 +0000 (20:34 +0000)]
Merge "Add data disabled icon"

8 years agoAdd data disabled icon
Jason Monk [Wed, 27 Jan 2016 20:18:41 +0000 (15:18 -0500)]
Add data disabled icon

Change-Id: Ic6d7c367e99a9460a42d9eaab062c73a75c292fd

8 years agomedia: define vp9 profile and level
Ronghua Wu [Wed, 20 Jan 2016 18:35:17 +0000 (10:35 -0800)]
media: define vp9 profile and level

Bug: 25684127
Change-Id: I806f87847e0c75c3a39cea0c5ffcc3df28d60a75

8 years agoNeed to call getApplicationInfo from System id
Carlos Valdivia [Wed, 27 Jan 2016 20:16:25 +0000 (12:16 -0800)]
Need to call getApplicationInfo from System id

Otherwise it trys to enforce INTERACT_ACROSS_USERs when a package is in
a different INTERACT_ACROSS_USERs. Still figuring out why this is
triggering for the regular getApplicationInfo call.

Change-Id: I9b07646aeaf35e2db4a6849e217129077b50b624

8 years agoAdd policy for enforcing that all users are ephemeral.
Lenka Trochtova [Thu, 7 Jan 2016 16:20:34 +0000 (17:20 +0100)]
Add policy for enforcing that all users are ephemeral.

BUG: 24883058

Change-Id: I8e53ca677c935a6c828dd6ece00b345d0eff182a

8 years agoMerge "Remove variants of "show/hide" internal storage string."
Steve McKay [Wed, 27 Jan 2016 19:47:50 +0000 (19:47 +0000)]
Merge "Remove variants of "show/hide" internal storage string."

8 years agoMerge "Revert "Eliminate the "productivity_device" setting.""
Steve McKay [Wed, 27 Jan 2016 19:25:07 +0000 (19:25 +0000)]
Merge "Revert "Eliminate the "productivity_device" setting.""

8 years agoRevert "Eliminate the "productivity_device" setting."
Steve McKay [Wed, 27 Jan 2016 19:24:25 +0000 (19:24 +0000)]
Revert "Eliminate the "productivity_device" setting."

This reverts commit d0a0fc2cd1fbb629f329cf10e0413a674a8e54b6.

Missed a use. Prema-revert.

Change-Id: I6bce595646e2e2bf1e506388a2da9e1cd8f61a09

8 years agoMerge "sysui: refactor NavigationBarInflaterView"
Xiaohui Chen [Wed, 27 Jan 2016 19:19:15 +0000 (19:19 +0000)]
Merge "sysui: refactor NavigationBarInflaterView"

8 years agoMerge "Allow volume dialog dimensions to be customized."
Anthony Chen [Wed, 27 Jan 2016 19:15:54 +0000 (19:15 +0000)]
Merge "Allow volume dialog dimensions to be customized."

8 years agoAllow volume dialog dimensions to be customized.
Anthony Chen [Tue, 26 Jan 2016 23:34:12 +0000 (15:34 -0800)]
Allow volume dialog dimensions to be customized.

The volume dialog originally had the same dimensions as the regular
notification panel. However, Android Auto wants a larger dialog. As a
result, separate out the icon size and dialog size so that they can be
customized.

Change-Id: Idcaf94d64bcd5ce7d8f6f0ad5da916cf7226a527

8 years agoMerge "move framework metrics over to new proto"
Chris Wren [Wed, 27 Jan 2016 19:02:14 +0000 (19:02 +0000)]
Merge "move framework metrics over to new proto"

8 years agosysui: refactor NavigationBarInflaterView
Xiaohui Chen [Mon, 25 Jan 2016 19:11:11 +0000 (11:11 -0800)]
sysui: refactor NavigationBarInflaterView

Bug: 26742568
Change-Id: Id0cb541c39457b3d15b09c98552a22e2d533102d

8 years agoMerge "Eliminate the "productivity_device" setting."
Ben Kwa [Wed, 27 Jan 2016 18:48:01 +0000 (18:48 +0000)]
Merge "Eliminate the "productivity_device" setting."

8 years agomove framework metrics over to new proto
Chris Wren [Tue, 26 Jan 2016 23:04:35 +0000 (18:04 -0500)]
move framework metrics over to new proto

Change-Id: Ie46e946dc787350c15c10aa4385a6b7df7e181a8

8 years agoMerge "Add setting to enable higher text-to-speech rate."
Shweta Chahar [Wed, 27 Jan 2016 18:22:50 +0000 (18:22 +0000)]
Merge "Add setting to enable higher text-to-speech rate."

8 years agoAdd setting to enable higher text-to-speech rate.
shwetachahar [Wed, 27 Jan 2016 16:31:09 +0000 (16:31 +0000)]
Add setting to enable higher text-to-speech rate.

Change-Id: I1e3c78870a5c083bed9dfc6d13601b7874b86583

8 years ago[DO NOT MERGE] Cellinfo: Update to version 12
Sanket Padawe [Wed, 27 Jan 2016 18:09:41 +0000 (18:09 +0000)]
[DO NOT MERGE] Cellinfo: Update to version 12
am: 0491c46227  -s ours

* commit '0491c46227d94ad51a70c549d1529616cea9170b':
  [DO NOT MERGE] Cellinfo: Update to version 12

8 years agoMerge "media: Add interface to query and set intra refresh for encoder."
Hangyu Kuang [Wed, 27 Jan 2016 18:06:25 +0000 (18:06 +0000)]
Merge "media: Add interface to query and set intra refresh for encoder."

8 years agoMerge "media: unhide MediaRecorder.pause()/resume()"
Wonsik Kim [Wed, 27 Jan 2016 18:01:28 +0000 (18:01 +0000)]
Merge "media: unhide MediaRecorder.pause()/resume()"

8 years ago[DO NOT MERGE] Cellinfo: Update to version 12
Sanket Padawe [Wed, 27 Jan 2016 17:59:59 +0000 (09:59 -0800)]
[DO NOT MERGE] 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: I1e741ec73f2f683a796d430898b62921fe6e75e9

8 years agoMerge "AbsListView invalidates data when it isn’t changed"
Siyamed Sinir [Wed, 27 Jan 2016 17:53:32 +0000 (17:53 +0000)]
Merge "AbsListView invalidates data when it isn’t changed"

8 years agoMerge "Cellinfo: Update to version 12"
Sanket Padawe [Wed, 27 Jan 2016 17:52:06 +0000 (17:52 +0000)]
Merge "Cellinfo: Update to version 12"

8 years agoMerge "Allow setActionBar() to take a null param"
Chris Banes [Wed, 27 Jan 2016 17:28:48 +0000 (17:28 +0000)]
Merge "Allow setActionBar() to take a null param"

8 years agoMinor improvements on parseCommandArgs,
Felipe Leme [Wed, 27 Jan 2016 16:39:09 +0000 (08:39 -0800)]
Minor improvements on parseCommandArgs,

- Added --receiver-foreground flag.
- Documented -f flag.

BUG: 26805230
Change-Id: Iee7a45dba549773abd7b026f5205ab94f0a8ef2a

8 years agoMerge "Encode BulletSpan in toHtml() conversion"
Daniel U [Wed, 27 Jan 2016 16:58:08 +0000 (16:58 +0000)]
Merge "Encode BulletSpan in toHtml() conversion"

8 years agoMerge "Initial implementation of OPEN_EXTERNAL_DIRECTORY."
Felipe Leme [Wed, 27 Jan 2016 16:56:20 +0000 (16:56 +0000)]
Merge "Initial implementation of OPEN_EXTERNAL_DIRECTORY."

8 years agoInitial implementation of OPEN_EXTERNAL_DIRECTORY.
Felipe Leme [Sat, 23 Jan 2016 00:49:55 +0000 (16:49 -0800)]
Initial implementation of OPEN_EXTERNAL_DIRECTORY.

It opens a an alert dialog that tells user application X is requesting
access to folder Y on volume Z; if user accepts, it returns the proper
URI, otherwise it returns RESULT_CANCELED.

The requested path must satisfy the following requirements:

1.It's directory (getName()) must be one of the pre-definied folders on
  Environment.
2.It's root (getParent()) must be a valid external storage root.

In order to satisfy #2, DocumentsUI calls the ExternalStorageProvider,
through a custom call() implementation.

BUG:  23011462
Change-Id: I8e491e82ae320df88f7b8923286c4c1ad050ae80

8 years agoSuspend apps - disable notifications
Andrei Stingaceanu [Fri, 22 Jan 2016 15:33:03 +0000 (15:33 +0000)]
Suspend apps - disable notifications

Disable notifications and posts for suspended apps by
verifying if the package is suspended in NotificationManagerService
where AppOpsManager.OP_POST_NOTIFICATION is checked.

Note that the notificationEnabled user preference is
preserved when unsuspending.

In a following CL will make the "Block all" notifications
setting while an app is suspended (in Settings -> App Info)
readonly so that the user can not turn notifications on.

Bug: 22776761
Change-Id: Ie8edba508bd23406445f9a014404b6d3b17cb223

8 years agoEncode BulletSpan in toHtml() conversion
Daniel U [Wed, 23 Dec 2015 12:32:03 +0000 (12:32 +0000)]
Encode BulletSpan in toHtml() conversion

Changes in toHtml() conversion with TO_HTML_PARAGRAPH_LINES_INDIVIDUAL:

- Wrap each paragraph inside a block-level element
Each paragraph delimited by '\n' is now wrapped individually inside either
a <p> or a <li> block to allow per-paragraph formatting.

- Wrap paragraphs covered by BulletSpans as <li> instead of <p> blocks

- Encode text alignment at paragraph level
Instead of creating <div> blocks outside of the block quote level.

- Encode AlignmentSpan as CSS style instead of the ALIGN attribute
The ALIGN attribute is obsolete.

Change-Id: I3a8b315224b762af99eda69cb19f5cf6b3f05dac

8 years agomedia: Add interface to query and set intra refresh for encoder.
Hangyu Kuang [Wed, 20 Jan 2016 19:10:55 +0000 (11:10 -0800)]
media: Add interface to query and set intra refresh for encoder.

Bug:26587630
Change-Id: I913a56b4888e2c46ad30ba0e9c3130da7101f7a4

8 years agoMerge "Fix build"
Jaesung Chung [Wed, 27 Jan 2016 16:28:31 +0000 (16:28 +0000)]
Merge "Fix build"

8 years agoFix build
Jaesung Chung [Wed, 27 Jan 2016 16:16:56 +0000 (01:16 +0900)]
Fix build

Change-Id: I91e10406da341e226180b14dd2446cadbdab5684

8 years agoMerge "media: add dolby vision profile and level defines in CodecProfileLevel."
Ronghua Wu [Wed, 27 Jan 2016 16:13:17 +0000 (16:13 +0000)]
Merge "media: add dolby vision profile and level defines in CodecProfileLevel."

8 years agoMerge "Unhide @FunctionalInterface"
Neil Fuller [Wed, 27 Jan 2016 16:10:42 +0000 (16:10 +0000)]
Merge "Unhide @FunctionalInterface"

8 years agoMerge "Remove java.nio.file package" am: 804e1e8c15
Przemyslaw Szczepaniak [Wed, 27 Jan 2016 15:16:19 +0000 (15:16 +0000)]
Merge "Remove java.nio.file package" am: 804e1e8c15
am: 2a30579c2e

* commit '2a30579c2ec9b5aedc8f28f6ab1c6922eca428cc':
  Remove java.nio.file package

8 years agoMerge "Remove java.nio.file package"
Przemyslaw Szczepaniak [Wed, 27 Jan 2016 15:11:51 +0000 (15:11 +0000)]
Merge "Remove java.nio.file package"
am: 804e1e8c15

* commit '804e1e8c152e46e7c3b47a0e73b4dabd83ba7dcf':
  Remove java.nio.file package

8 years agoMerge "Remove java.nio.file package"
Przemyslaw Szczepaniak [Wed, 27 Jan 2016 15:03:39 +0000 (15:03 +0000)]
Merge "Remove java.nio.file package"

8 years agoMerge "Enabled Backup/Restore of Package UsageStatistics"
Ritesh Reddy [Wed, 27 Jan 2016 14:58:47 +0000 (14:58 +0000)]
Merge "Enabled Backup/Restore of Package UsageStatistics"

8 years agoMerge "Remove java.nio.file package"
Przemyslaw Szczepaniak [Wed, 27 Jan 2016 14:50:19 +0000 (14:50 +0000)]
Merge "Remove java.nio.file package"

8 years agoMerge changes from topic 'Support more CharacterStyles in toHtml() conversion'
Daniel U [Wed, 27 Jan 2016 14:42:39 +0000 (14:42 +0000)]
Merge changes from topic 'Support more CharacterStyles in toHtml() conversion'

* changes:
  Enhance support to text size spans in toHtml()
  Support more CharacterStyles in toHtml() conversion

8 years agoEnhance support to text size spans in toHtml()
Daniel U [Wed, 23 Dec 2015 10:43:46 +0000 (10:43 +0000)]
Enhance support to text size spans in toHtml()

Convert AbsoluteSizeSpan to <span> with CSS font-size property with CSS
px as the unit of measurement. Sizes measured in Android px are converted
to dip, since there is no CSS unit which conveys the idea of a device
pixel.

Add support to RelativeSizeSpan, which converts to <span> with CSS
font-size property with em as the unit of measurement.

Change-Id: I9104cc5f9b00ab1a31929565dc49e0026466cc75

8 years agoRemove java.nio.file package
Przemyslaw Szczepaniak [Wed, 27 Jan 2016 14:30:46 +0000 (14:30 +0000)]
Remove java.nio.file package

This package has no test coverage, and we don't
know if it was ported properly. This package will
be added in future, with a test suite.

Bug: 26786186
Change-Id: I024c9b7a0caf607ad597753f998b01d243f650cd

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Wed, 27 Jan 2016 14:12:37 +0000 (14:12 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 27 Jan 2016 14:09:58 +0000 (06:09 -0800)]
Import translations. DO NOT MERGE

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

8 years agoAllow setActionBar() to take a null param
Chris Banes [Wed, 27 Jan 2016 14:09:16 +0000 (14:09 +0000)]
Allow setActionBar() to take a null param

BUG: 26779292
Change-Id: Ifda6796bb0630041a0e494b78c341454eaab49b4

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Wed, 27 Jan 2016 14:06:23 +0000 (14:06 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 27 Jan 2016 14:02:37 +0000 (06:02 -0800)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Add a flag for creating an ephemeral user with DevicePolicyManager#createAndMa...
Lenka Trochtova [Wed, 27 Jan 2016 13:55:02 +0000 (13:55 +0000)]
Merge "Add a flag for creating an ephemeral user with DevicePolicyManager#createAndManageUser."

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Wed, 27 Jan 2016 13:47:10 +0000 (13:47 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoSupport more CharacterStyles in toHtml() conversion
Daniel U [Tue, 22 Dec 2015 15:00:48 +0000 (15:00 +0000)]
Support more CharacterStyles in toHtml() conversion

- Add support to convert BackgroundColorSpan
- Convert StrikethroughSpan to <span> with CSS styling instead of <strike>
- Convert ForegroundColorSpan to <span> with CSS styling instead of <font>

Change-Id: I05ff6b97534df9ee586a552c7e6435aabca152ac

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 27 Jan 2016 13:41:07 +0000 (05:41 -0800)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Wed, 27 Jan 2016 13:19:49 +0000 (13:19 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 27 Jan 2016 13:18:39 +0000 (05:18 -0800)]
Import translations. DO NOT MERGE

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

8 years agoMerge "HardwarePropertiesManager: Add API for hardware properties retrieval"
Polina Bondarenko [Wed, 27 Jan 2016 13:18:09 +0000 (13:18 +0000)]
Merge "HardwarePropertiesManager: Add API for hardware properties retrieval"

8 years agoMerge "Make Fingerprint rename and delete user-aware"
Clara Bayarri [Wed, 27 Jan 2016 12:50:07 +0000 (12:50 +0000)]
Merge "Make Fingerprint rename and delete user-aware"

8 years agoMerge "Quota exceeded API in BackupAgent"
Sergey Poromov [Wed, 27 Jan 2016 12:15:50 +0000 (12:15 +0000)]
Merge "Quota exceeded API in BackupAgent"

8 years agoMerge "Enable reading a thumbnail from RAW image files in MtpDatabase"
Jaesung Chung [Wed, 27 Jan 2016 11:52:34 +0000 (11:52 +0000)]
Merge "Enable reading a thumbnail from RAW image files in MtpDatabase"

8 years agoMerge "Overload toHtml() & fromHtml() to accept option flags"
Daniel U [Wed, 27 Jan 2016 11:51:59 +0000 (11:51 +0000)]
Merge "Overload toHtml() & fromHtml() to accept option flags"

8 years agoMerge "Unhide Method.isDefault"
Neil Fuller [Wed, 27 Jan 2016 11:49:10 +0000 (11:49 +0000)]
Merge "Unhide Method.isDefault"

8 years agoOverload toHtml() & fromHtml() to accept option flags
Daniel U [Thu, 17 Dec 2015 15:00:27 +0000 (15:00 +0000)]
Overload toHtml() & fromHtml() to accept option flags

Overload the methods to take int option flags indicating the conversion
behavior. This guards against large disruptions in legacy applications.

Change-Id: I0f47180bbb78884b67aa200fe5156e903eeaa6f6