OSDN Git Service

android-x86/frameworks-base.git
9 years agoam 49e11f80: Merge "Clear/restore calling identity in AccessibilityInteractionClient...
Alan Viverette [Thu, 18 Jun 2015 18:31:13 +0000 (18:31 +0000)]
am 49e11f80: Merge "Clear/restore calling identity in AccessibilityInteractionClient" into mnc-dev

* commit '49e11f805dcf5c8611e4bfbb115e56a22db4a396':
  Clear/restore calling identity in AccessibilityInteractionClient

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 agoam c93f1154: Merge "AAPT2: Remove the need for specifying package name in compile...
Adam Lesinski [Thu, 18 Jun 2015 17:40:59 +0000 (17:40 +0000)]
am c93f1154: Merge "AAPT2: Remove the need for specifying package name in compile phase" into mnc-dev

* commit 'c93f115486dfb3e4ec8b7b634e0297024deac5c0':
  AAPT2: Remove the need for specifying package name in compile phase

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 agoam 03709c78: Merge "Text selection: update touch delta when moving towards handles...
Mady Mellor [Thu, 18 Jun 2015 17:28:04 +0000 (17:28 +0000)]
am 03709c78: Merge "Text selection: update touch delta when moving towards handles" into mnc-dev

* commit '03709c780ae26a2b27d098782364ba722e711564':
  Text selection: update touch delta when moving towards handles

9 years agoam 2a1f9164: Merge "Un-hide ViewGroup#onViewAdded/onViewRemoved" into mnc-dev
Adam Powell [Thu, 18 Jun 2015 17:28:00 +0000 (17:28 +0000)]
am 2a1f9164: Merge "Un-hide ViewGroup#onViewAdded/onViewRemoved" into mnc-dev

* commit '2a1f91641895c3193204655bea2f67eb0fe6c439':
  Un-hide ViewGroup#onViewAdded/onViewRemoved

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 agoam 91870fa2: Merge "Separate 2 clip paths into 2 groups" into mnc-dev
ztenghui [Thu, 18 Jun 2015 17:16:31 +0000 (17:16 +0000)]
am 91870fa2: Merge "Separate 2 clip paths into 2 groups" into mnc-dev

* commit '91870fa281c736b59fb8481e4469da51397c586d':
  Separate 2 clip paths into 2 groups

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 agoam 9a08fe2a: Merge "Update button press in AbsListView to use new MotionEvent APIs...
Mady Mellor [Thu, 18 Jun 2015 15:55:06 +0000 (15:55 +0000)]
am 9a08fe2a: Merge "Update button press in AbsListView to use new MotionEvent APIs" into mnc-dev

* commit '9a08fe2aca44f190162b198a726bc406ed19c1c7':
  Update button press in AbsListView to use new MotionEvent APIs

9 years agoam b4c46909: Merge "Remove FRP wipe support for device initializers" into mnc-dev
Craig Lafayette [Thu, 18 Jun 2015 15:55:02 +0000 (15:55 +0000)]
am b4c46909: Merge "Remove FRP wipe support for device initializers" into mnc-dev

* commit 'b4c469095f12972ef04558961ddbdbdfe8305ccb':
  Remove FRP wipe support for device initializers

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 agoam 77b09382: Merge "[ActivityManager] Fix index OOB when updating visible." into...
Wale Ogunwale [Thu, 18 Jun 2015 15:04:30 +0000 (15:04 +0000)]
am 77b09382: Merge "[ActivityManager] Fix index OOB when updating visible." into mnc-dev

* commit '77b093824fac57255dcd181db662f8f5729fe1cc':
  [ActivityManager] Fix index OOB when updating visible.

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 agoam 8c6750ff: Merge "Fixes for Region_writeToParcel." into mnc-dev
Leon Scroggins III [Thu, 18 Jun 2015 13:09:47 +0000 (13:09 +0000)]
am 8c6750ff: Merge "Fixes for Region_writeToParcel." into mnc-dev

* commit '8c6750ff0eb2d07039336bf25dc87f10464c42db':
  Fixes for Region_writeToParcel.

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 agoam 6bc12244: Fix Select All Option is truncated when device goes from landscape to...
Clara Bayarri [Thu, 18 Jun 2015 11:35:18 +0000 (11:35 +0000)]
am 6bc12244: Fix Select All Option is truncated when device goes from landscape to portrait

* commit '6bc12244480fcdeca84080d5382d63eb2b992883':
  Fix Select All Option is truncated when device goes from landscape to portrait

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 agoam 240e48d2: Use consistent cases for aliases in AndroidKeystoreBCWorkaround.
Narayan Kamath [Thu, 18 Jun 2015 09:59:48 +0000 (09:59 +0000)]
am 240e48d2: Use consistent cases for aliases in AndroidKeystoreBCWorkaround.

* commit '240e48d2e1613a4cb2e4d12de6574732c20e91cb':
  Use consistent cases for aliases in AndroidKeystoreBCWorkaround.

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 agoam 9cb6a493: Merge "Add DISALLOW_CREATE_WINDOWS to Device Owner only user restriction...
Benjamin Franz [Thu, 18 Jun 2015 06:33:02 +0000 (06:33 +0000)]
am 9cb6a493: Merge "Add DISALLOW_CREATE_WINDOWS to Device Owner only user restrictions" into mnc-dev

* commit '9cb6a493f4e8bd9914f2841355b3293f90773802':
  Add DISALLOW_CREATE_WINDOWS to Device Owner only user restrictions

9 years agoam 3d54e672: Merge "Carefully select which DNS servers to send to netd" into mnc-dev
Erik Kline [Thu, 18 Jun 2015 06:32:58 +0000 (06:32 +0000)]
am 3d54e672: Merge "Carefully select which DNS servers to send to netd" into mnc-dev

* commit '3d54e672a58301ff60498fc7c57870d9bccd0e45':
  Carefully select which DNS servers to send to netd

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 agoam 0ff78e7c: Merge "AppWidgetServiceImpl should use ParceledListSlice as return objec...
Hyunyoung Song [Thu, 18 Jun 2015 06:09:01 +0000 (06:09 +0000)]
am 0ff78e7c: Merge "AppWidgetServiceImpl should use ParceledListSlice as return object b/19904873" into mnc-dev

* commit '0ff78e7cc8f846517d8fd3cefa0c9b88cd94908d':
  AppWidgetServiceImpl should use ParceledListSlice as return object b/19904873

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 agoam 25d2746b: Merge "Fix IME window flickering during rotation." into mnc-dev
Seigo Nonaka [Thu, 18 Jun 2015 04:09:05 +0000 (04:09 +0000)]
am 25d2746b: Merge "Fix IME window flickering during rotation." into mnc-dev

* commit '25d2746b0889d53739bbaf1139e853127f63a2be':
  Fix IME window flickering during rotation.

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 agoam fe67c1ec: Merge "Fix: Drag handle jumps between bidi boundaries." into mnc-dev
Keisuke Kuroyanagi [Thu, 18 Jun 2015 03:56:18 +0000 (03:56 +0000)]
am fe67c1ec: Merge "Fix: Drag handle jumps between bidi boundaries." into mnc-dev

* commit 'fe67c1ec6d0f08542fad2fc1a3fb858d99d40341':
  Fix: Drag handle jumps between bidi boundaries.

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 agoam c73cd407: Merge "Allow apps to hide the soft keyboard even in a transient state...
Seigo Nonaka [Thu, 18 Jun 2015 03:20:19 +0000 (03:20 +0000)]
am c73cd407: Merge "Allow apps to hide the soft keyboard even in a transient state." into mnc-dev

* commit 'c73cd407f0e886e5d0b26dda6b82d88ac9eec36a':
  Allow apps to hide the soft keyboard even in a transient state.

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 agoam e8378476: Merge "Allow content rect to overshoot the bottom view bounds by 20dp...
Abodunrinwa Toki [Thu, 18 Jun 2015 01:17:22 +0000 (01:17 +0000)]
am e8378476: Merge "Allow content rect to overshoot the bottom view bounds by 20dp." into mnc-dev

* commit 'e8378476b52b215536f0b7c52d2eb611a893685f':
  Allow content rect to overshoot the bottom view bounds by 20dp.

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 agoam 41ce0039: Merge "Remove the action bar icon when there is no drawer enabled."...
Tomasz Mikolajewski [Thu, 18 Jun 2015 00:23:57 +0000 (00:23 +0000)]
am 41ce0039: Merge "Remove the action bar icon when there is no drawer enabled." into mnc-dev

* commit '41ce003934c228f68e82645062665e0d2c443781':
  Remove the action bar icon when there is no drawer enabled.

9 years agoam 512fb0ca: Sync the Bluetooth name and address from the Bluetooth Adapter
Pavlin Radoslavov [Thu, 18 Jun 2015 00:23:53 +0000 (00:23 +0000)]
am 512fb0ca: Sync the Bluetooth name and address from the Bluetooth Adapter

* commit '512fb0ca900128cb682491a7f85e20c17edd8481':
  Sync the Bluetooth name and address from the Bluetooth Adapter

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 agoam c7c12e56: Merge "Make MediaSessionService not blocked by AudioService." into mnc-dev
Dongwon Kang [Thu, 18 Jun 2015 00:03:01 +0000 (00:03 +0000)]
am c7c12e56: Merge "Make MediaSessionService not blocked by AudioService." into mnc-dev

* commit 'c7c12e5639c170cb7ba3d3b492f9455b8b6bb9b4':
  Make MediaSessionService not blocked by AudioService.

9 years agoam 9ce9ffec: Merge "Allow to customize title of the dialog." into mnc-dev
Tomasz Mikolajewski [Thu, 18 Jun 2015 00:02:57 +0000 (00:02 +0000)]
am 9ce9ffec: Merge "Allow to customize title of the dialog." into mnc-dev

* commit '9ce9ffec9e307e29c3d575854d4e357ecf06d2d8':
  Allow to customize title of the dialog.

9 years agoam 802ece61: Merge "system_server: add two child chains to firewall" into mnc-dev
Xiaohui Chen [Thu, 18 Jun 2015 00:02:53 +0000 (00:02 +0000)]
am 802ece61: Merge "system_server: add two child chains to firewall" into mnc-dev

* commit '802ece61399e94bbe98cafaa277c71bee73c03ba':
  system_server: add two child chains to firewall

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 agoam 8b9730f7: Merge "Fixing issue with recents not being hidden for translucent apps...
Winson Chung [Wed, 17 Jun 2015 23:44:39 +0000 (23:44 +0000)]
am 8b9730f7: Merge "Fixing issue with recents not being hidden for translucent apps." into mnc-dev

* commit '8b9730f749498491ceb80c86261ee5b8398c7f25':
  Fixing issue with recents not being hidden for translucent apps.

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 agoam 45bb0ca4: Merge "ImageView updates cached drawable dimensions when drawable update...
Chet Haase [Wed, 17 Jun 2015 23:11:47 +0000 (23:11 +0000)]
am 45bb0ca4: Merge "ImageView updates cached drawable dimensions when drawable updates" into mnc-dev

* commit '45bb0ca49a052cd6da3e4ced7709372972abdf55':
  ImageView updates cached drawable dimensions when drawable updates

9 years agoam 8872ca4d: Merge "Remove indents from TextView" into mnc-dev
Raph Levien [Wed, 17 Jun 2015 23:11:43 +0000 (23:11 +0000)]
am 8872ca4d: Merge "Remove indents from TextView" into mnc-dev

* commit '8872ca4d558a8546c9c934f32fd37d261a6f32d1':
  Remove indents from TextView

9 years agoam 1bf92935: Merge "Fixing a few accessibility issues." into mnc-dev
Winson Chung [Wed, 17 Jun 2015 23:11:38 +0000 (23:11 +0000)]
am 1bf92935: Merge "Fixing a few accessibility issues." into mnc-dev

* commit '1bf929350149eb0f669e3aba886c6b0c62b35774':
  Fixing a few accessibility issues.

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 agoam 40359f73: Merge "Request application of WindowInsets when setting a content view...
Adam Powell [Wed, 17 Jun 2015 22:51:01 +0000 (22:51 +0000)]
am 40359f73: Merge "Request application of WindowInsets when setting a content view" into mnc-dev

* commit '40359f73b189fc8547dd91e6b75a4243b23553ef':
  Request application of WindowInsets when setting a content view

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 agoam 2b18e42b: Merge "Seekbar track background alpha should be disabledAlpha" into...
Alan Viverette [Wed, 17 Jun 2015 22:31:12 +0000 (22:31 +0000)]
am 2b18e42b: Merge "Seekbar track background alpha should be disabledAlpha" into mnc-dev

* commit '2b18e42b7beeeb657ba739e46478e4353d3aca71':
  Seekbar track background alpha should be disabledAlpha

9 years agoam 22433a33: Merge "Fix issue #21814207 and issue #21814212 (alarm manager)" into...
Dianne Hackborn [Wed, 17 Jun 2015 22:31:07 +0000 (22:31 +0000)]
am 22433a33: Merge "Fix issue #21814207 and issue #21814212 (alarm manager)" into mnc-dev

* commit '22433a337a712aafbf23df965fa0457ccee3399b':
  Fix issue #21814207 and issue #21814212 (alarm manager)

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 agoam 0d96264b: Merge "Revert spinner caret size to 24x24dp" into mnc-dev
Alan Viverette [Wed, 17 Jun 2015 22:21:54 +0000 (22:21 +0000)]
am 0d96264b: Merge "Revert spinner caret size to 24x24dp" into mnc-dev

* commit '0d96264bb63a884f658d3333525120616fc839ee':
  Revert spinner caret size to 24x24dp

9 years agoam e1c94726: Merge "Work around inconsistent views in RelativeLayout.onMeasure()...
Alan Viverette [Wed, 17 Jun 2015 22:21:50 +0000 (22:21 +0000)]
am e1c94726: Merge "Work around inconsistent views in RelativeLayout.onMeasure()" into mnc-dev

* commit 'e1c947263f1b72510f244458d9cef76883691801':
  Work around inconsistent views in RelativeLayout.onMeasure()

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 agoam ad81a285: Merge "In intent picker dialog, change "personal apps" to "personal...
Nicolas Prevot [Wed, 17 Jun 2015 22:03:55 +0000 (22:03 +0000)]
am ad81a285: Merge "In intent picker dialog, change "personal apps" to "personal"." into mnc-dev

* commit 'ad81a28556baa0ed4a0cd31213fca04fb13e1672':
  In intent picker dialog, change "personal apps" to "personal".

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 agoam 67b5a680: Merge "Resolve start/end insets in LayerDrawable.getIntrinsicWidth(...
Alan Viverette [Wed, 17 Jun 2015 21:33:15 +0000 (21:33 +0000)]
am 67b5a680: Merge "Resolve start/end insets in LayerDrawable.getIntrinsicWidth()" into mnc-dev

* commit '67b5a68088627394fd60baeeb54b78d7e68ba7b2':
  Resolve start/end insets in LayerDrawable.getIntrinsicWidth()

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

* commit 'a7f4d74296a67524fc0bf3442eec680cea962373':
  Remove unnecessary PKCS#1 authorization on legacy keys.

9 years agoam 69dd4bba: Merge "Add keys to handle GSM and CDMA roaming/non roaming overrides...
Chris Manton [Wed, 17 Jun 2015 21:33:07 +0000 (21:33 +0000)]
am 69dd4bba: Merge "Add keys to handle GSM and CDMA roaming/non roaming overrides" into mnc-dev

* commit '69dd4bba65f0b50bbee101d371425ad7fd13ed22':
  Add keys to handle GSM and CDMA roaming/non roaming overrides

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 agoam 95b6fdeb: Merge "Refactor Drawable.getDither() to isDither()" into mnc-dev
Alan Viverette [Wed, 17 Jun 2015 21:17:22 +0000 (21:17 +0000)]
am 95b6fdeb: Merge "Refactor Drawable.getDither() to isDither()" into mnc-dev

* commit '95b6fdebb42cfc2c1c04284fc218ca4acec09ee2':
  Refactor Drawable.getDither() to isDither()

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

* commit 'e222a44429c3c1b662783afee67dc86edf38d546':
  Revert "remove setLatestEventInfo"

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 agoam 94f30824: Merge "Add DisconnectCause for CDMA activated case." into mnc-dev
Andrew Lee [Wed, 17 Jun 2015 20:54:13 +0000 (20:54 +0000)]
am 94f30824: Merge "Add DisconnectCause for CDMA activated case." into mnc-dev

* commit '94f30824959acf2d7c7e6555ecb642ba07b2187a':
  Add DisconnectCause for CDMA activated case.

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 agoam 074c3404: Merge "Add matching xml attributes for existing Toolbar properties"...
Adam Powell [Wed, 17 Jun 2015 20:37:22 +0000 (20:37 +0000)]
am 074c3404: Merge "Add matching xml attributes for existing Toolbar properties" into mnc-dev

* commit '074c340420105e04791bfd083aa36249a4f9362a':
  Add matching xml attributes for existing Toolbar properties

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