151316 Commits

Author SHA1 Message Date
Baligh Uddin
b1b8fa00de Import translations. DO NOT MERGE
Change-Id: If5c2ca9461d0d7846374fda66e3d091dfa8f05e7
Auto-generated-cl: translation import
2014-09-20 23:10:32 -07:00
Yigit Boyar
1a74dc4547 Merge "Find activity from context in menu inflator for click events" into lmp-dev 2014-09-20 01:30:00 +00:00
Jeff Brown
6e53b7476e Merge "Decouple turning screen on from waking up in policy." into lmp-dev 2014-09-20 01:09:40 +00:00
Jeff Brown
7858a1b5d8 Merge "Fix order of operations while pulsing the ambient display." into lmp-dev 2014-09-20 01:09:10 +00:00
Jeff Brown
1ecada8582 Merge "Ensure that the screen on blocker is applied while dozing." into lmp-dev 2014-09-20 01:08:52 +00:00
Christopher Tate
4c45b649c3 Merge "Always give wifi a chance to quiet down during restore" into lmp-dev 2014-09-20 00:25:12 +00:00
Dianne Hackborn
000e464f30 Merge "Fix issue #17492300: NavUtils.shouldUpRecreateTask returns different..." into lmp-dev 2014-09-20 00:22:52 +00:00
Dianne Hackborn
f3eb843665 Fix issue #17492300: NavUtils.shouldUpRecreateTask returns different...
...value in L

Only do the new logic when the task is a document.

Change-Id: I4664b94a3fe86ea266c2feb4e889c14c06751a15
2014-09-19 17:21:46 -07:00
Christopher Tate
7274444b6e Always give wifi a chance to quiet down during restore
Not just when the current scan-always setting is on.

Bug 17571997

Change-Id: Idc56c9682c18f5e23c0bde98736522a79583af5e
2014-09-19 17:03:59 -07:00
Svetoslav
49c469165f Merge "TouchExploer computes incorectly the click location." into lmp-dev 2014-09-20 00:02:46 +00:00
Svetoslav
8d412fe18b TouchExploer computes incorectly the click location.
If there is accessibilty focus and the user touch explores
location that does not change accessibility focus that is
not in the app window, e.g. system bar, double tap does not
click on the system UI affordance. This is due to obsolete
logic from the time where accessibility focus was only in
the active window at the time of double clicking.

bug:17588024

Change-Id: Ib780103e873d8a2afd3b35de3227d54116f1a1b0
2014-09-19 16:54:20 -07:00
Chris Craik
9e7c919191 Merge "Account for alpha in hasShadow()" into lmp-dev 2014-09-19 23:36:22 +00:00
Dianne Hackborn
cf456e3c22 Merge "Fix issue #17574819: Chrome browser process is killed in background..." into lmp-dev 2014-09-19 23:26:18 +00:00
Dianne Hackborn
cfb67ee40c Merge "Work on issue #17381033: Program icon and shortcut disappear after..." into lmp-dev 2014-09-19 23:24:19 +00:00
Dianne Hackborn
0ed82e2c21 Work on issue #17381033: Program icon and shortcut disappear after...
...running monkey test overnight [FACTORY ROM BLOCKER]

Add surface tracing to debug output.

Change-Id: I65f7fc90c51b0805f7e0090141c33d6b60ccb3b4
2014-09-19 16:22:50 -07:00
Amit Mahajan
c2492e19ea Merge "Control radio restart on PDP_FAIL_REGULAR_DEACTIVATION by a config variable" into lmp-dev 2014-09-19 23:12:58 +00:00
Hui Wang
4b57b991ac Control radio restart on PDP_FAIL_REGULAR_DEACTIVATION by a config variable
Bug: 17567651, 16308209
Change-Id: Ie164b16b70429d5815e9bef5f8c5489f6e49de36
2014-09-19 23:11:58 +00:00
Chris Craik
9fa364dc72 Account for alpha in hasShadow()
bug:17587220
Change-Id: Ic7f2dea95302b713dc93edb4a0193a7be77fb2eb
2014-09-19 16:04:45 -07:00
Christopher Tate
eae9216770 Logspam is spam
This turns out to happen a lot in normal usage, but we're logging
copiously about it each time.  It's reporting "oh hey we're already
in this state" -- and so the log is not useful anyway.

Logspam is spam.

Bug 15169507

Change-Id: Ie2d01ff1b0b3600dd9c15ccf83d60875558f1dc2
2014-09-19 22:49:20 +00:00
Alan Viverette
edcb2d0e89 Merge "Update theme colors for better contrast and de-blueing" into lmp-dev 2014-09-19 22:28:08 +00:00
Alan Viverette
daf8588275 Merge "Correctly apply max width/height to preference icons" into lmp-dev 2014-09-19 22:19:02 +00:00
Alan Viverette
0fa3c1c656 Update theme colors for better contrast and de-blueing
BUG: 17520824
Change-Id: Id9f90136cea169ba9e58db957034c539ef25121f
2014-09-19 22:17:45 +00:00
Dianne Hackborn
0fe3c25658 Fix issue #17574819: Chrome browser process is killed in background...
...due to dying renderer process

Don't kill processes if they are bound to a service but not impacting
oom adjustment.

Change-Id: I1cc44e633feaeaad6e996b79a6cfd7b386c04095
2014-09-19 15:09:39 -07:00
Svetoslav
1258dd2142 Merge "Keep existing API behavior that regressed." into lmp-dev 2014-09-19 21:41:39 +00:00
Dianne Hackborn
79572afb33 Merge "Add new activity dumpsys command to persist all data." into lmp-dev 2014-09-19 21:41:39 +00:00
Svetoslav
451bf37362 Merge "Fix a print spooler crash when printing." into lmp-dev 2014-09-19 21:41:12 +00:00
Svetoslav
9424b733c7 Fix a print spooler crash when printing.
The spooler communicates with he remote PDF renderer asynchronously.
When print is confirmed we close the renderer, destroy it, and unbind
from its service. If we unbind from the service after the print activiy
is finished we get a crash. The bug was that we did not wait until we
disconnect from the remote renderer before finishing the print activity.

bug:17583115

Change-Id: I55b0135f9c5658b3a4fda2901b8b3bdef044e211
2014-09-19 14:24:40 -07:00
George Mount
615a2c1605 Merge "Target only shared elements with shared element Transition" into lmp-dev 2014-09-19 21:01:15 +00:00
Svetoslav
b624244325 Keep existing API behavior that regressed.
If RemoteViews get a null package in the constructor we are
using the context in which they are applied to obtain resources
during inflation. In such a case if we call the getPackage()
method we were getting null, i.e. the package passed in the
contructor, but now we are returning the package if the app
that created the remote views.

bug:17513823
Change-Id: I0c4a8953c8320469a9160dbaae46ce31465b313b
2014-09-19 13:59:10 -07:00
Jeff Sharkey
804d37fd57 Merge "Fix bugs when system apps reclaim permissions." into lmp-dev 2014-09-19 20:58:45 +00:00
Alan Viverette
e14566eeb1 Merge "Fix action bar title size consistency" into lmp-dev 2014-09-19 20:51:14 +00:00
Alan Viverette
ecd7c96aa4 Correctly apply max width/height to preference icons
BUG: 17581750
Change-Id: I8ad21a321c80f0a657670ba4d175d0ebecea49ef
2014-09-19 13:36:29 -07:00
Adam Powell
17f48457d2 Merge "Add colorEdgeEffect to themes, default it to colorPrimary" into lmp-dev 2014-09-19 20:31:14 +00:00
Jeff Brown
36c4db8bd3 Decouple turning screen on from waking up in policy.
This allows us to ensure windows are fully drawn before unblocking
screen on while dozing.

Bug: 17516245
Change-Id: Ibe63c212b8db855ce26a34a8169f33764b266ee6
2014-09-19 13:14:29 -07:00
Jeff Brown
4d69e22193 Fix order of operations while pulsing the ambient display.
This change fixes several issues in how the display's power state
was coordinated to ensure that the display is not turned on until
the pulse is ready to be shown.  It also greatly simplifies the
wakelock logic and makes it completely deterministic instead of
relying on timed delays.

Bug: 17516245
Change-Id: If2b96845a010f2d05c610970257d898f32ccacb7
2014-09-19 13:14:28 -07:00
Jeff Brown
606e4e8c98 Ensure that the screen on blocker is applied while dozing.
The screen on blocker is used to keep the screen blank while the
system is drawing new content to prevent the user from seeing a
flash of stale content while the screen is being turned on.
This patch ensures that the screen on blocker functionality
is also applied while dozing.

Bug: 17516245
Change-Id: I77c2d0f2b99476a59ad212099f44c63aa2ef9c34
2014-09-19 13:14:28 -07:00
Dianne Hackborn
ce0fd7665f Add new activity dumpsys command to persist all data.
Very useful for testing persisting/restoring, to make sure
that all pending changes have been written.

Change-Id: I0e3b7cd3af8afb0b6e751e086081566ab00b76c9
2014-09-19 12:58:15 -07:00
George Mount
2deeaa3314 Target only shared elements with shared element Transition
Bug 17549213
Bug 17553253

Change-Id: If54aebb4e37d2012aa8d1c5354d5ec03f92b81a3
2014-09-19 12:55:20 -07:00
Michael Wright
4bc92b064b Merge "Respect intent-filter priority for system keyboard layouts." into lmp-dev 2014-09-19 19:52:54 +00:00
Adam Powell
c6c744da75 Add colorEdgeEffect to themes, default it to colorPrimary
Allow edgeeffect colors to be changed independently of the primary
color for the current theme.

Bug 16512225

Change-Id: Ibc13ad755f489fe1f6d16af0c61a1d12dd1a61f7
2014-09-19 12:50:31 -07:00
Jason Monk
f6edc55e6a Merge "Fix crash in PacManager" into lmp-dev 2014-09-19 19:25:47 +00:00
Alan Viverette
840855c021 Merge "Fix radial time picker inner circle (1-12) selections" into lmp-dev 2014-09-19 19:11:47 +00:00
Paul Soulos
628cb74d8a Fixes typo in Intent documentation
bug: 17583712
Change-Id: I37c77644213417751f8261098af44096aef51b14
2014-09-19 19:10:04 +00:00
Nancy Chen
3fab08eef6 Merge "Add constructor for DisconnectCause that does not require a tone." into lmp-dev 2014-09-19 19:08:29 +00:00
Jason Monk
f6b46cb8b1 Fix crash in PacManager
The PacManager would clear the pac url by setting it to null, however
everywhere else, pac url is cleared to Uri.EMPTY.  This sometimes leads
to an NPE when PAC is set and cleared rapidly and take down the whole
framework.

Bug: 17581527
Change-Id: I84ce215f4f6a8a7e804372fc0a1e20ac609a21f1
2014-09-19 18:34:32 +00:00
Selim Cinek
a0fad3ba06 Optimized and improved the status bar performance a lot
Instead of clearing the Statusbarwindow buffer in the beginning
we now draw the scrim with mode SRC and therefore a whole screen
of overdraw is saved!

Bug: 17287256
Change-Id: I29f14a2c3d4cb087c422ae6f486d23d7f8ec173b
2014-09-19 18:25:56 +00:00
Adam Lesinski
b6812b64c4 Merge "Fix backwards compat problem with AAPT public attrs" into lmp-dev 2014-09-19 18:19:58 +00:00
Jeff Sharkey
bfed9f34c0 Fix bugs when system apps reclaim permissions.
Recently we started letting system apps always take precedence over
third-party apps when defining permissions.  This change fixes that
logic to claim the permission immediately, instead of delaying until
after the next reboot.  (Permissions are always reevaluated after
each install.)

We also tighten the constraints slightly to prevent two system
apps from fighting over a permission definition; the first system
app to claim the permission wins.

Bug: 17526617
Change-Id: I49686407f5e99322bc511795c653c5d702becd9d
2014-09-19 11:11:25 -07:00
Nancy Chen
f4cf77c5dc Add constructor for DisconnectCause that does not require a tone.
In order to create a DisconnectCause with a label/description that does
not require specifying a tone.

Bug: 17486242
Change-Id: If82605ff20fc9f53ed41b49e12575424c6efc2b6
2014-09-19 11:01:45 -07:00
Chris Craik
ddc5e5f1c6 Merge "Hide other color filter mutability" into lmp-dev 2014-09-19 17:42:22 +00:00