157869 Commits

Author SHA1 Message Date
Elliott Hughes
4db3fc1c28 am 03c80408: am 6c43e6b5: Fix and be more explicit about plurals best practices.
* commit '03c80408d2651bcfaa707233cd0b54b7a8ca57ad':
  Fix and be more explicit about plurals best practices.
2014-11-20 01:40:00 +00:00
Andrew Solovay
c79173c7da am 05282133: Merge "docs: Bugfix & minor cleanup for "Providing Messaging for Auto"" into lmp-docs
* commit '05282133c7491fd2b5e8f3da05408ff0165df526':
  docs: Bugfix & minor cleanup for "Providing Messaging for Auto"
2014-11-20 01:32:30 +00:00
Andrew Solovay
05282133c7 Merge "docs: Bugfix & minor cleanup for "Providing Messaging for Auto"" into lmp-docs 2014-11-20 01:27:51 +00:00
RoboErik
b9c87fb403 Scale bitmaps in metadata sent to the system
This scales down any MediaMetadata bitmaps that are sent to the system
through MediaSession.

bug:18114918
bug:18084448
Change-Id: Ib7b040cd8245108ad2dd56afe2499290d2b49f51
2014-11-19 17:27:43 -08:00
Chris Craik
70850ea258 Improve logging around performance critical events
bug:17702227

Add details useful to developers (such as layer size/View name), and
switch away from logging implementation names/details, since they
are generally not relevant to developers.

Change-Id: Iee605d182f241450f7e75a6d0c283d51fa1312f5
2014-11-19 17:24:30 -08:00
Elliott Hughes
03c80408d2 am 6c43e6b5: Fix and be more explicit about plurals best practices.
* commit '6c43e6b54d7d540e579d2dff8c9cff981cb5ca4a':
  Fix and be more explicit about plurals best practices.
2014-11-20 01:21:40 +00:00
Alan Viverette
2af21e0bfa Add padding above and below dialog lists to match Material spec
There's a little too much padding between lists and buttons, but it's
definitely the lesser of two evils. We can handle it dynamically later
on, but it's tricky since we can't just insert a Space element.

BUG: 18336555
Change-Id: I1a8ff644dd27f7998ce7cf7a4fadba1fd7ed04ff
2014-11-19 17:17:56 -08:00
Alan Viverette
7c9746d4ef Move default token handling into WindowManagerImpl
BUG: 18451795
Change-Id: I1fc6db988ad879fded5318f33d08a4f09da38907
2014-11-19 17:02:16 -08:00
Wonsik Kim
71dfa96f53 TIF: set audio gain properly
Bug: 18392706
Change-Id: I56c21c156a54e7d6dcf787f6b3ab4b901843b922
2014-11-20 09:54:36 +09:00
George Mount
6c211ff43e Reset the transitionAlpha after the transition completes.
Bug 18423893

Change-Id: I2ea30c3b7c45eca70d1518e73f814b827f519fa0
2014-11-19 16:39:16 -08:00
Elliott Hughes
6c43e6b54d Fix and be more explicit about plurals best practices.
The "one" case should always include %d. Say so, and fix our examples.
Also make it clear that developers should always provide exactly "one"
and "other".

Bug: 18429565

(cherry picked from commit 1fe7d496db1ddc73289e6aae11f4dd4a970141d5)

Change-Id: I89656c74b7dfd91584e1bb6d0a3f2da1dda81079
2014-11-19 16:38:39 -08:00
Wale Ogunwale
1f4c02bb18 Stop activity onVisibleBehindCanceled()
Once an activity is no longer visible behind and has released
its background resources, it is added to the list of activities
that can be stopped, but not actually stopped until the next
major event (like another activity starting). We now schedule
the idle processing once the background resources have been
released so the activity can be stopped as soon as possible.

Bug: 18191707
Change-Id: I472eee949c1a78b4d944454463f03c90e7d2618b
2014-11-19 16:25:51 -08:00
Dirk Dougherty
4d82f8ad32 am ef629f1f: am a79acc03: Doc change: localized content.
* commit 'ef629f1f9feada596a0c41b55daa0e859e24312e':
  Doc change: localized content.
2014-11-20 00:08:05 +00:00
Pavel Zhamaitsiak
c7ffe5e2fe Merge "TTY over IMS: Add messages about change of TTY mode in the repote device" into lmp-mr1-dev 2014-11-20 00:03:35 +00:00
Wink Saville
baf21da1e1 Additional changes to SubscriptionManager API as per API council.
bug: 17575308
Change-Id: I7773965094510999bfce8fc6b2b31ba6ce496653
2014-11-19 16:03:09 -08:00
Chet Haase
85603a7faf Merge "Fix seeking and scaled duration behavior" into lmp-mr1-dev 2014-11-20 00:02:09 +00:00
Dirk Dougherty
ef629f1f9f am a79acc03: Doc change: localized content.
* commit 'a79acc0315d33080527b9fb48ba063fb4104de37':
  Doc change: localized content.
2014-11-20 00:02:06 +00:00
Eric Laurent
a582bd4b42 Merge "AudioSystem JNI: fix AudioPortConfig mask usage" into lmp-mr1-dev 2014-11-19 23:55:52 +00:00
Alan Viverette
b130d5961c Merge "Remove underline and search icon from ActionBar search view" into lmp-mr1-dev 2014-11-19 23:52:24 +00:00
Pavel Zhamaitsiak
185062733b TTY over IMS: Add messages about change of TTY mode in the repote device
Bug: 18247323
Change-Id: Iefd9bfdccc4af2acf06259f9804dbebb576aca12
2014-11-19 23:52:11 +00:00
Alan Viverette
552eca1a71 Merge "Implement Material-style delegate for CalendarView" into lmp-mr1-dev 2014-11-19 23:51:34 +00:00
Alan Viverette
d8dd5100f4 Merge "Fix several small layout and color issues" into lmp-mr1-dev 2014-11-19 23:50:00 +00:00
Dirk Dougherty
a79acc0315 Doc change: localized content.
Change-Id: I5440fe8d6003bdd8e3cb4c44bacea422f322c33b
2014-11-19 23:44:05 +00:00
Chet Haase
0d1c27a713 Fix seeking and scaled duration behavior
The animation scaled was not being factored in early enough in the
activity lifecycle. Also, setCurrentPlaytTime() was not accounting for
the scaled duration correctly. Finally, added setCurrentFraction() as
a more general-purpose seeking facility.

Issue #18222006 Animator duration scale ignored in some situations
Issue #17951668 add ability to seek fraction, not just time

Change-Id: Idad401f5ff5026d7046c36eee09d78a4793215dc
2014-11-19 15:29:47 -08:00
smain@google.com
6e08d30da4 am 555d6e70: am 2411fe88: Merge "add the helpouts widget and necessary tags to "wave 2" of the Getting Started classes" into lmp-docs
* commit '555d6e700a84018e1af2e7cf6c58ca00f0611f5d':
  add the helpouts widget and necessary tags to "wave 2" of the Getting Started classes
2014-11-19 23:14:10 +00:00
smain@google.com
555d6e700a am 2411fe88: Merge "add the helpouts widget and necessary tags to "wave 2" of the Getting Started classes" into lmp-docs
* commit '2411fe88d7b11f628e5338bd8f314c98a9d45bb4':
  add the helpouts widget and necessary tags to "wave 2" of the Getting Started classes
2014-11-19 23:10:06 +00:00
smain@google.com
2411fe88d7 Merge "add the helpouts widget and necessary tags to "wave 2" of the Getting Started classes" into lmp-docs 2014-11-19 23:06:27 +00:00
Quddus Chong
a1e1890797 am 8428c114: am 9b822b96: docs: Added link to CarExtender class from Auto Getting Started doc.
* commit '8428c114ab58d7a5a11c72583a49d3e1d036623c':
  docs: Added link to CarExtender class from Auto Getting Started doc.
2014-11-19 23:05:59 +00:00
Deepanshu Gupta
ddc83dfa8f am 4104abf8: Merge "Fix setTextAppearance for styles with dots." into lmp-dev
* commit '4104abf875e16ad54c248ce602e573d2144732dd':
  Fix setTextAppearance for styles with dots.
2014-11-19 23:00:43 +00:00
Deepanshu Gupta
a0bc2e7e3c am 455654cf: Merge "LayoutLib: Stub AM/PM keycodes in Time Picker." into lmp-dev
* commit '455654cffdaebcbbd4fa33de5bb18fa2752d6c9a':
  LayoutLib: Stub AM/PM keycodes in Time Picker.
2014-11-19 23:00:39 +00:00
Quddus Chong
8428c114ab am 9b822b96: docs: Added link to CarExtender class from Auto Getting Started doc.
* commit '9b822b96aaf16ac4ad8e5a1c8da998fba2f3f404':
  docs: Added link to CarExtender class from Auto Getting Started doc.
2014-11-19 22:58:30 +00:00
xinhe
77bfacc6fe Merge "resolved conflicts for merge of 62a22d5b to lmp-mr1-dev(DO NOT MERGE)" into lmp-mr1-dev 2014-11-19 22:50:43 +00:00
Andrew Solovay
9ab79ccd34 docs: Bugfix & minor cleanup for "Providing Messaging for Auto"
Fixeds the gradle dependency line. Also added in Javadoc links for the
various support classes and methods, and other minor cleanup. See
first comment for doc stage location.

bug: 18439090

Change-Id: I7ccc892f38a644d68abc6d56d8d4377df5f864b0
2014-11-19 14:48:52 -08:00
Deepanshu Gupta
4104abf875 Merge "Fix setTextAppearance for styles with dots." into lmp-dev 2014-11-19 22:30:20 +00:00
Deepanshu Gupta
455654cffd Merge "LayoutLib: Stub AM/PM keycodes in Time Picker." into lmp-dev 2014-11-19 22:29:54 +00:00
Dianne Hackborn
ff17024e58 Fix issue with call backs from media process.
All but a few lines of this is for issue #16013164, which allowed
apps to do some operations as the media uid by having it call
back to them to open a file.  The problem here is with the tempory
identity stuff in the activity manager, allowing us to make the open
call as the original caller...  ideally we should figure out a way
to just get rid of all of that, but the solution here is actually
easier (even though it doesn't look it) -- we now hand a token over
to the openFile() call that it can use when doing permission checks
to say "yes I would like the check to be against whoever is responsible
for the open".  This allows us to do the uid remapping for only this
one specific set of permission checks, and nothing else.

Also fix issue #17487348: Isolated services can access system services
they shouldn't be able to.  Don't send any system service IBinder objects
down for the first initialization of an isolated process.

Change-Id: I3c70e16e0899d7eef0bae458e83958b41ed2b75e
2014-11-19 14:29:10 -08:00
Dianne Hackborn
4f0e4a9ada Add new empty app test entry points.
Change-Id: Ib899c95de6b7bb936d2114e86bec4c5aef5f7eda
2014-11-19 14:21:07 -08:00
George Mount
2db3bf5c49 Slide supports Gravity.START and Gravity.END.
Bug 18444396

Change-Id: Id7b82b44948e4501c2b4fb5302d22672fa20cd00
2014-11-19 14:14:53 -08:00
John Spurlock
c70a4ccf45 Merge "BatterySaver: Update disclosure string." into lmp-mr1-dev 2014-11-19 22:09:14 +00:00
xinhe
b4e8478a73 resolved conflicts for merge of 62a22d5b to lmp-mr1-dev(DO NOT MERGE)
Change-Id: I83bf149b4905b82e3787097c55b7d3cd026061dd
2014-11-19 14:04:23 -08:00
John Spurlock
a7b6a278d0 BatterySaver: Update disclosure string.
Bug: 18451615
Change-Id: Iea8c71a4ef1e3217953672b2a8691d612bacf8a9
2014-11-19 16:53:52 -05:00
Mathieu Chartier
7fc9176c8a Add zygote space to Dalvik Heap
Broken by
https://googleplex-android-review.git.corp.google.com/#/c/590612/

This change fixes it by correctly putting the zygote in Dalvik Heap
instead of Dalvik Other.

Bug: 18447855

Change-Id: I4a58480f1ef1eb17e760245d8690ce92e28ebea3
2014-11-19 13:43:40 -08:00
Jason Monk
2e982258f1 Merge "SysUI: Refactor the NetworkControllerImpl" into lmp-mr1-dev 2014-11-19 21:18:22 +00:00
Geoffrey Borggaard
db1e7fa097 Merge "Setting ADB_ENABLED may result in a SecurityException." into lmp-dev
automerge: e4590cf

* commit 'e4590cff5bbe581a1326abe68115b551585c43ff':
  Setting ADB_ENABLED may result in a SecurityException.
2014-11-19 20:50:12 +00:00
Eric Laurent
6368a7df18 AudioSystem JNI: fix AudioPortConfig mask usage
Bug: 18444838.
Change-Id: I9151538399001c719b9e0681c00d47a26928896c
2014-11-19 12:18:32 -08:00
Vinit Deshpande
800bf3ae6e Merge "Fix WPS docs for LABEL method" into lmp-mr1-dev 2014-11-19 20:17:22 +00:00
Alan Viverette
7573f496a1 Fix several small layout and color issues
Adjusts switch track asset for consistent alignment across DPI buckets,
adjusts edit text background. Lightens the "Light" theme action bar
color so that it doesn't blend in with the action bar shadow.

BUG: 18430444
BUG: 18356558
BUG: 18390994
Change-Id: I1d1e26239fa0c921a65e4ec8b5df0b0093b3989c
2014-11-19 11:59:24 -08:00
Geoffrey Borggaard
e4590cff5b Merge "Setting ADB_ENABLED may result in a SecurityException." into lmp-dev 2014-11-19 19:56:48 +00:00
xinhe
62a22d5b1f resolved conflicts for merge of 046f3843 to lmp-sprout-dev(DO NOT MERGE)
The change is already in MR1 branch

Change-Id: I4ae35a8f76fdc2d4b1cdf2773dc27ff2da85b5ff
2014-11-19 11:48:43 -08:00
Quddus Chong
9b822b96aa docs: Added link to CarExtender class from Auto Getting Started doc.
Change-Id: Ia446c969a7108d8964c22958cd501b083a84b9d3
2014-11-19 11:37:18 -08:00