156955 Commits

Author SHA1 Message Date
Justin Koh
2d42f48449 am b8038d58: Merge "Hide Surface#lockHardwareCanvas DO NOT MERGE" into lmp-sprout-dev
* commit 'b8038d58da04456e9e7b6e264af69226bf21592c':
  Hide Surface#lockHardwareCanvas DO NOT MERGE
2014-11-06 20:33:36 +00:00
Rich Slogar
830790baf8 am b0af6987: Merge "docs:Remove tools/index.jd file." into lmp-docs
* commit 'b0af6987aacec95b90c655f7e9bd9576baaab3df':
  docs:Remove tools/index.jd file.
2014-11-06 20:33:30 +00:00
Dirk Dougherty
012849f452 am c6f2ec20: am b2fe15f9: am 66296451: Merge "Doc change: update behavior changes and move to separate doc. Add nogotofail to SSL best practices." into lmp-docs
* commit 'c6f2ec20a6a8ed30801debf9715aff3ddb982933':
  Doc change: update behavior changes and move to separate doc. Add nogotofail to SSL best practices.
2014-11-06 20:33:12 +00:00
Rich Slogar
b0af6987aa Merge "docs:Remove tools/index.jd file." into lmp-docs 2014-11-06 20:30:11 +00:00
John Spurlock
d69dacb06f Merge "Zen: Track next-alarm condition across reboots." into lmp-mr1-dev 2014-11-06 20:27:07 +00:00
Sailesh Nepal
3fdf2a84c0 Make APIs to get system phone accounts public
This is used by Wi-Fi calling to handoff and incoming
call to a cellular call.

For example, when doing an handoff we can look through
the outgoing phone accounts and find the one that the user
has verified with their google account. We can then
handoff to that phone account.

Bug: 17686424
Change-Id: I06d42aa8f4a36d11e5293ed6f7c62b796226f5c1
2014-11-06 12:20:56 -08:00
Craig Mautner
42d04db459 More fixes for keyguard animations.
Add a state machine for calling comeOutOfSleepIfNeededLocked() so
that it is only called after the lockscreen has started dismissing
but not before resumeTopActivityLocked(). Also keep
resumeTopActivityLocked() from being called from
comeOutOfSleepIfNeededLocked() recursively.

Have starting windows count towards notifying the keyguard that a
window has been drawn.

Do not update wallpaper animations based on their not being included
in the windows being animated if there are no windows being animated.

And always improve logging.

Fixes bug 15991916.

Change-Id: I0d21c5337f0e89d9eacc8dab2cdaa52fec43ac0b
2014-11-06 12:13:23 -08:00
Jason Monk
265160e03a Merge "Show recents button while pinned and locked" into lmp-mr1-dev 2014-11-06 20:13:07 +00:00
Jason Parks
de709869ae Fix NPE for CTS.
The effect list can be empty and will return null
from native code. This fixes the CTS crash.

Bug: 18256010
Change-Id: Ifa552efc9de216993427115c001c7071c90403f1
2014-11-06 14:08:52 -06:00
xinhe
8161ed8121 Merge "RSSI indicator says that SIMless device has a SIM" into lmp-mr1-dev 2014-11-06 19:50:45 +00:00
Jeff Davidson
7f38664ea5 Let scorers fine-tune scoring heuristics.
Documents Byte#MIN_VALUE as being equivalent to a null score. This
enables scorers to pick a threshold below which a network won't be
used, by setting the score at any RSSI below that threshold to this
value.

Also adds an "RSSI boost" for the active network, so that we avoid
unnecessary switches between two closely-scored networks due to small
fluctuations in signal strength.

Bug: 15432594
Change-Id: I7a8f5f68ef074827d4b1cfbbed0841448498f179
2014-11-06 11:49:56 -08:00
Jeremy Joslin
46e3ac8bbc Implemented requestNetwork with a PendingIntent.
ConnectivityManager.requestNetwork(NetworkRequest, PendingIntent)
was unhidden and implemented.

Added ConnectivityManager.removePendingIntentRequest(PendingIntent) as
the companion method.

Bug: 17356414
Change-Id: I656a1e149cc1292c443ebfe9e61ee3eb5a80f143
2014-11-06 11:43:27 -08:00
Quddus Chong
01ca1277b9 docs: Removed statement that ART does not implement compacting garbage collection.
bug: 18181075

Change-Id: Ibbb20604595a6740d19ec1d887854d60fb9d797b
2014-11-06 11:31:54 -08:00
Winson Chung
5191861c88 Merge "Increasing the min swipe thresholds for the nav bar gestures. (Bug 17109581)" into lmp-mr1-dev 2014-11-06 19:20:59 +00:00
Winson Chung
e0325fe956 Merge "Don't reload the layout every time we enter Recents. (Bug 18160176)" into lmp-mr1-dev 2014-11-06 19:20:56 +00:00
John Spurlock
7ab8ecd053 Zen: Track next-alarm condition across reboots.
During a reboot, wait for the initial alarm registration -
which is traditionally done in response to ACTION_BOOT_COMPLETED.

Bug: 16373455
Change-Id: I00dd737fa5c9ea15d646779c5b92e5637a69595a
2014-11-06 14:17:37 -05:00
xinhe
8b79fb6065 RSSI indicator says that SIMless device has a SIM
For dummy case, subId = -1/-2, we need compare the phoneId
Bug:18247106

Change-Id: I310d8b466ef83936e920d3921267241f42c2243f
2014-11-06 10:57:04 -08:00
RoboErik
a13846ddf3 Update metadata artwork and uri docs
This updates the Javadoc on the bitmap and uri fields to strongly
suggest Uris be used for high res artwork and strongly suggest Uris
use the content: style and support EXTRA_SIZE.

Change-Id: If4c38bfec20d049473457784b1b56fa4d78abe5e
2014-11-06 10:55:06 -08:00
ztenghui
786d0a0353 Merge "VD:test:Remove open animation AVD" into lmp-mr1-dev 2014-11-06 18:54:49 +00:00
John Reck
9c13b8cfcc Merge "Yank ResourceCache out of Caches" into lmp-mr1-dev 2014-11-06 18:48:17 +00:00
Stuart Scott
c7f1ae8146 Merge "Fix NPE when parceling SubInfoRecord" into lmp-mr1-dev 2014-11-06 18:25:49 +00:00
John Reck
a35778c799 Yank ResourceCache out of Caches
Bug: 17947547

Pull the ResourceCache (aka, ref-counting side channel) out of
Caches so that DisplayListRenderer doesn't use Caches, avoiding
the risk of instantiating Caches on the wrong thread or
without a GL context

Change-Id: I7d63b70b3b0a0163308c5dedd6ef255eadebe8fd
2014-11-06 09:45:10 -08:00
Vinod Krishnan
1d6d427278 Adding wallpaper animations
- this has the best behavior. Sometimes the behavior is not consistent

Bug: 18058382

Change-Id: I744169ea333d3cef9d7b3618b940280aa8db4dc3
2014-11-06 09:43:49 -08:00
Ricardo Cervera
126eda32eb am b4a19198: am 58dc8c42: am e7cd5f2e: Merge "docs: Add API_UNAVAILABLE case for Wear. Bug: 17753200" into klp-modular-docs
* commit 'b4a1919816f4563390f2416038a66cd36b4f06aa':
  docs: Add API_UNAVAILABLE case for Wear. Bug: 17753200
2014-11-06 17:19:00 +00:00
Paul Lawrence
3bde026aeb am afb6b50e: Merge "DO NOT MERGE: Don\'t log passwords returned from vdc" into lmp-dev
* commit 'afb6b50e824153de5e2f0c4d49dd95fde79fa04f':
  DO NOT MERGE: Don't log passwords returned from vdc
2014-11-06 17:14:35 +00:00
Ricardo Cervera
b4a1919816 am 58dc8c42: am e7cd5f2e: Merge "docs: Add API_UNAVAILABLE case for Wear. Bug: 17753200" into klp-modular-docs
* commit '58dc8c42f2880b4264bfad46b9ab443576d4b4f2':
  docs: Add API_UNAVAILABLE case for Wear. Bug: 17753200
2014-11-06 17:13:58 +00:00
Ricardo Cervera
0a285d4a34 am 9bc1b15a: am cc0753b0: docs: Add API_UNAVAILABLE case for Wear. Bug: 17753200
* commit '9bc1b15a66647e63f15383c1f82d5ed7cca0a304':
  docs: Add API_UNAVAILABLE case for Wear. Bug: 17753200
2014-11-06 17:09:12 +00:00
Paul Lawrence
afb6b50e82 Merge "DO NOT MERGE: Don't log passwords returned from vdc" into lmp-dev 2014-11-06 17:08:27 +00:00
Ricardo Cervera
58dc8c42f2 am e7cd5f2e: Merge "docs: Add API_UNAVAILABLE case for Wear. Bug: 17753200" into klp-modular-docs
* commit 'e7cd5f2e9cf76ed789534dfe5cc60c27a3b4984f':
  docs: Add API_UNAVAILABLE case for Wear. Bug: 17753200
2014-11-06 17:03:00 +00:00
Ricardo Cervera
9bc1b15a66 am cc0753b0: docs: Add API_UNAVAILABLE case for Wear. Bug: 17753200
* commit 'cc0753b077abb1ad5e5e95885567261b35067ed4':
  docs: Add API_UNAVAILABLE case for Wear. Bug: 17753200
2014-11-06 17:02:56 +00:00
Ricardo Cervera
cc0753b077 docs: Add API_UNAVAILABLE case for Wear. Bug: 17753200
Change-Id: I4fed30061daabfb05b24e84bb36cd21d38ad0fea
(cherry picked from commit 2871e05b48f0b932885986322ce01212717a6399)
2014-11-06 16:57:50 +00:00
Ricardo Cervera
e7cd5f2e9c Merge "docs: Add API_UNAVAILABLE case for Wear. Bug: 17753200" into klp-modular-docs 2014-11-06 16:57:14 +00:00
Jason Monk
17488b9944 Show recents button while pinned and locked
When an app is show when locked and in screen pinning the 'overview'
button needs to be shown, regardless of its disabled state.

Bug: 18224921
Change-Id: I896c803347738c936873c0ce5a7480562eb9f639
2014-11-06 11:29:16 -05:00
Adrian Roos
418f4ed077 Merge "Round charging indication to nearest minute" into lmp-mr1-dev 2014-11-06 16:22:06 +00:00
Selim Cinek
49af6359e0 Merge "Adapted HUN behavior when swiping vertically" into lmp-mr1-dev 2014-11-06 16:12:59 +00:00
Selim Cinek
140e3f88fb Merge "Fixed a bug where the HUNs were not clickable" into lmp-mr1-dev 2014-11-06 16:12:48 +00:00
Selim Cinek
6d7065f50d Merge "Fixed a bug that the notifications were not animating when reset" into lmp-mr1-dev 2014-11-06 16:12:01 +00:00
Nicolas Prevot
b9744c1c1f Merge "Add a cross-profile intent filter only if it wasn't previously added." into lmp-mr1-dev 2014-11-06 09:42:47 +00:00
Yuncheol Heo
03611473bc CEC: Allow no parameters with <System Audio Mode Request>.
Bug: 18266992
Change-Id: I4399e34d1178f3d4b17b4749ca543c2bb14c0765
2014-11-06 08:27:58 +00:00
Yohei Yukawa
b21220efae Minimize the number of default enabled IMEs part 4
This is a follow up CL for recent attempt to minimize
the number of default enabled IMEs.
- part1: I831502db502f4073c9c2f50ce7705a4e45e2e1e3
- part2: Ife93d909fb8a24471c425c903e2b7048826e17a3
- part3: I6571d464a46453934f0a8f5e79018a67a9a3c845

It turned out that the changes made in part2 and part3 are
a bit overkill, and users will see no software keyboards
in some particular situations. The problem we missed in
the previous CLs is the fact that
InputMethodInfo#isDefault is indeed a locale-dependent
value, hence it may vary depending on the system locale.
Existing unittests also failed to abstract such
locale-dependent nature.

In order to addresses that regression, the selection logic
is a bit widely reorganized in this CL.  Now the logic is
implemented as a series of fallback rules.

Also, unit tests are updated to be able to 1) test the
order of the enabled IMEs, and 2) emulate the
locale-dependent behavior of InputMethodInfo#isDefault
to enrich test cases.

BUG: 17347871
BUG: 18192576
Change-Id: I871ccda787eb0f1099ba3574356c1da4b33681f3
2014-11-06 15:28:06 +09:00
Sailesh Nepal
db66e1d2b9 Merge "Add CONNECTION_MANAGER_NOT_SUPPORTED to DisconnectCause" into lmp-mr1-dev 2014-11-06 06:14:15 +00:00
Yuncheol Heo
ff636d383c Merge "CEC: Don't send <Feature Abort> on the short message" into lmp-mr1-dev 2014-11-06 05:47:49 +00:00
Dirk Dougherty
61a76f2d79 am f15017fc: am 326c70ef: Doc change: Add play dev guide page with index card and shareable download.
* commit 'f15017fc0af505e8fd5efab3791d153020621084':
  Doc change: Add play dev guide page with index card and shareable download.
2014-11-06 05:25:51 +00:00
Dirk Dougherty
f15017fc0a am 326c70ef: Doc change: Add play dev guide page with index card and shareable download.
* commit '326c70efeed9c01e8c8d0f38f7ae27891f726e6b':
  Doc change: Add play dev guide page with index card and shareable download.
2014-11-06 05:20:29 +00:00
Sailesh Nepal
7a69c9277f Add CONNECTION_MANAGER_NOT_SUPPORTED to DisconnectCause
This CL adds a new disconnect cause. Connection managers
can specify this disconnect cause when it doesn't want
to route calls.

Bug: 16903083
Change-Id: I05822991c5c34ca3533652a10fbcb8845a604925
2014-11-05 21:02:37 -08:00
Dirk Dougherty
326c70efee Doc change: Add play dev guide page with index card and shareable download.
Change-Id: I08f5c2a6b863ecb747c90d677f635fab511d91d3
(cherry picked from commit 0ce73219be7f37170eb19dba690a5cd8d3e22e21)
2014-11-06 04:37:34 +00:00
Dirk Dougherty
2acfc3b9e2 am d7476cf4: Merge "Doc change: Add play dev guide page with index card and shareable download." into lmp-dev
* commit 'd7476cf42fd397ae8dc70fd9eae636c845842df1':
  Doc change: Add play dev guide page with index card and shareable download.
2014-11-06 04:29:44 +00:00
Joe Fernandez
93f8965768 am ab6e9048: am 2490ec83: Merge "docs: Add more information for getting started with TV app" into lmp-docs
* commit 'ab6e9048ebe2ac6cd4897378b56017267d6ee16e':
  docs: Add more information for getting started with TV app
2014-11-06 04:23:30 +00:00
Dirk Dougherty
d7476cf42f Merge "Doc change: Add play dev guide page with index card and shareable download." into lmp-dev 2014-11-06 04:22:11 +00:00
Joe Fernandez
ab6e9048eb am 2490ec83: Merge "docs: Add more information for getting started with TV app" into lmp-docs
* commit '2490ec83702985bd70ac2d28322dc5c9625dc26a':
  docs: Add more information for getting started with TV app
2014-11-06 04:14:26 +00:00