157265 Commits

Author SHA1 Message Date
Winson Chung
96d7041866 Add some flags to reduce memory usage on svelte devices.
Bug: 10918599
Change-Id: I235413a243d47fdd9be4a27f6bd726311a51cb6f
2014-11-17 14:52:29 -08:00
Eric Laurent
99253d001f Merge "AudioRecorder read buffer overflow" into lmp-mr1-dev 2014-11-14 17:42:47 +00:00
Winson Chung
189457c931 Merge "Fixing crash in querying the task stack from a fresh load plan. (Bug 18371946)" into lmp-mr1-dev 2014-11-14 17:32:30 +00:00
Fyodor Kupolov
6dd9f86f10 Merge "Added synchronization to handlePackagesChanged method" into lmp-mr1-dev 2014-11-14 17:26:07 +00:00
Ye Wen
8b69c28b7d Merge "Delay connecting to MmsService until APIs are called for imms" into lmp-mr1-dev 2014-11-14 17:22:12 +00:00
Craig Mautner
135ae6dc3b am 33d92c56: Use package name as custom resolver process name
* commit '33d92c56781f6058c9e682737a06c41f3a2d2f3a':
  Use package name as custom resolver process name
2014-11-14 16:31:20 +00:00
Craig Mautner
33d92c5678 Use package name as custom resolver process name
The process name was being assigned null. This meant that after the
process attached we weren't matching the name in
ActivityStackSupervisor.attachApplicationLocked(). That meant missing
the call to realStartActivityLocked() and then the resolver didn't
start until window manager timed out and resumeTopActivity was
called five seconds later.

Fixes bug 18301267.

Change-Id: If3721caeebb309c6054150b2f707e3d6e38a74d2
2014-11-14 15:09:54 +00:00
Jason Monk
53e52e5211 Merge "SysUI: Add basic test coverage for signal levels" into lmp-mr1-dev 2014-11-14 14:50:05 +00:00
Esteban Talavera
22dc3b7ba1 New AccountManager method to copy accounts between users.
Adding the copyAccountToUser method which copies an account
along with its credentials to a different user.

Also an extra in the public api to identify the account to migrate
during provisioning.

Bug: 17716971
Change-Id: I2f29f1765ba0d360a3894b13ef86253b7c7d3284
2014-11-14 11:09:27 +00:00
Sander Alewijnse
f39cec0b06 Merge "Add extra to enable device admins to skip removal of system apps." into lmp-mr1-dev 2014-11-14 10:26:38 +00:00
Mark Renouf
437d02d389 am cd22c3d6: Merge "Sets windowOverscan for all Wear DeviceDefault themes." into lmp-sprout-dev
* commit 'cd22c3d67c98a6ac98291c3337e6506546e771be':
  Sets windowOverscan for all Wear DeviceDefault themes.
2014-11-14 02:14:29 +00:00
Mark Renouf
cd22c3d67c Merge "Sets windowOverscan for all Wear DeviceDefault themes." into lmp-sprout-dev 2014-11-14 02:04:31 +00:00
Alan Viverette
42b2591447 Merge "Ignore accessibility overlays during visible window computation" into lmp-mr1-dev 2014-11-14 01:52:25 +00:00
Alan Viverette
0c24237686 Merge "Set current degrees when updating RotateDrawable from typed array" into lmp-mr1-dev 2014-11-14 01:52:14 +00:00
Alan Viverette
0224d25db2 Merge "Account for window bounds in accessibility view click point computation" into lmp-mr1-dev 2014-11-14 01:46:01 +00:00
Sarah Maddox
2f8d4ea206 am f21e7d31: am aa3a93ed: am 67b0ac71: Merge "docs: Clarifies the difference between the Android framework location APIs and the Google Play services location APIs. Fixes 80-character line length." into lmp-docs
* commit 'f21e7d31582b404e479d9a594f192e67e2b95d8f':
  docs: Clarifies the difference between the Android framework location APIs and the Google Play services location APIs. Fixes 80-character line length.
2014-11-14 00:21:14 +00:00
Mark Renouf
de7187b956 Sets windowOverscan for all Wear DeviceDefault themes.
Without this flag, window insets will be consumed by the first View
which does not explicitly override onApplyWindowInsets. This is either
SwipeDismissLayout or the content view of the activity (if swipeDismiss
is not enabled).

BUG: 18376451
Change-Id: I5e590bad9810a9a232a6c318f715d587a3290f34
2014-11-13 19:12:55 -05:00
Sarah Maddox
f21e7d3158 am aa3a93ed: am 67b0ac71: Merge "docs: Clarifies the difference between the Android framework location APIs and the Google Play services location APIs. Fixes 80-character line length." into lmp-docs
* commit 'aa3a93ede76b46ef6ca0daa18ca9a6cd77c26f66':
  docs: Clarifies the difference between the Android framework location APIs and the Google Play services location APIs. Fixes 80-character line length.
2014-11-14 00:09:12 +00:00
Sarah Maddox
aa3a93ede7 am 67b0ac71: Merge "docs: Clarifies the difference between the Android framework location APIs and the Google Play services location APIs. Fixes 80-character line length." into lmp-docs
* commit '67b0ac719a87ba52c849a6cf055ef235f230dd6e':
  docs: Clarifies the difference between the Android framework location APIs and the Google Play services location APIs. Fixes 80-character line length.
2014-11-14 00:02:38 +00:00
Sarah Maddox
67b0ac719a Merge "docs: Clarifies the difference between the Android framework location APIs and the Google Play services location APIs. Fixes 80-character line length." into lmp-docs 2014-11-13 23:57:32 +00:00
Alan Viverette
d03963ce36 Set current degrees when updating RotateDrawable from typed array
This regressed after enabling theming in RotateDrawable.

BUG: 18288235
Change-Id: I61a7b2c178253ed2d550fa0636e27e021ac9eb64
2014-11-13 15:14:36 -08:00
Alan Viverette
9538eea5ff Ignore accessibility overlays during visible window computation
Previously, the conditional for checking the layer type before
accounting for the window bounds was incorrectly inverted, but
we can simplify by just skipping accessibility overlay windows
completely.

BUG: 18358878
BUG: 18359820
BUG: 18359788
Change-Id: I9ba1e43a0fef4fa40693bd8c7e883c2ef45b4c4d
2014-11-13 23:07:05 +00:00
Chris Craik
6b3bf0ceef Merge "Add offset method to Outline" into lmp-mr1-dev 2014-11-13 22:46:22 +00:00
Alan Viverette
24859ba016 Merge "Don't dismiss AutoCompleteTextView on focus change while temp detached" into lmp-mr1-dev 2014-11-13 22:45:12 +00:00
Alan Viverette
3fbb55c906 Merge "Make indeterminate progress alpha consistent with determinate" into lmp-mr1-dev 2014-11-13 22:44:13 +00:00
ztenghui
475569e98a Merge "Fix the starting pen's position when a path close." into lmp-mr1-dev 2014-11-13 22:41:55 +00:00
Nick Kralevich
c9754740a8 Merge "fix crash on invalid base64 key" into lmp-mr1-dev 2014-11-13 22:37:03 +00:00
kmccormick
127809334c am 90bdbe8c: am 30aee7fc: am feb1347b: Merge "Doc update: new reg error code + snippet" into lmp-docs
* commit '90bdbe8c999df88330b28daa492eeb4425863dab':
  Doc update: new reg error code + snippet
2014-11-13 22:34:03 +00:00
Winson Chung
90d5136ebd Fixing crash in querying the task stack from a fresh load plan. (Bug 18371946) 2014-11-13 14:30:26 -08:00
kmccormick
90bdbe8c99 am 30aee7fc: am feb1347b: Merge "Doc update: new reg error code + snippet" into lmp-docs
* commit '30aee7fccbbcbdd09ca9393636316813e222ba62':
  Doc update: new reg error code + snippet
2014-11-13 22:29:45 +00:00
kmccormick
30aee7fccb am feb1347b: Merge "Doc update: new reg error code + snippet" into lmp-docs
* commit 'feb1347b2b411be03c640e8d61bfc3b428932e31':
  Doc update: new reg error code + snippet
2014-11-13 22:24:44 +00:00
kmccormick
feb1347b2b Merge "Doc update: new reg error code + snippet" into lmp-docs 2014-11-13 22:21:03 +00:00
Jeff Sharkey
628d2606f7 Merge "Move ringtone redirection to MediaPlayer." into lmp-mr1-dev 2014-11-13 22:16:15 +00:00
Abhijith Shastry
fb8db1c84b Merge "new sms/mms carrier app API" into lmp-mr1-dev 2014-11-13 22:15:46 +00:00
Alan Viverette
95b3144782 Make indeterminate progress alpha consistent with determinate
Both should match the default disabledAlpha for controls.

BUG: 15900514
Change-Id: Ie7c801bc208a14f14926d38b462f49d1f91b28d0
2014-11-13 14:04:32 -08:00
Jeff Sharkey
3b566b8470 Move ringtone redirection to MediaPlayer.
Way back in API 1 we defined Settings.System.DEFAULT_NOTIFICATION_URI
which redirects through SettingsProvider before finally ariving at
the real underlying ContentProvider, usually MediaStore.

With new SELinux rules, we're no longer allowing the system_server
to hold open FDs to shared storage devices, which causes these
proxied openFile() calls to fail.

To work around this, teach MediaPlayer to resolve the final ringtone
Uri without going through the system.

Bug: 18226181
Change-Id: I40c68617c952c0bb3e939e5084f5b68a35e31ae3
2014-11-13 13:52:41 -08:00
Alan Viverette
df68999dc7 Don't dismiss AutoCompleteTextView on focus change while temp detached
This is consistent with how TextView handles focus changes while
temporarily detached and prevents the suggestion popup from being
dismissed during layout when the AutoCompleteTextView is used
within a ListView.

BUG: 18364277
Change-Id: I8ca6fb9dba63b49a84a60a606bc441446c083cee
2014-11-13 12:59:37 -08:00
Geoff Mendal
a81b1cad2b am 4cc7bbc9: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-sprout-dev
* commit '4cc7bbc9fd937c6f25962fd6971e77773114aff2':
  Import translations. DO NOT MERGE
2014-11-13 20:58:23 +00:00
Jeff Brown
cb906677fc am 24c1d664: Merge "Remove an unnecessary condition from previous change." into lmp-sprout-dev
* commit '24c1d664c4f95a8c997bfc4683844e05b788c3db':
  Remove an unnecessary condition from previous change.
2014-11-13 20:58:19 +00:00
Jeff Brown
72f1e3b9c9 am 1cbff0e3: Merge "Improve screen brightness boost behavior." into lmp-sprout-dev
* commit '1cbff0e310b0fba6b25ca1c1e14eaefeabdee0d9':
  Improve screen brightness boost behavior.
2014-11-13 20:58:15 +00:00
Renato Mangini
7e582533f3 am ee291ca2: am 6f41522d: am c9fc837f: Add new samples to what\'s new page.
* commit 'ee291ca2ce4092aaae556ebda46daf7337506f74':
  Add new samples to what's new page.
2014-11-13 20:58:03 +00:00
ztenghui
5e7a29f677 Fix the starting pen's position when a path close.
We have to cache the starting point for the latest "move", then apply it after
we close the path.

b/18214929

Change-Id: I8e8e5c810d720a1c194b8f59d74867a0efbb7662
2014-11-13 12:55:16 -08:00
John Spurlock
338bc5a418 Merge "Zen: Update condition text for current condition." into lmp-mr1-dev 2014-11-13 20:20:25 +00:00
Jeff Sharkey
51151dcc94 Merge "Make package verifier broadcasts foreground." into lmp-mr1-dev 2014-11-13 20:17:32 +00:00
Jeff Sharkey
13cf7917af Make package verifier broadcasts foreground.
We're using ordered broadcasts (sigh!) for package verification, and
we could be stuck behind dozens of other background broadcasts, so
hoist into foreground queue.

Bug: 18356768
Change-Id: Ib4abf771db0147f8fbd7227f32297602816c84ae
2014-11-13 12:14:30 -08:00
Simranjit Singh Kohli
fdcdb7429e Merge "[RemoveAccount API]: Adding support for intent." into lmp-mr1-dev 2014-11-13 19:18:30 +00:00
Wale Ogunwale
28d3c245a1 Merge "Cancel or drop key events if activity is stopped." into lmp-mr1-dev 2014-11-13 19:00:07 +00:00
Jean-Michel Trivi
136f54153e Merge "Support for delayed audio focus" into lmp-mr1-dev 2014-11-13 18:47:34 +00:00
Sander Alewijnse
8c41156178 Add extra to enable device admins to skip removal of system apps.
Bug:17369849
Change-Id: Ibc1c0f480c436c7075725f79ffaaf92832c1154a
2014-11-13 18:16:28 +00:00
Jon Eklund
283a9d9e15 AudioRecorder read buffer overflow
Since function was changed from byte-native to short-native,
it's no longer necessary to multiply offset by sizeof(short).

Bug 18367580

Change-Id: I669d860334ba40e46c04e534d7008b9e2401d8cd
2014-11-13 10:15:58 -08:00