150746 Commits

Author SHA1 Message Date
Jorim Jaggi
7a79b33039 am 35d00b45: Update paddings for more card to match notification layouts
* commit '35d00b452b8417d920f855b914559695a3a73d79':
  Update paddings for more card to match notification layouts
2014-08-29 16:47:48 +00:00
Jorim Jaggi
6b58ab5809 Update paddings for more card to match notification layouts
Bug: 15437369
Change-Id: I6e9b1ce420d1d7217a455519a746ad28ed1fa75d
2014-08-29 16:40:06 +00:00
Jorim Jaggi
b30c615ff2 am 99a9436c: Merge "Fix various problems with notification layouts" into lmp-dev
* commit '99a9436c4f76e00750e62d180e48644ea2e60a83':
  Fix various problems with notification layouts
2014-08-29 14:00:51 +00:00
Jorim Jaggi
e11ac78ccd Merge "Fix various problems with notification layouts" into lmp-dev 2014-08-29 13:51:23 +00:00
Neil Fuller
0ecef43e39 am 245eaa25: Merge "Fixing android.text.format.Time for non-English locales" into lmp-dev
* commit '245eaa25b3c9349660a6e24cd2d0e46a7b3381b4':
  Fixing android.text.format.Time for non-English locales
2014-08-29 13:49:03 +00:00
Neil Fuller
7e19fb0d69 Merge "Fixing android.text.format.Time for non-English locales" into lmp-dev 2014-08-29 13:36:02 +00:00
Jorim Jaggi
d05aa3ee47 Fix various problems with notification layouts
- Fix end padding for inbox notification.
- Fix that actions in BigText were clipped off.
- Fix that second line was never shown.
- Fix top padding in combination with badges.
- Fix that actions in InboxStyle were clipped off.
- Make badge style consistent with small icon.
- Fix that third line on Inbox/BigText is always 12sp (before it was
  sometimes 14sp)

Bug: 17315502
Bug: 17285898
Bug: 17311783
Bug: 17200814
Change-Id: Ic7e5e4fa07b6302a76631d0238b88239871acf49
2014-08-29 15:26:50 +02:00
Neil Fuller
16566656cd Fixing android.text.format.Time for non-English locales
The test fixes for bug 17262063 showed up a real issue for
non-English locales with the Time.format() method:
If the Android string resources that contain the pattern use
non-ASCII characters then a '?' would be output instead of
those characters.

For example, in France the pattern for '%c' includes a 'à'
(a with a grave accent) and Japan includes 日.

The problem was due to converting the pattern to bytes using
the US_ASCII character set, which turns non-ASCII characters
into '?'. The code has been changed to use char throughout
and avoid bytes.

Internal documentation has been improved.

Some calls to modifyAndAppend() have been replaced with a
direct call to outputBuilder.append() because the
modify step is guaranteed to a no-op for the literals given.

The formatter has been changed to use Locale.US because it
is only used for outputting numbers. It has been renamed
to make this more obvious and the locale field has been
removed.

Bug: 17262063

(cherry picked from commit 788cb18f652fca380acefdadce305415bc0602b0)

Change-Id: I96ee158fbeb01827f0bbf022631625416f872fdb
2014-08-29 14:10:35 +01:00
Kenny Guy
4f9cbd2a2b am 21e106f8: Merge "Load ApplicationInfo for correct user." into lmp-dev
* commit '21e106f8c1578767a829bd8895b8d101af3b4f8d':
  Load ApplicationInfo for correct user.
2014-08-29 11:10:09 +00:00
Kenny Guy
d5936307fb Merge "Load ApplicationInfo for correct user." into lmp-dev 2014-08-29 11:01:04 +00:00
Yohei Yukawa
0f93377382 am bbee6beb: Merge "Reject request when any unknown flag is speficied" into lmp-dev
* commit 'bbee6bebdc6d03eb3202c3c4e63e42473be98edc':
  Reject request when any unknown flag is speficied
2014-08-29 09:19:14 +00:00
Yohei Yukawa
1728879d9c Merge "Reject request when any unknown flag is speficied" into lmp-dev 2014-08-29 08:22:58 +00:00
Yohei Yukawa
72d35fa829 Reject request when any unknown flag is speficied
Currently EditableInputConnection#requestUpdateCursorAnchorInfo
never returns false unless InputMethodManager is somehow
unavailable.

This is problematic, especifially when we add a new flag to
EditableInputConnection#requestUpdateCursorAnchorInfo in a
future release.

With this CL, #requestUpdateCursorAnchorInfo does nothing and
immediately returns false when one ore more unknown bits are
specified.

BUG: 17324806
Change-Id: I5601714b481e8efa0ad3337c0d093cfcf55eade3
2014-08-29 00:57:19 -07:00
Jeff Sharkey
232802e0e5 am f1ddfd1e: Keep tests building.
* commit 'f1ddfd1ea8773c409a3541f279f1d3c87e010f9c':
  Keep tests building.
2014-08-29 07:36:48 +00:00
Jeff Sharkey
73a8217803 Keep tests building.
Bug: 17183379
Change-Id: I7f52af3201975e8c626a6c6d7f508fd8d006b204
2014-08-29 00:10:14 -07:00
Jeff Sharkey
4b21cb68d7 am 78c14368: Merge "FileBridge needs to keep strong reference to PFD." into lmp-dev
* commit '78c14368eaceaa625a7bad91b6a2718670d1309e':
  FileBridge needs to keep strong reference to PFD.
2014-08-29 07:00:54 +00:00
Jeff Sharkey
c62f2e1bb7 Merge "FileBridge needs to keep strong reference to PFD." into lmp-dev 2014-08-29 06:52:55 +00:00
Jungshik Jang
c018183029 am 92be4d75: Merge "Fix system audio mode failure in boot up" into lmp-dev
* commit '92be4d754ef75cf4376323e05ea7dab1d93f90d9':
  Fix system audio mode failure in boot up
2014-08-29 06:35:43 +00:00
Sandeep Siddhartha
3e3a7a4c08 am cffbcb8a: Merge "Address API review comments" into lmp-dev
* commit 'cffbcb8aa117177b24c1395e728c0afc53d64882':
  Address API review comments
2014-08-29 06:29:12 +00:00
Jungshik Jang
f8a823b05a Merge "Fix system audio mode failure in boot up" into lmp-dev 2014-08-29 06:28:14 +00:00
Sandeep Siddhartha
503a102143 Merge "Address API review comments" into lmp-dev 2014-08-29 06:22:08 +00:00
Adam Lesinski
88fff68115 am 995c771f: Merge "Fix memory leak in ResTable" into lmp-dev
* commit '995c771f7aef835972a5044f267a2d201449efab':
  Fix memory leak in ResTable
2014-08-29 05:40:25 +00:00
Adam Lesinski
a9aa9f0458 Merge "Fix memory leak in ResTable" into lmp-dev 2014-08-29 05:27:49 +00:00
Terry Heo
8a67d3f8e3 am d3f23462: Merge "CEC: Implement dump() of HdmiControlService" into lmp-dev
* commit 'd3f234629ac7d693ced141ade1941d726aa453cd':
  CEC: Implement dump() of HdmiControlService
2014-08-29 05:22:21 +00:00
Terry Heo
97bf45464c Merge "CEC: Implement dump() of HdmiControlService" into lmp-dev 2014-08-29 05:12:57 +00:00
Jeff Sharkey
9a1507aa10 FileBridge needs to keep strong reference to PFD.
Even though we've grabbed the underlying FD, the PFD could be GC'ed
and when finalized it would end up closing the underlying FD.  This
fix ties the PFD object lifecycle to the returned OutputStream.

Bug: 17183379
Change-Id: Ibee8f4cf78fee357181a250d15f2a653294b2877
2014-08-28 20:38:10 -07:00
Adam Powell
31ffb26a31 am ae806d87: Merge "Doc improvements for new Toolbar changes, now with attributes." into lmp-dev
* commit 'ae806d87bd321826f1dec904e7aff6d02d501689':
  Doc improvements for new Toolbar changes, now with attributes.
2014-08-29 03:37:49 +00:00
Adam Powell
b1b5ee6029 am cbed634a: Merge "Don\'t add title margins during to Toolbar layout if titles don\'t fit" into lmp-dev
* commit 'cbed634abd495e6f14b45c6fcfa3b63f2e68e6be':
  Don't add title margins during to Toolbar layout if titles don't fit
2014-08-29 03:37:42 +00:00
Adam Powell
258f50064c am 31192ba8: Merge "Add xml attributes to Toolbar for navigation icon" into lmp-dev
* commit '31192ba8a6bdce3e686ecaddfb8d393fea39d884':
  Add xml attributes to Toolbar for navigation icon
2014-08-29 03:37:35 +00:00
Adam Lesinski
9e05bd189b am e0cfbb61: Merge "Stamp platform version code into app Apks" into lmp-dev
* commit 'e0cfbb61df1b622763ec7cf8d54e0e7cf89599d8':
  Stamp platform version code into app Apks
2014-08-29 03:35:47 +00:00
Jeff Tinker
1d015f57a3 am b8ccb705: Merge "Fix exception message string formatting in MediaDrm" into lmp-dev
* commit 'b8ccb705fe5f11e4a1aa88cb02f2e5f9b7d5108d':
  Fix exception message string formatting in MediaDrm
2014-08-29 03:35:42 +00:00
Svetoslav
2d3cac2128 am 6a353ad0: Merge "Print UI polish." into lmp-dev
* commit '6a353ad0caaaf634804c18467838a5804c2abe06':
  Print UI polish.
2014-08-29 03:35:20 +00:00
Dongwon Kang
cfe06fa3df am 2e585e88: Merge "TIF: update the default value documentation of Channels.COLUMN_BROWSABLE." into lmp-dev
* commit '2e585e886e33cebd8c06a5f8678758a19c3cd9ab':
  TIF: update the default value documentation of Channels.COLUMN_BROWSABLE.
2014-08-29 03:03:08 +00:00
Dianne Hackborn
0e4a15dbfb am 1fee525a: Merge "Debug issue #17310019: pause when launching settings" into lmp-dev
* commit '1fee525a509a67adcf6b5a484f0072a72f340bad':
  Debug issue #17310019: pause when launching settings
2014-08-29 03:03:03 +00:00
Svetoslav
fbf98e5f52 am 8308a3cb: Merge "Fix app widget serices not being unbound." into lmp-dev
* commit '8308a3cb31c31b4587a91f02424ff0c1106bb1c0':
  Fix app widget serices not being unbound.
2014-08-29 03:02:58 +00:00
Alex Light
8fc4f51add am a2f18dc1: Remove obsolete pruneDexCache
* commit 'a2f18dc1a8d1aac9cf0a8cecb92f76b43a3c4e7e':
  Remove obsolete pruneDexCache
2014-08-29 03:02:53 +00:00
Alex Light
f8c3fb9daf am 19f3d22f: Change /dalvik-cache to be owned by root.
* commit '19f3d22f09fbaa1500d953b6e23e182c41d4c9da':
  Change /dalvik-cache to be owned by root.
2014-08-29 03:02:49 +00:00
Dongwon Kang
20c6367810 am 6b9575be: Merge "TIF: cosmetic changes for consistency." into lmp-dev
* commit '6b9575be3c52493041d28a929e1bf04e96233bac':
  TIF: cosmetic changes for consistency.
2014-08-29 03:02:44 +00:00
RoboErik
9a0757db73 am 85f23210: Fix test build
* commit '85f232102ec2a0554f9b431da3784bd75f1919a1':
  Fix test build
2014-08-29 03:02:38 +00:00
Jeff Sharkey
a82c1cf5f5 am f894a0d3: Merge "Teach API lint about package layering!" into lmp-dev
* commit 'f894a0d39112077e8f1e2ca67fa4be96d5ca4c79':
  Teach API lint about package layering!
2014-08-29 03:02:30 +00:00
Adam Powell
f825e0c561 Merge "Doc improvements for new Toolbar changes, now with attributes." into lmp-dev 2014-08-29 02:49:47 +00:00
Adam Powell
d760249623 Doc improvements for new Toolbar changes, now with attributes.
Change-Id: I3f67899b4f9ab9ae4ab4f5dcbc853c08d7867947
2014-08-28 19:35:36 -07:00
Adam Powell
b051ef62af Merge "Don't add title margins during to Toolbar layout if titles don't fit" into lmp-dev 2014-08-29 02:26:24 +00:00
Adam Powell
0c1dc53e74 Merge "Add xml attributes to Toolbar for navigation icon" into lmp-dev 2014-08-29 02:25:49 +00:00
Adam Powell
4c9765a654 Don't add title margins during to Toolbar layout if titles don't fit
When all space is consumed in a Toolbar by other views the special
shared title/subtitle margins shouldn't be added to the running
position during layout.

Bug 17253638

Change-Id: I179fcbf286fa68fd8df6e25bb1879bccbf1532ed
2014-08-28 19:21:18 -07:00
Adam Lesinski
b32063822b Merge "Stamp platform version code into app Apks" into lmp-dev 2014-08-29 01:54:15 +00:00
Jeff Tinker
67085e1cac Merge "Fix exception message string formatting in MediaDrm" into lmp-dev 2014-08-29 01:45:25 +00:00
Adam Lesinski
7f668d03ce Fix memory leak in ResTable
We were basically never cleaning any of the
cached bags... oops :S

Bug:16683269
Change-Id: Ic0a44218f660e16fbaac8df1d61ce6f1fdb0018b
2014-08-28 18:32:32 -07:00
Adam Powell
7c13bc2a70 Add xml attributes to Toolbar for navigation icon
...to match the existing setters/getters.

Change-Id: I9814c5d7f2aa0559c93fbb74881e29064473f186
2014-08-28 18:19:59 -07:00
Svetoslav
85933eb18b Merge "Print UI polish." into lmp-dev 2014-08-29 01:18:00 +00:00