147657 Commits

Author SHA1 Message Date
Robert Ly
b369ff7b38 am 84f00277: am 9ada140f: am efbbb182: Merge "cherrypick from klp-docs docs: security consideration for Android <4.2 Change-Id: I5fe51641539f7ffe7abcdb0618371dd3f4b62ab5" into klp-modular-docs
* commit '84f00277b11a0324f0dd08054b119f2a61f1e646':
  cherrypick from klp-docs docs: security consideration for Android <4.2 Change-Id: I5fe51641539f7ffe7abcdb0618371dd3f4b62ab5
2014-08-13 16:17:49 +00:00
Torne (Richard Coles)
3822882b32 Add trace events to WebView startup.
Add system trace events for several interesting points during the
loading of the WebView APK so we can measure how much each part
contributes to startup time.

Bug: 16870075
Change-Id: Iadfd1881faea0377fa01313dddabb1d030962c5f
2014-08-13 17:11:45 +01:00
Lorenzo Colitti
1806b1fc25 Switch RouteInfo to use IpPrefix instead of LinkAddress.
This addresses a TODO and also makes it possible to create
routes to destinations that are not valid LinkAddresses, such as
multicast addresses.

Bug: 16875580
Change-Id: Id4c77b00dc3064bf27d78cdcbbe035e645748cfe
2014-08-13 21:17:20 +09:00
Narayan Kamath
4903f64ba2 Persist the cpuAbiOverride setting.
If an app is installed with an ABI override (adb install -r --abi)
we should remember this so that we don't revert to the scan derived
ABI on the next reboot.

bug: 16476618

Change-Id: I6085bc0099eb613dd9d3b07113c7c13859780697
2014-08-13 12:41:19 +01:00
Sungsoo Lim
dd0b7d083f Merge "Fix hashCode of TvContentRating" into lmp-dev 2014-08-12 23:14:42 +00:00
Narayan Kamath
20200849d1 Fix a couple of PM warnings.
- "Could not delete native binary" : This one is a bit of
  a WTF. git history tells us this code has been around for
  a very long time (the warning's new though). It's a no-op
  because codePath always contains the *current* codePath and
  trying to remove native libs from the current codePath will
  do nothing for bundled apps. This code sounds like it wants
  to delete dangling native binaries for system apps that were
  upgraded during an OTA. This sounds like a wrong place to do
  that, though.

- "Unrecognized code path" : This one's harmless and removed
  by moving this call closer to where it's used.

bug: 16823001

Change-Id: I9b40ae507b2c80ff3fdd45d5699df62bfc86514f
2014-08-13 11:05:58 +00:00
Sungsoo Lim
a9a29a29e5 Fix hashCode of TvContentRating
Bug: 16963556
Change-Id: I0d419e4a47cd4b0a364d3b05063dcdbfc8a168ae
2014-08-13 08:32:29 +00:00
Alexandra Gherghina
7f8821c5a2 Merge "Bugfix: adds extra null check" into lmp-dev 2014-08-12 23:14:48 +00:00
Yohei Yukawa
7360591bbf Suppress warnings of redundant calls of #updateCursorAnchorInfo
Warnings of redundant calls of #updateCursorAnchorInfo should be
suppressed at least until such redundant calls from
android.widget.Editor are addressed.

BUG: 16996008
Change-Id: I62b6acdab06178520473bd53e56e2cfb62fb17be
2014-08-13 17:17:09 +09:00
Ji-Hwan Lee
09015492e5 Merge "TIF: Fix release logic for hardware wrapper input" into lmp-dev 2014-08-12 23:14:48 +00:00
Ji-Hwan Lee
0c38fc764b TIF: Fix release logic for hardware wrapper input
Change-Id: I7aad26682738e7a20bc6a053c3827ab79e83e925
2014-08-13 15:41:20 +09:00
Wonsik Kim
dd8e48f306 Merge "TIF: fix parental control data inconsistency" into lmp-dev 2014-08-12 23:14:48 +00:00
Wonsik Kim
276ec84b5d TIF: fix parental control data inconsistency
Bug: 16987144
Change-Id: I43cc7de92663d50073d5c4da1dbffe4e9a2b26a6
2014-08-13 14:34:28 +09:00
Svet Ganov
38781bd2c2 Fix some minor print UX bugs.
1. The last row of print options was not visible on a phone.

2. The preview page size on a phone in landscape unusably small.

3. Updated the Save to PDF icon.

bug:16966145

Change-Id: I25ce1572758c62f34344683af2452fb045bb857e
2014-08-13 04:07:21 +00:00
Svet Ganov
79dea425af Check accessibility cache integrity only on eng builds.
The checks may have false ositives and spam test logs.

bug:1689853:

Change-Id: I576600192823f159e28ecea29f888187eeceb98b
2014-08-13 04:06:48 +00:00
Dan Sandler
539aad4570 Large text support for notifications.
Bug: 7216066
Bug: 15437369
Change-Id: I01a07f04c18d374fc1656f0b1f439a7c33c9d80c
2014-08-13 04:02:23 +00:00
Alan Viverette
f2546bf423 Merge "Add API for obtaining max text length for accessibility" into lmp-dev 2014-08-12 23:14:35 +00:00
Jon Miranda
177f08e593 Merge "Changed flow in export methods to continue through the loop if it encounters an int[] return type." into lmp-dev 2014-08-12 23:14:35 +00:00
Jean-Michel Trivi
ceb4d41846 Merge "Add support for AudioAttributes in android.media.Ringtone" into lmp-dev 2014-08-12 23:14:35 +00:00
Raph Levien
e07465fafd Merge "Resolve invalid Typeface style to default" into lmp-dev 2014-08-13 01:30:28 +00:00
John Spurlock
55b0abd75c Merge "Send LED signal up to SystemUI regardless of setting." into lmp-dev 2014-08-12 23:14:48 +00:00
John Spurlock
3929232cf9 Send LED signal up to SystemUI regardless of setting.
Let it make an independent decision about whether or not to
do anything with it.

Bug:17001245
Change-Id: Ie494abec423f3620bf142ad332bb5f0a4d4341a5
2014-08-13 11:00:59 -04:00
Jorim Jaggi
72eb2ae21b Merge "Lockscreen launch animations" into lmp-dev 2014-08-12 23:14:48 +00:00
Selim Cinek
f7fc6f7582 Merge "Reuse existing TouchHelpers on rotation" into lmp-dev 2014-08-12 23:14:49 +00:00
Selim Cinek
059a49f834 Merge "Reset the notification expanded states on screen off" into lmp-dev 2014-08-12 23:14:48 +00:00
Dianne Hackborn
3eb780bc17 Merge "Turn off voice interaction service restrction for now" into lmp-dev 2014-08-12 23:14:35 +00:00
Dianne Hackborn
ecc7498b2b Turn off voice interaction service restrction for now
Need to wait for the prebuilt to update.

Change-Id: I5501c2ba23e6e18379aa0859b248446c82de6cdc
2014-08-12 23:05:24 -07:00
Alan Viverette
2adf8902ce Merge "Prevent re-entry when clearing animating hotspots" into lmp-dev 2014-08-12 23:14:35 +00:00
Dake Gu
aa2474d50a Merge "fix ghost clipBounds problem" into lmp-dev 2014-08-12 23:14:35 +00:00
Winson Chung
d82b3750d0 Merge "Implementing Recents focus states. (Bug 16950262)" into lmp-dev 2014-08-12 23:14:35 +00:00
Tenghui Zhu
3caecc6ea2 Revert "Update attrs / public.xml for VectorDrawable opacity removal"
This reverts commit 9c44a95d5168c219facb39e7cca275d1e0a02cee.

Change-Id: If328d3101ce44c63d643217218109bb82e4f20ae
2014-08-12 16:48:46 -07:00
Winson Chung
a0e88b5013 Implementing Recents focus states. (Bug 16950262)
- Fixed issue with focus going to send front most task when coming from Home
- Adding shortcut to dismiss a task
- Refactoring code to get secondary overlay and affiliation color
- Throttling alt-tab key presses
- Fixing issue with slivers of the task thumbnail being visible for affiliated tasks

Change-Id: Iaafe408318646a423fd58b51bbe93dbe0f2eed99
2014-08-12 23:18:34 +00:00
Chris Craik
0d79310e25 Merge "Switch to cos interpolation of shadow alpha" into lmp-dev 2014-08-12 23:14:33 +00:00
Dake Gu
0017ef9ee1 fix ghost clipBounds problem
OverlayViewGroup clipChildren=true, so that RenderNode
of GhostView will be forced clip its content to its bounds.
Because GhostView is transformed to a different location
other than (0,0),  the content left/up to the bounds
is clipped out.

Introduce another clipChildren=false view between
OverlayViewGroup and GhostView.

b/16982904

Change-Id: Ia11926c78e19bffe80c3d4584a59b83b2fbee6df
2014-08-12 16:10:40 -07:00
David Christie
d4edf4cb01 Disable GPS when battery saver is on and screen is off.
Bug: 15348895

Change-Id: Iae2c3898ff48dc4d22e0ff872d7417ef6945c5e3
2014-08-12 16:02:33 -07:00
Chris Craik
91a8c7c629 Switch to cos interpolation of shadow alpha
bug:16852257

Updates default shadow opacities to compensate.

Also, update variable/constant naming related to vertex alpha.

Change-Id: I9055b4ac3c9ac305ca9d515f21b52d6aa6dc9c5c
2014-08-12 16:00:09 -07:00
Ruben Brunk
3e19025049 DNG: Fix row stride check.
Bug: 16986715

Change-Id: I5337194f7078d394b9e972e81861794283925612
2014-08-12 22:54:13 +00:00
Jean-Michel Trivi
81f871e2b9 Add support for AudioAttributes in android.media.Ringtone
Deprecate use of stream types.
Map deprecated API to AudioAttributes.
Add new methods to specify AudioAttributes on a Ringtone instance.

Bug 16790748

Change-Id: Ifb3c2e838e1f119614459ad7d71d83a4d7c9ffdb
2014-08-12 15:53:15 -07:00
Quddus Chong
8570ee6d67 am eb4d136e: am a5365ed9: am ac605c84: Merge "docs: Updated L Preview Overview and support page with information about using NDK r10 for 64-bit support." into klp-modular-docs
* commit 'eb4d136e5a8833a7071b797ab6e6e455ae85b063':
  docs: Updated L Preview Overview and support page with information about using NDK r10 for 64-bit support.
2014-08-12 22:52:08 +00:00
Jorim Jaggi
8de4311c51 Lockscreen launch animations
- Get rid of ActivityManager.dismissKeyguardOnNextActivity, which was
  used for two different things: Dismiss keyguard from somewhere else
  (not really necessary anymore), wait to actually dismiss keyguard
  after the window behind is drawn. Instead, introduce
  keyguardWaitingForActivityDrawn(), and change the semantics where
  necessary.
- Make wallpaper_close_enter consistent with task_open_enter and the
  Keyguard launch animation.
- Close the panel even on lockscreen when launching a notification.
- Block notification shade updates during the collapsing motion so
  notification don't play the disappear animation immediately after
  having launched a notification.

Bug: 15991916

Change-Id: I133c177b84e926c87c1a404ba93d633593fec3ab
2014-08-12 22:47:52 +00:00
Quddus Chong
eb4d136e5a am a5365ed9: am ac605c84: Merge "docs: Updated L Preview Overview and support page with information about using NDK r10 for 64-bit support." into klp-modular-docs
* commit 'a5365ed9dd080529609078c0b262e775ba3b460e':
  docs: Updated L Preview Overview and support page with information about using NDK r10 for 64-bit support.
2014-08-12 22:46:41 +00:00
Jon Miranda
4852021095 Changed flow in export methods to continue through the loop if it encounters
an int[] return type.

There are two such instances:

1. "private int[] mRules" within RelativeLayout LayoutParams.
2. "public int[] getLocationOnScreen" in View.

When I added #2, we noticed missing annotated fields/methods in Hierarchy
Viewer, but #1 also caused the same issue (mainly not exporting
alignWithParent field)

Bug: 16844914
Change-Id: I0d83a4391aa0565897cd7f0523995c97b7a4976d
2014-08-12 15:45:57 -07:00
Quddus Chong
a5365ed9dd am ac605c84: Merge "docs: Updated L Preview Overview and support page with information about using NDK r10 for 64-bit support." into klp-modular-docs
* commit 'ac605c8488a3092c1451ac29cad35ff2ff9f7f98':
  docs: Updated L Preview Overview and support page with information about using NDK r10 for 64-bit support.
2014-08-12 22:42:19 +00:00
Wink Saville
125cf62d59 Fix CellIdentityLte.equals
Bug: 16902094
Change-Id: I92786dc792bf318d2236212eb2acf955ec41e066
2014-08-12 22:39:35 +00:00
Dianne Hackborn
a3fb40d5f4 Add 560dpi, and some other stuff.
Like new settings actions for some of the new settings panels.
And fix voice interaction services so they require a recognizer.
And tweak array map doc to be correct.

Blah blah blah.

Change-Id: Ib5e66b574b10e7b3fa39723b21046a74e6ead204
2014-08-12 15:38:19 -07:00
Alan Viverette
27cede8777 Prevent re-entry when clearing animating hotspots
BUG: 16651728
Change-Id: I2b1b1501a4adfded833d0ed95ec3537ae217a6d7
2014-08-12 15:03:01 -07:00
Alan Viverette
029942f77d Add API for obtaining max text length for accessibility
BUG: 16736956
Change-Id: I15ffb9bf68e074adf3e0dbcd230367e115c03e3c
2014-08-12 14:55:56 -07:00
Quddus Chong
ac605c8488 Merge "docs: Updated L Preview Overview and support page with information about using NDK r10 for 64-bit support." into klp-modular-docs 2014-08-12 20:55:12 +00:00
Quddus Chong
20dad64d03 docs: Updated L Preview Overview and support page with information about using NDK r10 for 64-bit support.
Change-Id: Ib759f6a187a8a1298d01f8485a8e05e5d9b67e27
2014-08-12 15:08:05 -07:00
Jorim Jaggi
ddc122ee50 Merge "New lock pattern assets and animations" into lmp-dev 2014-08-12 19:56:56 +00:00