Commit Graph

53339 Commits

Author SHA1 Message Date
Sudheer Shanka
4e4ced24a7 am a408061c: Merge "Use the intent filter icon in ResolveInfo for managed profile." into mnc-dev
* commit 'a408061cc7b5efaf090ce9efd5fd0ba1d95e9c11':
  Use the intent filter icon in ResolveInfo for managed profile.
2015-06-19 09:34:58 +00:00
Sudheer Shanka
a408061cc7 Merge "Use the intent filter icon in ResolveInfo for managed profile." into mnc-dev 2015-06-19 09:25:59 +00:00
Shawn Willden
53272e5c33 am 09614808: Merge "Reflect removal of KM_TAG_AEAD_TAG from keymaster." into mnc-dev
* commit '096148087980ea5a92e1b96579900ea36727fbbc':
  Reflect removal of KM_TAG_AEAD_TAG from keymaster.
2015-06-19 03:27:23 +00:00
Shawn Willden
0961480879 Merge "Reflect removal of KM_TAG_AEAD_TAG from keymaster." into mnc-dev 2015-06-19 03:16:55 +00:00
Alex Klyubin
42abb74834 Reflect removal of KM_TAG_AEAD_TAG from keymaster.
This reflects the changes in da89dde9787dfbd8c053119ab52d9e671106b18e
in system/keymaster.

Bug: 19919114
Change-Id: I9cdfc7ce63099c4de29029b1fc112369c4a68eba
2015-06-18 18:43:45 -07:00
Adam Lesinski
e4186de838 am 8b156e37: Merge "BatteryStats: Update external stats individually." into mnc-dev
* commit '8b156e37d5238487f1b3742fe9fb8a0632bfd66c':
  BatteryStats: Update external stats individually.
2015-06-19 01:32:55 +00:00
Adam Lesinski
8b156e37d5 Merge "BatteryStats: Update external stats individually." into mnc-dev 2015-06-19 01:22:53 +00:00
Adam Lesinski
a7c90c84e4 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
2015-06-18 18:13:36 -07:00
Dianne Hackborn
fdc4e08850 am 0348ba2e: Merge "Fix issue #20494208: Go out of device idle when headset button is pressed" into mnc-dev
* commit '0348ba2e2303d9dce57a6b5d19cc47ecc5089afe':
  Fix issue #20494208: Go out of device idle when headset button is pressed
2015-06-19 01:13:03 +00:00
Dianne Hackborn
0348ba2e23 Merge "Fix issue #20494208: Go out of device idle when headset button is pressed" into mnc-dev 2015-06-19 01:01:38 +00:00
Adam Lesinski
2e2da248bd am 00fac635: Merge "BatteryStats: Fix regression in wakelock power distribution" into mnc-dev
* commit '00fac63575349df5ed8c399b83f1f9c7199ff070':
  BatteryStats: Fix regression in wakelock power distribution
2015-06-19 01:00:23 +00:00
Dan Sandler
1822d20910 am 11859eba: Merge "Announce chronometers with time-unit words." into mnc-dev
* commit '11859eba4e0e3c8dc1e2479a83e73dff6536ffc7':
  Announce chronometers with time-unit words.
2015-06-19 01:00:08 +00:00
Adam Lesinski
00fac63575 Merge "BatteryStats: Fix regression in wakelock power distribution" into mnc-dev 2015-06-19 00:57:47 +00:00
Dan Sandler
11859eba4e Merge "Announce chronometers with time-unit words." into mnc-dev 2015-06-19 00:50:59 +00:00
Dianne Hackborn
b6683c4286 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
2015-06-18 17:40:33 -07:00
Alan Viverette
70dea6558e am b0ff3a6c: Merge "Ensure ResolverDrawerLayout is visible to accessibility services" into mnc-dev
* commit 'b0ff3a6cb37aa45add4b0c5135bd978442fcc441':
  Ensure ResolverDrawerLayout is visible to accessibility services
2015-06-18 21:47:03 +00:00
Alan Viverette
b0ff3a6cb3 Merge "Ensure ResolverDrawerLayout is visible to accessibility services" into mnc-dev 2015-06-18 21:37:55 +00:00
Alan Viverette
f45befe6c3 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
2015-06-18 14:20:35 -07:00
Christopher Tate
9432fef3a1 am 728b7500: Merge "Document possible null returns in PackageManager" into mnc-dev
* commit '728b7500b3d34cd89f7aff0bad1bb7fe3e097f11':
  Document possible null returns in PackageManager
2015-06-18 21:02:55 +00:00
Christopher Tate
728b7500b3 Merge "Document possible null returns in PackageManager" into mnc-dev 2015-06-18 20:53:12 +00:00
Christopher Tate
abe6580199 Document possible null returns in PackageManager
In particular queryIntentServices() but also a few others.

Bug 19127758

Change-Id: I590605ce4870b2ab300385678df8917cfade60f9
2015-06-18 13:48:42 -07:00
Dan Sandler
716c448466 am 50ec9b1b: Merge "Patch up certain kinds of broken notifications." into mnc-dev
* commit '50ec9b1bd97a04a001dd394885db0cc6f13bea39':
  Patch up certain kinds of broken notifications.
2015-06-18 20:36:57 +00:00
Dan Sandler
50ec9b1bd9 Merge "Patch up certain kinds of broken notifications." into mnc-dev 2015-06-18 20:26:49 +00:00
Stefan Kuhne
2cff3238f5 am 0925136b: Merge "Fixing voice panel centering issues in landscape on phone" into mnc-dev
* commit '0925136b22d4fcc69ed8b13675861e2386f3a341':
  Fixing voice panel centering issues in landscape on phone
2015-06-18 20:11:05 +00:00
Chris Wren
8270b0b088 am 5e275f9f: Merge "instrument volume controls" into mnc-dev
* commit '5e275f9fc0e655a273fc62ce297c9d5a069d7ed7':
  instrument volume controls
2015-06-18 20:11:01 +00:00
Stefan Kuhne
0925136b22 Merge "Fixing voice panel centering issues in landscape on phone" into mnc-dev 2015-06-18 19:58:24 +00:00
Chris Wren
5e275f9fc0 Merge "instrument volume controls" into mnc-dev 2015-06-18 19:57:50 +00:00
Dan Sandler
4e78706f43 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
2015-06-18 15:12:44 -04:00
Adam Lesinski
72478f053f 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
2015-06-18 12:09:25 -07:00
Stefan Kuhne
2f280d0639 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
2015-06-18 08:44:04 -10:00
Alan Viverette
3202841196 am 49e11f80: Merge "Clear/restore calling identity in AccessibilityInteractionClient" into mnc-dev
* commit '49e11f805dcf5c8611e4bfbb115e56a22db4a396':
  Clear/restore calling identity in AccessibilityInteractionClient
2015-06-18 18:31:22 +00:00
Alan Viverette
49e11f805d Merge "Clear/restore calling identity in AccessibilityInteractionClient" into mnc-dev 2015-06-18 18:22:08 +00:00
Mady Mellor
b7c903624f 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
2015-06-18 17:29:00 +00:00
Adam Powell
61caef4cb0 am 2a1f9164: Merge "Un-hide ViewGroup#onViewAdded/onViewRemoved" into mnc-dev
* commit '2a1f91641895c3193204655bea2f67eb0fe6c439':
  Un-hide ViewGroup#onViewAdded/onViewRemoved
2015-06-18 17:28:55 +00:00
Mady Mellor
03709c780a Merge "Text selection: update touch delta when moving towards handles" into mnc-dev 2015-06-18 17:26:04 +00:00
Adam Powell
2a1f916418 Merge "Un-hide ViewGroup#onViewAdded/onViewRemoved" into mnc-dev 2015-06-18 17:20:44 +00:00
Adam Powell
6690d018b9 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
2015-06-18 10:19:18 -07:00
Mady Mellor
1ec24429a1 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
2015-06-18 16:27:36 +00:00
Craig Lafayette
1d492b7cd8 am b4c46909: Merge "Remove FRP wipe support for device initializers" into mnc-dev
* commit 'b4c469095f12972ef04558961ddbdbdfe8305ccb':
  Remove FRP wipe support for device initializers
2015-06-18 16:27:30 +00:00
Mady Mellor
9a08fe2aca Merge "Update button press in AbsListView to use new MotionEvent APIs" into mnc-dev 2015-06-18 15:46:27 +00:00
Craig Lafayette
b4c469095f Merge "Remove FRP wipe support for device initializers" into mnc-dev 2015-06-18 15:44:49 +00:00
Clara Bayarri
c2790cba0a 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
2015-06-18 11:35:29 +00:00
Clara Bayarri
6bc1224448 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
2015-06-18 11:58:12 +01:00
Hyunyoung Song
59b40f09bd 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
2015-06-18 06:09:11 +00:00
Hyunyoung Song
0ff78e7cc8 Merge "AppWidgetServiceImpl should use ParceledListSlice as return object b/19904873" into mnc-dev 2015-06-18 05:58:36 +00:00
Keisuke Kuroyanagi
af2bc2c05b am fe67c1ec: Merge "Fix: Drag handle jumps between bidi boundaries." into mnc-dev
* commit 'fe67c1ec6d0f08542fad2fc1a3fb858d99d40341':
  Fix: Drag handle jumps between bidi boundaries.
2015-06-18 03:56:59 +00:00
Keisuke Kuroyanagi
fe67c1ec6d Merge "Fix: Drag handle jumps between bidi boundaries." into mnc-dev 2015-06-18 03:43:44 +00:00
Abodunrinwa Toki
a454d6191a 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.
2015-06-18 01:17:43 +00:00
Abodunrinwa Toki
e8378476b5 Merge "Allow content rect to overshoot the bottom view bounds by 20dp." into mnc-dev 2015-06-18 01:05:07 +00:00
Tomasz Mikolajewski
cfbad359e1 am 9ce9ffec: Merge "Allow to customize title of the dialog." into mnc-dev
* commit '9ce9ffec9e307e29c3d575854d4e357ecf06d2d8':
  Allow to customize title of the dialog.
2015-06-18 00:07:05 +00:00