OSDN Git Service

android-x86/frameworks-base.git
9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 years agoMerge "system_server: add two child chains to firewall" into mnc-dev
Xiaohui Chen [Wed, 17 Jun 2015 23:50:23 +0000 (23:50 +0000)]
Merge "system_server: add two child chains to firewall" into mnc-dev

9 years agoSeparate 2 clip paths into 2 groups
ztenghui [Wed, 17 Jun 2015 21:59:01 +0000 (14:59 -0700)]
Separate 2 clip paths into 2 groups

Since 2 clip paths is taking the intersection as the final clip, we should
separate this test case into 2 groups.

Prior to M release, the 2nd clip path is overriding the first one.
The behavior changed in this CL:
e9c01a40a2f0f0da195dfbb2909aaee5c005d1c6

b/16376848
b/19946683

Change-Id: Ib21c95e70f1317321725acbbe0ccf91713f748c3

9 years agoMerge "Fixing issue with recents not being hidden for translucent apps." into mnc-dev
Winson Chung [Wed, 17 Jun 2015 23:30:49 +0000 (23:30 +0000)]
Merge "Fixing issue with recents not being hidden for translucent apps." into mnc-dev

9 years agoFixing issue with recents not being hidden for translucent apps.
Winson Chung [Wed, 17 Jun 2015 23:03:54 +0000 (16:03 -0700)]
Fixing issue with recents not being hidden for translucent apps.

- When tapping home, we can't depend on the stack state to determine
  whether or not hide recents since there can be translucent windows
  above it.  In this case, we just dismiss recents directly since the
  receiver will only be registered while recents is visible.

Bug: 20110140

Change-Id: I6b796cc4cbd790aac9a0857549e34117adb808d8

9 years agoAllow to customize title of the dialog.
Tomasz Mikolajewski [Fri, 12 Jun 2015 23:22:17 +0000 (16:22 -0700)]
Allow to customize title of the dialog.

TEST=adb shell am start -a android.intent.action.OPEN_DOCUMENT -e
     android.intent.extra.TITLE 'Upload!' -t "text/plain"
BUG=19150996

Change-Id: Ibded6cfaa2de3698c5eada154efbee2b323464d4

9 years agoMerge "ImageView updates cached drawable dimensions when drawable updates" into mnc-dev
Chet Haase [Wed, 17 Jun 2015 23:06:58 +0000 (23:06 +0000)]
Merge "ImageView updates cached drawable dimensions when drawable updates" into mnc-dev

9 years agoMerge "Remove indents from TextView" into mnc-dev
Raph Levien [Wed, 17 Jun 2015 23:06:16 +0000 (23:06 +0000)]
Merge "Remove indents from TextView" into mnc-dev

9 years agoMerge "Fixing a few accessibility issues." into mnc-dev
Winson Chung [Wed, 17 Jun 2015 22:59:29 +0000 (22:59 +0000)]
Merge "Fixing a few accessibility issues." into mnc-dev

9 years agosystem_server: add two child chains to firewall
Xiaohui Chen [Wed, 17 Jun 2015 22:55:37 +0000 (15:55 -0700)]
system_server: add two child chains to firewall

This is an attempt to speed up getting out of device idle.  It groups
uid firewall rules in these child chains so we can attach/detach a whole
chain instead of individual uid rules.

BUG:21446713
Change-Id: Ie8f392da2deabe7cc86a9ecf4ed080163861d41e

9 years agoRemove indents from TextView
Raph Levien [Wed, 17 Jun 2015 22:53:33 +0000 (15:53 -0700)]
Remove indents from TextView

On more careful reflection, the "indents" feature was not ready for
inclusion in the public API. It is still available at a lower level
in StaticLayout.

Also fix a minor typo in the doc for breakStrategy.

Bug: 20641996
Change-Id: I5cd976a536c48615980860396b1564b51b19e14a

9 years agoMerge "Request application of WindowInsets when setting a content view" into mnc-dev
Adam Powell [Wed, 17 Jun 2015 22:42:16 +0000 (22:42 +0000)]
Merge "Request application of WindowInsets when setting a content view" into mnc-dev

9 years agoMake MediaSessionService not blocked by AudioService.
Dongwon Kang [Tue, 16 Jun 2015 22:28:17 +0000 (15:28 -0700)]
Make MediaSessionService not blocked by AudioService.

Backgroud: As noted in b/20823981, MediaSessionService calls some
audio service methods while holding a lock and the audio service
methods also talk to other system services. And, deadlock happens when
the other system service fires another request to MediaSessionService
while holding its lock.

Example1) --- resolved by the change in MediaSessionRecord.java
T1: MediaSessionService.dispatchAdjustVolumeLocked()
     -> MediaSessionRecord.adjustVolume()
       -> +++AudioServiceInternal.adjustSuggestedStreamVolumeForUid()+++
         -> AudioService.adjustSuggestedStreamVolume()
           -> telecom.TelecomManager.isInCall() --- blocked by lock in TelecomManager.
T2: telecom.ConnectionServiceWrapper.handleCreateConnectionComplete()
     -> MediaSession.setActive()
       -> MediaSessionRecord$SessionStub.setActive()
         -> MediaSessionService.updateSession() --- blocked by lock in MediaSessionService.

Example2) --- resolved by the change in IAudioService.aidl
T1: MediaSessionService.dispatchAdjustVolumeLocked()
     -> IAudioService.adjustSuggestedStreamVolume()
       -> AudioService.adjustSuggestedStreamVolume()
         -> telecom.TelecomManager.isInCall() --- blocked by lock in TelecomManager.
T2: telecom.ConnectionServiceWrapper.handleCreateConnectionComplete()
     -> MediaSession.setActive()
       -> MediaSessionRecord$SessionStub.setActive()
         -> MediaSessionService.updateSession() --- blocked by lock in MediaSessionService.

Here, this change prevents the deadlock by making related audio IPC oneway
and calling the internal audio method without holding the lock.

Bug: 20823981
Change-Id: I4c4b2fc796f23d83be67f7edaacd7496c145d985

9 years agoClear/restore calling identity in AccessibilityInteractionClient
Alan Viverette [Wed, 17 Jun 2015 22:33:54 +0000 (15:33 -0700)]
Clear/restore calling identity in AccessibilityInteractionClient

To quote sendAccessibilityEvent(), "it is possible that this manager is
in the same process as the service but client using it is called through
Binder from another process."

Bug: 21737301
Change-Id: I8d4699a0ca8187a12235741ce420948061798f27

9 years agoImageView updates cached drawable dimensions when drawable updates
Chet Haase [Wed, 17 Jun 2015 21:43:30 +0000 (14:43 -0700)]
ImageView updates cached drawable dimensions when drawable updates

Changes to drawable dimensions were not propagated to cached dimension
values in ImageView. Now this is done when the drawable is invalidated.

Issue #18798152  ImageView caches wrong value of mDrawableWidth and mDrawableHeight

Change-Id: I8da7d82b0543fa02d8ef3d896595bd0e5ea2a61e

9 years agoAppWidgetServiceImpl should use ParceledListSlice as return object
Hyunyoung Song [Wed, 17 Jun 2015 22:23:31 +0000 (15:23 -0700)]
AppWidgetServiceImpl should use ParceledListSlice as return object
b/19904873

> Reason: to prevent TransactionTooLargeException from occuring when
binder transaction size goes over the limit.

Change-Id: I054cb161d235234f3ccdaadd70314163e690b0db

9 years agoMerge "Seekbar track background alpha should be disabledAlpha" into mnc-dev
Alan Viverette [Wed, 17 Jun 2015 22:20:20 +0000 (22:20 +0000)]
Merge "Seekbar track background alpha should be disabledAlpha" into mnc-dev

9 years agoMerge "Fix issue #21814207 and issue #21814212 (alarm manager)" into mnc-dev
Dianne Hackborn [Wed, 17 Jun 2015 22:18:35 +0000 (22:18 +0000)]
Merge "Fix issue #21814207 and issue #21814212 (alarm manager)" into mnc-dev

9 years agoSeekbar track background alpha should be disabledAlpha
Alan Viverette [Wed, 17 Jun 2015 22:16:08 +0000 (15:16 -0700)]
Seekbar track background alpha should be disabledAlpha

Bug: 21728222
Change-Id: I92f21e85781ba6ed51858112aa67e00bf10914ae

9 years agoMerge "Revert spinner caret size to 24x24dp" into mnc-dev
Alan Viverette [Wed, 17 Jun 2015 22:10:25 +0000 (22:10 +0000)]
Merge "Revert spinner caret size to 24x24dp" into mnc-dev

9 years agoMerge "Work around inconsistent views in RelativeLayout.onMeasure()" into mnc-dev
Alan Viverette [Wed, 17 Jun 2015 22:10:09 +0000 (22:10 +0000)]
Merge "Work around inconsistent views in RelativeLayout.onMeasure()" into mnc-dev

9 years agoMerge "In intent picker dialog, change "personal apps" to "personal"." into mnc-dev
Nicolas Prevot [Wed, 17 Jun 2015 21:56:30 +0000 (21:56 +0000)]
Merge "In intent picker dialog, change "personal apps" to "personal"." into mnc-dev

9 years agoRevert spinner caret size to 24x24dp
Alan Viverette [Wed, 17 Jun 2015 21:42:32 +0000 (14:42 -0700)]
Revert spinner caret size to 24x24dp

Bug: 21754326
Change-Id: I5f52ee96e73c7a6bddb20dd4361e2084e77a6efe

9 years agoFixing a few accessibility issues.
Winson Chung [Wed, 17 Jun 2015 20:00:23 +0000 (13:00 -0700)]
Fixing a few accessibility issues.

- Fixing issue with accessibility focus being incorrect when animating from home
- Fixing issue with accessibility focus being reset too aggressively when the
  list is scrolled
- Ensuring that recents handles forward/backwards scrolling

Bug: 19997561
Change-Id: I042666775862f4a20e8f22960e1f34e45fc5664e

9 years agoMerge "Resolve start/end insets in LayerDrawable.getIntrinsicWidth()" into mnc-dev
Alan Viverette [Wed, 17 Jun 2015 21:31:05 +0000 (21:31 +0000)]
Merge "Resolve start/end insets in LayerDrawable.getIntrinsicWidth()" into mnc-dev

9 years agoMerge "Remove unnecessary PKCS#1 authorization on legacy keys." into mnc-dev
Alex Klyubin [Wed, 17 Jun 2015 21:27:55 +0000 (21:27 +0000)]
Merge "Remove unnecessary PKCS#1 authorization on legacy keys." into mnc-dev

9 years agoMerge "Add keys to handle GSM and CDMA roaming/non roaming overrides" into mnc-dev
Chris Manton [Wed, 17 Jun 2015 21:21:38 +0000 (21:21 +0000)]
Merge "Add keys to handle GSM and CDMA roaming/non roaming overrides" into mnc-dev

9 years agoResolve start/end insets in LayerDrawable.getIntrinsicWidth()
Alan Viverette [Wed, 17 Jun 2015 21:09:53 +0000 (14:09 -0700)]
Resolve start/end insets in LayerDrawable.getIntrinsicWidth()

Bug: 21849185
Change-Id: If9b392d863e808d83a5d90bcc32df6cb9194cbdf

9 years agoMerge "Refactor Drawable.getDither() to isDither()" into mnc-dev
Alan Viverette [Wed, 17 Jun 2015 21:06:02 +0000 (21:06 +0000)]
Merge "Refactor Drawable.getDither() to isDither()" into mnc-dev

9 years agoMerge "Revert "remove setLatestEventInfo"" into mnc-dev
Chris Wren [Wed, 17 Jun 2015 21:03:22 +0000 (21:03 +0000)]
Merge "Revert "remove setLatestEventInfo"" into mnc-dev

9 years agoRevert "remove setLatestEventInfo"
Chris Wren [Wed, 17 Jun 2015 21:03:11 +0000 (21:03 +0000)]
Revert "remove setLatestEventInfo"

This reverts commit 965097321df7fd57a35f63365b1de26ddcf35214.

Change-Id: I658bb2611fe8f983309e962d6772d1bd80ed586e

9 years agoRefactor Drawable.getDither() to isDither()
Alan Viverette [Wed, 17 Jun 2015 20:59:31 +0000 (13:59 -0700)]
Refactor Drawable.getDither() to isDither()

Bug: 21342040
Change-Id: I801970c2a25289d670636ad5387ddf244fb48225

9 years agoRemove unnecessary PKCS#1 authorization on legacy keys.
Alex Klyubin [Wed, 17 Jun 2015 20:58:00 +0000 (13:58 -0700)]
Remove unnecessary PKCS#1 authorization on legacy keys.

There is no need to authorize PKCS#1 signature padding scheme when
NONE padding scheme is authorized. NONE authorizes the use of any
padding scheme.

Bug: 18088752
Change-Id: I73ccb373d577c988acde372d972092278923c4e4

9 years agoWork around inconsistent views in RelativeLayout.onMeasure()
Alan Viverette [Wed, 17 Jun 2015 20:42:32 +0000 (13:42 -0700)]
Work around inconsistent views in RelativeLayout.onMeasure()

Previously, RelativeLayout's measure pass could crash if the view's
children were modified without calling requestLayout() prior to the
next measure pass. This avoids the issue by only looking at the most
recent set of sorted views and preserves the previous behavior where
onMeasure() could return incorrect data.

Bug: 21123292
Change-Id: If471d071d1d2e2729cf13854d95b1f517c1fe73a

9 years agoMerge "Add DisconnectCause for CDMA activated case." into mnc-dev
Andrew Lee [Wed, 17 Jun 2015 20:42:04 +0000 (20:42 +0000)]
Merge "Add DisconnectCause for CDMA activated case." into mnc-dev

9 years agoRequest application of WindowInsets when setting a content view
Adam Powell [Wed, 17 Jun 2015 20:37:06 +0000 (13:37 -0700)]
Request application of WindowInsets when setting a content view

For both PhoneWindow and VoiceInteractionSession, call
requestApplyInsets when the content view(s) change. This is generally
what the developer expects if the new view tree responds to insets in
any way.

Bug 21620924

Change-Id: I60a88af55bf85217c3587aa37f03fdc3fdce686d

9 years agoMerge "Add matching xml attributes for existing Toolbar properties" into mnc-dev
Adam Powell [Wed, 17 Jun 2015 20:22:35 +0000 (20:22 +0000)]
Merge "Add matching xml attributes for existing Toolbar properties" into mnc-dev

9 years agoMerge "remove setLatestEventInfo" into mnc-dev
Chris Wren [Wed, 17 Jun 2015 20:05:04 +0000 (20:05 +0000)]
Merge "remove setLatestEventInfo" into mnc-dev

9 years agoMerge "Bring back screenshot API." into mnc-dev
Dianne Hackborn [Wed, 17 Jun 2015 19:47:09 +0000 (19:47 +0000)]
Merge "Bring back screenshot API." into mnc-dev

9 years agoIn intent picker dialog, change "personal apps" to "personal".
Nicolas Prevot [Mon, 8 Jun 2015 20:07:22 +0000 (13:07 -0700)]
In intent picker dialog, change "personal apps" to "personal".

Also setting a maximum length for the translations.
For some languages, the translation of "personal apps" took
too much space.
"Personal" is also more consistent with the string "work", used
for personal -> work.

BUG: 20481950
Change-Id: I595072d7ff267f1a110a43bb708bf48840ea750f

9 years agoMerge "AudioTrack.Builder should throw exception on failure." into mnc-dev
Andy Hung [Wed, 17 Jun 2015 19:21:50 +0000 (19:21 +0000)]
Merge "AudioTrack.Builder should throw exception on failure." into mnc-dev

9 years agoMerge "AudioRecord.Builder should throw exception on failure." into mnc-dev
Andy Hung [Wed, 17 Jun 2015 19:18:15 +0000 (19:18 +0000)]
Merge "AudioRecord.Builder should throw exception on failure." into mnc-dev

9 years agoFix issue #21814207 and issue #21814212 (alarm manager)
Dianne Hackborn [Wed, 17 Jun 2015 00:18:23 +0000 (17:18 -0700)]
Fix issue #21814207 and issue #21814212 (alarm manager)

Issue #21814207: AlarmManager.setAndAllowWhileIdle should also allow wake locks.

Introduce a whole new infrastructure for providing options when
sending broadcasts, much like ActivityOptions.  There is a single
option right now, asking the activity manager to apply a tempory
whitelist to each receiver of the broadcast.

Issue #21814212: Need to allow configuration of alarm manager parameters

The various alarm manager timing configurations are not modifiable
through settings, much like DeviceIdleController.  Also did a few
tweaks in the existing DeviceIdleController impl.

Change-Id: Ifd01013185acc4de668617b1e46e78e30ebed041

9 years agoMerge "Prefer GCM to CBC or CTR in documentation." into mnc-dev
Alex Klyubin [Wed, 17 Jun 2015 18:32:22 +0000 (18:32 +0000)]
Merge "Prefer GCM to CBC or CTR in documentation." into mnc-dev

9 years agoMerge "Camera2: Do not throw unexpected runtime exception to app" into mnc-dev
Eino-Ville Talvala [Wed, 17 Jun 2015 18:31:43 +0000 (18:31 +0000)]
Merge "Camera2: Do not throw unexpected runtime exception to app" into mnc-dev

9 years agoMerge "Improve documentation for keys requiring user auth." into mnc-dev
Alex Klyubin [Wed, 17 Jun 2015 18:28:19 +0000 (18:28 +0000)]
Merge "Improve documentation for keys requiring user auth." into mnc-dev

9 years agoPrefer GCM to CBC or CTR in documentation.
Alex Klyubin [Wed, 17 Jun 2015 18:24:45 +0000 (11:24 -0700)]
Prefer GCM to CBC or CTR in documentation.

Bug: 21786749
Change-Id: If3824d1321ef1d8730d4384717b0c25d43518fe4

9 years agoMerge "Fixed a jump with the panel scrim" into mnc-dev
Selim Cinek [Wed, 17 Jun 2015 18:23:06 +0000 (18:23 +0000)]
Merge "Fixed a jump with the panel scrim" into mnc-dev

9 years agoCamera2: Do not throw unexpected runtime exception to app
Eino-Ville Talvala [Wed, 17 Jun 2015 18:18:43 +0000 (11:18 -0700)]
Camera2: Do not throw unexpected runtime exception to app

Use a generic CameraAccessException DEVICE_ERROR exception instead

Bug: 21869917
Change-Id: I73581b817cbdcbb4b876c234f050f725a459a29b

9 years agoMerge "Don't reinflate signal icons unless we really need to." into mnc-dev
Jason Monk [Wed, 17 Jun 2015 18:17:17 +0000 (18:17 +0000)]
Merge "Don't reinflate signal icons unless we really need to." into mnc-dev

9 years agoMerge "Add carrier config variable to hide sim lock setting ui." into mnc-dev
Junda Liu [Wed, 17 Jun 2015 18:11:01 +0000 (18:11 +0000)]
Merge "Add carrier config variable to hide sim lock setting ui." into mnc-dev

9 years agoImprove documentation for keys requiring user auth.
Alex Klyubin [Tue, 16 Jun 2015 17:44:11 +0000 (10:44 -0700)]
Improve documentation for keys requiring user auth.

Bug: 18088752
Change-Id: I24eeb33790a74d8d81d10fcdb1eb058d47144c44

9 years agoMerge "Camera2: Handle getting input surface failures" into mnc-dev
Chien-Yu Chen [Wed, 17 Jun 2015 18:02:27 +0000 (18:02 +0000)]
Merge "Camera2: Handle getting input surface failures" into mnc-dev

9 years agoMerge "Camera2: fix high speed request builder creation issue" into mnc-dev
Zhijun He [Wed, 17 Jun 2015 18:00:05 +0000 (18:00 +0000)]
Merge "Camera2: fix high speed request builder creation issue" into mnc-dev

9 years agoMerge "Expose AES GCM backed by Android Keystore." into mnc-dev
Alex Klyubin [Wed, 17 Jun 2015 17:58:33 +0000 (17:58 +0000)]
Merge "Expose AES GCM backed by Android Keystore." into mnc-dev

9 years agoMerge "Handle negative view types properly in getScrapView" into mnc-dev
Yigit Boyar [Wed, 17 Jun 2015 17:58:24 +0000 (17:58 +0000)]
Merge "Handle negative view types properly in getScrapView" into mnc-dev

9 years agoAdd carrier config variable to hide sim lock setting ui.
Junda Liu [Wed, 17 Jun 2015 16:55:57 +0000 (09:55 -0700)]
Add carrier config variable to hide sim lock setting ui.

Bug: b/19623656
Change-Id: Iee9efcdefe5cdda2adae03f0852ff2b53e75698f

9 years agoMerge "Drop support for P-192 EC keys." into mnc-dev
Alex Klyubin [Wed, 17 Jun 2015 17:54:34 +0000 (17:54 +0000)]
Merge "Drop support for P-192 EC keys." into mnc-dev

9 years agoMerge "Map >= 24bit encodings to ENCODING_PCM_FLOAT" into mnc-dev
Paul McLean [Wed, 17 Jun 2015 17:53:33 +0000 (17:53 +0000)]
Merge "Map >= 24bit encodings to ENCODING_PCM_FLOAT" into mnc-dev

9 years agoDrop support for P-192 EC keys.
Alex Klyubin [Wed, 17 Jun 2015 17:51:19 +0000 (10:51 -0700)]
Drop support for P-192 EC keys.

The minimum EC keys size is now 224 bit. This is because keymaster 1.0
does not support EC keys smaller than 224 bit.

Bug: 18088752
Change-Id: I8010ff2d6ccaeea7dcf86f697aee1d9ebd683cb2

9 years agoMap >= 24bit encodings to ENCODING_PCM_FLOAT
Paul McLean [Wed, 17 Jun 2015 17:10:11 +0000 (10:10 -0700)]
Map >= 24bit encodings to ENCODING_PCM_FLOAT

Bug: 21851140
Change-Id: I8203281f5ca7d194e1bd2f417e75d3ef2fd561c7

9 years agoMerge "Drag to select text: add some slop for moving between lines" into mnc-dev
Mady Mellor [Wed, 17 Jun 2015 17:36:30 +0000 (17:36 +0000)]
Merge "Drag to select text: add some slop for moving between lines" into mnc-dev

9 years agoMerge "Insertion cursor: add some slop for moving between lines" into mnc-dev
Mady Mellor [Wed, 17 Jun 2015 17:00:08 +0000 (17:00 +0000)]
Merge "Insertion cursor: add some slop for moving between lines" into mnc-dev

9 years agoDon't reinflate signal icons unless we really need to.
Jason Monk [Wed, 17 Jun 2015 16:52:43 +0000 (12:52 -0400)]
Don't reinflate signal icons unless we really need to.

Bug: 21791609
Change-Id: I5eb1b890f2298211b25afa0e2570f0ab49a45e0b