OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Use the intent filter icon in ResolveInfo for managed profile." into mnc-dev
Sudheer Shanka [Fri, 19 Jun 2015 09:25:55 +0000 (09:25 +0000)]
Merge "Use the intent filter icon in ResolveInfo for managed profile." into mnc-dev

8 years agoMerge "Add VVM carrier config to public API." into mnc-dev
Jonathan Basseri [Fri, 19 Jun 2015 06:16:46 +0000 (06:16 +0000)]
Merge "Add VVM carrier config to public API." into mnc-dev

8 years agoam d9d05fe3: am 838e4aa6: Merge "docs: sdk-tools 24.3.3 updates" into mnc-preview...
Rich Slogar [Fri, 19 Jun 2015 05:58:13 +0000 (05:58 +0000)]
am d9d05fe3: am 838e4aa6: Merge "docs: sdk-tools 24.3.3 updates" into mnc-preview-docs

* commit 'd9d05fe358c96e85149627d955191d1328e9924a':
  docs: sdk-tools 24.3.3 updates

8 years agoMerge "resolved conflicts for merge of 1dac6bd9 to mnc-dev" into mnc-dev
Wei Liu [Fri, 19 Jun 2015 05:54:53 +0000 (05:54 +0000)]
Merge "resolved conflicts for merge of 1dac6bd9 to mnc-dev" into mnc-dev

8 years agoresolved conflicts for merge of 1dac6bd9 to mnc-dev
Wei Liu [Fri, 19 Jun 2015 05:52:37 +0000 (22:52 -0700)]
resolved conflicts for merge of 1dac6bd9 to mnc-dev

Change-Id: I000b35f5e2658a065c780396254bcb88f1cbce5e

8 years agoMerge "Reflect removal of KM_TAG_AEAD_TAG from keymaster." into mnc-dev
Shawn Willden [Fri, 19 Jun 2015 03:16:49 +0000 (03:16 +0000)]
Merge "Reflect removal of KM_TAG_AEAD_TAG from key" into mnc-dev

8 years agoReflect removal of KM_TAG_AEAD_TAG from keymaster.
Alex Klyubin [Fri, 19 Jun 2015 01:43:45 +0000 (18:43 -0700)]
Reflect removal of KM_TAG_AEAD_TAG from keymaster.

This reflects the changes in da89dde9787dfbd8c053119ab52d9e671106b18e
in system/keymaster.

Bug: 19919114
Change-Id: I9cdfc7ce63099c4de29029b1fc112369c4a68eba

8 years agoMerge "Added a message to the keyguard bouncer" into mnc-dev
Selim Cinek [Fri, 19 Jun 2015 01:40:37 +0000 (01:40 +0000)]
Merge "Added a message to the keyguard bouncer" into mnc-dev

8 years agoMerge "BatteryStats: Update external stats individually." into mnc-dev
Adam Lesinski [Fri, 19 Jun 2015 01:22:52 +0000 (01:22 +0000)]
Merge "BatteryStats: Update external stats individually." into mnc-dev

8 years agoMerge "BatteryStats: Log when WiFi idle time is too large" into mnc-dev
Adam Lesinski [Fri, 19 Jun 2015 01:17:06 +0000 (01:17 +0000)]
Merge "BatteryStats: Log when WiFi idle time is too large" into mnc-dev

8 years agoBatteryStats: Update external stats individually.
Adam Lesinski [Thu, 18 Jun 2015 21:52:24 +0000 (14:52 -0700)]
BatteryStats: Update external stats individually.

When wifi traffic causes a stats collection, we shouldn't care about
cpu or bluetooth updates.

Bug:21478443
Change-Id: I177dc0fc09951813cb4a702ad0e5d951d69f8c22

8 years agoMerge "Don't always dump domain/preferred state" into mnc-dev
Christopher Tate [Fri, 19 Jun 2015 01:12:00 +0000 (01:12 +0000)]
Merge "Don't always dump domain/preferred state" into mnc-dev

8 years agoDon't always dump domain/preferred state
Christopher Tate [Fri, 19 Jun 2015 01:09:42 +0000 (18:09 -0700)]
Don't always dump domain/preferred state

Change-Id: Ie0431b6c3cb1a9f372a142637359c42b182d4b1b

8 years agoBatteryStats: Log when WiFi idle time is too large
Adam Lesinski [Fri, 19 Jun 2015 01:05:20 +0000 (18:05 -0700)]
BatteryStats: Log when WiFi idle time is too large

We have issues with bad data coming from the WiFi system, so
log when we have unreasonably large WiFi idle time.

Bug:21929173
Change-Id: I54b34c5efad14264306155c588f4c3b71cae35df

8 years agoMerge "Set default PBAP checkbox state to false (checkbox unselected)." into mnc-dev
Sanket Padawe [Fri, 19 Jun 2015 01:03:34 +0000 (01:03 +0000)]
Merge "Set default PBAP checkbox state to false (checkbox unselected)." into mnc-dev

8 years agoMerge "Fix issue #20494208: Go out of device idle when headset button is pressed...
Dianne Hackborn [Fri, 19 Jun 2015 01:01:36 +0000 (01:01 +0000)]
Merge "Fix issue #20494208: Go out of device idle when headset button is pressed" into mnc-dev

8 years agoMerge "BatteryStats: Fix regression in wakelock power distribution" into mnc-dev
Adam Lesinski [Fri, 19 Jun 2015 00:57:46 +0000 (00:57 +0000)]
Merge "BatteryStats: Fix regression in wakelock power distribution" into mnc-dev

8 years agoSet default PBAP checkbox state to false (checkbox unselected).
Sanket Padawe [Fri, 19 Jun 2015 00:56:08 +0000 (17:56 -0700)]
Set default PBAP checkbox state to false (checkbox unselected).

Bug: 20488109
Change-Id: I6259ea8d048cbface2ba63b8c1077af12d0fee1b

8 years agoMerge "Announce chronometers with time-unit words." into mnc-dev
Dan Sandler [Fri, 19 Jun 2015 00:50:57 +0000 (00:50 +0000)]
Merge "Announce chronometers with time-unit words." into mnc-dev

8 years agoFix issue #20494208: Go out of device idle when headset button is pressed
Dianne Hackborn [Fri, 19 Jun 2015 00:40:33 +0000 (17:40 -0700)]
Fix issue #20494208: Go out of device idle when headset button is pressed

Rework how we record active transitions in battery stats to be
more general, and add an API that others can call in to
DeviceIdleController to request that we go out of idle mode.
use this for VOICE_SEARCH_HANDS_FREE.

Change-Id: Ie58de60e63036a4142881283835961fbcceec892

8 years agoMerge "Clean up SIM CallManager APIs." into mnc-dev
Santos Cordon [Fri, 19 Jun 2015 00:04:58 +0000 (00:04 +0000)]
Merge "Clean up SIM CallManager APIs." into mnc-dev

8 years agoam 838e4aa6: Merge "docs: sdk-tools 24.3.3 updates" into mnc-preview-docs
Rich Slogar [Thu, 18 Jun 2015 23:55:44 +0000 (23:55 +0000)]
am 838e4aa6: Merge "docs: sdk-tools 24.3.3 updates" into mnc-preview-docs

* commit '838e4aa6e69f6482adfdde2e45867a36dc1db2b0':
  docs: sdk-tools 24.3.3 updates

8 years agoMerge "docs: sdk-tools 24.3.3 updates" into mnc-preview-docs
Rich Slogar [Thu, 18 Jun 2015 23:47:27 +0000 (23:47 +0000)]
Merge "docs: sdk-tools 24.3.3 updates" into mnc-preview-docs

8 years agodocs: sdk-tools 24.3.3 updates
Rich Slogar [Tue, 16 Jun 2015 21:22:08 +0000 (14:22 -0700)]
docs: sdk-tools 24.3.3 updates

Change-Id: I30267355dc17cd6451b28b2aca6d639b9af320d4

8 years agoam ae363d2d: Wear doesn\'t need Shell to send notification when bugreport captured.
Wei Liu [Thu, 18 Jun 2015 23:24:41 +0000 (23:24 +0000)]
am ae363d2d: Wear doesn\'t need Shell to send notification when bugreport captured.

* commit 'ae363d2db4398a695606c254b88be8940139edd1':
  Wear doesn't need Shell to send notification when bugreport captured.

8 years agoMerge "OP_READ_PHONE_STATE AppOp check for getMergedSubscriberIds" into mnc-dev
Fyodor Kupolov [Thu, 18 Jun 2015 23:16:42 +0000 (23:16 +0000)]
Merge "OP_READ_PHONE_STATE AppOp check for getMergedSubscriberIds" into mnc-dev

8 years agoClean up SIM CallManager APIs.
Santos Cordon [Fri, 12 Jun 2015 22:27:01 +0000 (15:27 -0700)]
Clean up SIM CallManager APIs.

Bug: 21499476
Change-Id: Iaded74c6b885b0745dfa85d0b7733bdad75d615a

8 years agoMerge "create Wifi PNO ALARM intent" into mnc-dev
Pierre Vandwalle [Thu, 18 Jun 2015 23:13:17 +0000 (23:13 +0000)]
Merge "create Wifi PNO ALARM intent" into mnc-dev

8 years agoAdd VVM carrier config to public API.
Jonathan Basseri [Thu, 18 Jun 2015 23:05:39 +0000 (16:05 -0700)]
Add VVM carrier config to public API.

These bits of carrier config were @hidden, but in order for carrier apps
to set them, they need to be public.

Bug: 21930513
Change-Id: Ifa49cf7441a8c6b6cf7e1aadb46abeb41054fcc3

8 years agoMerge "Defer writes to runtime-permissions.xml" into mnc-dev
Fyodor Kupolov [Thu, 18 Jun 2015 23:00:48 +0000 (23:00 +0000)]
Merge "Defer writes to runtime-permissions.xml" into mnc-dev

8 years agoMerge "Fix a typo in Drawable's javadoc" into mnc-dev
Doris Liu [Thu, 18 Jun 2015 22:39:16 +0000 (22:39 +0000)]
Merge "Fix a typo in Drawable's javadoc" into mnc-dev

8 years agoMerge "Unpublish methods in class ScriptGroup.Binding" into mnc-dev
Yang Ni [Thu, 18 Jun 2015 22:38:58 +0000 (22:38 +0000)]
Merge "Unpublish methods in class ScriptGroup.Binding" into mnc-dev

8 years agoMerge "Add getPackageImportance() system API" into mnc-dev
Todd Kennedy [Thu, 18 Jun 2015 22:37:39 +0000 (22:37 +0000)]
Merge "Add getPackageImportance() system API" into mnc-dev

8 years agoAdded a message to the keyguard bouncer
Selim Cinek [Thu, 18 Jun 2015 08:38:59 +0000 (01:38 -0700)]
Added a message to the keyguard bouncer

A message can now be shown on the keyguard bouncer
explaining why the bouncer is being shown.

Bug: 21618072
Change-Id: I25aea9cc242abbf6a133fb42cc4407f5c2f3f688

8 years agoFix a typo in Drawable's javadoc
Doris Liu [Thu, 18 Jun 2015 22:26:17 +0000 (15:26 -0700)]
Fix a typo in Drawable's javadoc

Change-Id: Ic168b250defb30512cb35a836118fe2bdf1b2e78

8 years agoAdd getPackageImportance() system API
Todd Kennedy [Thu, 18 Jun 2015 19:54:55 +0000 (12:54 -0700)]
Add getPackageImportance() system API

Callers must have the permission GET_PACKAGE_IMPORTANCE

Bug: 20642684
Change-Id: I6f3ef2ec810c884e0dee239e5909bcb314957302

8 years agoMerge "Write packages.list when granting permissions." into mnc-dev
Jeff Sharkey [Thu, 18 Jun 2015 22:26:55 +0000 (22:26 +0000)]
Merge "Write packages.list when granting permissions." into mnc-dev

8 years agoWrite packages.list when granting permissions.
Jeff Sharkey [Thu, 18 Jun 2015 22:23:02 +0000 (15:23 -0700)]
Write packages.list when granting permissions.

Some permissions have the side effect of adding GIDs right now,
so we need to flush out packages.list.

Bug: 21874693
Change-Id: Ia4398c9f84cf7f151248f821b3fa2c12bdf91b80

8 years agoMerge "DO NOT MERGE: Remove DayNight theme" into mnc-dev
Alan Viverette [Thu, 18 Jun 2015 22:21:46 +0000 (22:21 +0000)]
Merge "DO NOT MERGE: Remove DayNight theme" into mnc-dev

8 years agoDO NOT MERGE: Remove DayNight theme
Alan Viverette [Thu, 18 Jun 2015 22:15:16 +0000 (15:15 -0700)]
DO NOT MERGE: Remove DayNight theme

Do not go gentle into that good night,
Old age should burn and rave at close of day;
Rage, rage against the dying of the light.

Though wise men at their end know dark is right,
Because their words had forked no lightning they
Do not go gentle into that good night.

Bug: 21854466
Change-Id: I0b7cd116c23f7df88e94f31b3aee7dd22a102804

8 years agoMerge "Better handling of 0-length format conversions in convertAudioPortFromNative...
Paul McLean [Thu, 18 Jun 2015 22:00:24 +0000 (22:00 +0000)]
Merge "Better handling of 0-length format conversions in convertAudioPortFromNative()." into mnc-dev

8 years agocreate Wifi PNO ALARM intent
Pierre Vandwalle [Thu, 18 Jun 2015 21:48:39 +0000 (14:48 -0700)]
create Wifi PNO ALARM intent

Change-Id: I9bdae8ae37e30d36bf82b731468b8a157bb2862b

8 years agoBetter handling of 0-length format conversions in convertAudioPortFromNative().
Paul McLean [Thu, 18 Jun 2015 19:47:34 +0000 (12:47 -0700)]
Better handling of 0-length format conversions in convertAudioPortFromNative().

Bug: 21915588
Change-Id: I8eb3da2bfa94722a11cf47ba6fc5359d5e8e4916

8 years agoMerge "Ensure ResolverDrawerLayout is visible to accessibility services" into mnc-dev
Alan Viverette [Thu, 18 Jun 2015 21:37:53 +0000 (21:37 +0000)]
Merge "Ensure ResolverDrawerLayout is visible to accessibility services" into mnc-dev

8 years agoEnsure ResolverDrawerLayout is visible to accessibility services
Alan Viverette [Thu, 18 Jun 2015 21:20:35 +0000 (14:20 -0700)]
Ensure ResolverDrawerLayout is visible to accessibility services

Also removes the class name since it's not helpful to expose framework
internal class names to accessibility services that can't access them.

Bug: 18864087
Change-Id: If9b29d3929970bd893168444584a5dd1ba593c5b

8 years agoMerge "Fix MidiDevice.MidiConnection lifecycle" into mnc-dev
Mike Lockwood [Thu, 18 Jun 2015 21:13:26 +0000 (21:13 +0000)]
Merge "Fix MidiDevice.MidiConnection lifecycle" into mnc-dev

8 years agoMerge "AudioService: Send the right stream to the volume UI on tablet changes." into...
John Spurlock [Thu, 18 Jun 2015 21:05:21 +0000 (21:05 +0000)]
Merge "AudioService: Send the right stream to the volume UI on tablet changes." into mnc-dev

8 years agoMerge "Document possible null returns in PackageManager" into mnc-dev
Christopher Tate [Thu, 18 Jun 2015 20:53:10 +0000 (20:53 +0000)]
Merge "Document possible null returns in PackageManager" into mnc-dev

8 years agoDocument possible null returns in PackageManager
Christopher Tate [Thu, 18 Jun 2015 20:47:04 +0000 (13:47 -0700)]
Document possible null returns in PackageManager

In particular queryIntentServices() but also a few others.

Bug 19127758

Change-Id: I590605ce4870b2ab300385678df8917cfade60f9

8 years agoMerge "ImageWriter: Remove exception for closing twice" into mnc-dev
Chien-Yu Chen [Thu, 18 Jun 2015 20:42:19 +0000 (20:42 +0000)]
Merge "ImageWriter: Remove exception for closing twice" into mnc-dev

8 years agoMerge "Patch up certain kinds of broken notifications." into mnc-dev
Dan Sandler [Thu, 18 Jun 2015 20:26:47 +0000 (20:26 +0000)]
Merge "Patch up certain kinds of broken notifications." into mnc-dev

8 years agoMerge "GetInstalledProvidersForProfiles should never return null object." into mnc-dev
Hyunyoung Song [Thu, 18 Jun 2015 20:13:34 +0000 (20:13 +0000)]
Merge "GetInstalledProvidersForProfiles should never return null object." into mnc-dev

8 years agoMerge "Add config_tether_apndata for Canada MVNO" into mnc-dev
Vineeta Srivastava [Thu, 18 Jun 2015 20:12:28 +0000 (20:12 +0000)]
Merge "Add config_tether_apndata for Canada MVNO" into mnc-dev

8 years agoMerge "Add way to get the network location provider package" into mnc-dev
Jason Monk [Thu, 18 Jun 2015 20:03:28 +0000 (20:03 +0000)]
Merge "Add way to get the network location provider package" into mnc-dev

8 years agoGetInstalledProvidersForProfiles should never return null object.
Hyunyoung Song [Thu, 18 Jun 2015 19:59:51 +0000 (12:59 -0700)]
GetInstalledProvidersForProfiles should never return null object.

b/21916365
b/19904873

Change-Id: I296cafd15a185ad91cb7491bd6d2466ac03cdfb7

8 years agoMerge "Fixing voice panel centering issues in landscape on phone" into mnc-dev
Stefan Kuhne [Thu, 18 Jun 2015 19:58:16 +0000 (19:58 +0000)]
Merge "Fixing voice panel centering issues in landscape on phone" into mnc-dev

8 years agoMerge "instrument volume controls" into mnc-dev
Chris Wren [Thu, 18 Jun 2015 19:57:48 +0000 (19:57 +0000)]
Merge "instrument volume controls" into mnc-dev

8 years agoAudioService: Send the right stream to the volume UI on tablet changes.
John Spurlock [Thu, 18 Jun 2015 19:45:07 +0000 (15:45 -0400)]
AudioService: Send the right stream to the volume UI on tablet changes.

Bug: 21798314
Change-Id: Idd49eb9e1253a94e567866a38b664035aea3715b

8 years agoMerge "SubscriptionManager: Fix NPE in getSimStateForSlotIdx" into mnc-dev
Sanket Padawe [Thu, 18 Jun 2015 19:42:49 +0000 (19:42 +0000)]
Merge "SubscriptionManager: Fix NPE in getSimStateForSlotIdx" into mnc-dev

8 years agoMerge "Fix some demo mode issues" into mnc-dev
Jason Monk [Thu, 18 Jun 2015 19:32:02 +0000 (19:32 +0000)]
Merge "Fix some demo mode issues" into mnc-dev

8 years agoFix MidiDevice.MidiConnection lifecycle
Mike Lockwood [Thu, 18 Jun 2015 17:05:17 +0000 (10:05 -0700)]
Fix MidiDevice.MidiConnection lifecycle

Update device server's MidiDeviceStatus when a connection is made to one of its output ports.

After connecting an input port to an output port using MidiDevice.connectPorts(),
do not call IMidiDeviceServer.closePort() until MidiDevice.MidiConnection.close() is called.

While I was in there, added missing CloseGuard support to the MidiDevice.MidiConnection class.

This fixes a problem resulting in UsbMidiDevice closing the device's ALSA driver too soon.

Bug: 21850709

Change-Id: I0c120f76b42eec8a143161e46dba73fbec5e4f31

8 years agoFix some demo mode issues
Jason Monk [Thu, 18 Jun 2015 18:07:26 +0000 (14:07 -0400)]
Fix some demo mode issues

Bug: 21919885
Change-Id: If79d76a2954b62e290691b1c2338d175fdbbffc5

8 years agoMerge "Fix opening secured networks from QS" into mnc-dev
Jason Monk [Thu, 18 Jun 2015 19:19:08 +0000 (19:19 +0000)]
Merge "Fix opening secured networks from QS" into mnc-dev

8 years agoPatch up certain kinds of broken notifications.
Dan Sandler [Wed, 17 Jun 2015 19:09:48 +0000 (15:09 -0400)]
Patch up certain kinds of broken notifications.

Notifications in which the icon resource ID is changed after
Builder.build() is called (even, and particularly, as the
last step in the current implementation of
setLatestEventInfo()) were not having their icons properly
parceled. In these cases we now attempt to catch this at
parcel time and construct the necessary Icon object.

But wait! Parceling does not require a Context. So we don't
actually know which package to load the resource from.
Therefore we now allow an Icon to be constructed with an
empty ("") package name, which allows us to complete this
parceling task despite the fact that a Notification does not
know its own package name. (In case you attempt to load a
drawable for such an Icon, loadDrawable will spot the ""
package and instead substitute the Context from its
parameters to try to load the resource.)

As it happens, even though the Notification does not know
its own package name, BaseStatusBar does, because it was
provided at NM.notify() time and is therefore included in
the StatusBarNotification structure. So we can actually
patch up the Icon (if it is TYPE_RESOURCE) and be sure to
get the icon loaded out of the correct package.

While we've got the hood open, this change fixes a couple of
related problems:

  • Foreground service notifications synthetically
    constructed for naughty icon==0 notifications (which we
    are still allowing...FOR NOW) were losing the
    FLAG_FOREGROUND_SERVICE flag (because we're
    re-build()-ing them from scratch rather than rewriting
    the provided Notification object). Now we set the flag
    and hang onto the new notification for next time
    setForeground() is called.

  • We now allow media notifications to avoid getting bumped
    to the top of the notification list if they're
    PRIORITY_MIN. You might want to do that, I guess?

Bug: 21333763
Change-Id: Ia5d1f1acb594c7677bcc75ee3d624da4ffca671f

8 years agoBatteryStats: Fix regression in wakelock power distribution
Adam Lesinski [Wed, 17 Jun 2015 22:39:43 +0000 (15:39 -0700)]
BatteryStats: Fix regression in wakelock power distribution

We used to give 50% of the cpu time of each app to any app holding a wakelock
while the screen is off.
Since we switched to the new kernel module for measuring app's cpu time, this distribution
was lost.

Bug:21876567
Change-Id: I42c294547f63d150d9929271ca0e27fedaaa9d77

8 years agoSubscriptionManager: Fix NPE in getSimStateForSlotIdx
Sanket Padawe [Thu, 18 Jun 2015 19:08:01 +0000 (12:08 -0700)]
SubscriptionManager: Fix NPE in getSimStateForSlotIdx

bug: 21915589
Change-Id: If703baff6408a0d7ba7c8b02bfd2427b64cda963

8 years agoImageWriter: Remove exception for closing twice
Chien-Yu Chen [Thu, 18 Jun 2015 18:55:18 +0000 (11:55 -0700)]
ImageWriter: Remove exception for closing twice

because close() will be called again when GC kicks in.

Bug: 20945169
Change-Id: If3c5a13be241977ccf4692d5301c423b7ff38918

8 years agoFixing voice panel centering issues in landscape on phone
Stefan Kuhne [Thu, 18 Jun 2015 17:20:33 +0000 (07:20 -1000)]
Fixing voice panel centering issues in landscape on phone

The new assist panel (long press on home) was not centered in landscape
mode on phones. This was caused by ignoring the stable insets in the
PhoneWindowManager.

bug: 21708971
Change-Id: I97a968a41c2966b09eba496fbe57c840affdf9ec

8 years agoMerge "Fixed a potential bug where the keyguard could become empty" into mnc-dev
Selim Cinek [Thu, 18 Jun 2015 18:42:58 +0000 (18:42 +0000)]
Merge "Fixed a potential bug where the keyguard could become empty" into mnc-dev

8 years agoMerge "Canceling expand animations as well when starting QS expansion" into mnc-dev
Selim Cinek [Thu, 18 Jun 2015 18:42:02 +0000 (18:42 +0000)]
Merge "Canceling expand animations as well when starting QS expansion" into mnc-dev

8 years agoMerge "Fixed another crash with HUNs" into mnc-dev
Selim Cinek [Thu, 18 Jun 2015 18:41:39 +0000 (18:41 +0000)]
Merge "Fixed another crash with HUNs" into mnc-dev

8 years agoMerge "Clear/restore calling identity in AccessibilityInteractionClient" into mnc-dev
Alan Viverette [Thu, 18 Jun 2015 18:21:58 +0000 (18:21 +0000)]
Merge "Clear/restore calling identity in AccessibilityInteractionClient" into mnc-dev

8 years agoMerge "AAPT2: Remove the need for specifying package name in compile phase" into...
Adam Lesinski [Thu, 18 Jun 2015 17:29:29 +0000 (17:29 +0000)]
Merge "AAPT2: Remove the need for specifying package name in compile phase" into mnc-dev

8 years agoMerge "Text selection: update touch delta when moving towards handles" into mnc-dev
Mady Mellor [Thu, 18 Jun 2015 17:26:02 +0000 (17:26 +0000)]
Merge "Text selection: update touch delta when moving towards handles" into mnc-dev

8 years agoMerge "Un-hide ViewGroup#onViewAdded/onViewRemoved" into mnc-dev
Adam Powell [Thu, 18 Jun 2015 17:20:42 +0000 (17:20 +0000)]
Merge "Un-hide ViewGroup#onViewAdded/onViewRemoved" into mnc-dev

8 years agoUn-hide ViewGroup#onViewAdded/onViewRemoved
Adam Powell [Wed, 17 Jun 2015 23:41:56 +0000 (16:41 -0700)]
Un-hide ViewGroup#onViewAdded/onViewRemoved

These methods are generally useful for writing custom views, and by
exposing them we make it easier for custom view authors to still allow
app developers to use an OnHierarchyChangedListener since it will not
be occupied by a custom view's implementation.

Also move the actual dispatch to package-scoped dispatch methods so
that a developer forgetting to call super won't stop a listener from
functioning.

Bug 21866523

Change-Id: Ie2bb5e241d7c5a02a5033f33ecdaeb40aceb20b5

8 years agoMerge "Separate 2 clip paths into 2 groups" into mnc-dev
ztenghui [Thu, 18 Jun 2015 17:05:10 +0000 (17:05 +0000)]
Merge "Separate 2 clip paths into 2 groups" into mnc-dev

8 years agoFix opening secured networks from QS
Jason Monk [Thu, 18 Jun 2015 16:37:03 +0000 (12:37 -0400)]
Fix opening secured networks from QS

Bug: 21908788
Change-Id: I8d1957cc4e0c259b737c5a4d0633edbb1ff57c03

8 years agoMerge "Update button press in AbsListView to use new MotionEvent APIs" into mnc-dev
Mady Mellor [Thu, 18 Jun 2015 15:46:25 +0000 (15:46 +0000)]
Merge "Update button press in AbsListView to use new MotionEvent APIs" into mnc-dev

8 years agoMerge "Remove FRP wipe support for device initializers" into mnc-dev
Craig Lafayette [Thu, 18 Jun 2015 15:44:47 +0000 (15:44 +0000)]
Merge "Remove FRP wipe support for device initializers" into mnc-dev

8 years agoMerge "[ActivityManager] Fix index OOB when updating visible." into mnc-dev
Wale Ogunwale [Thu, 18 Jun 2015 14:52:11 +0000 (14:52 +0000)]
Merge "[ActivityManager] Fix index OOB when updating visible." into mnc-dev

8 years agoMerge "Fixes for Region_writeToParcel." into mnc-dev
Leon Scroggins III [Thu, 18 Jun 2015 13:03:32 +0000 (13:03 +0000)]
Merge "Fixes for Region_writeToParcel." into mnc-dev

8 years agoFix Select All Option is truncated when device goes from landscape to portrait
Clara Bayarri [Tue, 16 Jun 2015 17:04:55 +0000 (18:04 +0100)]
Fix Select All Option is truncated when device goes from landscape to portrait

We were not taking into account configuration changes to update the
available space for the toolbar.

Bug: 21816857
Change-Id: I0f346e8eecb66ab788d1500239d5c1e020b87f97

8 years agoFixed a potential bug where the keyguard could become empty
Selim Cinek [Wed, 17 Jun 2015 22:37:30 +0000 (15:37 -0700)]
Fixed a potential bug where the keyguard could become empty

Bug: 21124013
Change-Id: Ia955b1426e13d47a8f191817d55615253012acb1

8 years agoCanceling expand animations as well when starting QS expansion
Selim Cinek [Wed, 17 Jun 2015 22:09:30 +0000 (15:09 -0700)]
Canceling expand animations as well when starting QS expansion

Bug: 21764741
Change-Id: I065a03e7d594459d8c271d3bd7eb104ac2065b01

8 years agoFixed another crash with HUNs
Selim Cinek [Wed, 17 Jun 2015 18:17:08 +0000 (11:17 -0700)]
Fixed another crash with HUNs

This time for real :)
Bug: 21868047

Change-Id: I0572dce7d7e5abdf806198b194ad2516a021ab0d

8 years agoUse consistent cases for aliases in AndroidKeystoreBCWorkaround.
Narayan Kamath [Wed, 17 Jun 2015 13:24:14 +0000 (14:24 +0100)]
Use consistent cases for aliases in AndroidKeystoreBCWorkaround.

Should be "with" and not "With". Has the side effect of fixing
a test that assumes that these names are case-sensitive. While the
test must be fixed separately, this is still good for consistency.

bug: 21870226

Change-Id: I884b4abdbb18be064210555aec8e0cd16b0d0bcb

8 years agoMerge "Add DISALLOW_CREATE_WINDOWS to Device Owner only user restrictions" into mnc-dev
Benjamin Franz [Thu, 18 Jun 2015 06:27:36 +0000 (06:27 +0000)]
Merge "Add DISALLOW_CREATE_WINDOWS to Device Owner only user restrictions" into mnc-dev

8 years agoMerge "Carefully select which DNS servers to send to netd" into mnc-dev
Erik Kline [Thu, 18 Jun 2015 06:25:07 +0000 (06:25 +0000)]
Merge "Carefully select which DNS servers to send to netd" into mnc-dev

8 years agoMerge "AppWidgetServiceImpl should use ParceledListSlice as return object b/19904873...
Hyunyoung Song [Thu, 18 Jun 2015 05:58:35 +0000 (05:58 +0000)]
Merge "AppWidgetServiceImpl should use ParceledListSlice as return object b/19904873" into mnc-dev

8 years agoCarefully select which DNS servers to send to netd
Erik Kline [Wed, 17 Jun 2015 04:19:54 +0000 (13:19 +0900)]
Carefully select which DNS servers to send to netd

Select only DNS servers that:
    - are reachable, according to routes in the LinkProperties, AND

    - have a "suitable" source address in the LinkProperites, meaning:
        - IPv4 DNS server:
            - only if LinkProperties has any IPv4 address
        - IPv6 link-local DNS server:
            - only if the server has a scopeId set
            - assume for now that LinkProperties has a suitable
              link-local address
        - IPv6 non-link-local DNS server:
            - only if LinkProperties has a global, preferred IPv6 address

Bug: 19470192
Bug: 20733156
Change-Id: Ibd95f3f7b33a4fb6c36d1cea4adb63c99068f657

8 years agoMerge "Fix IME window flickering during rotation." into mnc-dev
Seigo Nonaka [Thu, 18 Jun 2015 03:58:25 +0000 (03:58 +0000)]
Merge "Fix IME window flickering during rotation." into mnc-dev

8 years agoMerge "Fix: Drag handle jumps between bidi boundaries." into mnc-dev
Keisuke Kuroyanagi [Thu, 18 Jun 2015 03:43:42 +0000 (03:43 +0000)]
Merge "Fix: Drag handle jumps between bidi boundaries." into mnc-dev

8 years agoFix IME window flickering during rotation.
Seigo Nonaka [Wed, 17 Jun 2015 07:04:43 +0000 (16:04 +0900)]
Fix IME window flickering during rotation.

This was introduced by Ifd15736b163ab,
performLayoutAndPlaceSurfacesLocked is called even if
computeNewConfigurationLocked() returns non-null object.
This is simply by mistake and now computeNewConfigurationLocked
never returns null. The only case we need to care is that
mDisplayReady is false, but there is nothing to do with that state.

Thus simply removes if segments from computeNewConfiguration.

Bug: 20823978

Change-Id: I527dfeddffb8d928d578f8d60d64f98557aa3dcb

8 years agoMerge "Allow apps to hide the soft keyboard even in a transient state." into mnc-dev
Seigo Nonaka [Thu, 18 Jun 2015 03:10:20 +0000 (03:10 +0000)]
Merge "Allow apps to hide the soft keyboard even in a transient state." into mnc-dev

8 years agoMerge "Allow content rect to overshoot the bottom view bounds by 20dp." into mnc-dev
Abodunrinwa Toki [Thu, 18 Jun 2015 01:05:03 +0000 (01:05 +0000)]
Merge "Allow content rect to overshoot the bottom view bounds by 20dp." into mnc-dev

8 years agoMerge "Remove the action bar icon when there is no drawer enabled." into mnc-dev
Tomasz Mikolajewski [Thu, 18 Jun 2015 00:15:51 +0000 (00:15 +0000)]
Merge "Remove the action bar icon when there is no drawer enabled." into mnc-dev

8 years agoSync the Bluetooth name and address from the Bluetooth Adapter
Pavlin Radoslavov [Thu, 18 Jun 2015 00:01:23 +0000 (17:01 -0700)]
Sync the Bluetooth name and address from the Bluetooth Adapter

It looks like the synchronization of the Bluetooth name and address
from the Bluetooth Adapter has been removed by the following commit
without an explanation:

  Bluetooth LE background operation mode (2/2)

As a result, the BluetoothManagerService.mAddress was always null.

Bug: 20545952
Change-Id: I595f370e06e17b2c67ce511f793efdee7674598c

8 years agoMerge "Make MediaSessionService not blocked by AudioService." into mnc-dev
Dongwon Kang [Wed, 17 Jun 2015 23:51:11 +0000 (23:51 +0000)]
Merge "Make MediaSessionService not blocked by AudioService." into mnc-dev

8 years agoMerge "Allow to customize title of the dialog." into mnc-dev
Tomasz Mikolajewski [Wed, 17 Jun 2015 23:51:05 +0000 (23:51 +0000)]
Merge "Allow to customize title of the dialog." into mnc-dev