174598 Commits

Author SHA1 Message Date
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
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
8e52c46c0e am 6973a63e: am ec2d8d0b: am ea8ff822: Merge "Fix and be more explicit about plurals best practices."
* commit '6973a63e967a8c913afa603b312ec9516f19d4fb':
  Fix and be more explicit about plurals best practices.
2014-11-20 00:31:54 +00:00
Elliott Hughes
6973a63e96 am ec2d8d0b: am ea8ff822: Merge "Fix and be more explicit about plurals best practices."
* commit 'ec2d8d0bb8a36355b8d687c660b5c64e4aebd9b8':
  Fix and be more explicit about plurals best practices.
2014-11-20 00:27:29 +00: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
Elliott Hughes
ec2d8d0bb8 am ea8ff822: Merge "Fix and be more explicit about plurals best practices."
* commit 'ea8ff822121cde16344ba2db194a5f17283fa740':
  Fix and be more explicit about plurals best practices.
2014-11-20 00:22:37 +00:00
Elliott Hughes
ea8ff82212 Merge "Fix and be more explicit about plurals best practices." 2014-11-20 00:19:45 +00:00
Elliott Hughes
1fe7d496db 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
Change-Id: I09eb39ea6986850c3af28cca3052d319e3c97705
2014-11-19 16:18:45 -08:00
Pavel Zhamaitsiak
0208d3c823 am c7ffe5e2: Merge "TTY over IMS: Add messages about change of TTY mode in the repote device" into lmp-mr1-dev
* commit 'c7ffe5e2febbdb5abc3da98c6299fde8a61aa106':
  TTY over IMS: Add messages about change of TTY mode in the repote device
2014-11-20 00:07:55 +00:00
Chet Haase
a79d2e8664 am 85603a7f: Merge "Fix seeking and scaled duration behavior" into lmp-mr1-dev
* commit '85603a7faf0a8067803ae6424bc590f6e2a17e07':
  Fix seeking and scaled duration behavior
2014-11-20 00:07:50 +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
Eric Laurent
46240800f1 am a582bd4b: Merge "AudioSystem JNI: fix AudioPortConfig mask usage" into lmp-mr1-dev
* commit 'a582bd4b42e6bd52cb611bd551d0b60ba1ed664f':
  AudioSystem JNI: fix AudioPortConfig mask usage
2014-11-20 00:02:12 +00:00
Chet Haase
85603a7faf Merge "Fix seeking and scaled duration behavior" into lmp-mr1-dev 2014-11-20 00:02:09 +00:00
Chris Craik
31b4d9fbc8 Merge "Fix missing ellipsis when just one character is truncated" 2014-11-19 23:57:51 +00:00
Alan Viverette
4247f06ba4 am b130d596: Merge "Remove underline and search icon from ActionBar search view" into lmp-mr1-dev
* commit 'b130d5961cb154e8821cfa42fdd820d67497d84d':
  Remove underline and search icon from ActionBar search view
2014-11-19 23:57:42 +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
6a6b828090 am 552eca1a: Merge "Implement Material-style delegate for CalendarView" into lmp-mr1-dev
* commit '552eca1a713ab8f6c60d6ec0d350ef33813cd25b':
  Implement Material-style delegate for CalendarView
2014-11-19 23:53:25 +00:00
Alan Viverette
21aaf98f6f am d8dd5100: Merge "Fix several small layout and color issues" into lmp-mr1-dev
* commit 'd8dd5100f453b0e82b75c56651889eca03414696':
  Fix several small layout and color issues
2014-11-19 23:53:17 +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
Raph Levien
93e48e8cf1 Fix missing ellipsis when just one character is truncated
The "moreChars" test in StaticLayout's generate method would evaluate to
false when the last character in a word caused the break. This in turn
suppressed the ellipsis in this case. The proposed fix is always to set
moreChars true in the code path where the line is broken because more
text wouldn't fit.

Bug: 17738112
Change-Id: Ifa1a69841ca952da4d1937dc8326778179b026b3
2014-11-19 15:39:34 -08: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
xinhe
29b90ae5fd am 77bfacc6: Merge "resolved conflicts for merge of 62a22d5b to lmp-mr1-dev(DO NOT MERGE)" into lmp-mr1-dev
* commit '77bfacc6fe0816e97be3a0f9a824759629d1f9eb':
  Add configuration to control converting sms destination number
2014-11-19 22:55:37 +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
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
Vinit Deshpande
33f97d8304 am 77fe4c96: am a34f3d30: am 800bf3ae: Merge "Fix WPS docs for LABEL method" into lmp-mr1-dev
* commit '77fe4c96b75550e5d22a294314b05beabd55e97a':
  Fix WPS docs for LABEL method
2014-11-19 22:21:38 +00:00
Dianne Hackborn
4f0e4a9ada Add new empty app test entry points.
Change-Id: Ib899c95de6b7bb936d2114e86bec4c5aef5f7eda
2014-11-19 14:21:07 -08:00
Mathieu Chartier
96555a00f8 am 8415672e: am 1073f202: am 36c7f4b6: Merge "Add zygote space to Dalvik Heap"
* commit '8415672e18cc6666d040435105fc7566ca525af4':
  Add zygote space to Dalvik Heap
2014-11-19 22:17:21 +00:00
George Mount
2db3bf5c49 Slide supports Gravity.START and Gravity.END.
Bug 18444396

Change-Id: Id7b82b44948e4501c2b4fb5302d22672fa20cd00
2014-11-19 14:14:53 -08:00
Vinit Deshpande
77fe4c96b7 am a34f3d30: am 800bf3ae: Merge "Fix WPS docs for LABEL method" into lmp-mr1-dev
* commit 'a34f3d30c6a7a4b8863175f009935c61ace42b4e':
  Fix WPS docs for LABEL method
2014-11-19 22:13:18 +00:00
John Spurlock
61f4f68571 am c70a4ccf: Merge "BatterySaver: Update disclosure string." into lmp-mr1-dev
* commit 'c70a4ccf45f669c07345cd438d68747d0558fd49':
  BatterySaver: Update disclosure string.
2014-11-19 22:12:06 +00:00
Mathieu Chartier
8415672e18 am 1073f202: am 36c7f4b6: Merge "Add zygote space to Dalvik Heap"
* commit '1073f2023efcc6cbd099358677d3e87ee996486d':
  Add zygote space to Dalvik Heap
2014-11-19 22:09:29 +00:00
Ignacio Solla
81b104b3a8 am b85b969b: (-s ours) am c48a7bb1: (-s ours) am 1228e58e: (-s ours) Merge "[WebView] Interface to access hidden APIs. (DO NOT MERGE)"
* commit 'b85b969b6076356505f75448e2703b0a33ba5bbf':
  [WebView] Interface to access hidden APIs. (DO NOT MERGE)
2014-11-19 22:09:22 +00:00
John Spurlock
c70a4ccf45 Merge "BatterySaver: Update disclosure string." into lmp-mr1-dev 2014-11-19 22:09:14 +00:00
Ignacio Solla
b85b969b60 am c48a7bb1: (-s ours) am 1228e58e: (-s ours) Merge "[WebView] Interface to access hidden APIs. (DO NOT MERGE)"
* commit 'c48a7bb12d1e39dff5b9d28805e0c75bca9149fa':
  [WebView] Interface to access hidden APIs. (DO NOT MERGE)
2014-11-19 22:05:15 +00:00
Mathieu Chartier
1073f2023e am 36c7f4b6: Merge "Add zygote space to Dalvik Heap"
* commit '36c7f4b67326bad547f16aa6e72140bd839ab28d':
  Add zygote space to Dalvik Heap
2014-11-19 22:04:28 +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
Ignacio Solla
c48a7bb12d am 1228e58e: (-s ours) Merge "[WebView] Interface to access hidden APIs. (DO NOT MERGE)"
* commit '1228e58e88ac0ae2abb698ed3f933ac44a8851ee':
  [WebView] Interface to access hidden APIs. (DO NOT MERGE)
2014-11-19 21:59:37 +00:00
Mathieu Chartier
36c7f4b673 Merge "Add zygote space to Dalvik Heap" 2014-11-19 21:58:17 +00:00
Mathieu Chartier
99f628286f Add zygote space to Dalvik Heap
Broken by
https://android-review.googlesource.com/#/c/115446/

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

Bug: 18447855

(cherry picked from commit 7fc9176c8a2102fb5be3668404bd15feb6878c89)

Change-Id: I9293e5d3f55ccfb2c93c6aacbf6abc164eacb10b
2014-11-19 13:54:00 -08:00
John Spurlock
a7b6a278d0 BatterySaver: Update disclosure string.
Bug: 18451615
Change-Id: Iea8c71a4ef1e3217953672b2a8691d612bacf8a9
2014-11-19 16:53:52 -05:00
Ignacio Solla
1228e58e88 Merge "[WebView] Interface to access hidden APIs. (DO NOT MERGE)" 2014-11-19 21:53:43 +00:00
Mathieu Chartier
78f235db2d am 7fc9176c: Add zygote space to Dalvik Heap
* commit '7fc9176c8a2102fb5be3668404bd15feb6878c89':
  Add zygote space to Dalvik Heap
2014-11-19 21:51:35 +00:00