OSDN Git Service

android-x86/frameworks-base.git
9 years agohandle bssid blacklist in case of dhcp failures
vandwalle [Fri, 19 Sep 2014 22:21:35 +0000 (15:21 -0700)]
handle bssid blacklist in case of dhcp failures

Change-Id: Iba13db478ed69976c37bd4882f59bf0cae2212e6

9 years agoMerge "Fix animation on the some properties" into lmp-dev
ztenghui [Tue, 23 Sep 2014 19:26:40 +0000 (19:26 +0000)]
Merge "Fix animation on the some properties" into lmp-dev

9 years agoMerge "Better detection for SIM information readyness. 1) listen to SUBINFO broadcast...
Tsuwei Chen [Tue, 23 Sep 2014 18:54:02 +0000 (18:54 +0000)]
Merge "Better detection for SIM information readyness. 1) listen to SUBINFO broadcast intent to better capture SIM info update. 2) notify HAL about SUPL server/host everytime they get set." into lmp-dev

9 years agoModify comment for "VoLTE replacement configuration" to clarify that used for unknown.
Etan Cohen [Mon, 22 Sep 2014 18:53:33 +0000 (11:53 -0700)]
Modify comment for "VoLTE replacement configuration" to clarify that used for unknown.

Configuration RAT replacement value will be used in any ambiguous (LTE:14) or
unknown (UNKNOWN:0) scenario.

Bug: 16962905
Change-Id: Ica1cc809521df5836143d8a94849541f28342a89

9 years agoMerge "Only wait for relevant windows when turning on the screen" into lmp-dev
Jorim Jaggi [Tue, 23 Sep 2014 18:26:05 +0000 (18:26 +0000)]
Merge "Only wait for relevant windows when turning on the screen" into lmp-dev

9 years agoBetter detection for SIM information readyness.
Tsuwei Chen [Tue, 23 Sep 2014 00:48:41 +0000 (17:48 -0700)]
Better detection for SIM information readyness.
1) listen to SUBINFO broadcast intent to better capture SIM info update.
2) notify HAL about SUPL server/host everytime they get set.

Bug: 17288144

Change-Id: I65cb4e0879c55c078e85d062877e491904e78222

9 years agoFix animation on the some properties
ztenghui [Tue, 23 Sep 2014 17:58:57 +0000 (10:58 -0700)]
Fix animation on the some properties

The risk is low since most of them are just matching the naming to xml.
And this update won't cause build breakage.

b/17623982

Change-Id: I1eda0b8314ec7b94bc03976cdc365a7dc1039f4c

9 years agoMerge "Update refresh icon to tinted material vector asset" into lmp-dev
Alan Viverette [Tue, 23 Sep 2014 18:15:26 +0000 (18:15 +0000)]
Merge "Update refresh icon to tinted material vector asset" into lmp-dev

9 years agoMerge "camera2: Update EACCES to throw correct exception in LEGACY." into lmp-dev
Ruben Brunk [Tue, 23 Sep 2014 18:08:41 +0000 (18:08 +0000)]
Merge "camera2: Update EACCES to throw correct exception in LEGACY." into lmp-dev

9 years agoMerge "Implement API review feedback." into lmp-dev
Jeff Tinker [Tue, 23 Sep 2014 17:39:30 +0000 (17:39 +0000)]
Merge "Implement API review feedback." into lmp-dev

9 years agoam bca67fd7: am 9aaf54ee: am 71b19fc3: am 5ba31e6e: am bba79795: am 25c866a8: am...
Jeff Vander Stoep [Tue, 23 Sep 2014 17:37:58 +0000 (17:37 +0000)]
am bca67fd7: am 9aaf54ee: am 71b19fc3: am 5ba31e6e: am bba79795: am 25c866a8: am e2adb1ff: Merge "Sanity-check paths of files to be restored" into jb-mr2-dev

* commit 'bca67fd7d0747a950e88525d216af41272b20763':
  Sanity-check paths of files to be restored

9 years agoam bbf7e4af: am 1cf337a2: am 52824dab: am 1b4f1a79: am 1c2eaa78: am 660af7eb: am...
Jeff Vander Stoep [Tue, 23 Sep 2014 17:37:42 +0000 (17:37 +0000)]
am bbf7e4af: am 1cf337a2: am 52824dab: am 1b4f1a79: am 1c2eaa78: am 660af7eb: am 59c1202e: Merge "Change permission guard on bindBackupAgent()" into jb-mr2-dev

* commit 'bbf7e4af975493c9c213250a595c63331cb7a872':
  Change permission guard on bindBackupAgent()

9 years agoFixing ConcurrentModificationException.
mike dooley [Thu, 18 Sep 2014 21:07:52 +0000 (14:07 -0700)]
Fixing ConcurrentModificationException.

Implementing review feedback.

Bug: 17572658
Change-Id: I3a060d21669a58188a24c5d6ec5fefcbca45a976

9 years agocamera2: Update EACCES to throw correct exception in LEGACY.
Ruben Brunk [Tue, 23 Sep 2014 17:32:18 +0000 (10:32 -0700)]
camera2: Update EACCES to throw correct exception in LEGACY.

Bug: 17595068
Change-Id: I1a88568822237d3609c3342a21e2ca81ca935408

9 years agoam 9aaf54ee: am 71b19fc3: am 5ba31e6e: am bba79795: am 25c866a8: am e2adb1ff: Merge...
Jeff Vander Stoep [Tue, 23 Sep 2014 17:26:47 +0000 (17:26 +0000)]
am 9aaf54ee: am 71b19fc3: am 5ba31e6e: am bba79795: am 25c866a8: am e2adb1ff: Merge "Sanity-check paths of files to be restored" into jb-mr2-dev

* commit '9aaf54eeb6c1dd83090235a8df5476b2f2f6473e':
  Sanity-check paths of files to be restored

9 years agoam 1cf337a2: am 52824dab: am 1b4f1a79: am 1c2eaa78: am 660af7eb: am 59c1202e: Merge...
Jeff Vander Stoep [Tue, 23 Sep 2014 17:26:42 +0000 (17:26 +0000)]
am 1cf337a2: am 52824dab: am 1b4f1a79: am 1c2eaa78: am 660af7eb: am 59c1202e: Merge "Change permission guard on bindBackupAgent()" into jb-mr2-dev

* commit '1cf337a222bbb0e26445e7904ece687af93aac48':
  Change permission guard on bindBackupAgent()

9 years agoMerge "@hide ConnectionService APIs." into lmp-dev
Tyler Gunn [Tue, 23 Sep 2014 17:13:11 +0000 (17:13 +0000)]
Merge "@hide ConnectionService APIs." into lmp-dev

9 years agoam 71b19fc3: am 5ba31e6e: am bba79795: am 25c866a8: am e2adb1ff: Merge "Sanity-check...
Jeff Vander Stoep [Tue, 23 Sep 2014 17:12:38 +0000 (17:12 +0000)]
am 71b19fc3: am 5ba31e6e: am bba79795: am 25c866a8: am e2adb1ff: Merge "Sanity-check paths of files to be restored" into jb-mr2-dev

* commit '71b19fc301ff08bd13d394dfa9ef6a3f535b149e':
  Sanity-check paths of files to be restored

9 years agoam 52824dab: am 1b4f1a79: am 1c2eaa78: am 660af7eb: am 59c1202e: Merge "Change permis...
Jeff Vander Stoep [Tue, 23 Sep 2014 17:11:58 +0000 (17:11 +0000)]
am 52824dab: am 1b4f1a79: am 1c2eaa78: am 660af7eb: am 59c1202e: Merge "Change permission guard on bindBackupAgent()" into jb-mr2-dev

* commit '52824dab7ba48713411ff3a26580b29aa2088242':
  Change permission guard on bindBackupAgent()

9 years agoMerge "SysUI: Correctly compare MediaControllers" into lmp-dev
Christoph Studer [Tue, 23 Sep 2014 17:03:47 +0000 (17:03 +0000)]
Merge "SysUI: Correctly compare MediaControllers" into lmp-dev

9 years agoam 5ba31e6e: am bba79795: am 25c866a8: am e2adb1ff: Merge "Sanity-check paths of...
Jeff Vander Stoep [Tue, 23 Sep 2014 17:02:13 +0000 (17:02 +0000)]
am 5ba31e6e: am bba79795: am 25c866a8: am e2adb1ff: Merge "Sanity-check paths of files to be restored" into jb-mr2-dev

* commit '5ba31e6e9afb34781fe5b927354502d9c6190bc5':
  Sanity-check paths of files to be restored

9 years agoam 1b4f1a79: am 1c2eaa78: am 660af7eb: am 59c1202e: Merge "Change permission guard...
Jeff Vander Stoep [Tue, 23 Sep 2014 17:02:04 +0000 (17:02 +0000)]
am 1b4f1a79: am 1c2eaa78: am 660af7eb: am 59c1202e: Merge "Change permission guard on bindBackupAgent()" into jb-mr2-dev

* commit '1b4f1a794dc90c1ea877af64e8340afe6146584a':
  Change permission guard on bindBackupAgent()

9 years ago@hide ConnectionService APIs.
Tyler Gunn [Fri, 19 Sep 2014 18:17:02 +0000 (11:17 -0700)]
@hide ConnectionService APIs.

Bug: 17569532
Change-Id: I68f7237191bd6d7a1a00ba7bb4fd2f8e3d669e8f

9 years agoOnly wait for relevant windows when turning on the screen
Jorim Jaggi [Tue, 23 Sep 2014 16:22:16 +0000 (18:22 +0200)]
Only wait for relevant windows when turning on the screen

Bug: 17536119
Change-Id: Ibe8da9fdd52a1a46eb856425b28ffc4f505b2697

9 years agoam bba79795: am 25c866a8: am e2adb1ff: Merge "Sanity-check paths of files to be resto...
Jeff Vander Stoep [Tue, 23 Sep 2014 16:50:29 +0000 (16:50 +0000)]
am bba79795: am 25c866a8: am e2adb1ff: Merge "Sanity-check paths of files to be restored" into jb-mr2-dev

* commit 'bba797957a83b0ee8869cfa8a9427f6506f74fa4':
  Sanity-check paths of files to be restored

9 years agoam 1c2eaa78: am 660af7eb: am 59c1202e: Merge "Change permission guard on bindBackupAg...
Jeff Vander Stoep [Tue, 23 Sep 2014 16:50:16 +0000 (16:50 +0000)]
am 1c2eaa78: am 660af7eb: am 59c1202e: Merge "Change permission guard on bindBackupAgent()" into jb-mr2-dev

* commit '1c2eaa784b2376b674cf438f42342271c8aa79a8':
  Change permission guard on bindBackupAgent()

9 years agoMerge "Fix window manager policy state when waking from doze." into lmp-dev
Jeff Brown [Tue, 23 Sep 2014 16:42:52 +0000 (16:42 +0000)]
Merge "Fix window manager policy state when waking from doze." into lmp-dev

9 years agoMerge "Ensure wakelock is released unconditionally." into lmp-dev
Jeff Brown [Tue, 23 Sep 2014 16:39:39 +0000 (16:39 +0000)]
Merge "Ensure wakelock is released unconditionally." into lmp-dev

9 years agoFix window manager policy state when waking from doze.
Jeff Brown [Tue, 23 Sep 2014 03:14:39 +0000 (20:14 -0700)]
Fix window manager policy state when waking from doze.

Once upon a time when the world was fresh and new, the heavens
had an easy rhythm.  Day and night.  Night and day.  In the day,
the pixel fairies would cavort and play in the bright gardens
with narry a mark of shadow or gloom.  In the night, they would
rest peacefully, dreaming no dreams and knowing no fear.

Then one night a fairy dreamed the first dream.  At first
the dream was peaceful, full of colors and delight, hopes and
memories.  Then all at once, jarringly, it awoke in bright
daylight.  The pixel fairy knew fear, for the world had changed
and it was unprepared.

Time passed and the pixel fairies grew accustomed to their
fate, day and night, night and day, sometimes dreaming, until
there came a night when a fairy did not sleep.  It roamed
the land in a dreamless doze, lost and afraid amid a grim haze
of grey and darkness.  The fairy despaired.  It wanted no
part of this place.  It pretended for a time to be awake but
the bright daylight would not come.  It pretended for a time to
be dreaming but the colors and memories would not come.
That is when the fairy wished for oblivion.  Then just as
suddenly, it awoke in the daylight.  It fell to the ground,
stunned as if it had forgotten how to walk in the too bright
daylight.

Though the world again grew softer and kinder in time, the pixel
fairies were never the same.  For the night is dark and full
of terrors.

---

It used to be easy.  Screen on and screen off could explain almost
everything about the state of the device but it's different now with
ambient display.  We need to be able to wait for all windows to be
drawn even in the case where the device is still nominally asleep.
In truth, the window manager policy which drives a lot of these
interactions is a thicket of outdated assumptions.

Added a new method to tell the window manager policy when the screen
is being turned off so that it can correctly account for changes
to the interactive state (wakeUp and goingToSleep) and screen state
(screenTurningOn and screenTurnedOff).  Now we can independently
poke keyguard during interactive state changes and we can apply
screen on blocking during screen state changes.

Moved the code which manages screen on blocking (which is what
ensures the UI has fully drawn before revealing screen contents)
from the power manager to the display manager since the display
manager is in a better position to accurately track the state of
the screen, particularly when the screen is being turned off.

Fixed a bunch of synchronization issues.  Previously some work
had been moved to a handler without considering what might
happen if it became reordered relative to other work happening
elsewhere.  Documented the desired behavior in the code to
prevent this from happening again.

There's still a bunch of stuff in here that isn't quite right,
particularly the assumption that there's only one screen, but
it's good enough for now.  Hopefully there aren't too many bugs.

Bug: 17605802
Change-Id: Ic7319e09948c8a3cda014d7e169c964a3ad86f14

9 years agoEnsure wakelock is released unconditionally.
Jeff Brown [Tue, 23 Sep 2014 05:30:22 +0000 (22:30 -0700)]
Ensure wakelock is released unconditionally.

Bug: 17610254
Change-Id: I8b846c867edaa5038e34d4c857550735b121a1d9

9 years agoam 25c866a8: am e2adb1ff: Merge "Sanity-check paths of files to be restored" into...
Jeff Vander Stoep [Tue, 23 Sep 2014 16:34:53 +0000 (16:34 +0000)]
am 25c866a8: am e2adb1ff: Merge "Sanity-check paths of files to be restored" into jb-mr2-dev

* commit '25c866a8efa148886280b34c0413a1c2c20c247f':
  Sanity-check paths of files to be restored

9 years agoam e2adb1ff: Merge "Sanity-check paths of files to be restored" into jb-mr2-dev
Jeff Vander Stoep [Tue, 23 Sep 2014 16:24:36 +0000 (16:24 +0000)]
am e2adb1ff: Merge "Sanity-check paths of files to be restored" into jb-mr2-dev

* commit 'e2adb1ff4af09d66096df64461c80d4126ab2692':
  Sanity-check paths of files to be restored

9 years agoMerge "Sanity-check paths of files to be restored" into jb-mr2-dev
Jeff Vander Stoep [Tue, 23 Sep 2014 16:13:41 +0000 (16:13 +0000)]
Merge "Sanity-check paths of files to be restored" into jb-mr2-dev

9 years agoMerge "Force transitioning views to be visible when transition interrupted." into...
George Mount [Tue, 23 Sep 2014 14:27:35 +0000 (14:27 +0000)]
Merge "Force transitioning views to be visible when transition interrupted." into lmp-dev

9 years agoMerge "Fixed a bug where the alarm could overlap in QS" into lmp-dev
Selim Cinek [Tue, 23 Sep 2014 14:25:08 +0000 (14:25 +0000)]
Merge "Fixed a bug where the alarm could overlap in QS" into lmp-dev

9 years agoMerge "Ensure that force lock works with accessibility enabled" into lmp-dev
Adrian Roos [Tue, 23 Sep 2014 13:48:41 +0000 (13:48 +0000)]
Merge "Ensure that force lock works with accessibility enabled" into lmp-dev

9 years agoFixed a bug where the alarm could overlap in QS
Selim Cinek [Tue, 23 Sep 2014 13:34:53 +0000 (15:34 +0200)]
Fixed a bug where the alarm could overlap in QS

When closing the QS panel the alarm did the normal
transformation, regardless whether we were in a
detail state. This lead to the alarm overlapping
with the title.

Bug: 17581501
Change-Id: I0318f6778063af11f388e6c7fe8bbb30105ca246

9 years agoMerge "Remove needless locking of mRulesLock that caused deadlocks." into lmp-dev
Paul Jensen [Tue, 23 Sep 2014 12:00:33 +0000 (12:00 +0000)]
Merge "Remove needless locking of mRulesLock that caused deadlocks." into lmp-dev

9 years agoam 44737ea5: am 4d0f84bb: am 556f23aa: Merge "docs: Fixed Developer Tools image....
Ricardo Cervera [Tue, 23 Sep 2014 03:06:54 +0000 (03:06 +0000)]
am 44737ea5: am 4d0f84bb: am 556f23aa: Merge "docs: Fixed Developer Tools image. Bug: 17609483" into klp-modular-docs

* commit '44737ea5e5a2f071ffc268f21556aa651a7637db':
  docs: Fixed Developer Tools image. Bug: 17609483

9 years agoam 8ec839c9: am 6bacce4f: am 8dcf1c32: Fixes two typos, one in each file.
David Friedman [Tue, 23 Sep 2014 03:06:29 +0000 (03:06 +0000)]
am 8ec839c9: am 6bacce4f: am 8dcf1c32: Fixes two typos, one in each file.

* commit '8ec839c95cb0020ee84f23ba65c4c95fb39ebd20':
  Fixes two typos, one in each file.

9 years agoMerge "Reject transparent draws more conservatively" into lmp-dev
Chris Craik [Tue, 23 Sep 2014 02:24:49 +0000 (02:24 +0000)]
Merge "Reject transparent draws more conservatively" into lmp-dev

9 years agoMerge "Fix documentation for Wifi ScanResult.timestamp" into lmp-dev
Vinit Deshpande [Tue, 23 Sep 2014 02:17:07 +0000 (02:17 +0000)]
Merge "Fix documentation for Wifi ScanResult.timestamp" into lmp-dev

9 years agoMerge changes I3ebf0cec,I8635472c into lmp-dev
Lorenzo Colitti [Tue, 23 Sep 2014 01:46:47 +0000 (01:46 +0000)]
Merge changes I3ebf0cec,I8635472c into lmp-dev

* changes:
  Add a throw route to the VPN endpoint.
  Support non-unicast route types: unreachable and throw.

9 years agoImplement API review feedback.
Jeff Tinker [Mon, 22 Sep 2014 22:43:27 +0000 (15:43 -0700)]
Implement API review feedback.

bug: 17607941
Change-Id: I136b5d7662a1c51395aa3cd545be40714cd4ac6b

9 years agoUpdate refresh icon to tinted material vector asset
Alan Viverette [Tue, 23 Sep 2014 00:57:02 +0000 (17:57 -0700)]
Update refresh icon to tinted material vector asset

BUG: 17594602
Change-Id: I52f55580bfa22e335608cea0b1fcafe275752bf8

9 years agoReject transparent draws more conservatively
Chris Craik [Tue, 23 Sep 2014 01:17:39 +0000 (18:17 -0700)]
Reject transparent draws more conservatively

bug:17600162

Transparent draws are not safe to reject for all xfermodes other than
clear. Now, to be safe, only perform the rejection for SrcOver draws
since other modes are fairly uncommon.

We could specifically determine whether the xfermode could change the
output given a transparent input, but there's little to be gained from
the additional complexity.

Change-Id: Ia699ac4bdc4da3353955840b53f1922d3cb1d85d

9 years agoMerge "Fix regression in launching CantAddAccountActivity for correct user" into...
Amith Yamasani [Tue, 23 Sep 2014 01:09:10 +0000 (01:09 +0000)]
Merge "Fix regression in launching CantAddAccountActivity for correct user" into lmp-dev

9 years agoMerge "I am such an idiot." into lmp-dev
Dianne Hackborn [Tue, 23 Sep 2014 00:57:27 +0000 (00:57 +0000)]
Merge "I am such an idiot." into lmp-dev

9 years agoMerge "Remove unnecessary waits in TouchUtil's drag" into lmp-dev
Yigit Boyar [Tue, 23 Sep 2014 00:39:31 +0000 (00:39 +0000)]
Merge "Remove unnecessary waits in TouchUtil's drag" into lmp-dev

9 years agoI am such an idiot.
Dianne Hackborn [Mon, 22 Sep 2014 23:46:35 +0000 (16:46 -0700)]
I am such an idiot.

Seriously, don't look at this.  It is so dumb.

Brought up by issue #17307700: retarget a relinquished
task is not working

Change-Id: I947438d3502f75510e2974211bb78d31008eaa90

9 years agoMerge "Don't disconnect data for some carrier" into lmp-dev
Amit Mahajan [Tue, 23 Sep 2014 00:15:30 +0000 (00:15 +0000)]
Merge "Don't disconnect data for some carrier" into lmp-dev

9 years agoMerge "Fix for empty RSSI triangle after boot" into lmp-dev
xinhe [Tue, 23 Sep 2014 00:13:21 +0000 (00:13 +0000)]
Merge "Fix for empty RSSI triangle after boot" into lmp-dev

9 years agoForce transitioning views to be visible when transition interrupted.
George Mount [Mon, 22 Sep 2014 20:58:21 +0000 (13:58 -0700)]
Force transitioning views to be visible when transition interrupted.

Bug 17553034

When an Activity Transition was interrupted prior to starting the
enter transition, the views were not being made visible.

Override the return ActivityOptions if interrupted so that the
entering activity doesn't launch with a transition when coming
back from recents.

Change-Id: Id4e00c7bb138babfee4de71247a9df4431376e21

9 years agoMerge "camera2: Docs update for available AF modes." into lmp-dev
Ruben Brunk [Tue, 23 Sep 2014 00:06:14 +0000 (00:06 +0000)]
Merge "camera2: Docs update for available AF modes." into lmp-dev

9 years agoDon't disconnect data for some carrier
Jing Zhao [Wed, 6 Aug 2014 21:48:17 +0000 (16:48 -0500)]
Don't disconnect data for some carrier

In some network, deactivate PDP connection cause releasing of RRC connection,
which MM/IMSI detaching request needs. Without this detaching, network can
not release the network resources previously attached.
So we are avoiding data detaching on these networks.

Bug: 16207801
Change-Id: Ib2ccc04d67f313e1241872b17ab38416607b0b48

9 years agoMerge "camera2: Add missing whitebalance mapping." into lmp-dev
Ruben Brunk [Mon, 22 Sep 2014 23:57:19 +0000 (23:57 +0000)]
Merge "camera2: Add missing whitebalance mapping." into lmp-dev

9 years agoMerge "Fix inaccurate TypedArray.getDrawable() documentation" into lmp-dev
Alan Viverette [Mon, 22 Sep 2014 23:48:45 +0000 (23:48 +0000)]
Merge "Fix inaccurate TypedArray.getDrawable() documentation" into lmp-dev

9 years agoSanity-check paths of files to be restored
Jeff Vander Stoep [Mon, 22 Sep 2014 22:15:58 +0000 (15:15 -0700)]
Sanity-check paths of files to be restored

(cherry picked from commit 7d51cc701a6735cf455af8479f56c9c0b2109e02)
Bug: 16298491
Change-Id: I0c2d6523c9d152dad4d27d06d3853afd432e5af7

9 years agoFix inaccurate TypedArray.getDrawable() documentation
Alan Viverette [Mon, 22 Sep 2014 23:19:51 +0000 (16:19 -0700)]
Fix inaccurate TypedArray.getDrawable() documentation

The documentation implied that you could override
Resources.getDrawable(int) to load custom drawables, which is
not the case.

BUG: 16635905
Change-Id: I06c0febe2d6d4194ef5a31f167b378fe311b7a2d

9 years agoMerge "camera2: Avoid spurious IDLE transitions." into lmp-dev
Ruben Brunk [Mon, 22 Sep 2014 23:19:45 +0000 (23:19 +0000)]
Merge "camera2: Avoid spurious IDLE transitions." into lmp-dev

9 years agoMerge "Revert behavior of Lockscreen Activity Launch to KK" into lmp-dev
Adam Lesinski [Mon, 22 Sep 2014 23:17:47 +0000 (23:17 +0000)]
Merge "Revert behavior of Lockscreen Activity Launch to KK" into lmp-dev

9 years agocamera2: Docs update for available AF modes.
Ruben Brunk [Mon, 22 Sep 2014 23:13:54 +0000 (16:13 -0700)]
camera2: Docs update for available AF modes.

Bug: 17588783
Change-Id: If4010517e79b3a51bd6231424a10be672ff5a252

9 years agoMerge "AT&T short dialing code" into lmp-dev
Vineeta Srivastava [Mon, 22 Sep 2014 23:05:49 +0000 (23:05 +0000)]
Merge "AT&T short dialing code" into lmp-dev

9 years agoMerge "Aggressively trim memory for system_process" into lmp-dev
John Reck [Mon, 22 Sep 2014 23:05:01 +0000 (23:05 +0000)]
Merge "Aggressively trim memory for system_process" into lmp-dev

9 years agoRevert behavior of Lockscreen Activity Launch to KK
Adam Lesinski [Mon, 22 Sep 2014 23:04:32 +0000 (16:04 -0700)]
Revert behavior of Lockscreen Activity Launch to KK

There exists a lifecycle regression where launching an
app from the lockscreen (camera, etc.) causes a series
of onResume, onPause, onRestart, onStart, onResume.

This CL reverts the behavior to what it was in KK, which
is to say that the Launcher is first resumed/paused, then
the Activity being launched has a simple onRestart,onStart, onResume
lifecycle.

Bug:17459745
Change-Id: I04091d2f86a929ee972c8d6debc1beb033c135a8

9 years agoAT&T short dialing code
Jing Zhao [Mon, 22 Sep 2014 15:45:05 +0000 (10:45 -0500)]
AT&T short dialing code

User should be able to dial 0 or 00 in AT&T network.
The code should not be taken as MMI Code.

Bug: 17314389
Change-Id: I7132f08b633c6539dc0dd4e2d7865adcda795913

9 years agoAggressively trim memory for system_process
John Reck [Mon, 22 Sep 2014 14:39:18 +0000 (07:39 -0700)]
Aggressively trim memory for system_process

Bug: 16978006

Don't HWUI-accelerate KeyguardScrim
Aggressively trim memory as soon as a ViewRootImpl
dies or has its visibility changed.

Change-Id: Ie1b7c9d30653456bd2e9f309128174f972999368

9 years agocamera2: Add missing whitebalance mapping.
Ruben Brunk [Mon, 22 Sep 2014 22:59:50 +0000 (15:59 -0700)]
camera2: Add missing whitebalance mapping.

Bug: 17588192
Change-Id: I5d161dd22f2057a33a461157d678d4217a5f88f8

9 years agoMerge "Fix issue #17609716: Frequent crash in system_server (RT restarts)" into lmp-dev
Dianne Hackborn [Mon, 22 Sep 2014 22:46:53 +0000 (22:46 +0000)]
Merge "Fix issue #17609716: Frequent crash in system_server (RT restarts)" into lmp-dev

9 years agoRemove unnecessary waits in TouchUtil's drag
Yigit Boyar [Mon, 22 Sep 2014 22:22:45 +0000 (15:22 -0700)]
Remove unnecessary waits in TouchUtil's drag

TouchUtil's drag method tries to sync after sending
each event which is not necessary. Sync are slow so
removing them greatly improves test running time.

Bug: 17323559
Change-Id: Ia4ed02b2af44da0d821d93d28f963005d9d7ea79

9 years agoam 4d0f84bb: am 556f23aa: Merge "docs: Fixed Developer Tools image. Bug: 17609483...
Ricardo Cervera [Mon, 22 Sep 2014 21:44:13 +0000 (21:44 +0000)]
am 4d0f84bb: am 556f23aa: Merge "docs: Fixed Developer Tools image. Bug: 17609483" into klp-modular-docs

* commit '4d0f84bb55957c0f5372b53fe94ddfb53c9d0cf8':
  docs: Fixed Developer Tools image. Bug: 17609483

9 years agoMerge "Loosen the constraint for releasing a shared file." into lmp-dev
Svetoslav [Mon, 22 Sep 2014 21:39:59 +0000 (21:39 +0000)]
Merge "Loosen the constraint for releasing a shared file." into lmp-dev

9 years agoMerge "Fix a bug in parsing app widget state XML." into lmp-dev
Svetoslav [Mon, 22 Sep 2014 21:39:48 +0000 (21:39 +0000)]
Merge "Fix a bug in parsing app widget state XML." into lmp-dev

9 years agoam 556f23aa: Merge "docs: Fixed Developer Tools image. Bug: 17609483" into klp-modula...
Ricardo Cervera [Mon, 22 Sep 2014 21:37:06 +0000 (21:37 +0000)]
am 556f23aa: Merge "docs: Fixed Developer Tools image. Bug: 17609483" into klp-modular-docs

* commit '556f23aa1ae01832611e5e3b4059b47e6a7a00fb':
  docs: Fixed Developer Tools image. Bug: 17609483

9 years agoMerge "docs: Fixed Developer Tools image. Bug: 17609483" into klp-modular-docs
Ricardo Cervera [Mon, 22 Sep 2014 21:26:34 +0000 (21:26 +0000)]
Merge "docs: Fixed Developer Tools image. Bug: 17609483" into klp-modular-docs

9 years agoMerge "Zen: Add events as a new config attribute." into lmp-dev
John Spurlock [Mon, 22 Sep 2014 21:09:38 +0000 (21:09 +0000)]
Merge "Zen: Add events as a new config attribute." into lmp-dev

9 years agoMerge "Remove trailing zeroes from vector drawable pathData" into lmp-dev
Alan Viverette [Mon, 22 Sep 2014 21:07:09 +0000 (21:07 +0000)]
Merge "Remove trailing zeroes from vector drawable pathData" into lmp-dev

9 years agoam 6bacce4f: am 8dcf1c32: Fixes two typos, one in each file.
David Friedman [Mon, 22 Sep 2014 20:51:29 +0000 (20:51 +0000)]
am 6bacce4f: am 8dcf1c32: Fixes two typos, one in each file.

* commit '6bacce4f24ca05fc95c38ea1e7df75dd176b81c2':
  Fixes two typos, one in each file.

9 years agoLoosen the constraint for releasing a shared file.
Svetoslav [Mon, 22 Sep 2014 20:48:41 +0000 (13:48 -0700)]
Loosen the constraint for releasing a shared file.

In the spooler we have the renderer reading a file to visualize
content and the app writing a file to produce the content. Since
we have to swap the file under the renderer we have a mutex file
provider that both parties can request, use when released, and
release when required. This enables us to request the file which
closes the renderer and when the renderer is closed ask the app
to write some more pages, then open the renderer, and so on. The
mutex file provider was throwing of a thread that does not own
the file thries to relase it which is not needed, this should be
just a nop.

bug:17607134

Change-Id: Id6a2ce92d70077f57978b95315648faf02c13c68

9 years agoZen: Add events as a new config attribute.
John Spurlock [Fri, 19 Sep 2014 19:29:06 +0000 (15:29 -0400)]
Zen: Add events as a new config attribute.

Decouple events from alarms in the zen interception function,
and default the new allowEvents to true.

Bug:17580878
Change-Id: Iff10df385206ad73c3423ff118c79e94a10918d9

9 years agoam 8dcf1c32: Fixes two typos, one in each file.
David Friedman [Mon, 22 Sep 2014 20:41:17 +0000 (20:41 +0000)]
am 8dcf1c32: Fixes two typos, one in each file.

* commit '8dcf1c32299e2c1c58c053925c572d58f2a74ee9':
  Fixes two typos, one in each file.

9 years agoMerge "Work on issue #17581375: Nexus 5 getting low on RAM" into lmp-dev
Dianne Hackborn [Mon, 22 Sep 2014 20:40:16 +0000 (20:40 +0000)]
Merge "Work on issue #17581375: Nexus 5 getting low on RAM" into lmp-dev

9 years agoFix issue #17609716: Frequent crash in system_server (RT restarts)
Dianne Hackborn [Mon, 22 Sep 2014 20:36:42 +0000 (13:36 -0700)]
Fix issue #17609716: Frequent crash in system_server (RT restarts)

There was some code here locking on the lock object instead of
the main activity manager lock...!!!

Change-Id: Ic85151fbef915f6fb8fd5ce3c1a7e9b810412cb6

9 years agoMerge "Monitor MediaRouter for remote display connections." into lmp-dev
Michael Wright [Mon, 22 Sep 2014 20:04:28 +0000 (20:04 +0000)]
Merge "Monitor MediaRouter for remote display connections." into lmp-dev

9 years agoRemove trailing zeroes from vector drawable pathData
Alan Viverette [Mon, 22 Sep 2014 20:02:37 +0000 (13:02 -0700)]
Remove trailing zeroes from vector drawable pathData

Speeds up parseFloat.

BUG: 17391797
Change-Id: I81cf824f6ba97e65ed9628a15ad762c4c9860630

9 years agodocs: Fixed Developer Tools image. Bug: 17609483
Ricardo Cervera [Mon, 22 Sep 2014 19:55:43 +0000 (12:55 -0700)]
docs: Fixed Developer Tools image. Bug: 17609483

Change-Id: I400713dfe5ca54da193dccf15dac117dc4e11ca2

9 years agoWork on issue #17581375: Nexus 5 getting low on RAM
Dianne Hackborn [Mon, 22 Sep 2014 19:52:49 +0000 (12:52 -0700)]
Work on issue #17581375: Nexus 5 getting low on RAM

Try to catch any cases where we remove a ProcessRecord from the LRU
list when it may still have a process associated with it, report
that this happened, and try to make sure the process is killed.

Change-Id: Icd74439caba5e1c283c01a49a46dae926a00ba71

9 years agoFix regression in launching CantAddAccountActivity for correct user
Amith Yamasani [Mon, 22 Sep 2014 19:42:12 +0000 (12:42 -0700)]
Fix regression in launching CantAddAccountActivity for correct user

This activity should be launched for the user calling addAccount()

Bug: 17608124
Change-Id: I5d7e47bc625442494dc322ccafdc25f5f5c6aa7b

9 years agoMerge "Doze: Fix NPE found when pulsing and !dozing." into lmp-dev
John Spurlock [Mon, 22 Sep 2014 19:35:54 +0000 (19:35 +0000)]
Merge "Doze: Fix NPE found when pulsing and !dozing." into lmp-dev

9 years agoMerge "Zen: Add content description to settings icon." into lmp-dev
John Spurlock [Mon, 22 Sep 2014 19:35:11 +0000 (19:35 +0000)]
Merge "Zen: Add content description to settings icon." into lmp-dev

9 years agoFix a bug in parsing app widget state XML.
Svetoslav [Mon, 22 Sep 2014 19:25:24 +0000 (12:25 -0700)]
Fix a bug in parsing app widget state XML.

When restoring app widget state from XML we read all providers,
hosts, and widgets and only after reading all hosts and providers
for all members of the group we hookup the widgets as they may
cross profile boundary. To esntablish the host-widget and provider-
widget relation we use a tag for the host and the provider that
are assigned before saving the state to XML. When restoring we
are using the tags to match widgets with hosts and providers. The
bug was that we were not clearing the tag of all hosts and providers
before reading from XML as we want the only tags that are defined
to be the ones we are reading. This resulted in wrong app widget
restore for a secondary user.

bug:17505027

Change-Id: I035d8f13142c6b9dbc9d658b82390f9cd8d75e0d

9 years agoDoze: Fix NPE found when pulsing and !dozing.
John Spurlock [Mon, 22 Sep 2014 13:31:46 +0000 (09:31 -0400)]
Doze: Fix NPE found when pulsing and !dozing.

Bug:17390492
Change-Id: Id6665c5bb8fa13ee08f68478c601b77a4f9e3f6a

9 years agoMerge "Pass explicit null theme when preloading drawables" into lmp-dev
Alan Viverette [Mon, 22 Sep 2014 19:18:02 +0000 (19:18 +0000)]
Merge "Pass explicit null theme when preloading drawables" into lmp-dev

9 years agoZen: Add content description to settings icon.
John Spurlock [Mon, 22 Sep 2014 19:14:48 +0000 (15:14 -0400)]
Zen: Add content description to settings icon.

Bug:17578039
Change-Id: I6c513200b2ac1d6abd6da0dd7412500a12fded28

9 years agoMerge "Work on issue #17506095: Plumb a new configuration to IMMS" into lmp-dev
Yohei Yukawa [Mon, 22 Sep 2014 18:02:11 +0000 (18:02 +0000)]
Merge "Work on issue #17506095: Plumb a new configuration to IMMS" into lmp-dev

9 years agoMerge "AAPT: Continuation of public/private attribute fix" into lmp-dev
Adam Lesinski [Mon, 22 Sep 2014 18:00:30 +0000 (18:00 +0000)]
Merge "AAPT: Continuation of public/private attribute fix" into lmp-dev

9 years agoAAPT: Continuation of public/private attribute fix
Adam Lesinski [Fri, 19 Sep 2014 22:10:04 +0000 (15:10 -0700)]
AAPT: Continuation of public/private attribute fix

XML files like layouts are now scanned and checked
for v21 attributes. If those kinds of attributes
are found, then we remove them in the original
version and synthesize a new xml file under the
v21 configuration.

Bug:17520380
Change-Id: Icf984cb96134180a2e35349c1dbf2cef9a8f0bda

9 years agoFixes two typos, one in each file.
David Friedman [Fri, 19 Sep 2014 01:24:49 +0000 (18:24 -0700)]
Fixes two typos, one in each file.

Change-Id: I5f4a9100d20f8ad50052d63dc106a030ac75b1b0

9 years agoFix issues with new TTS API
Przemyslaw Szczepaniak [Mon, 22 Sep 2014 16:39:16 +0000 (17:39 +0100)]
Fix issues with new TTS API

Bug: 17389935
Change-Id: I59234b3222f59dc89be7e40f7d4706b1f8c610ce

9 years agoEnsure that force lock works with accessibility enabled
Adrian Roos [Mon, 22 Sep 2014 15:34:56 +0000 (17:34 +0200)]
Ensure that force lock works with accessibility enabled

Fixes a bug where the force lock gesture was not available
when an accessibility service was active, but touch exploration
wasn't.

Bug: 17514298
Change-Id: Ib42e28f643559040ad5f24d45456b0a41008c647