OSDN Git Service

android-x86/frameworks-base.git
9 years agoMerge "Don't override dialog icon drawable unless valid resource ID was set" into...
Alan Viverette [Mon, 5 Jan 2015 21:39:12 +0000 (21:39 +0000)]
Merge "Don't override dialog icon drawable unless valid resource ID was set" into lmp-mr1-dev

9 years agoMerge "Don't unregister MobileSignalControllers still used" into lmp-mr1-dev
Jason Monk [Mon, 5 Jan 2015 21:09:21 +0000 (21:09 +0000)]
Merge "Don't unregister MobileSignalControllers still used" into lmp-mr1-dev

9 years agoMerge "QS WiFi panel trigger settings on correct user" into lmp-mr1-dev
Jason Monk [Mon, 5 Jan 2015 21:09:03 +0000 (21:09 +0000)]
Merge "QS WiFi panel trigger settings on correct user" into lmp-mr1-dev

9 years agoDon't override dialog icon drawable unless valid resource ID was set
Alan Viverette [Mon, 5 Jan 2015 20:56:45 +0000 (12:56 -0800)]
Don't override dialog icon drawable unless valid resource ID was set

Fixes a regression where Builder.setIcon(Drawable) would get overridden
even when Builder.setIcon(int) had never been called and was still 0.
Fixes attribute id to respect all valid resource IDs (e.g. non-zero).
Updates documentation to reflect the long-standing override behavior.

BUG: 18904762
Change-Id: I905703993a59910555d5a858e0aaecab63221a02

9 years agoDon't unregister MobileSignalControllers still used
Jason Monk [Fri, 12 Dec 2014 16:49:55 +0000 (11:49 -0500)]
Don't unregister MobileSignalControllers still used

Also add some more testing for this section of code that manages
when MobileSignalControllers are added/removed to make sure we
are all good.

Bug: 18728593
Change-Id: I9902854c54d2e1deb58b38b7bd97dac1617831c0

9 years agoMerge "Fix selector bug" into lmp-mr1-dev
Alan Viverette [Mon, 5 Jan 2015 20:23:45 +0000 (20:23 +0000)]
Merge "Fix selector bug" into lmp-mr1-dev

9 years agoUse min when comparing AM and PM text lengths
Alan Viverette [Mon, 5 Jan 2015 19:28:12 +0000 (11:28 -0800)]
Use min when comparing AM and PM text lengths

Also cleans up code a little to prevent unnecessary re-computation
of lower-cased strings and use final where possible.

BUG: 18874813
Change-Id: I852eb7a281aed64ac36e95f32f5fa410f50abfa4

9 years agoQS WiFi panel trigger settings on correct user
Jason Monk [Mon, 5 Jan 2015 17:05:24 +0000 (12:05 -0500)]
QS WiFi panel trigger settings on correct user

Bug: 18900000
Change-Id: I67e234eb6300dd05f950f174107b6a28867af7a2

9 years agoPost broadcasts to bg and cache bt state info
Jason Monk [Wed, 17 Dec 2014 15:14:33 +0000 (10:14 -0500)]
Post broadcasts to bg and cache bt state info

Add a background thread to post bt broadcasts to for processing.

Try to cache all bluetooth connection state info possible and pull
from broadcasts because requesting it too often may be locking up
devices.

Bug: 18771211
Change-Id: I2cf4852c935b2f471e735d953370e5d9e996c6f7

9 years agoMerge "CEC: Let MHL device be of type 'source'" into lmp-mr1-dev
Jinsuk Kim [Mon, 5 Jan 2015 07:10:05 +0000 (07:10 +0000)]
Merge "CEC: Let MHL device be of type 'source'" into lmp-mr1-dev

9 years agoCEC: Let MHL device be of type 'source'
Jinsuk Kim [Mon, 5 Jan 2015 07:07:28 +0000 (16:07 +0900)]
CEC: Let MHL device be of type 'source'

MHL devices should be of type source that can stream AV contents
to the connected TV. This should be supported by the API
HdmiDeviceInfo.isSourceType().

Bug: 18897172
Change-Id: I7dcbd7773127bf26797c204504a12c3e2ebbd83b

9 years agoMerge "DO NOT MERGE Make mute/unmute work" into lmp-mr1-dev
Sungsoo Lim [Mon, 5 Jan 2015 04:25:09 +0000 (04:25 +0000)]
Merge "DO NOT MERGE Make mute/unmute work" into lmp-mr1-dev

9 years agoDO NOT MERGE Make mute/unmute work
Sungsoo Lim [Wed, 24 Dec 2014 08:30:00 +0000 (17:30 +0900)]
DO NOT MERGE Make mute/unmute work

Bug: 18844550
Change-Id: I431a223d55430aa8e1bb28f0275e11876ed0e0bb
(cherry picked from commit d1851e6e4e49b6a45d9e013de2e1384711975328)

9 years agoDO NOT MERGE TIF: Add a null checking in TvInputHardwareManager.
Dongwon Kang [Fri, 26 Dec 2014 05:53:14 +0000 (14:53 +0900)]
DO NOT MERGE TIF: Add a null checking in TvInputHardwareManager.

Bug: 18688119
Change-Id: I17fd89bfbb34666ad5e14bb6e946aa5347975d4c
(cherry picked from commit b61077357eb6d8b95b303ef107b15db243a9621b)

9 years agoCEC: Buffer <Set System Audio Mode>
Jinsuk Kim [Fri, 2 Jan 2015 04:27:15 +0000 (13:27 +0900)]
CEC: Buffer <Set System Audio Mode>

<Set System Audio Mode> is another command that needs to be buffered
in case the command arrives before the system is ready to process it.
When processed, system audio mode will be enabled based on the
global setting.

Bug: 18809965

Change-Id: Ia6ebc4e2919e1b94498ca28f652c6db95f907f9c

9 years agoMerge "Add MEDIA_PROJECTION_SERVICE to the ServiceName list." into lmp-mr1-dev
Michael Wright [Tue, 30 Dec 2014 19:40:50 +0000 (19:40 +0000)]
Merge "Add MEDIA_PROJECTION_SERVICE to the ServiceName list." into lmp-mr1-dev

9 years agoMerge "Don't backup ringtone on non-telephony devices." into lmp-mr1-dev
Marvin Paul [Mon, 29 Dec 2014 23:18:15 +0000 (23:18 +0000)]
Merge "Don't backup ringtone on non-telephony devices." into lmp-mr1-dev

9 years agoMerge "Exclude unnecessary intents in SystemUI" into lmp-mr1-dev
Andre Eisenbach [Mon, 29 Dec 2014 18:32:20 +0000 (18:32 +0000)]
Merge "Exclude unnecessary intents in SystemUI" into lmp-mr1-dev

9 years agoFix a race in accessibility manager.
Svetoslav [Mon, 29 Dec 2014 17:40:42 +0000 (09:40 -0800)]
Fix a race in accessibility manager.

The accessibility manager has APIs for clients to observe changes
in accessibility, touch exploration, and high contrast states. The
notification of the listeners has to be done with no lock held but
in an attempt to do that the code was incorrectly iterating over
the copy on write collection.

bug:18840784

Change-Id: I6803ff1657fbf6b0cc7936671d5bbdebb5cbf6bb

9 years agoMerge "Audio Policy: Clear calling identity for all paths setting ringer mode." into...
John Spurlock [Wed, 24 Dec 2014 01:16:12 +0000 (01:16 +0000)]
Merge "Audio Policy: Clear calling identity for all paths setting ringer mode." into lmp-mr1-dev

9 years agoAdd MEDIA_PROJECTION_SERVICE to the ServiceName list.
Michael Wright [Mon, 22 Dec 2014 17:38:43 +0000 (09:38 -0800)]
Add MEDIA_PROJECTION_SERVICE to the ServiceName list.

This prevents our lint tooling from complaining that we're passing
invalid values when trying to get the MediaProjectionManager.

Bug: 18830590
Change-Id: I34633248e895b0ac7f5083e18a7d2385ca6f8adb

9 years agoDon't backup ringtone on non-telephony devices.
Marvin Paul [Tue, 23 Dec 2014 19:46:33 +0000 (11:46 -0800)]
Don't backup ringtone on non-telephony devices.

Restoring a device that supports telephony using the backup set of
a non-telephony device would cause the ringtone to be set to "None"
instead of the default value. This was due to the fact that on
non-telephony devices, the ringtone value was being backed up as
"_silent" instead of null.

Bug: 18777629

Change-Id: Idece1f874438a895169dbba7df1d716adea6660e

9 years agoAudio Policy: Clear calling identity for all paths setting ringer mode.
John Spurlock [Tue, 23 Dec 2014 21:14:44 +0000 (16:14 -0500)]
Audio Policy: Clear calling identity for all paths setting ringer mode.

For proper appops bookkeeping and zen setting changes.

Bug: 18832923
Change-Id: Ic029d3226458ca1a9229a0bc5726bedd5e117ad7

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-mr1-dev
Baligh Uddin [Tue, 23 Dec 2014 15:53:34 +0000 (15:53 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-mr1-dev
Baligh Uddin [Tue, 23 Dec 2014 15:52:52 +0000 (15:52 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev

9 years agoMerge "Revert "DevicePolicy: Don't warn about managed profile CAs"" into lmp-mr1-dev
Robin Lee [Tue, 23 Dec 2014 12:30:26 +0000 (12:30 +0000)]
Merge "Revert "DevicePolicy: Don't warn about managed profile CAs"" into lmp-mr1-dev

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 23 Dec 2014 08:28:11 +0000 (00:28 -0800)]
Import translations. DO NOT MERGE

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

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 23 Dec 2014 04:56:36 +0000 (20:56 -0800)]
Import translations. DO NOT MERGE

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

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-mr1-dev
Baligh Uddin [Tue, 23 Dec 2014 04:44:56 +0000 (04:44 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 23 Dec 2014 04:23:07 +0000 (20:23 -0800)]
Import translations. DO NOT MERGE

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

9 years agoMerge "Add configuration indicating whether TTY over VoLTE is supported." into lmp...
Pavel Zhamaitsiak [Tue, 23 Dec 2014 03:39:04 +0000 (03:39 +0000)]
Merge "Add configuration indicating whether TTY over VoLTE is supported." into lmp-mr1-dev

9 years agoMerge "IMS: add the api to get IMS registration information." into lmp-mr1-dev
Amit Mahajan [Tue, 23 Dec 2014 01:19:19 +0000 (01:19 +0000)]
Merge "IMS: add the api to get IMS registration information." into lmp-mr1-dev

9 years agoAdd configuration indicating whether TTY over VoLTE is supported.
Etan Cohen [Thu, 11 Dec 2014 18:41:25 +0000 (10:41 -0800)]
Add configuration indicating whether TTY over VoLTE is supported.

Bug: 18593974
Change-Id: I8b45bfe91a7222d96f22a93e5bc887b96c231afe

9 years agoMerge "CEC: Let the caller check CEC device type" into lmp-mr1-dev
Jinsuk Kim [Mon, 22 Dec 2014 22:48:44 +0000 (22:48 +0000)]
Merge "CEC: Let the caller check CEC device type" into lmp-mr1-dev

9 years agoCEC: Let the caller check CEC device type
Jinsuk Kim [Mon, 22 Dec 2014 22:01:51 +0000 (07:01 +0900)]
CEC: Let the caller check CEC device type

Device event listener mechanism invoke the callback on all kinds
of devices in order to deal with a caller who wants to get notified
for all types. TIF was changed to check the device type to make
sure it handles source type only.

Bug: 18832462
Change-Id: I5123fe79c09f623849b93b64d0c28e6a930dd437

9 years agoMerge "Fix timing between bcast and net setup." into lmp-mr1-dev
Robert Greenwalt [Mon, 22 Dec 2014 22:32:39 +0000 (22:32 +0000)]
Merge "Fix timing between bcast and net setup." into lmp-mr1-dev

9 years agoMerge "Zen: Fix selection logic for "Indefinitely"." into lmp-mr1-dev
John Spurlock [Mon, 22 Dec 2014 21:56:35 +0000 (21:56 +0000)]
Merge "Zen: Fix selection logic for "Indefinitely"." into lmp-mr1-dev

9 years agoZen: Fix selection logic for "Indefinitely".
John Spurlock [Mon, 22 Dec 2014 20:13:30 +0000 (15:13 -0500)]
Zen: Fix selection logic for "Indefinitely".

Use a signal condition value for the forever condition in the panel
to ease the distinction between no selection + selecting indef.

Bug: 18810529
Change-Id: I2590899ab43734708c72aad066653ef27f89d760

9 years agoIMS: add the api to get IMS registration information.
Libin.Tang@motorola.com [Thu, 18 Dec 2014 04:47:45 +0000 (22:47 -0600)]
IMS: add the api to get IMS registration information.

Bug: 18668325
Change-Id: Ie694c7f1cc12a573cbef2815199ae6c91cf8088e

9 years agoMerge "AudioRecord: filter attributes" into lmp-mr1-dev
Jean-Michel Trivi [Mon, 22 Dec 2014 18:55:39 +0000 (18:55 +0000)]
Merge "AudioRecord: filter attributes" into lmp-mr1-dev

9 years agoAudioRecord: filter attributes
Jean-Michel Trivi [Fri, 19 Dec 2014 17:34:07 +0000 (09:34 -0800)]
AudioRecord: filter attributes

When creating an AudioRecord instance, filter the tags in the
  AudioAttributes to remove tags that are handled at the Java
  layer.

Bug: 18733215
Bug: 18736417

Change-Id: I16a3497742086deced4e8677bd6231290396c5f6

9 years agoRevert "DevicePolicy: Don't warn about managed profile CAs"
Robin Lee [Mon, 22 Dec 2014 11:48:10 +0000 (11:48 +0000)]
Revert "DevicePolicy: Don't warn about managed profile CAs"

This reverts commit 80559f4aadb3419eecdf6bf61945af584cd2aa8a.

Bug: 18224038
Change-Id: I108a4e8cf185401fef4806e1ad8c2cc78992e843

9 years agoFix selector bug
Chet Haase [Sat, 20 Dec 2014 00:37:18 +0000 (16:37 -0800)]
Fix selector bug

Issue #18784539 Row stays highlighted if I begin scrolling after the rows been highlighted in "About phone"

Change-Id: Ia91467d8fe64eec077f20af70eae0d5bb070c255

9 years agoMerge "CEC: Allow no vendor-specific data for <Vendor Command With ID>" into lmp...
Jinsuk Kim [Fri, 19 Dec 2014 23:58:09 +0000 (23:58 +0000)]
Merge "CEC: Allow no vendor-specific data for <Vendor Command With ID>" into lmp-mr1-dev

9 years agoCEC: Allow no vendor-specific data for <Vendor Command With ID>
Jinsuk Kim [Fri, 19 Dec 2014 23:43:27 +0000 (08:43 +0900)]
CEC: Allow no vendor-specific data for <Vendor Command With ID>

Changed not to return <Feature Abort> if the command comes
with any vendor-specific data, which is still valid.

Bug: 18816046

Change-Id: I22204d167c7783a841f7bb560e900b525f9f036b

9 years agoMerge "MediaSession: unmute stream when adjusting volume" into lmp-mr1-dev
Eric Laurent [Fri, 19 Dec 2014 23:17:05 +0000 (23:17 +0000)]
Merge "MediaSession: unmute stream when adjusting volume" into lmp-mr1-dev

9 years agoMerge "Tweak RT-animator scheduling" into lmp-mr1-dev
John Reck [Fri, 19 Dec 2014 23:09:47 +0000 (23:09 +0000)]
Merge "Tweak RT-animator scheduling" into lmp-mr1-dev

9 years agoMerge "Remove a bad heuristic when determining click location for accessibility....
Svet Ganov [Fri, 19 Dec 2014 22:33:49 +0000 (22:33 +0000)]
Merge "Remove a bad heuristic when determining click location for accessibility." into lmp-mr1-dev

9 years agoMerge "Allow OEM to specify <unavailable-feature>." into lmp-mr1-dev
Bart Sears [Fri, 19 Dec 2014 21:45:47 +0000 (21:45 +0000)]
Merge "Allow OEM to specify <unavailable-feature>." into lmp-mr1-dev

9 years agoRemove a bad heuristic when determining click location for accessibility.
Svet Ganov [Fri, 19 Dec 2014 19:59:18 +0000 (11:59 -0800)]
Remove a bad heuristic when determining click location for accessibility.

As a bride-gap solution to click on partially covered views in accessibility
mode we compute a point on the screen where to send a down/up event pair.
A heuristic we used was that if the action target is covered by a view that
that has a touch listener we consider the target obscured by the one with
the listener. However, this generates false positives, for example the target
is covered by a view that observers touches for scrolling but not clicking.

bug:18782023

Change-Id: I31ff34011d45667f1eddda47373ec00e4a23dbf6

9 years agoFix timing between bcast and net setup.
Robert Greenwalt [Thu, 18 Dec 2014 01:19:53 +0000 (17:19 -0800)]
Fix timing between bcast and net setup.

A legacy network type request would generate a bcast before the network
notification was sent - the legacy startUsingNetworkFeature API requires
the notification so it can bind your dns queries to the new network.
Fast-moving clients could try to use the network before it was ready.

bug:18792871
Change-Id: I24c46ef15c249c50bfc321f62756d1f66dc3a6a9

9 years agoTweak RT-animator scheduling
John Reck [Fri, 19 Dec 2014 19:37:21 +0000 (11:37 -0800)]
Tweak RT-animator scheduling

Bug: 18226391

The issue occurs as a result of a dispatchFrame itself
taking longer than 12ms, the alloted budget. The result
is that a vsync request (which occured at the end) would
miss the vsync that occured 1ms prior to the end of the frame.
As a result it would end up waiting for the following vsync,
essentially dropping to 30fps even though 60 could have been
sustained.

Fix this with a few tweaks.
First, adjust the UI thread's delay bias from (now + 4ms) to
(vsync + 4ms), this prevents RT animators from slowly drifting
if the vsync occurs mid-task.
Second, request a vsync preemptively prior to running callbacks.
This way if any callbacks needs the next vsync and it takes
"too long", we will catch that vsync.
Finally, fix an issue where the display event queue was always
drained & rejected at the end of a task loop. Instead, drain
and reject all stale vsyncs. This still prevents the issue of
both UI thread & RT thread trying to drive 2 frames in a single
pulse, but also allows RT to notice that it missed a vsync
pulse it needed and that it should speed-up a bit in response

Change-Id: I9d6be037737e9283297898cac2e3563453e797cd

9 years agoAllow OEM to specify <unavailable-feature>.
Jeff Sharkey [Fri, 19 Dec 2014 19:08:55 +0000 (11:08 -0800)]
Allow OEM to specify <unavailable-feature>.

Some single-system-image builds may run on devices that lack
certain hardware features.  This change allows the OEM partition to
mark a feature as "unavailable" which overrides the system image.

Bug: 18801291
Change-Id: I0d81144ec92ee9a78c13b223bbba20a4aed23fa0

9 years agoFix build breakage.
Wink Saville [Fri, 19 Dec 2014 19:02:01 +0000 (11:02 -0800)]
Fix build breakage.

I rebased a change and didn't compile, my mistake.

Change-Id: Iad7fc609b08d53aa7b8b96af609e3ff9a4f0e889

9 years agoExclude unnecessary intents in SystemUI
Andre Eisenbach [Fri, 19 Dec 2014 18:10:19 +0000 (10:10 -0800)]
Exclude unnecessary intents in SystemUI

Bug: 18771211
Change-Id: Ie1288938b51aa85ba36aabbc1c34aee5fdbf4e28

9 years agoUpdate mapping between RAF and Network Type.
Wink Saville [Wed, 17 Dec 2014 22:38:49 +0000 (14:38 -0800)]
Update mapping between RAF and Network Type.

bug:18754476
Change-Id: I5bdb8df192610b831a418ae810fe4f3b96c30f77

9 years agoMediaSession: unmute stream when adjusting volume
Eric Laurent [Fri, 19 Dec 2014 18:07:03 +0000 (10:07 -0800)]
MediaSession: unmute stream when adjusting volume

Bug: 18482488.

Change-Id: I3411f78551cba31aa7f91b5223e015f0b8c1bbb2

9 years agoMerge "Update mapping between RAF and Network Type." into lmp-mr1-dev
Wink Saville [Fri, 19 Dec 2014 17:58:50 +0000 (17:58 +0000)]
Merge "Update mapping between RAF and Network Type." into lmp-mr1-dev

9 years agoMerge "AudioService: fix permission check." into lmp-mr1-dev
Eric Laurent [Fri, 19 Dec 2014 17:11:27 +0000 (17:11 +0000)]
Merge "AudioService: fix permission check." into lmp-mr1-dev

9 years agoMerge "Fix missing subscription list changes" into lmp-mr1-dev
Jason Monk [Fri, 19 Dec 2014 14:55:47 +0000 (14:55 +0000)]
Merge "Fix missing subscription list changes" into lmp-mr1-dev

9 years agoMerge "MediaSessionLegacyHelper uses global Application context" into lmp-mr1-dev
Oliver Woodman [Fri, 19 Dec 2014 11:37:01 +0000 (11:37 +0000)]
Merge "MediaSessionLegacyHelper uses global Application context" into lmp-mr1-dev

9 years agoAdd a lastValidated bit and use it when reporting capabilities.
Lorenzo Colitti [Wed, 17 Dec 2014 02:26:49 +0000 (11:26 +0900)]
Add a lastValidated bit and use it when reporting capabilities.

When we switched the way the status bar determines if a
connection is validated from using INET_CONDITION_ACTION
broadcasts to calling getDefaultNetworkCapabilitiesForUser(),
the statusbar stopped displaying ! when a network stopped having
working Internet connectivity. This is because the validated bit
is never set to false once a network is validated.

Fix this, hopefully temporarily, by introducing a new validated
bit that does go back to being false when a network no longer
has working connectivity, and use that bit in
getDefaultNetworkCapabilitiesForUser().

Bug: 18777225
Change-Id: I991c068be50252391d0e64c647fcf2e053dc82f9

9 years agoRename validated to everValidated.
Lorenzo Colitti [Wed, 17 Dec 2014 02:14:42 +0000 (11:14 +0900)]
Rename validated to everValidated.

This is a straight rename and thus a complete no-op from a
functionality perspective.

Bug: 18777225
Change-Id: I140d7640f1460c869a311294873772819a7a7059

9 years agoAudioService: fix permission check.
Eric Laurent [Fri, 19 Dec 2014 01:38:04 +0000 (17:38 -0800)]
AudioService: fix permission check.

Clear caller identity before calling TelecomManager.isInCall().

Bug: 18702149.
Change-Id: Ie057f3f261fc0a36dff51840cc8390408621d3bd

9 years agoMediaSessionLegacyHelper uses global Application context
Jean-Michel Trivi [Thu, 18 Dec 2014 23:04:25 +0000 (15:04 -0800)]
MediaSessionLegacyHelper uses global Application context

MediaSessionLegacyHelper used a Context passed by an application
  which can cause a leak of Activity instances. Use the global
  Application context instead.
Also prevent crash if a null Context is supplied (method not
  documented as requesting a non-null Context).

Bug 18767503

Change-Id: I8281047d0af233a323f3fc11ababedff848829ec

9 years agoMerge "take out SIM card, the RSSI Triangle is still full" into lmp-mr1-dev
xinhe [Fri, 19 Dec 2014 00:07:28 +0000 (00:07 +0000)]
Merge "take out SIM card, the RSSI Triangle is still full" into lmp-mr1-dev

9 years agoMerge "BluetoothManagerService: Enforce DUMP permission" into lmp-mr1-dev
Mike Lockwood [Thu, 18 Dec 2014 22:33:59 +0000 (22:33 +0000)]
Merge "BluetoothManagerService: Enforce DUMP permission" into lmp-mr1-dev

9 years agoBluetoothManagerService: Enforce DUMP permission
Mike Lockwood [Thu, 18 Dec 2014 22:16:36 +0000 (14:16 -0800)]
BluetoothManagerService: Enforce DUMP permission

Bug: 18667272
Change-Id: If9a510aa7b5f22b9df1d8b33f0a18183040a8cf6

9 years agoMerge "add debug logs to confirm network flapping issue is fixed Bug:18706288" into...
vandwalle [Thu, 18 Dec 2014 22:16:29 +0000 (22:16 +0000)]
Merge "add debug logs to confirm network flapping issue is fixed Bug:18706288" into lmp-mr1-dev

9 years agoMerge "Make window mgr stack movement track activity mgr" into lmp-mr1-dev
Craig Mautner [Thu, 18 Dec 2014 19:55:49 +0000 (19:55 +0000)]
Merge "Make window mgr stack movement track activity mgr" into lmp-mr1-dev

9 years agoMerge "Bug 18784289: Fix issue with transition animation callback." into lmp-mr1-dev
Winson Chung [Thu, 18 Dec 2014 19:30:38 +0000 (19:30 +0000)]
Merge "Bug 18784289: Fix issue with transition animation callback." into lmp-mr1-dev

9 years agoBug 18784289: Fix issue with transition animation callback.
Winson Chung [Wed, 17 Dec 2014 18:12:54 +0000 (10:12 -0800)]
Bug 18784289: Fix issue with transition animation callback.

This is a regression where we changed the source view for the transition
to dummy view, but since it was not yet attached, it could not get the
handler implicitly to post the onAnimationCompleted callback.  This CL
modifies these ActivityOption transitions to also take an explicit
handler to process the callback on.

Bug: 18784289

Change-Id: I73f745c33b9f8aed91f8d9cd975f37cf7e4128f1

9 years agoFix missing subscription list changes
Jason Monk [Mon, 15 Dec 2014 17:24:10 +0000 (12:24 -0500)]
Fix missing subscription list changes

A missing @Override let the wrong function try to catch changes
to the subscription list.

The SubscriptionManager returns null when no SIMs are in the device,
so handle null as an empty list of subscriptions.

Bug: 18752587
Change-Id: I20ee1bde3f23828860f57b512662ad54ee51baf0

9 years agotake out SIM card, the RSSI Triangle is still full
xinhe [Thu, 18 Dec 2014 18:02:14 +0000 (10:02 -0800)]
take out SIM card, the RSSI Triangle is still full

Bug:18479509
Change-Id: I96b0e91ae42ad222889c123ebe0c0c1225d9b6a7

9 years agoMerge "Increase timeout when uncrypting OTA" into lmp-mr1-dev
Michael Runge [Thu, 18 Dec 2014 01:49:06 +0000 (01:49 +0000)]
Merge "Increase timeout when uncrypting OTA" into lmp-mr1-dev

9 years agoam 879cffde: am 8838a9f0: docs: sdk revision 24.0.2
Rich Slogar [Thu, 18 Dec 2014 01:33:53 +0000 (01:33 +0000)]
am 879cffde: am 8838a9f0: docs: sdk revision 24.0.2
automerge: 85e645a

* commit '85e645ac2bf38186dce177e29f7062a3645c7917':
  docs: sdk revision 24.0.2

9 years agoam 41ea13c8: am fe7b93f4: Adding links for the last few files requested by PMs.
Eric Gilmore [Thu, 18 Dec 2014 01:32:41 +0000 (01:32 +0000)]
am 41ea13c8: am fe7b93f4: Adding links for the last few files requested by PMs.
automerge: 8d2af0f

* commit '8d2af0f9daf672183262a226e9c9410c54c133a2':
  Adding links for the last few files requested by PMs.

9 years agoMerge "IMS: Set phone account in IMS Conference object" into lmp-mr1-dev
Pavel Zhamaitsiak [Thu, 18 Dec 2014 01:27:36 +0000 (01:27 +0000)]
Merge "IMS: Set phone account in IMS Conference object" into lmp-mr1-dev

9 years agoam 879cffde: am 8838a9f0: docs: sdk revision 24.0.2
Rich Slogar [Thu, 18 Dec 2014 00:58:03 +0000 (00:58 +0000)]
am 879cffde: am 8838a9f0: docs: sdk revision 24.0.2

* commit '879cffdec9c6206a3d1f3babfef2b2940a72bfa2':
  docs: sdk revision 24.0.2

9 years agoam 8838a9f0: docs: sdk revision 24.0.2
Rich Slogar [Thu, 18 Dec 2014 00:51:56 +0000 (00:51 +0000)]
am 8838a9f0: docs: sdk revision 24.0.2

* commit '8838a9f083ff2ecc748d70931e21cbd429ad0d45':
  docs: sdk revision 24.0.2

9 years agoMerge "Removing unwanted tethering profiles from config.xml" into lmp-mr1-dev
Sanket Padawe [Thu, 18 Dec 2014 00:44:06 +0000 (00:44 +0000)]
Merge "Removing unwanted tethering profiles from config.xml" into lmp-mr1-dev

9 years agodocs: sdk revision 24.0.2
Rich Slogar [Tue, 16 Dec 2014 00:58:03 +0000 (16:58 -0800)]
docs: sdk revision 24.0.2

Change-Id: I2427885aded49e7ceab5d66c8cb8d12cea19bc2c

9 years agoadd debug logs to confirm network flapping issue is fixed
vandwalle [Mon, 15 Dec 2014 23:41:34 +0000 (15:41 -0800)]
add debug logs to confirm network flapping issue is fixed
Bug:18706288

Change-Id: I59378faafbccfa58639d942c8b8e2e0e815261f4

9 years agoMerge "Removing context ref from AppWidgetHost. (Bug 18769791)" into lmp-mr1-dev
Winson Chung [Thu, 18 Dec 2014 00:15:11 +0000 (00:15 +0000)]
Merge "Removing context ref from AppWidgetHost. (Bug 18769791)" into lmp-mr1-dev

9 years agoam 41ea13c8: am fe7b93f4: Adding links for the last few files requested by PMs.
Eric Gilmore [Thu, 18 Dec 2014 00:08:10 +0000 (00:08 +0000)]
am 41ea13c8: am fe7b93f4: Adding links for the last few files requested by PMs.

* commit '41ea13c8d2e350bb6167b79653f2aa65fa5d84c5':
  Adding links for the last few files requested by PMs.

9 years agoMerge "Change to write (create) setting+subid if it does not already exist when it...
Amit Mahajan [Wed, 17 Dec 2014 23:58:09 +0000 (23:58 +0000)]
Merge "Change to write (create) setting+subid if it does not already exist when it is queried for the first time." into lmp-mr1-dev

9 years agoam fe7b93f4: Adding links for the last few files requested by PMs.
Eric Gilmore [Wed, 17 Dec 2014 23:56:21 +0000 (23:56 +0000)]
am fe7b93f4: Adding links for the last few files requested by PMs.

* commit 'fe7b93f4f7fec93650d3faec23f9cf76841d2b9e':
  Adding links for the last few files requested by PMs.

9 years agoAdding links for the last few files requested by PMs.
Eric Gilmore [Wed, 17 Dec 2014 23:25:51 +0000 (15:25 -0800)]
Adding links for the last few files requested by PMs.

Change-Id: If93e894a690ee5bef4b59caa234a97e3f0f7f6e4

9 years agoMake window mgr stack movement track activity mgr
Craig Mautner [Wed, 17 Dec 2014 23:45:03 +0000 (15:45 -0800)]
Make window mgr stack movement track activity mgr

There were situations where the activity manager ActivityStack was
moved to the front but the corresponding window manager TaskStack
was not. This caused the wrong activity to receive focus which led
to Application Not Responding errors.

One path in particular occurred in startActivityUncheckedLocked()
where curTop.task != intentActivity.task and
sourceStack.topActivity().task != sourceRecord.task. In this case
targetStack.moveTaskToFrontLocked() was never called.

This fix forces all calls to ActivityStack.moveToFront() to make
a call to WindowManagerService.moveTaskToTop() and eliminates
redundant calls to moveTaskToTop().

Fixes bug 17721767.

Change-Id: Ibf01389810dd36724eaec5a4a07560144b2f4cef

9 years agoChange to write (create) setting+subid if it does not already exist
Amit Mahajan [Wed, 17 Dec 2014 23:42:56 +0000 (15:42 -0800)]
Change to write (create) setting+subid if it does not already exist
when it is queried for the first time.

Bug: 18791109
Change-Id: Ib9dae9401a18f1ec0eb0477486c7c7e4cb0364b0

9 years agoMerge "Revert "Change Linkify leniency to VALID"" into lmp-mr1-dev
Raph Levien [Wed, 17 Dec 2014 23:08:49 +0000 (23:08 +0000)]
Merge "Revert "Change Linkify leniency to VALID"" into lmp-mr1-dev

9 years agoMerge "Preserve leading "+" in phone numbers" into lmp-mr1-dev
Raph Levien [Wed, 17 Dec 2014 23:04:15 +0000 (23:04 +0000)]
Merge "Preserve leading "+" in phone numbers" into lmp-mr1-dev

9 years agoRevert "Change Linkify leniency to VALID"
Raph Levien [Wed, 17 Dec 2014 22:31:39 +0000 (14:31 -0800)]
Revert "Change Linkify leniency to VALID"

This reverts commit 9dfe86d4102b93885b947917fccee35053cfc9f2.

That change moved the lenience from POSSIBLE to VALID, which eliminated
false positive links, especially 4 digit phone numbers, but caused
significant false negatives, leading to CTS test failures
(android.text.util.cts.LinkifyTest#testAddLinks7 in particular).

The true fix requires new functionality to validate phone numbers in
a mobile context. In the meantime, the best solution is to revert.

Bug: 18708556

9 years agoRemoving unwanted tethering profiles from config.xml
Sanket Padawe [Wed, 17 Dec 2014 22:19:58 +0000 (14:19 -0800)]
Removing unwanted tethering profiles from config.xml

Bug: 18769044
Change-Id: I9002f6bdcd23bf02596798bcb5370ed456aaca39

9 years agoIncrease timeout when uncrypting OTA
Michael Runge [Wed, 17 Dec 2014 22:14:12 +0000 (14:14 -0800)]
Increase timeout when uncrypting OTA

Larger OTAs (750 MB tested) are taking 3-4 minutes
to write, due to the O_SYNC needed to ensure that
the data is actually committed to disk prior to
reboot.

Bug: 18750317
Change-Id: Idfab3ffd0276df4548f69a09c72ad6f4a344b6e6

9 years agoMerge "Revert overdraw avoidance visualization change" into lmp-mr1-dev
Chris Craik [Wed, 17 Dec 2014 22:07:02 +0000 (22:07 +0000)]
Merge "Revert overdraw avoidance visualization change" into lmp-mr1-dev

9 years agoMerge "CEC: Pass port ID for set_audio_return_channel" into lmp-mr1-dev
Jinsuk Kim [Wed, 17 Dec 2014 21:15:18 +0000 (21:15 +0000)]
Merge "CEC: Pass port ID for set_audio_return_channel" into lmp-mr1-dev

9 years agoIMS: Set phone account in IMS Conference object
Anju Mathapati [Wed, 17 Dec 2014 19:11:21 +0000 (11:11 -0800)]
IMS: Set phone account in IMS Conference object

Get phone account from conference host connection and set
it to ImsConference while constructing

Bug: 18690773
Change-Id: I018a84512eb6ce001a8021d148895bf87dddc2ef

9 years agoMerge "Add global setting for ephemeral network timeout." into lmp-mr1-dev
Jeff Davidson [Wed, 17 Dec 2014 20:51:09 +0000 (20:51 +0000)]
Merge "Add global setting for ephemeral network timeout." into lmp-mr1-dev

9 years agoMerge "remove actions and calls for the old sms/mms api BUG: 18005911" into lmp-mr1-dev
Cheuksan Wang [Wed, 17 Dec 2014 20:38:06 +0000 (20:38 +0000)]
Merge "remove actions and calls for the old sms/mms api BUG: 18005911" into lmp-mr1-dev