OSDN Git Service

android-x86/frameworks-base.git
9 years agoSet the default user restrictions to disallow calling and sms
Amith Yamasani [Mon, 6 Oct 2014 21:20:28 +0000 (14:20 -0700)]
Set the default user restrictions to disallow calling and sms

When creating a user via the UI, disallow phone calls and SMS by
default. Primary user must explicitly enable it via Settings.

Bug: 17832802
Change-Id: I18cad4be8493ddc8890b5d90da2df256cb3f1ec9

9 years agoMerge "CEC: Reset active source status on routing control" into lmp-dev
Yuncheol Heo [Mon, 6 Oct 2014 16:16:45 +0000 (16:16 +0000)]
Merge "CEC: Reset active source status on routing control" into lmp-dev

9 years agoCEC: Reset active source status on routing control
Jinsuk Kim [Mon, 6 Oct 2014 05:28:06 +0000 (14:28 +0900)]
CEC: Reset active source status on routing control

Set active source status to false when broadcast routing control
commands indicate other device is about to be the new active source.

Bug: 17840270
Change-Id: I176e21ec8789624e29421b912ba641a21f0f5f21

9 years agoMerge "Recover from missing upgrade to system package." into lmp-dev
Jeff Sharkey [Mon, 6 Oct 2014 04:01:33 +0000 (04:01 +0000)]
Merge "Recover from missing upgrade to system package." into lmp-dev

9 years agoRecover from missing upgrade to system package.
Jeff Sharkey [Sun, 5 Oct 2014 21:12:42 +0000 (14:12 -0700)]
Recover from missing upgrade to system package.

When a system app has been upgraded, we mark the built-in version as
disabled, and skip it when parsing built-in apps, since we expect
the userdata version to be scanned a few moments later.

However, in very rare cases we can end up missing the expected
userdata version, and we'd end up dropping the package entirely, even
though we have a built-in version to fall back to.  This change
handles that case by rescanning and enabling the built-in version when
the userdata version never materializes.

Also include critical log messages in check-in dumpsys to help track
down how we ended up in this state.

Bug: 17805839
Change-Id: I9971f882f9bb8ab7934c20b04e0b72366c4d04d0

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Sun, 5 Oct 2014 17:49:44 +0000 (17:49 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Sun, 5 Oct 2014 17:44:57 +0000 (17:44 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoMerge "Correctly rollback failed system app installs." into lmp-dev
Jeff Sharkey [Sun, 5 Oct 2014 01:06:26 +0000 (01:06 +0000)]
Merge "Correctly rollback failed system app installs." into lmp-dev

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sat, 4 Oct 2014 21:27:49 +0000 (14:27 -0700)]
Import translations. DO NOT MERGE

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

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sat, 4 Oct 2014 18:36:29 +0000 (11:36 -0700)]
Import translations. DO NOT MERGE

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

9 years agoMerge "Fix blank Keyguard #4" into lmp-dev
Jorim Jaggi [Fri, 3 Oct 2014 23:54:06 +0000 (23:54 +0000)]
Merge "Fix blank Keyguard #4" into lmp-dev

9 years agoCorrectly rollback failed system app installs.
Jeff Sharkey [Fri, 3 Oct 2014 23:48:11 +0000 (16:48 -0700)]
Correctly rollback failed system app installs.

Fix bug where we disabled system app, but never turned it back on
when the scanPackageLI() failed.

Bug: 17805839
Change-Id: I73999263aee703af187afd980fa0d0ce8451cf0c

9 years agoMerge "Switch the NetworkInfo.mIsAvailable default" into lmp-dev
Robert Greenwalt [Fri, 3 Oct 2014 23:41:54 +0000 (23:41 +0000)]
Merge "Switch the NetworkInfo.mIsAvailable default" into lmp-dev

9 years agoMerge "Clear identity before calling into the mount service." into lmp-dev
Svetoslav [Fri, 3 Oct 2014 23:36:16 +0000 (23:36 +0000)]
Merge "Clear identity before calling into the mount service." into lmp-dev

9 years agoMerge "TouchExploer computes incorrectly the click location." into lmp-dev
Svetoslav [Fri, 3 Oct 2014 23:33:11 +0000 (23:33 +0000)]
Merge "TouchExploer computes incorrectly the click location." into lmp-dev

9 years agoClear identity before calling into the mount service.
Svetoslav [Fri, 3 Oct 2014 23:32:23 +0000 (16:32 -0700)]
Clear identity before calling into the mount service.

bug:17787265

Change-Id: I4b9268d101e9ccfc30876fbf54bf28bb41fb4be6

9 years agoMerge "add millisecond timestamp to locallog" into lmp-dev
vandwalle [Fri, 3 Oct 2014 23:31:49 +0000 (23:31 +0000)]
Merge "add millisecond timestamp to locallog" into lmp-dev

9 years agoTouchExploer computes incorrectly the click location.
Svetoslav [Fri, 3 Oct 2014 22:40:05 +0000 (15:40 -0700)]
TouchExploer computes incorrectly 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.

bug:17588024

Change-Id: I6c8c0f65b208ae1d3f31d7f06b0721dc223ec19f

9 years agoSwitch the NetworkInfo.mIsAvailable default
Robert Greenwalt [Fri, 3 Oct 2014 23:05:36 +0000 (16:05 -0700)]
Switch the NetworkInfo.mIsAvailable default

The placeholder for disconnected networks was setting it to false, but
this technically means that we know an attempt to connect to that
network will fail (which we don't really now).  Some applications use
this an decide not to bother trying - an MMS app for example would
never send an MMS because it thinks the network is never available.

This is a L regression.

bug:17669247
Change-Id: Id6041f226da069c267c56418d42c55978c36c66f

9 years agoFix blank Keyguard #4
Jorim Jaggi [Fri, 3 Oct 2014 22:17:20 +0000 (15:17 -0700)]
Fix blank Keyguard #4

When we were fading out the preview for phone/camera to crossfade to
the real application, it might have been that showKeyguard was
called in the middle of this transition. This change makes sure that
we cancel this animation when showing the keyguard.

Bug: 17439581
Change-Id: I89cacf7ecf43d37ea979418b976390272510a09d

9 years agoadd millisecond timestamp to locallog
vandwalle [Thu, 2 Oct 2014 01:28:38 +0000 (18:28 -0700)]
add millisecond timestamp to locallog

Change-Id: I33d8672efd2747ed3f49dd8d5bcd5f47bf418053

9 years agoMerge "More durable logging around system app upgrades." into lmp-dev
Jeff Sharkey [Fri, 3 Oct 2014 22:35:18 +0000 (22:35 +0000)]
Merge "More durable logging around system app upgrades." into lmp-dev

9 years agoMerge "Fix blank lockscreen #3" into lmp-dev
Jorim Jaggi [Fri, 3 Oct 2014 22:33:05 +0000 (22:33 +0000)]
Merge "Fix blank lockscreen #3" into lmp-dev

9 years agoMerge "Cleanup DeferredLayerUpdater" into lmp-dev
John Reck [Fri, 3 Oct 2014 22:22:51 +0000 (22:22 +0000)]
Merge "Cleanup DeferredLayerUpdater" into lmp-dev

9 years agoMore durable logging around system app upgrades.
Jeff Sharkey [Fri, 3 Oct 2014 22:09:14 +0000 (15:09 -0700)]
More durable logging around system app upgrades.

We've been seeing some really funky behavior when upgrading or
downgrading system apps around OTA time.  Put more of these one-time
logs into durable storage to help investigate.

Bug: 17805839
Change-Id: If898d7df229c1f71e598b0d965325c272060e5e7

9 years agoMerge "AAPT: Gate v21 resource synthesizing logging behind -v flag" into lmp-dev
Adam Lesinski [Fri, 3 Oct 2014 22:06:02 +0000 (22:06 +0000)]
Merge "AAPT: Gate v21 resource synthesizing logging behind -v flag" into lmp-dev

9 years agoCleanup DeferredLayerUpdater
John Reck [Fri, 3 Oct 2014 22:02:19 +0000 (15:02 -0700)]
Cleanup DeferredLayerUpdater

Bug: 17765082

DeferredLayerUpdater had fallen behind RT updates. Re-snap to
latest expectations, ensuring to call requireGlContext() prior
to detachSurfaceTexture to avoid leaking SurfaceTextures

Change-Id: Ic65fb9831e5284f658866da8da9ad5af1d227699

9 years agoAAPT: Gate v21 resource synthesizing logging behind -v flag
Adam Lesinski [Fri, 3 Oct 2014 21:57:28 +0000 (14:57 -0700)]
AAPT: Gate v21 resource synthesizing logging behind -v flag

This is verbose information and should be hidden behind the -v flag.

Bug:17822471
Change-Id: I36e2c6beb54669a31cde73416427477a80ded8a6

9 years agoFix blank lockscreen #3
Jorim Jaggi [Fri, 3 Oct 2014 21:24:55 +0000 (14:24 -0700)]
Fix blank lockscreen #3

Bug: 17439581
Change-Id: Ic8cb7f32200b541ecc8fa36ad2517975cec0b545

9 years agoRevert "TouchExplorer computes incorrectly the click location."
Svetoslav Ganov [Fri, 3 Oct 2014 20:34:37 +0000 (20:34 +0000)]
Revert "TouchExplorer computes incorrectly the click location."

This reverts commit 851a5059a47cbf76e530c9d050a677cb6e3f8657 as
it creates a regression. Let us revert this and correctly fix the
issue the original change was trying to address.

bug:17789608

Change-Id: I8abb1a61d5310430e839e4ef60e7ca5cc0cbdd80

9 years agoMerge "Minor style changes." into lmp-dev
Deepanshu Gupta [Fri, 3 Oct 2014 20:30:43 +0000 (20:30 +0000)]
Merge "Minor style changes." into lmp-dev

9 years agoMerge "Fix issue #17811029: Settings provider race when removing users" into lmp-dev
Dianne Hackborn [Fri, 3 Oct 2014 20:15:11 +0000 (20:15 +0000)]
Merge "Fix issue #17811029: Settings provider race when removing users" into lmp-dev

9 years agoMerge "Fix regression in RCC.editMetadata(false)" into lmp-dev
RoboErik [Fri, 3 Oct 2014 20:13:27 +0000 (20:13 +0000)]
Merge "Fix regression in RCC.editMetadata(false)" into lmp-dev

9 years agoMerge "Fix alarm delivery-order sorting" into lmp-dev
Christopher Tate [Fri, 3 Oct 2014 19:56:35 +0000 (19:56 +0000)]
Merge "Fix alarm delivery-order sorting" into lmp-dev

9 years agoFix regression in RCC.editMetadata(false)
RoboErik [Fri, 3 Oct 2014 19:45:58 +0000 (12:45 -0700)]
Fix regression in RCC.editMetadata(false)

Found a very simple fix. Just set the cached metadata so we have
it to copy over when editMetadata(false) is called.

bug:17796693
Change-Id: Ib27f0c3d28e7f2a3c7d9495697f36c8045e2bcf6

9 years agoMerge "Prevent monkey from triggering bugreport" into lmp-dev
Guang Zhu [Fri, 3 Oct 2014 19:38:36 +0000 (19:38 +0000)]
Merge "Prevent monkey from triggering bugreport" into lmp-dev

9 years agoFix alarm delivery-order sorting
Christopher Tate [Fri, 3 Oct 2014 00:27:57 +0000 (17:27 -0700)]
Fix alarm delivery-order sorting

We also refine the order of delivery within any given package.  Now,
we identify which apps have wakeup alarms being delivered in the
current pass, and deliver all of that app's alarms before moving
on to alarm delivery to apps who are only receiving non-wakeup alarms
in the current delivery pass.  The TIME_TICK alarm is also hoisted to
the start of the current delivery pass if present.

Bug 17778686

Change-Id: I6306a00fe657787a77d0254c0807ac51e810fdcf

9 years agoFix issue #17811029: Settings provider race when removing users
Dianne Hackborn [Fri, 3 Oct 2014 19:29:43 +0000 (12:29 -0700)]
Fix issue #17811029: Settings provider race when removing users

Change-Id: Ia40d0a9c161b765d1340db5390d0acdbfc050b81

9 years agoPrevent monkey from triggering bugreport
Guang Zhu [Fri, 3 Oct 2014 19:23:43 +0000 (12:23 -0700)]
Prevent monkey from triggering bugreport

Change-Id: Ifa6f06f7dfa63b740352ad7388f33911649afcb0

9 years agoFix issue #17783882: AUPT: NPE in Videos: Attempt to invoke virtual method...
Dianne Hackborn [Fri, 3 Oct 2014 18:26:40 +0000 (11:26 -0700)]
Fix issue #17783882: AUPT: NPE in Videos: Attempt to invoke virtual method...

...'java.lang.String java.lang.String.substring(int)' on a null object reference

Change-Id: I4a78653174da398a4edd23b2bc099598548b79c2

9 years agoam 1242af06: am 32cfe2bb: am d37afa37: Merge "docs: Unbuntu troubleshooting link...
Ricardo Cervera [Fri, 3 Oct 2014 18:11:52 +0000 (18:11 +0000)]
am 1242af06: am 32cfe2bb: am d37afa37: Merge "docs: Unbuntu troubleshooting link to CamelCase ID" into klp-modular-docs

* commit '1242af060bec63ec3a37512ebbbdbe545bd9f0f7':
  docs: Unbuntu troubleshooting link to CamelCase ID

9 years agoam 32cfe2bb: am d37afa37: Merge "docs: Unbuntu troubleshooting link to CamelCase...
Ricardo Cervera [Fri, 3 Oct 2014 18:05:41 +0000 (18:05 +0000)]
am 32cfe2bb: am d37afa37: Merge "docs: Unbuntu troubleshooting link to CamelCase ID" into klp-modular-docs

* commit '32cfe2bbc71091a1ab282d5c7e4df7db5f6051e6':
  docs: Unbuntu troubleshooting link to CamelCase ID

9 years agoam d37afa37: Merge "docs: Unbuntu troubleshooting link to CamelCase ID" into klp...
Ricardo Cervera [Fri, 3 Oct 2014 18:00:37 +0000 (18:00 +0000)]
am d37afa37: Merge "docs: Unbuntu troubleshooting link to CamelCase ID" into klp-modular-docs

* commit 'd37afa37452d5e5dab3704ecab0ab7cebb3da292':
  docs: Unbuntu troubleshooting link to CamelCase ID

9 years agoMerge "docs: Unbuntu troubleshooting link to CamelCase ID" into klp-modular-docs
Ricardo Cervera [Fri, 3 Oct 2014 17:55:34 +0000 (17:55 +0000)]
Merge "docs: Unbuntu troubleshooting link to CamelCase ID" into klp-modular-docs

9 years agodocs: Unbuntu troubleshooting link to CamelCase ID
Ricardo Cervera [Fri, 3 Oct 2014 16:44:25 +0000 (09:44 -0700)]
docs: Unbuntu troubleshooting link to CamelCase ID

Change-Id: I705d17346c470563c350df9bb17d23f3fda5fbc5

9 years agoMerge "Send callbacks for Net property changes" into lmp-dev
Robert Greenwalt [Fri, 3 Oct 2014 15:36:38 +0000 (15:36 +0000)]
Merge "Send callbacks for Net property changes" into lmp-dev

9 years agoMerge "Update framework icons for media & alarm streams." into lmp-dev
John Spurlock [Fri, 3 Oct 2014 13:55:23 +0000 (13:55 +0000)]
Merge "Update framework icons for media & alarm streams." into lmp-dev

9 years agoMerge "Disable notification effects during phone calls." into lmp-dev
John Spurlock [Fri, 3 Oct 2014 13:49:42 +0000 (13:49 +0000)]
Merge "Disable notification effects during phone calls." into lmp-dev

9 years agoMerge "Revert "Revert "Frameworks/base: Update to preloaded-classes""" into lmp-dev
Andreas Gampe [Fri, 3 Oct 2014 04:30:04 +0000 (04:30 +0000)]
Merge "Revert "Revert "Frameworks/base: Update to preloaded-classes""" into lmp-dev

9 years agoSend callbacks for Net property changes
Robert Greenwalt [Tue, 30 Sep 2014 23:50:07 +0000 (16:50 -0700)]
Send callbacks for Net property changes

LinkProperties and NetworkCapabilities changes were not calling app callbacks.

bug:17681483
Change-Id: I67dac3c4dc1284f5c4bfb24de239da4ec776336f

9 years agoMerge "Send updated NetworkAgent score to NetworkFactories when validated." into...
Paul Jensen [Fri, 3 Oct 2014 02:18:11 +0000 (02:18 +0000)]
Merge "Send updated NetworkAgent score to NetworkFactories when validated." into lmp-dev

9 years agoMerge "Allow any unvalidated Network to satisfy NetworkRequests." into lmp-dev
Paul Jensen [Fri, 3 Oct 2014 02:16:42 +0000 (02:16 +0000)]
Merge "Allow any unvalidated Network to satisfy NetworkRequests." into lmp-dev

9 years agoRevert "Revert "Frameworks/base: Update to preloaded-classes""
Andreas Gampe [Fri, 3 Oct 2014 02:00:29 +0000 (02:00 +0000)]
Revert "Revert "Frameworks/base: Update to preloaded-classes""

This reverts commit 16626a7ee9f18c70b2f6437b4ab85753dbbb2263.

Remove three classes that break Shamu booting.

Bug: 17480683
Bug: 17791590
Change-Id: Ic487c5344d4186ea5205f117f07ca3ab7d945fb7

9 years agoDisable notification effects during phone calls.
John Spurlock [Thu, 2 Oct 2014 16:16:02 +0000 (12:16 -0400)]
Disable notification effects during phone calls.

Listen for phone call state changes in NoMan, and disable
incoming non-call notification effects when non-idle.

Bug:17658454
Change-Id: I6f7d66413970fbff6822ab29a12f91cbed068261

9 years agoMerge "Maybe fix issue #17449495: Nakasi is pretty laggy/slow to do anything" into...
Dianne Hackborn [Fri, 3 Oct 2014 00:40:25 +0000 (00:40 +0000)]
Merge "Maybe fix issue #17449495: Nakasi is pretty laggy/slow to do anything" into lmp-dev

9 years agoMaybe fix issue #17449495: Nakasi is pretty laggy/slow to do anything
Dianne Hackborn [Fri, 3 Oct 2014 00:21:27 +0000 (17:21 -0700)]
Maybe fix issue #17449495: Nakasi is pretty laggy/slow to do anything

Tweak the oom tuning to raise everything by 50%.  This is the same
increase we did for Volantis; I am thinking that most of the issue
there was not it being 64 bit, but it being tighter on RAM.  From
my testing, it looks like in user switching there was some paging
going on with Nakasi, and with this change things seem to be better.

We should probably revisit this for future work on RAM.  It seems
likely that a 64 bit device will need more RAM, so probably the value
I am picking here is larger than we actually need for other devices.
I think this is the safest change at this point though -- it leaves
Volantis the same, where we already had tweaked it to address paging
issues, raises it on Nakasi (to the same value as Volantis) where we
seem to have paging issues, and on our other devices also raises it
but those are generally not under memory pressure so this shouldn't
really make a difference.

Change-Id: Ib19394068734d322a015ed07370d9d4961877e4b

9 years agoUpdate framework icons for media & alarm streams.
John Spurlock [Thu, 2 Oct 2014 23:17:19 +0000 (19:17 -0400)]
Update framework icons for media & alarm streams.

Update resources to new style and remove obsolete items.

Bug: 17762712
Change-Id: Ibec121828084934cc066afe117f66b6a0eea603f

9 years agoMerge "Fix theme propagation to contained android:drawable elements" into lmp-dev
Alan Viverette [Thu, 2 Oct 2014 23:10:04 +0000 (23:10 +0000)]
Merge "Fix theme propagation to contained android:drawable elements" into lmp-dev

9 years agoMerge "Add @SystemApi to missing TelecomManager methods" into lmp-dev
Evan Charlton [Thu, 2 Oct 2014 23:05:22 +0000 (23:05 +0000)]
Merge "Add @SystemApi to missing TelecomManager methods" into lmp-dev

9 years agoam 721b3efc: am 46d8d0cd: am c470faab: docs:ADT 23.0.4 doc updates
Rich Slogar [Thu, 2 Oct 2014 22:57:45 +0000 (22:57 +0000)]
am 721b3efc: am 46d8d0cd: am c470faab: docs:ADT 23.0.4 doc updates

* commit '721b3efc205442e255170d0185ae374b5a5ddc50':
  docs:ADT 23.0.4 doc updates

9 years agoFix theme propagation to contained android:drawable elements
Alan Viverette [Thu, 2 Oct 2014 22:53:31 +0000 (15:53 -0700)]
Fix theme propagation to contained android:drawable elements

BUG: 17790666
Change-Id: I6733a98e779cad0d384b917c57d2b3409a166c02

9 years agoam 46d8d0cd: am c470faab: docs:ADT 23.0.4 doc updates
Rich Slogar [Thu, 2 Oct 2014 22:52:49 +0000 (22:52 +0000)]
am 46d8d0cd: am c470faab: docs:ADT 23.0.4 doc updates

* commit '46d8d0cdb349ca0a3f6ef199e1cc1dcba4c2d6eb':
  docs:ADT 23.0.4 doc updates

9 years agoMerge "SDK only: Update docs to reflect current implementation." into lmp-dev
Dianne Hackborn [Thu, 2 Oct 2014 22:49:41 +0000 (22:49 +0000)]
Merge "SDK only: Update docs to reflect current implementation." into lmp-dev

9 years agoam c470faab: docs:ADT 23.0.4 doc updates
Rich Slogar [Thu, 2 Oct 2014 22:47:15 +0000 (22:47 +0000)]
am c470faab: docs:ADT 23.0.4 doc updates

* commit 'c470faab3ee47b5643ee6b0a97c925c8f0f587fa':
  docs:ADT 23.0.4 doc updates

9 years agoMerge "Synchronize on all sendProxyBroadcast calls" into lmp-dev
Jason Monk [Thu, 2 Oct 2014 22:36:45 +0000 (22:36 +0000)]
Merge "Synchronize on all sendProxyBroadcast calls" into lmp-dev

9 years agodocs:ADT 23.0.4 doc updates
Rich Slogar [Thu, 2 Oct 2014 22:13:09 +0000 (15:13 -0700)]
docs:ADT 23.0.4 doc updates

Change-Id: Ibf412802e7c98ed3beff6c61394f1b3962254d9a

9 years agoMerge "Fix race in RecognizerService teardown." into lmp-dev
Jeff Brown [Thu, 2 Oct 2014 22:04:08 +0000 (22:04 +0000)]
Merge "Fix race in RecognizerService teardown." into lmp-dev

9 years agoam 285859b1: am d36dbe09: am e961d0b5: Merge "Revert "docs: Update for Android 23...
Joe Fernandez [Thu, 2 Oct 2014 21:50:09 +0000 (21:50 +0000)]
am 285859b1: am d36dbe09: am e961d0b5: Merge "Revert "docs: Update for Android 23.0.4"" into klp-modular-docs

* commit '285859b13728c5cfb6124c11212978f8f95cd9de':
  Revert "docs: Update for Android 23.0.4"

9 years agoMerge "Fix a bug with screen brightness during screen off animation." into lmp-dev
Baligh Uddin [Thu, 2 Oct 2014 21:38:24 +0000 (21:38 +0000)]
Merge "Fix a bug with screen brightness during screen off animation." into lmp-dev

9 years agoMerge "Tweak wallpaper restore acceptance heuristics" into lmp-dev
Christopher Tate [Thu, 2 Oct 2014 21:32:47 +0000 (21:32 +0000)]
Merge "Tweak wallpaper restore acceptance heuristics" into lmp-dev

9 years agoam d36dbe09: am e961d0b5: Merge "Revert "docs: Update for Android 23.0.4"" into klp...
Joe Fernandez [Thu, 2 Oct 2014 21:32:15 +0000 (21:32 +0000)]
am d36dbe09: am e961d0b5: Merge "Revert "docs: Update for Android 23.0.4"" into klp-modular-docs

* commit 'd36dbe09a18fc7226029e841cb2a856fb83c81f2':
  Revert "docs: Update for Android 23.0.4"

9 years agoTweak wallpaper restore acceptance heuristics
Christopher Tate [Thu, 2 Oct 2014 20:39:12 +0000 (13:39 -0700)]
Tweak wallpaper restore acceptance heuristics

We now accept for restore any image that is at least wide enough to
fit the screen, and has a height within a comfortable margin of the
previously stated target.

Bug 17677006

Change-Id: I5937a82ddfbfa0bbb30d568621eb48e4b3533fac

9 years agoMerge "Add TD_SCDMA RAT type (already exists in RIL) and classify as CDMA." into...
Etan Cohen [Thu, 2 Oct 2014 21:16:28 +0000 (21:16 +0000)]
Merge "Add TD_SCDMA RAT type (already exists in RIL) and classify as CDMA." into lmp-dev

9 years agoam e961d0b5: Merge "Revert "docs: Update for Android 23.0.4"" into klp-modular-docs
Joe Fernandez [Thu, 2 Oct 2014 21:14:59 +0000 (21:14 +0000)]
am e961d0b5: Merge "Revert "docs: Update for Android 23.0.4"" into klp-modular-docs

* commit 'e961d0b521bc25caf964258e75fef3d3ea22e4ac':
  Revert "docs: Update for Android 23.0.4"

9 years agoMerge "Revert "docs: Update for Android 23.0.4"" into klp-modular-docs
Joe Fernandez [Thu, 2 Oct 2014 21:08:27 +0000 (21:08 +0000)]
Merge "Revert "docs: Update for Android 23.0.4"" into klp-modular-docs

9 years agoRevert "docs: Update for Android 23.0.4"
Joe Fernandez [Thu, 2 Oct 2014 21:07:49 +0000 (21:07 +0000)]
Revert "docs: Update for Android 23.0.4"

This reverts commit f34d0e69033165b7a6e9c73b99f4ef6ac36b3896.

Change-Id: I4d521392733f1b028c72d4623d6d69a4c5910bc4

9 years agoAdd @SystemApi to missing TelecomManager methods
Evan Charlton [Thu, 2 Oct 2014 20:45:27 +0000 (13:45 -0700)]
Add @SystemApi to missing TelecomManager methods

A few methods (which should be exposed) were missing @SystemApi
annotations.

TelecomManager#addNewIncomingCall
TelecomManager#registerPhoneAccount
TelecomManager#unregisterPhoneAccount

Bug: 17786491
Change-Id: Idf318cf6238668762c00ed0913a9c0ccd5bcb884

9 years agoRevert "Protect LOGIN_ACCOUNTS_CHANGED receiver in SyncManager"
Matthew Williams [Thu, 2 Oct 2014 04:12:28 +0000 (04:12 +0000)]
Revert "Protect LOGIN_ACCOUNTS_CHANGED receiver in SyncManager"

This reverts commit cf2bd348e73e880fe5bfc7a025732d4ec606ff1f.

Reverted because for account removal the AccountManagerService
delegates the sending of LOGIN_ACCOUNTS_CHANGED to the authenticator.
See b/17511110.

Change-Id: Ic03016af98070b4add5f7a5ec1fdff32ba63298e

9 years agoAllow system app to take ownership of built-in permissions
Jing Ji [Wed, 1 Oct 2014 18:31:19 +0000 (13:31 -0500)]
Allow system app to take ownership of built-in permissions

Previous commit bfed9f34c makes the preloaded system app take
precedence over third-party apps when defining permissions, but
it also makes it be able to override android built-in permissions.

Now allow preloaded system app to take the ownership of built-in
permissions instead of overriding it.

Change-Id: I10d588d0284e4316ea4be552fd6191f33e3c725b

9 years agoMerge "Remove misleading error log." into lmp-dev
Craig Mautner [Thu, 2 Oct 2014 20:13:54 +0000 (20:13 +0000)]
Merge "Remove misleading error log." into lmp-dev

9 years agoFix a bug with screen brightness during screen off animation.
Jeff Brown [Thu, 2 Oct 2014 20:08:05 +0000 (13:08 -0700)]
Fix a bug with screen brightness during screen off animation.

Due to a recent change there was a regression that caused the
screen brightness to be animated down to 0 while the screen
off animation was running.  When the brightness was low this
would cause the screen off animation to be cut short.

This change ensures that we take into account the actual screen
state instead of the desired screen state when making screen
brightness decisions in case we are in the middle of a transition.

The darkness came early.  The pixel fairies trembled.

Bug: 17718416
Change-Id: Ib4b55d61b359abbc70920e324f08a5db07bdd035

9 years agoSDK only: Update docs to reflect current implementation.
Dianne Hackborn [Thu, 2 Oct 2014 19:42:18 +0000 (12:42 -0700)]
SDK only: Update docs to reflect current implementation.

Change-Id: I498425bb55b157c954af6a2441d8bd9be3871c55

9 years agoSynchronize on all sendProxyBroadcast calls
Jason Monk [Thu, 2 Oct 2014 19:39:38 +0000 (15:39 -0400)]
Synchronize on all sendProxyBroadcast calls

To avoid race conditions.  Also make mDefaultProxy volatile for
safety.

Bug: 17697364
Change-Id: I8f0abb1a6e1c816f3addc11a69ff794ad767f2cf

9 years agoRemove misleading error log.
Craig Mautner [Thu, 2 Oct 2014 19:24:02 +0000 (12:24 -0700)]
Remove misleading error log.

It's perfectly ok for a secondary display to not have a home stack.
There is no reason to report it.

Related to b/17677973.

Change-Id: Ia9d52cabb601760d32d2b847dfa0ca4f304e4e2a

9 years agoAdd TD_SCDMA RAT type (already exists in RIL) and classify as CDMA.
Etan Cohen [Thu, 2 Oct 2014 18:06:23 +0000 (11:06 -0700)]
Add TD_SCDMA RAT type (already exists in RIL) and classify as CDMA.

Bug: 17784975
Change-Id: Ic887477fac1d45f547e30ed6e3c1158fb9a3b893

9 years agoFix race in RecognizerService teardown.
Jeff Brown [Thu, 2 Oct 2014 19:06:50 +0000 (12:06 -0700)]
Fix race in RecognizerService teardown.

Use a WeakReference to refer to the outer class to prevent leaks.
Ensure atomicity of access to the reference.

Bug: 17584947
Change-Id: I7ad7c7793b60fa125e04fc4d803ed905e8a00a95

9 years agoMinor style changes.
Deepanshu Gupta [Thu, 2 Oct 2014 18:45:07 +0000 (11:45 -0700)]
Minor style changes.

Addressing code review comments on previous change: 171804201dd

Change-Id: I2c9e0ce35e755c23d8292749828d15a87109d6dc

9 years agoam e1e0e05a: am 957f45c3: am 680092c5: Merge "docs: Provide direct link to Ubuntu...
Ricardo Cervera [Thu, 2 Oct 2014 18:18:30 +0000 (18:18 +0000)]
am e1e0e05a: am 957f45c3: am 680092c5: Merge "docs: Provide direct link to Ubuntu troubleshooting." into klp-modular-docs

* commit 'e1e0e05a14ebb87ca1921cf21a98b9fa0067b14e':
  docs: Provide direct link to Ubuntu troubleshooting.

9 years agoam 957f45c3: am 680092c5: Merge "docs: Provide direct link to Ubuntu troubleshooting...
Ricardo Cervera [Thu, 2 Oct 2014 18:13:55 +0000 (18:13 +0000)]
am 957f45c3: am 680092c5: Merge "docs: Provide direct link to Ubuntu troubleshooting." into klp-modular-docs

* commit '957f45c328c9cbe9d1fb65dab6d342dc28a85954':
  docs: Provide direct link to Ubuntu troubleshooting.

9 years agoam 680092c5: Merge "docs: Provide direct link to Ubuntu troubleshooting." into klp...
Ricardo Cervera [Thu, 2 Oct 2014 18:07:53 +0000 (18:07 +0000)]
am 680092c5: Merge "docs: Provide direct link to Ubuntu troubleshooting." into klp-modular-docs

* commit '680092c5987e701043ff0fa0d2c5390e829412c0':
  docs: Provide direct link to Ubuntu troubleshooting.

9 years agoMerge "docs: Provide direct link to Ubuntu troubleshooting." into klp-modular-docs
Ricardo Cervera [Thu, 2 Oct 2014 18:04:41 +0000 (18:04 +0000)]
Merge "docs: Provide direct link to Ubuntu troubleshooting." into klp-modular-docs

9 years agodocs: Provide direct link to Ubuntu troubleshooting.
Ricardo Cervera [Thu, 2 Oct 2014 01:32:42 +0000 (18:32 -0700)]
docs: Provide direct link to Ubuntu troubleshooting.

Change-Id: I6a9f8c3f3ef01abcfdaf95730139156ba443a4be

9 years agoam 74ce7413: am b15cd529: am c074c3a4: Merge "docs: Update for Android 23.0.4" into...
Rich Slogar [Thu, 2 Oct 2014 17:53:38 +0000 (17:53 +0000)]
am 74ce7413: am b15cd529: am c074c3a4: Merge "docs: Update for Android 23.0.4" into klp-modular-docs

* commit '74ce7413158607af6be2889d7392c2e904c9c210':
  docs: Update for Android 23.0.4

9 years agoam b15cd529: am c074c3a4: Merge "docs: Update for Android 23.0.4" into klp-modular...
Rich Slogar [Thu, 2 Oct 2014 17:44:43 +0000 (17:44 +0000)]
am b15cd529: am c074c3a4: Merge "docs: Update for Android 23.0.4" into klp-modular-docs

* commit 'b15cd5296675fac00e5517b89fc1263d59fbad65':
  docs: Update for Android 23.0.4

9 years agoam c074c3a4: Merge "docs: Update for Android 23.0.4" into klp-modular-docs
Rich Slogar [Thu, 2 Oct 2014 17:38:35 +0000 (17:38 +0000)]
am c074c3a4: Merge "docs: Update for Android 23.0.4" into klp-modular-docs

* commit 'c074c3a4074791ae1270e3177e2299f31b9bb5a1':
  docs: Update for Android 23.0.4

9 years agoMerge "docs: Update for Android 23.0.4" into klp-modular-docs
Rich Slogar [Thu, 2 Oct 2014 17:31:04 +0000 (17:31 +0000)]
Merge "docs: Update for Android 23.0.4" into klp-modular-docs

9 years agodocs: Update for Android 23.0.4
Rich Slogar [Wed, 1 Oct 2014 18:37:18 +0000 (11:37 -0700)]
docs: Update for Android 23.0.4

Change-Id: I7025dcf9bbfd03b555f7f5059d0e35f67f836dcf

9 years agoMerge "SettingsProvider should use correct cache when redirecting to user 0." into...
Kenny Guy [Thu, 2 Oct 2014 16:48:56 +0000 (16:48 +0000)]
Merge "SettingsProvider should use correct cache when redirecting to user 0." into lmp-dev

9 years agoMerge "Fix some documentation typos." into lmp-dev
Newton Allen [Thu, 2 Oct 2014 16:39:11 +0000 (16:39 +0000)]
Merge "Fix some documentation typos." into lmp-dev

9 years agoSend updated NetworkAgent score to NetworkFactories when validated.
Paul Jensen [Tue, 30 Sep 2014 19:37:41 +0000 (15:37 -0400)]
Send updated NetworkAgent score to NetworkFactories when validated.

Previously the score was not sent out causing other NetworkFactories
to have the lower unvalidated score and to repeatedly try to bring
up a new Network only to have it torn down.
Also, avoid logging an error when tearing down a network with only
listening requests.

bug:17726566
Change-Id: I82ff7c9bd5ec962f62a50ad0042c278622953969