OSDN Git Service

android-x86/frameworks-base.git
10 years agoCustom pressed states, fixed column sizes.
Jeff Sharkey [Fri, 4 Oct 2013 21:44:56 +0000 (14:44 -0700)]
Custom pressed states, fixed column sizes.

Use custom pressed state assets.  Use fixed column sizes to prevent
truncating of long dates on small screens.

Also tear down any active CAB when switching fragments.

Bug: 1103241811028212
Change-Id: I2bf3dc3f693319b4b55cc901ed460f60faceba35

10 years agoAvoid NPE when ProviderInfo is missing.
Jeff Sharkey [Fri, 4 Oct 2013 20:53:50 +0000 (13:53 -0700)]
Avoid NPE when ProviderInfo is missing.

Bug: 11052428
Change-Id: I6cb0cf2030a28f571c3f13cd0b9ba76627974697

10 years agoMerge "Un-deprecate getDhcpInfo" into klp-dev
Robert Greenwalt [Fri, 4 Oct 2013 18:07:33 +0000 (18:07 +0000)]
Merge "Un-deprecate getDhcpInfo" into klp-dev

10 years agoMerge "Don't redirect dns to an iface without dns servers" into klp-dev
Robert Greenwalt [Fri, 4 Oct 2013 18:06:13 +0000 (18:06 +0000)]
Merge "Don't redirect dns to an iface without dns servers" into klp-dev

10 years agoMerge "Fix issue #10901205: Shouldn't send broadcasts (or try to bind services, etc...
Dianne Hackborn [Fri, 4 Oct 2013 17:47:33 +0000 (17:47 +0000)]
Merge "Fix issue #10901205: Shouldn't send broadcasts (or try to bind services, etc.)..." into klp-dev

10 years agoUn-deprecate getDhcpInfo
Robert Greenwalt [Fri, 4 Oct 2013 16:53:39 +0000 (09:53 -0700)]
Un-deprecate getDhcpInfo

Replacement api isn't available.

bug:10003785
Change-Id: Ibe981ae90e1c6c2f1b65fa225443ae4cc92c2a3a

10 years agoMerge "Deleting print job files when we do not have to." into klp-dev
Svetoslav Ganov [Fri, 4 Oct 2013 16:50:53 +0000 (16:50 +0000)]
Merge "Deleting print job files when we do not have to." into klp-dev

10 years agoMerge "Fix issue #11069176: Crash showing process stats" into klp-dev
Dianne Hackborn [Fri, 4 Oct 2013 16:49:04 +0000 (16:49 +0000)]
Merge "Fix issue #11069176: Crash showing process stats" into klp-dev

10 years agoMerge "Print UI tweaks as per UX request." into klp-dev
Svetoslav [Fri, 4 Oct 2013 15:58:10 +0000 (15:58 +0000)]
Merge "Print UI tweaks as per UX request." into klp-dev

10 years agoDeleting print job files when we do not have to.
Svetoslav Ganov [Fri, 4 Oct 2013 15:49:03 +0000 (08:49 -0700)]
Deleting print job files when we do not have to.

The print job file name was not properly parsed. This resulted
in incorrect mapping from file to print job, thus deleting the
file when we do not have to.

bug:11069354

Change-Id: I7b8a7a7f98dd77b34119f2a9cd16a6ec3c22b63b

10 years agoMerge "audioservice: fix DTMF stream volume" into klp-dev
Eric Laurent [Fri, 4 Oct 2013 15:18:32 +0000 (15:18 +0000)]
Merge "audioservice: fix DTMF stream volume" into klp-dev

10 years agoFix CookieSyncManager for WebViewClassic
Jonathan Dixon [Fri, 4 Oct 2013 12:01:47 +0000 (13:01 +0100)]
Fix CookieSyncManager for WebViewClassic

Add a workaround to ensure that the WebViewDatabase and JniUtil can
still be initialized as side effect of making a CookieSyncManager

This was collateral damage from the fixes for Bug 10932261

Change-Id: If5ba65a7822d5b0afc14139dd84125058bf96897

10 years agoMerge "Replace searchlight asset" into klp-dev
Jim Miller [Fri, 4 Oct 2013 02:26:55 +0000 (02:26 +0000)]
Merge "Replace searchlight asset" into klp-dev

10 years agoReplace searchlight asset
Jim Miller [Fri, 4 Oct 2013 02:20:58 +0000 (19:20 -0700)]
Replace searchlight asset

Fixes bug 11030712

Change-Id: Ia25dec35dd3a8d59f98521e579bc1d269518c395

10 years agoMerge "Fix bug where dismiss() was being called from the wrong thread" into klp-dev
Jim Miller [Fri, 4 Oct 2013 02:18:34 +0000 (02:18 +0000)]
Merge "Fix bug where dismiss() was being called from the wrong thread" into klp-dev

10 years agoFix bug where dismiss() was being called from the wrong thread
Jim Miller [Fri, 4 Oct 2013 01:31:34 +0000 (18:31 -0700)]
Fix bug where dismiss() was being called from the wrong thread

One-way calls to binder do not guarantee the call will always
occur on the originating thread.  This fixes a rare case where
keyguard would crash due to dismiss() being called from the wrong
thread.

Fixes bug 11065316

Change-Id: Iddd281964231a152e3342e21b6b88527eab94caf

10 years agoMerge "Fix a bug in action menu measurement" into klp-dev
Adam Powell [Fri, 4 Oct 2013 01:29:34 +0000 (01:29 +0000)]
Merge "Fix a bug in action menu measurement" into klp-dev

10 years agoFix issue #10901205: Shouldn't send broadcasts (or try to bind services, etc.)...
Dianne Hackborn [Fri, 4 Oct 2013 01:27:48 +0000 (18:27 -0700)]
Fix issue #10901205: Shouldn't send broadcasts (or try to bind services, etc.)...

...to crashing processes.

So don't.

Change-Id: I4b4fefb501b430fadaca93405206264318c8b95d

10 years agoFix a bug in action menu measurement
Adam Powell [Fri, 4 Oct 2013 01:21:58 +0000 (18:21 -0700)]
Fix a bug in action menu measurement

Thanks to a measurement optimization in KK, the view recycling
behavior of ActionMenuPresenter could get into a state where the
resulting ActionMenuView had changed but no layout was
requested. Explicitly request a layout during menu update. Also fix an
ancient typo.

Bug 11047996

Change-Id: I6289fd2d142ac7d2101fbec6de19b7d3d7fbd6a2

10 years agoaudioservice: fix DTMF stream volume
Eric Laurent [Fri, 4 Oct 2013 01:15:07 +0000 (18:15 -0700)]
audioservice: fix DTMF stream volume

DTMF stream must also be muted by silent mode when following ring
stream volume in order to be properly muted and unmuted when ringer
mode changes.

Also fix a problem in VolumeStreamState.setAllIndexes() when some
devices are not present in the stream state from which indexes
are copied.

Bug: 10932676.
Change-Id: I373d0fd1a475980786d97d97348d46a7e7421461

10 years agoMerge "Use networkType to display wifi and mobile notification separately." into...
Wink Saville [Fri, 4 Oct 2013 00:52:59 +0000 (00:52 +0000)]
Merge "Use networkType to display  wifi and mobile notification separately." into klp-dev

10 years agoMerge "Set P2p statemachine's network manager before starting Wifi" into klp-dev
Vinit Deshapnde [Fri, 4 Oct 2013 00:40:31 +0000 (00:40 +0000)]
Merge "Set P2p statemachine's network manager before starting Wifi" into klp-dev

10 years agoFix issue #11069176: Crash showing process stats
Dianne Hackborn [Fri, 4 Oct 2013 00:32:19 +0000 (17:32 -0700)]
Fix issue #11069176: Crash showing process stats

Change-Id: Ie568ebcb9863bed95c775b9b28654a5e2dc464cd

10 years agoMerge "Fix docs" into klp-dev
Adam Powell [Fri, 4 Oct 2013 00:28:57 +0000 (00:28 +0000)]
Merge "Fix docs" into klp-dev

10 years agoMerge "New Telephony APIs to return MMS UA and UAProfUrl" into klp-dev
Yuhao Zheng [Fri, 4 Oct 2013 00:14:17 +0000 (00:14 +0000)]
Merge "New Telephony APIs to return MMS UA and UAProfUrl" into klp-dev

10 years agoFix docs
Adam Powell [Thu, 3 Oct 2013 23:39:30 +0000 (16:39 -0700)]
Fix docs

Change-Id: I19e0cdab6c526f7eed376fc2067b5c49b31a3ea9

10 years agoSet P2p statemachine's network manager before starting Wifi
Vinit Deshapnde [Thu, 3 Oct 2013 23:18:56 +0000 (16:18 -0700)]
Set P2p statemachine's network manager before starting Wifi

Wifi statemachine starts P2p statemachine; which uses network management
service to (i.e. netd) to start p2p0 interface. But it only gets a
reference to network management service in conenctivityServiceReady().
Calling that later means there's a chance of a race between this
thread's setting of the network manager, and P2p statemachine thread's
usage of the same.

Bug: 11048296
Change-Id: If151026ed5fbb12db57ee7f9bdd47c67dd7142e5

10 years agoMerge "Fix lockscreen wave animation artifacts" into klp-dev
Chet Haase [Thu, 3 Oct 2013 23:08:22 +0000 (23:08 +0000)]
Merge "Fix lockscreen wave animation artifacts" into klp-dev

10 years agoFix lockscreen wave animation artifacts
Chet Haase [Wed, 2 Oct 2013 23:11:54 +0000 (16:11 -0700)]
Fix lockscreen wave animation artifacts

On some display sizes, the wave animation was sometimes
running more than once, starting over in the center and animating
outward... partially.

The problem was that the calculations determining the alpha value
of the dots was returning bogus values when the display area was
large enough, which is why the bug is only on some devices.

This fix simplifies the math and ensures that the wave only animates
once, from start to finish.

Issue #11005936 regression on lockscreen animation for multi-wave widget

Change-Id: Id21a2e4d2271f01c82c4bc6e1f37d78e68b9b6e4

10 years agoMerge "Add a scrubber to keyguard; layout tweaks" into klp-dev
Adam Powell [Thu, 3 Oct 2013 22:35:34 +0000 (22:35 +0000)]
Merge "Add a scrubber to keyguard; layout tweaks" into klp-dev

10 years agoMerge "Update default keyguard clock to new UX specification" into klp-dev
Jim Miller [Thu, 3 Oct 2013 22:32:24 +0000 (22:32 +0000)]
Merge "Update default keyguard clock to new UX specification" into klp-dev

10 years agoUpdate default keyguard clock to new UX specification
Jim Miller [Tue, 1 Oct 2013 23:55:19 +0000 (16:55 -0700)]
Update default keyguard clock to new UX specification

Change-Id: I0d5f302d8bd5922acd45cfe1de42cb76cebc02e5

10 years agoNew Telephony APIs to return MMS UA and UAProfUrl
Yuhao Zheng [Thu, 3 Oct 2013 21:37:47 +0000 (14:37 -0700)]
New Telephony APIs to return MMS UA and UAProfUrl

Added two public APIs under TelephonyManager to return MMS UserAgent and
UAProfUrl strings, for apps that handle SMS/MMS.

Bug: 11054501

Change-Id: Ifa1a64990fa2bf7d0e340d784a9672bf79525338

10 years agoAdd a scrubber to keyguard; layout tweaks
Adam Powell [Mon, 30 Sep 2013 23:16:24 +0000 (16:16 -0700)]
Add a scrubber to keyguard; layout tweaks

Switch KeyguardTransportControlView over to using RemoteController
instead of the internal API.

Guard transition animations behind a flag until we can work out some
intermittent issues.

Change-Id: Ie9f41339ce6e735c5d524db88437672f2c9859e2

10 years agoMerge "Ensure WallpaperEngine has correct size information" into klp-dev
Michael Wright [Thu, 3 Oct 2013 21:51:58 +0000 (21:51 +0000)]
Merge "Ensure WallpaperEngine has correct size information" into klp-dev

10 years agoMerge "Retain IME assignment if no windows accept input." into klp-dev
Craig Mautner [Thu, 3 Oct 2013 21:28:38 +0000 (21:28 +0000)]
Merge "Retain IME assignment if no windows accept input." into klp-dev

10 years agoMerge "Fix EAP-TLS reconnect after reboot issue" into klp-dev
Vinit Deshapnde [Thu, 3 Oct 2013 21:19:52 +0000 (21:19 +0000)]
Merge "Fix EAP-TLS reconnect after reboot issue" into klp-dev

10 years agoEnsure WallpaperEngine has correct size information
Michael Wright [Thu, 3 Oct 2013 21:16:42 +0000 (14:16 -0700)]
Ensure WallpaperEngine has correct size information

Currently it's possible for the WallpaperManagerService to receive a
request to change the desired wallpaper size between when it attaches
to the WallpaperService and when the Engine attaches back to it. This
means that the Engine will be created with the prior dimensions and
won't receive the update. Check to see if we're in this state and
make note to update the Engine once it attaches to ensure that the
Engine always has the correct dimensions.

Bug: 10853302
Change-Id: I8d5cd3371b269dbb4c0ff2d75c68529b69028ae5

10 years agoRetain IME assignment if no windows accept input.
Craig Mautner [Thu, 3 Oct 2013 21:07:45 +0000 (14:07 -0700)]
Retain IME assignment if no windows accept input.

Was skipping over the default assignment due to new null value for
windows (ag/361266).

Fixes bug 10987178.

Change-Id: I89efd41ab54b42de384eec84c5e937cc2a59d099

10 years agoMerge "Fix layoutlib build" into klp-dev
Marco Nelissen [Thu, 3 Oct 2013 20:51:36 +0000 (20:51 +0000)]
Merge "Fix layoutlib build" into klp-dev

10 years agoFix layoutlib build
Marco Nelissen [Thu, 3 Oct 2013 20:40:46 +0000 (13:40 -0700)]
Fix layoutlib build

Change-Id: Ica9f506ae06311d9bcd98bc11e64a8699d4f88cb

10 years agoMerge "Add importantForAccessibility mode to block entire hierarchy" into klp-dev
Alan Viverette [Thu, 3 Oct 2013 20:33:56 +0000 (20:33 +0000)]
Merge "Add importantForAccessibility mode to block entire hierarchy" into klp-dev

10 years agoMerge "KLP/KitKat is now API 19." into klp-dev
Dianne Hackborn [Thu, 3 Oct 2013 19:19:10 +0000 (19:19 +0000)]
Merge "KLP/KitKat is now API 19." into klp-dev

10 years agoKLP/KitKat is now API 19.
Dianne Hackborn [Thu, 3 Oct 2013 18:05:14 +0000 (11:05 -0700)]
KLP/KitKat is now API 19.

Bug: 10348975

Change-Id: I19bf1a56064deda2e59085520960aac8ce3a825b

10 years agoMerge "Decouple construction of WebView, CookieSyncManager, WebViewDatabase" into...
Jonathan Dixon [Thu, 3 Oct 2013 18:52:56 +0000 (18:52 +0000)]
Merge "Decouple construction of WebView, CookieSyncManager, WebViewDatabase" into klp-dev

10 years agoMerge "Camera2: Implement idle callbacks" into klp-dev
Eino-Ville Talvala [Thu, 3 Oct 2013 18:33:54 +0000 (18:33 +0000)]
Merge "Camera2: Implement idle callbacks" into klp-dev

10 years agoMerge "Implement issue #11050739: Show swapped out RAM" into klp-dev
Dianne Hackborn [Thu, 3 Oct 2013 17:45:42 +0000 (17:45 +0000)]
Merge "Implement issue #11050739: Show swapped out RAM" into klp-dev

10 years agoMerge "Fix issue #10378741: configupdater needs to be explicit when it calls startSer...
Dianne Hackborn [Thu, 3 Oct 2013 17:44:38 +0000 (17:44 +0000)]
Merge "Fix issue #10378741: configupdater needs to be explicit when it calls startService()" into klp-dev

10 years agoMerge "Fix issue #11044267: AppOpsManager.startWatchingMode should take a String...
Dianne Hackborn [Thu, 3 Oct 2013 17:44:18 +0000 (17:44 +0000)]
Merge "Fix issue #11044267: AppOpsManager.startWatchingMode should take a String" into klp-dev

10 years agoFix issue #10378741: configupdater needs to be explicit when it calls startService()
Dianne Hackborn [Thu, 3 Oct 2013 17:42:26 +0000 (10:42 -0700)]
Fix issue #10378741: configupdater needs to be explicit when it calls startService()

Not enough time to fix everything, so instead we'll make it a warning
in this release and finish up turning it into a target-SDK based
exception in the next release.

Change-Id: I5aae64a1225a145f03ba4162238b53d5e401aba2

10 years agoMerge "Fix issue #10921903: CTS: android.os.cts.ParcelTest#testReadBundle..." into...
Dianne Hackborn [Thu, 3 Oct 2013 17:23:04 +0000 (17:23 +0000)]
Merge "Fix issue #10921903: CTS: android.os.cts.ParcelTest#testReadBundle..." into klp-dev

10 years agoMerge "Goo goo ga joob." into klp-dev
Daniel Sandler [Thu, 3 Oct 2013 17:20:21 +0000 (17:20 +0000)]
Merge "Goo goo ga joob." into klp-dev

10 years agoFix issue #10921903: CTS: android.os.cts.ParcelTest#testReadBundle...
Dianne Hackborn [Thu, 3 Oct 2013 17:19:20 +0000 (10:19 -0700)]
Fix issue #10921903: CTS: android.os.cts.ParcelTest#testReadBundle...

...fails from KRS84 across all platforms

My fix for issue #10807048 was wrong, wrong, wrong.  The problem was
actually just a stupid mistake in ArrayMap.erase().  This makes it
all right.

Change-Id: I762f7a2d5100bceb86a091ab3d6368edc21b4266

10 years agoMerge "Fix mount path prefix checking." into klp-dev
Jeff Sharkey [Thu, 3 Oct 2013 17:18:38 +0000 (17:18 +0000)]
Merge "Fix mount path prefix checking." into klp-dev

10 years agoDecouple construction of WebView, CookieSyncManager, WebViewDatabase
Jonathan Dixon [Thu, 3 Oct 2013 10:03:31 +0000 (11:03 +0100)]
Decouple construction of WebView, CookieSyncManager, WebViewDatabase

Bug 10932261

Most of this flow exists purely to get the Context from
CookieSyncManager.createInstance over to WebViewDatabaseClassic. Make
that depenency more explicit (with a TODO to remove it) and this allows
a much simpler CookieSyncManager implementation for the normal case.
Note after this patch, CookieSyncManager.getInstance() is technically fine
to call without a prior call to createInstance, but retaining the
ordering requirement as a convenience for anyone developing on new OS
but still supporting the older versions.
(Note that CookieSyncManager instance is not required for correct
operation of either existing webview, so these changes only impact
the public API contract of object lifetimes, not the underlying
implementation)

Change-Id: I51fdd6622704f1c749277fee6df2f84ac4c704d2

10 years agoMerge "Add PowerManager method to assign blame to a single uid" into klp-dev
Marco Nelissen [Thu, 3 Oct 2013 16:34:57 +0000 (16:34 +0000)]
Merge "Add PowerManager method to assign blame to a single uid" into klp-dev

10 years agoFix mount path prefix checking.
Jeff Sharkey [Wed, 2 Oct 2013 19:50:34 +0000 (12:50 -0700)]
Fix mount path prefix checking.

Uncovered as part of writing CTS tests.

Bug: 10577541
Change-Id: I7832bcd551bedeea0b2ee5d6926aba6ac9bd0fd2

10 years agoAdd PowerManager method to assign blame to a single uid
Marco Nelissen [Thu, 3 Oct 2013 15:49:36 +0000 (08:49 -0700)]
Add PowerManager method to assign blame to a single uid

Currently used by audioflinger to account for recording wakelocks.
b/10985160

Change-Id: I18fc8487f2a197bf02b5269a4bcae9e75b6c2207

10 years agoWindow decor rect should not include the nav bar if hidden.
John Spurlock [Thu, 3 Oct 2013 15:46:06 +0000 (11:46 -0400)]
Window decor rect should not include the nav bar if hidden.

Bug:11059726
Change-Id: Ia445af030ac34da8e361d909978caa3f2793cfda

10 years agoCamera2: Implement idle callbacks
Eino-Ville Talvala [Thu, 5 Sep 2013 16:04:08 +0000 (09:04 -0700)]
Camera2: Implement idle callbacks

- Rework camera callback binder interface
- Connect up idle, disconnect callbacks
- A few unit tests for shutter firing and idle use

Bug: 10549462
Change-Id: I8455a8a0561e366b7edeef6b101682be2ec44d79

10 years agoUse networkType to display wifi and mobile notification separately.
Wink Saville [Thu, 3 Oct 2013 15:34:46 +0000 (08:34 -0700)]
Use networkType to display  wifi and mobile notification separately.

There are two bugs one is I was clearing the notification in
CaptivePortalTracker when entering the ActivateState. (double check
according to bug 5021626 we should be calling enter)

Second is we could have the need to display both icons but can't
because we only allow one.

The solution I'm proposing here is to allow two notifications and
have then controlled separately.

Bug: 10886908
Change-Id: I30e7130bc542535492d175640a4990c592f32806

10 years agoGoo goo ga joob.
Daniel Sandler [Thu, 3 Oct 2013 04:12:11 +0000 (00:12 -0400)]
Goo goo ga joob.

Bug: 10240151
Change-Id: I7b702c397cb9f5ac3294ae27ffc6185df6a64678

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Thu, 3 Oct 2013 03:42:35 +0000 (03:42 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Thu, 3 Oct 2013 03:41:47 +0000 (03:41 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Thu, 3 Oct 2013 03:41:26 +0000 (03:41 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Thu, 3 Oct 2013 03:41:12 +0000 (03:41 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Thu, 3 Oct 2013 03:40:55 +0000 (03:40 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Replace linear GradientDrawable with asset-based approach." into klp-dev
John Spurlock [Thu, 3 Oct 2013 02:54:48 +0000 (02:54 +0000)]
Merge "Replace linear GradientDrawable with asset-based approach." into klp-dev

10 years agoMerge "Make DimLayer size dependent on stack layout." into klp-dev
Craig Mautner [Thu, 3 Oct 2013 02:49:30 +0000 (02:49 +0000)]
Merge "Make DimLayer size dependent on stack layout." into klp-dev

10 years agoPrint UI tweaks as per UX request.
Svetoslav [Thu, 3 Oct 2013 02:30:32 +0000 (19:30 -0700)]
Print UI tweaks as per UX request.

1. Limit the width of the dropdown of the printers list.

2. Add icons the the list in the all pritners activity.

3. Update the empty state view for the all printers activity.

bug:10983508

Change-Id: I19effcf32770fdda278009a060b5170a3f29988e

10 years agoMerge "Store decor rects per window for transition cropping." into klp-dev
John Spurlock [Thu, 3 Oct 2013 02:28:58 +0000 (02:28 +0000)]
Merge "Store decor rects per window for transition cropping." into klp-dev

10 years agoReplace linear GradientDrawable with asset-based approach.
John Spurlock [Wed, 2 Oct 2013 14:00:37 +0000 (10:00 -0400)]
Replace linear GradientDrawable with asset-based approach.

And disallow fully transparent nav bar when vertical.

Bug: 10967264
Change-Id: I42adf6de1eeb91e1b1a24dc6c7a64c8d86017b2d

10 years agoMerge "Update liblayout" into klp-dev
John Reck [Thu, 3 Oct 2013 02:00:37 +0000 (02:00 +0000)]
Merge "Update liblayout" into klp-dev

10 years agoUpdate liblayout
John Reck [Thu, 3 Oct 2013 01:28:33 +0000 (18:28 -0700)]
Update liblayout

Fix build

Change-Id: I6c9223205874f7709fcf9e69a7779c54f52ba48b

10 years agoMerge "Fix cross-process race in initial files/cache dir creation" into klp-dev
Christopher Tate [Thu, 3 Oct 2013 01:58:47 +0000 (01:58 +0000)]
Merge "Fix cross-process race in initial files/cache dir creation" into klp-dev

10 years agoMerge "Private flags are masked in correct variable" into klp-dev
Adam Lesinski [Thu, 3 Oct 2013 01:52:18 +0000 (01:52 +0000)]
Merge "Private flags are masked in correct variable" into klp-dev

10 years agoMerge "Fix screen magnifier scaling due to ScaleGestureDetector changes." into klp-dev
Svetoslav [Thu, 3 Oct 2013 01:17:10 +0000 (01:17 +0000)]
Merge "Fix screen magnifier scaling due to ScaleGestureDetector changes." into klp-dev

10 years agoFix cross-process race in initial files/cache dir creation
Christopher Tate [Thu, 3 Oct 2013 01:11:01 +0000 (18:11 -0700)]
Fix cross-process race in initial files/cache dir creation

Apps that run components in separate processes, especially that
host providers in separate processes, can hit a race condition
where two processes simultaneously discover that the files/cache
dir must be created, then each calls mkdirs().  One of these will
fail not because the dir couldn't be created, but because it lost
the race and mkdirs() returned false to signal that it already
existed -- and this was assumed to be a hard failure.

We now recheck existence after a mkdirs() failure to discern this
case and proceed appropriately.

Bug 10515463

Change-Id: I13fbdd838921223f75ab11faa47291c82b21c650

10 years agoMerge "Reduce max recents on lowram" into klp-dev
John Reck [Thu, 3 Oct 2013 01:13:58 +0000 (01:13 +0000)]
Merge "Reduce max recents on lowram" into klp-dev

10 years agoFix screen magnifier scaling due to ScaleGestureDetector changes.
Svetoslav [Thu, 3 Oct 2013 00:52:51 +0000 (17:52 -0700)]
Fix screen magnifier scaling due to ScaleGestureDetector changes.

The scale gesture detector has a new behavior to make onScale
callbacks during swipe after a double tap. The screen magnification
is triggered after a trippe tap so if the user trippe taps and
holds to do a temporary magnification and tries to change the
zoom level with another finger, erroneous results are obtained.

The ScaleGestureDetector uses an APIs level check for the new
behavior but the ScreenMagnifier is a platform feature. We now
explicitly ask for the old behavior.

bug:11033376

Change-Id: I0dfb14dd3abcaa34ad1f40447c631b4203797378

10 years agoReduce max recents on lowram
John Reck [Wed, 2 Oct 2013 23:55:16 +0000 (16:55 -0700)]
Reduce max recents on lowram

 Bug: 10918599
 Reduce the number of recent tasks to 10 on lowram devices
 Use RGB_565 on low ram devices for thumbnails instead of ARGB_8888
 Combined this saves ~9MB across system_process and systemui

Change-Id: Ieddcb512c7341a90097bc7cbc72d7355a775b416

10 years agoAdd importantForAccessibility mode to block entire hierarchy
Alan Viverette [Thu, 3 Oct 2013 00:41:15 +0000 (17:41 -0700)]
Add importantForAccessibility mode to block entire hierarchy

Since older versions of the platform will crash if the mode is
set to 3, this CL adds an extra bit and uses 4 as the mode. This
will also cleanly default the mode to AUTO on unsupported
platforms.

BUG: 11031947
Change-Id: I48035abbf35523d65cead6f27be10f8087973ceb

10 years agoImplement issue #11050739: Show swapped out RAM
Dianne Hackborn [Wed, 2 Oct 2013 23:58:06 +0000 (16:58 -0700)]
Implement issue #11050739: Show swapped out RAM

Add "swapped out" field to mem info everywhere.

Change-Id: I89abe8eb0e91fa5c193da93815dc592593c8a3c8

10 years agoFix EAP-TLS reconnect after reboot issue
Vinit Deshapnde [Thu, 3 Oct 2013 00:26:05 +0000 (17:26 -0700)]
Fix EAP-TLS reconnect after reboot issue

After a reboot, KeyStore is locked, and certificates encrypted with user
PIN are not accessible. So statemachines are not able to connect to
EAP-TLS networks. This change makes the problem less severe by

1. Not signing certificates with user PIN on devices with hardware backed
KeyStore.
2. Issuing a reconnect upon first USER_PRESENT event.

This means HH (which has a hardware backed keystore) can connect to
EAP-TLS networks without requiring user intervention and other devices
will automatically connect to those networks after user punches PIN.

Bug: 10325089

Change-Id: I023d60e58d8214152f051bd9ec84b85b702d829a

10 years agoMake DimLayer size dependent on stack layout.
Craig Mautner [Wed, 2 Oct 2013 23:49:52 +0000 (16:49 -0700)]
Make DimLayer size dependent on stack layout.

Only use the stack bounds for the DimLayer bounds if there is more
than one stack on a layer. Otherwise cover the entire screen (and
more) with the DimLayer. This way there are no exposed regions when
rotating.

Fixes bug 10428085.

Change-Id: I7bfff12b69d59e86610621c498dab35cf0db8eb5

10 years agoam ff757598: am 542ddc4c: am f5468f6d: update dashboard stats for 10/2/13
Scott Main [Wed, 2 Oct 2013 23:39:14 +0000 (16:39 -0700)]
am ff757598: am 542ddc4c: am f5468f6d: update dashboard stats for 10/2/13

* commit 'ff7575985a8bfc80adbf405ffb40f77b2c227268':
  update dashboard stats for 10/2/13

10 years agoam 542ddc4c: am f5468f6d: update dashboard stats for 10/2/13
Scott Main [Wed, 2 Oct 2013 23:36:07 +0000 (16:36 -0700)]
am 542ddc4c: am f5468f6d: update dashboard stats for 10/2/13

* commit '542ddc4c3b415cc1502e69c15c48595f9c7e402d':
  update dashboard stats for 10/2/13

10 years agoam f5468f6d: update dashboard stats for 10/2/13
Scott Main [Wed, 2 Oct 2013 23:33:37 +0000 (16:33 -0700)]
am f5468f6d: update dashboard stats for 10/2/13

* commit 'f5468f6d42ad7bbc2f0ce8cb557330905914c3ec':
  update dashboard stats for 10/2/13

10 years agoupdate dashboard stats for 10/2/13
Scott Main [Wed, 2 Oct 2013 23:21:42 +0000 (16:21 -0700)]
update dashboard stats for 10/2/13

Change-Id: I7d87142c6ed6b582582435933f5dbb2fcd0f2cac

10 years agoPrivate flags are masked in correct variable
Adam Lesinski [Wed, 2 Oct 2013 17:13:27 +0000 (10:13 -0700)]
Private flags are masked in correct variable

Newly added private flags were being masked in the public flag variable
as opposed to the correct privateFlags variable.

bug:11033280
bug:11043194
Change-Id: Idda3a70a083457f3f1b7d4b46d231f4a7e704cf0

10 years agoMerge "Don't reorder windows on non-default display." into klp-dev
Craig Mautner [Wed, 2 Oct 2013 22:19:19 +0000 (22:19 +0000)]
Merge "Don't reorder windows on non-default display." into klp-dev

10 years agoDon't reorder windows on non-default display.
Craig Mautner [Wed, 2 Oct 2013 21:52:13 +0000 (14:52 -0700)]
Don't reorder windows on non-default display.

At least not until we add tasks to those displays.

Fixes bug 10264736.

Change-Id: I3baed4bf324c4a11bbf5b07755218c2992f5af39

10 years agoStore decor rects per window for transition cropping.
John Spurlock [Tue, 1 Oct 2013 02:32:42 +0000 (22:32 -0400)]
Store decor rects per window for transition cropping.

Instead of keeping a single global system decor rect around
in WindowManagerService, calculate and store policy-defined
system-decor frame for each window.

The per-window decor rect is useful for smooth transitions, since it
determines window cropping during transition animations.

Bug:10938001
Change-Id: Ice6652aa5946027c45c0b7ab4e46473a0f8e3f90

10 years agoMerge "IndexOutOfBoundsException in the PrintSpoolerService dump." into klp-dev
Svetoslav [Wed, 2 Oct 2013 22:00:50 +0000 (22:00 +0000)]
Merge "IndexOutOfBoundsException in the PrintSpoolerService dump." into klp-dev

10 years agoMerge "Clear accessibility focus from recycled views when needed" into klp-dev
Alan Viverette [Wed, 2 Oct 2013 20:51:10 +0000 (20:51 +0000)]
Merge "Clear accessibility focus from recycled views when needed" into klp-dev

10 years agoIndexOutOfBoundsException in the PrintSpoolerService dump.
Svetoslav [Wed, 2 Oct 2013 19:40:14 +0000 (12:40 -0700)]
IndexOutOfBoundsException in the PrintSpoolerService dump.

The dump code in PrintSpoolerService was relying on being
called only as a result of "adb shell dumpsys print" which
is apparently wrong. As a result the code was making wrong
assumption about the input arguments.

bug:11046234

Change-Id: Ie38f3cc5f17cac98b808fef6d6bbeaca22a62ef0

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 2 Oct 2013 19:28:22 +0000 (12:28 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ibc6ea940342fcfa81edfed6efc2d8f50d3106398
Auto-generated-cl: translation import

10 years agoMerge "Fix incorrect VPN time" into klp-dev
Vinit Deshapnde [Wed, 2 Oct 2013 19:23:22 +0000 (19:23 +0000)]
Merge "Fix incorrect VPN time" into klp-dev

10 years agoMerge "Sometimes printer selection from all printers activity does not work." into...
Svetoslav [Wed, 2 Oct 2013 19:15:10 +0000 (19:15 +0000)]
Merge "Sometimes printer selection from all printers activity does not work." into klp-dev

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 2 Oct 2013 19:03:19 +0000 (12:03 -0700)]
Import translations. DO NOT MERGE

Change-Id: I6630568359b173cd95d9b76743f682c6e92c7371
Auto-generated-cl: translation import