148714 Commits

Author SHA1 Message Date
Jorim Jaggi
d7c1fae12e Don't scale notifications on Keyguard for devices < xxhdpi
Bug: 16824061
Change-Id: Iccccebcd17357764aef325df0cd220508fcf7403
2014-08-14 19:16:33 +00:00
Anish Athalye
ab08c6d38a Make LeadingMarginSpan2 behavior more consistent
This addresses b/16486549.

This change updates public documentation to specify the behavior of
LeadingMarginSpan2s. This change specifies what happens when a
LeadingMarginSpan2 is combined with other LeadingMarginSpans. This
behavior was not previously documented.

LeadingMarginSpan2s specify the number of lines used for the leading
margin. When laying out and rendering, for all LeadingMarginSpans, the
first line margin is applied for the number of lines specified by the
LeadingMarginSpan2.

Previously, this behavior was slightly buggy -- the LeadingMarginSpan2
affected all LeadingMarginSpans when laying out text, but not when
rendering.

This change is designed to cause the least amount of breakage in
existing code while achieving consistency with the way
LeadingMarginSpan2 is handled in layout and drawing.

For the most common use of LeadingMarginSpan2 -- getting a multi-line
first margin in the first paragraph of text in a layout -- this should
cause no change in behavior. For any other uses, the old (buggy)
implementation most likely did not exhibit correct behavior to begin
with, so developers were most likely not relying on that functionality.

Change-Id: I6f69df09c0130e703458e65bf3eaac4a905df56e
2014-08-14 11:58:37 -07:00
Dan Sandler
b120ac5b69 No need for drawing caches on notifications.
They just chew up memory.

Bug: 10918599
Change-Id: I99761846e88b7ea25270d7a70d118963b1d72e5f
2014-08-14 18:52:30 +00:00
Adrian Roos
48fe9e440b am cdc67b67: Label user switcher button for accessibility
* commit 'cdc67b67f0b1381ff13c7df45acd55b25373c586':
  Label user switcher button for accessibility
2014-08-14 18:43:46 +00:00
Adrian Roos
1de02ee3ea Label user switcher button for accessibility
Bug: 15692931
Change-Id: I4add4c21fd0ed95cc3a49e2841173589f37db08a
2014-08-14 18:39:15 +00:00
RoboErik
085d6f7693 am bc0d11a6: Merge "Pipe caller\'s identity through volume methods" into lmp-dev
* commit 'bc0d11a69e8de61fec1698c33dd2a30be952fbdd':
  Pipe caller's identity through volume methods
2014-08-14 18:13:30 +00:00
Fabrice Di Meglio
1d615fbf2c am 25c2863e: Fix bug #16957601 Stability: ISE in Settings: Observer com.android.settings. SettingsPreferenceFragment@273c8fdb was not registered
* commit '25c2863ef72dc3044d68c6b58a54f6b67b9d918b':
  Fix bug #16957601 Stability: ISE in Settings: Observer com.android.settings. SettingsPreferenceFragment$1@273c8fdb was not registered
2014-08-14 18:04:32 +00:00
Winson Chung
11f359041e am 91f8e91e: Merge "Anchoring the front most task to make the dismiss animation more stable. (Bug 16939699)" into lmp-dev
* commit '91f8e91ea32e4456b0c216f6300f867386959a46':
  Anchoring the front most task to make the dismiss animation more stable. (Bug 16939699)
2014-08-14 18:04:28 +00:00
Fabrice Di Meglio
b1a50f2dff Fix bug #16957601 Stability: ISE in Settings: Observer com.android.settings.
SettingsPreferenceFragment$1@273c8fdb was not registered

- add onUnbindPreferences() call to match onBindPreferences()
- this new method is @hide so it does not impact the APIs

Change-Id: Iee0ab8a4ecc2046f89fb96cc52af150e835f658c
2014-08-14 18:00:11 +00:00
Jae Seo
d72c0c4ccb am 8b6c899b: Merge "TIF: fix IOException at PersistentDataStore.save()" into lmp-dev
* commit '8b6c899b77e831285f504f17e29849f084c1c329':
  TIF: fix IOException at PersistentDataStore.save()
2014-08-14 17:44:06 +00:00
Jae Seo
7b7ce1586e am 5152ff49: Merge "TIF: Rename R.attr.contentRatingSystemXml and fix documentation" into lmp-dev
* commit '5152ff49dad6517759902ecdc00479af36ea3808':
  TIF: Rename R.attr.contentRatingSystemXml and fix documentation
2014-08-14 17:39:25 +00:00
Amit Mahajan
d640839ff6 am cb8fce42: Merge "Revert "Revert "add apn setting parameters, and set apn parameters to bp""" into lmp-dev
* commit 'cb8fce42d218b191b3b6911d6218f49933ef9ba2':
  Revert "Revert "add apn setting parameters, and set apn parameters to bp""
2014-08-14 17:39:19 +00:00
RoboErik
5a97e61103 am cf7e33d3: Merge "Remove REMOTE_STREAM_MUSIC references from AudioService" into lmp-dev
* commit 'cf7e33d3c6cc800b11fc40b847db42bc34410b1d':
  Remove REMOTE_STREAM_MUSIC references from AudioService
2014-08-14 17:39:14 +00:00
Selim Cinek
42c4f9269a am b75adcf0: Merge "Fixed a NPE during setup wizard" into lmp-dev
* commit 'b75adcf03b56d8c81231cc9f1734661539bf912c':
  Fixed a NPE during setup wizard
2014-08-14 17:34:51 +00:00
RoboErik
98085abc71 am 9d006c55: Merge "Post MediaSessionManager callbacks to the caller\'s thread" into lmp-dev
* commit '9d006c55a1d1750dba2f648aa680c3a8634a0bd8':
  Post MediaSessionManager callbacks to the caller's thread
2014-08-14 17:16:46 +00:00
RoboErik
084bed4d73 am b11490fb: Merge "Add an onSessionDestroyed callback to MediaController.Callback" into lmp-dev
* commit 'b11490fb8f300e1f44223b03f20f7efa943d573b':
  Add an onSessionDestroyed callback to MediaController.Callback
2014-08-14 17:09:01 +00:00
RoboErik
985ab5fbe5 am 098e4e09: Merge "Fix dates on copywrite in new test code" into lmp-dev
* commit '098e4e09a0a9320fb9121e6d5596efdbadd2ac0d':
  Fix dates on copywrite in new test code
2014-08-14 17:08:56 +00:00
Jose Lima
406e4333f2 am bd2f1793: Make TranslucentConversionListener a SystemApi
* commit 'bd2f17932b96cad3f070a5078290f70cb1f387f4':
  Make TranslucentConversionListener a SystemApi
2014-08-14 17:04:43 +00:00
Chet Haase
9fde9a250f Merge "ActionBarOverlay needs to be focusable" into lmp-dev 2014-08-14 16:46:52 +00:00
Jeff Sharkey
82d6d337b3 Merge "Some networks may have null ifaces, I guess?" into lmp-dev 2014-08-14 16:46:52 +00:00
Jeff Sharkey
9da2f1e007 Some networks may have null ifaces, I guess?
Seems like a bug further upstream, but guard ourselves against it
for now.

Bug: 17033841
Change-Id: Id0e5895c3389b63d4e34b1fb064efef8b72cd609
2014-08-14 22:42:27 +00:00
Adam Lesinski
d7df9d7b38 Merge "Fix aapt dump for APKs with no resources" into lmp-dev 2014-08-14 16:46:52 +00:00
Chris Craik
27f116195c Merge "Fix nine patch outline radius computation" into lmp-dev 2014-08-14 16:46:52 +00:00
Chris Craik
47d8623082 Fix nine patch outline radius computation
bug:16852714
Change-Id: I475154c0f324fd2e2c8991415e0d8240c75663d8
2014-08-15 00:41:09 +00:00
Adam Lesinski
2a481286fc Merge "Ensure that split names are valid" into lmp-dev 2014-08-14 16:46:52 +00:00
Adam Lesinski
6240840387 Ensure that split names are valid
Generate valid split names for resource splits.
Validate split names for features.

Change-Id: I3040438af0156778c2bd66ddeffdf62fe9dcc9fc
2014-08-14 19:29:47 +00:00
Adam Powell
21dbab14f4 Merge "Show checkmarks at the start of material AlertDialog list items" into lmp-dev 2014-08-14 16:46:52 +00:00
Adam Powell
16f2b90d6a Show checkmarks at the start of material AlertDialog list items
Also fix a bug in parsing CheckedTextView tinting attributes

Bug 16552638

Change-Id: I20d41b6f6d418fdc115108d31f4f463e371794d2
2014-08-14 13:11:12 -07:00
Jae Seo
82324ec662 Merge "TIF: fix IOException at PersistentDataStore.save()" into lmp-dev 2014-08-14 16:46:52 +00:00
Wonsik Kim
7ed8901f12 TIF: fix IOException at PersistentDataStore.save()
Bug: 17018435
Change-Id: Ic999aaf59ae942ee8279576ec1e2ce2fa62bd6e0
2014-08-14 10:06:12 -07:00
RoboErik
5ca4a78e32 Merge "Post MediaSessionManager callbacks to the caller's thread" into lmp-dev 2014-08-14 16:46:52 +00:00
Torne (Richard Coles)
5ae4446993 am ca6c7cb1: Merge "Store the WebView\'s package info." into lmp-dev
* commit 'ca6c7cb19131de999bab89b524b0d09fdb8a6951':
  Store the WebView's package info.
2014-08-14 16:17:15 +00:00
Jose Lima
14914858a0 Make TranslucentConversionListener a SystemApi
Change-Id: I59a93e1e040fdbaa9ef108b31e08e4553ba82ae1
2014-08-14 09:15:17 -07:00
RoboErik
b05ea7bb28 Merge "Add an onSessionDestroyed callback to MediaController.Callback" into lmp-dev 2014-08-14 16:10:21 +00:00
RoboErik
e7ba237ce4 Merge "Fix dates on copywrite in new test code" into lmp-dev 2014-08-14 16:10:21 +00:00
Jeff Sharkey
9da0bb60e4 am 67ec007c: Fix javadoc on PROTECTION_FLAG_APPOP.
* commit '67ec007c8e2fabe19ae1ad9bf369ccede4c96d54':
  Fix javadoc on PROTECTION_FLAG_APPOP.
2014-08-14 16:08:45 +00:00
Jeff Sharkey
e9b78fdbbe Fix javadoc on PROTECTION_FLAG_APPOP.
Change-Id: I36e339ac2c6e6842441fd2572b0b8cda24bd34ca
2014-08-14 16:01:37 +00:00
Doug Zongker
5b101a7c45 am 2b13359a: Merge "@hide RECOVERY permission" into lmp-dev
* commit '2b13359aa8b7deb2cf4c46f0673159fe4d8bfa22':
  @hide RECOVERY permission
2014-08-14 14:29:58 +00:00
Adrian Roos
b870d1f433 am af71a2db: Merge "Add content description for brightness slider" into lmp-dev
* commit 'af71a2db633fac49228b613c5c1b1c4101bb9f36':
  Add content description for brightness slider
2014-08-14 14:17:51 +00:00
Jorim Jaggi
32bf48856e am c0082f67: Make string consistent with Android writing guidelines
* commit 'c0082f6742ece8f0f8bf3c0f696c5db68b8afb4e':
  Make string consistent with Android writing guidelines
2014-08-14 14:05:58 +00:00
Jorim Jaggi
011c2723a0 am 8b778c13: Make clock larger on tablets
* commit '8b778c138b7c7f0644e9d2f76b01c0676099cba5':
  Make clock larger on tablets
2014-08-14 12:33:46 +00:00
Jorim Jaggi
57647c1603 Make string consistent with Android writing guidelines
Bug: 17018250
Change-Id: I1ab736bddc81e4741995175db62a7d0ff459a940
2014-08-14 12:33:45 +00:00
Jorim Jaggi
bcd5613f41 am 8cadb460: Use different unlock animation when going to full shade
* commit '8cadb460875509c578e3d86d77046af9e0d299a9':
  Use different unlock animation when going to full shade
2014-08-14 12:33:41 +00:00
Jorim Jaggi
e210cc8e94 Make clock larger on tablets
Also fixes "Large text" option on lockscreen and fixes Keyguard
layout on smaller devies. In addition, make sure that landscape
layout for phones isn't terrible broken (it's not pretty but
it works).

Bug: 14994495
Bug: 15589636
Bug: 16799035
Change-Id: I9ab76af41cbecd1a727d019e422765efbbd3276d
2014-08-14 12:30:14 +00:00
Jorim Jaggi
84a3e7aacf Use different unlock animation when going to full shade
Also fixes a bug that the notify flag was not reset, and fix the
transition for the phone/camera affordance (in these cases, no
animation is needed).

Bug: 15991916
Change-Id: Idbb4fa40f86bda597cd66cc38da838ef4f75514d
2014-08-14 12:29:25 +00:00
Yuncheol Heo
0344666857 am d335bbe9: Merge "Implement MHL RAP transmission." into lmp-dev
* commit 'd335bbe995e2e76fede68b99b3c9ddc89e152712':
  Implement MHL RAP transmission.
2014-08-14 10:05:33 +00:00
Selim Cinek
fa456e8a40 am f266d3b3: Fixed unnecessary layouting on wifi signal changes
* commit 'f266d3b38fab70a48a0570028a5d3ffa0e13b58d':
  Fixed unnecessary layouting on wifi signal changes
2014-08-14 09:29:13 +00:00
Selim Cinek
f645761f47 Fixed unnecessary layouting on wifi signal changes
This could cause a layout every few hundred ms, even
when the QS panel was closed.

Bug: 17001532
Change-Id: I3f2b9b9621dced7f5b6fff67d24efc7444b0a9ad
2014-08-14 09:24:21 +00:00
Lajos Molnar
4456ff52ec am 266abcaf: Merge "media: release allocated strings on error" into lmp-dev
* commit '266abcaff74f10909412489951fe36bb13cd1ab4':
  media: release allocated strings on error
2014-08-14 07:41:16 +00:00
Prerepa Viswanadham
29b2f540f2 am d58dee86: Protect from malformed advt with invalid manf_id/data combo
* commit 'd58dee869380ee89eb29555cdf8a52e4d165e770':
  Protect from malformed advt with invalid manf_id/data combo
2014-08-14 05:49:53 +00:00