Commit Graph

2189 Commits

Author SHA1 Message Date
Chris Wren
e1cb5e0674 am 6145ec08: am 1243b967: Merge "rework big text to handle gmail use case" into jb-dev
* commit '6145ec08372940e3d0b84b68a5acd6c496217d4a':
  rework big text to handle gmail use case
2012-05-03 07:51:41 -07:00
Chris Wren
b323cc47ef am 6908d1f6: am 71964645: Merge "Allow the Notification.Builder to carry around a Style to apply at build" into jb-dev
* commit '6908d1f6d4aa441652563544a53189df5395b664':
  Allow the Notification.Builder to carry around a Style to apply at build
2012-05-03 07:51:39 -07:00
Chris Wren
e4a2a4f142 rework big text to handle gmail use case
Change-Id: I3175e198bd6f39025f4257454b43c459ed1e38f5
2012-05-03 09:40:02 -04:00
Chris Wren
fbd96ba9ba Allow the Notification.Builder to carry around a Style to apply at build
Change-Id: I5e848504b6d0444ee349ecea893ceae571dda796
2012-05-03 09:40:02 -04:00
Mike Cleron
9f14083c76 am 546c0a4a: am 841a37aa: Merge "Clarify documentation about when Activity#onCreateNavigateUpTaskStack will be called." into jb-dev
* commit '546c0a4ae1978aab98c606272c813a538831cd8a':
  Clarify documentation about when Activity#onCreateNavigateUpTaskStack will be called.
2012-05-03 00:02:09 -07:00
Mike Cleron
841a37aa5b Merge "Clarify documentation about when Activity#onCreateNavigateUpTaskStack will be called." into jb-dev 2012-05-02 23:56:08 -07:00
Adam Powell
f019595151 Clarify documentation about when Activity#onCreateNavigateUpTaskStack
will be called.

Bug 6427237

Change-Id: I5c41e4a694b39c03fd642586472838e2f9a0281d
2012-05-02 21:39:31 -07:00
Jeff Sharkey
d07852ef39 am ee1ef538: am b829f097: Merge "Allow adding of completed empty files." into jb-dev
* commit 'ee1ef5383fcd4ce44eea7692308785ad97dbdad2':
  Allow adding of completed empty files.
2012-05-02 19:42:37 -07:00
Jeff Sharkey
b829f09737 Merge "Allow adding of completed empty files." into jb-dev 2012-05-02 19:37:51 -07:00
Svetoslav Ganov
8e687eb400 am a33d9a8a: am fb58a6d9: Merge "Adding title for the date picker dialog if the calendar is not shown." into jb-dev
* commit 'a33d9a8a805946edb299b6b5fb31051f50d26a5c':
  Adding title for the date picker dialog if the calendar is not shown.
2012-05-02 17:51:28 -07:00
Svetoslav Ganov
fb58a6d93c Merge "Adding title for the date picker dialog if the calendar is not shown." into jb-dev 2012-05-02 17:46:34 -07:00
Jeff Sharkey
33f95eda3d Allow adding of completed empty files.
Bug: 5281354
Change-Id: I375c3c7ff4ccbb554204ad53a90d35ff4790af6c
2012-05-02 17:07:54 -07:00
Jeff Sharkey
4ed162e672 am 0fdcadf2: am 9a671137: Merge "Set tmpdir to application cache directory." into jb-dev
* commit '0fdcadf28e265f0992214cd3f0cdfd2a5c5dba8d':
  Set tmpdir to application cache directory.
2012-05-02 16:19:22 -07:00
Jeff Sharkey
9a671137dc Merge "Set tmpdir to application cache directory." into jb-dev 2012-05-02 16:12:49 -07:00
Jeff Sharkey
e1d330a071 Set tmpdir to application cache directory.
Otherwise File.createTempFile() uses /sdcard which most apps don't
have write access to.

Bug: 6347289
Change-Id: Ibde191a63e4dbb9b03437406f8c999f192bcfa21
2012-05-02 13:47:37 -07:00
Adam Powell
98423989b8 am 56de3296: am 0cd4f671: Merge "Fix documentation of Activity#navigateUpTo() to describe its actual behavior." into jb-dev
* commit '56de329630384891f6ebc3a623128e8261957388':
  Fix documentation of Activity#navigateUpTo() to describe its actual behavior.
2012-05-02 12:07:15 -07:00
Adam Powell
35c064b2e8 Fix documentation of Activity#navigateUpTo() to describe its actual
behavior.

Change-Id: I804fcef5df6f5885b47b7a1c7703ed301bea09b0
2012-05-02 11:38:57 -07:00
Svetoslav Ganov
42c5cb3028 Adding title for the date picker dialog if the calendar is not shown.
1. The date picker dialog shows spinners and a mini calendar on
   tablet but on on phone the calendar is not show and the user
   does not know the day of the week otherwise show on the mini
   calendar.

bug:5264972

Change-Id: I06aeb7ba1ad34d4e99628d9586ff2777e981c963
2012-05-02 01:02:43 -07:00
Adam Powell
53dc75339a am a60ce985: am 39f412d8: Merge "API modifications for TaskStackBuilder" into jb-dev
* commit 'a60ce9859366b66bcec2a16414abbd670d988de1':
  API modifications for TaskStackBuilder
2012-05-01 19:17:28 -07:00
Adam Powell
f78a8444a9 API modifications for TaskStackBuilder
Change-Id: Ic9e11caa4541962d32b2c197f4f7b19ee67a0eda
2012-05-01 18:51:40 -07:00
Brett Chabot
d733ec3b28 Prevent binder flooding when sending instrumentation status.
There is a long standing bug in the InstrumentationTestRunner where executing
many fast-running tests causes it to hang with 'FAILED BINDER TRANSACTION'
messages in the logs.

This commit changes the Instrumentation status updates to be sent synchronously.

Bug 1796494

Change-Id: Ifd1af31158353d727bd88283eaeb90933ba1a3ca
2012-05-01 12:33:28 -07:00
Jeff Sharkey
e6b4e6556e am ff6b7588: am 6ee3fe88: Merge "Migrate ringtone playback to SystemUI." into jb-dev
* commit 'ff6b7588ab575035ba0d21bbb21f78e3c8761112':
  Migrate ringtone playback to SystemUI.
2012-04-27 16:32:39 -07:00
Jeff Sharkey
6ee3fe8849 Merge "Migrate ringtone playback to SystemUI." into jb-dev 2012-04-27 16:28:32 -07:00
Michael Jurka
33d7560561 am 235013f5: am f0fb68d8: Merge "Make APIs to get global search provider public" into jb-dev
* commit '235013f5518593da2502bb78fee0063f5e559ac6':
  Make APIs to get global search provider public
2012-04-27 14:47:12 -07:00
Michael Jurka
f0fb68d8c9 Merge "Make APIs to get global search provider public" into jb-dev 2012-04-27 14:41:27 -07:00
Michael Jurka
3f5cfcf2d9 Make APIs to get global search provider public 2012-04-27 14:23:48 -07:00
Jeff Sharkey
098d580cc2 Migrate ringtone playback to SystemUI.
Introduce IRingtonePlayer, which handles playback for both Ringtone
objects and Notifications. SystemUI now hosts this player, which it
registers with AudioService. It also keeps MediaPlayer instances
warm, and cleans them up after stop() or Binder death.

Move both Ringtone and NotificationManagerService to play back audio
through this new interface.

Bug: 6376128, 6350773
Change-Id: I1dcb86d16ee3c4f07cdb2248d33dcff4ead3609a
2012-04-27 14:15:05 -07:00
Adam Powell
c3b1b64897 am 75e8637f: am f2d75bc0: Merge "Use finishAffinity for automatic up navigation" into jb-dev
* commit '75e8637f44cf11dd0fd5e646ab67095a71822bf4':
  Use finishAffinity for automatic up navigation
2012-04-27 11:06:43 -07:00
Adam Powell
897b1dd610 Use finishAffinity for automatic up navigation
Change-Id: I2ac1971e82c499e8bafe13fcc113c5594c34864b
2012-04-26 19:53:41 -07:00
Dianne Hackborn
0e0d7a7462 am de5c3359: am 73214f61: Merge "Fix launcher icon size for tvdpi." into jb-dev
* commit 'de5c3359a643f9f289fda35fbb6219fdb6c21adf':
  Fix launcher icon size for tvdpi.
2012-04-26 19:37:30 -07:00
Dianne Hackborn
73214f619a Merge "Fix launcher icon size for tvdpi." into jb-dev 2012-04-26 19:33:37 -07:00
Dianne Hackborn
eb08322953 am 4883d755: am 493f74e5: Merge "Add new Activity.finishAffinity() method." into jb-dev
* commit '4883d755ebee295af57eb7294db0146db153b2a5':
  Add new Activity.finishAffinity() method.
2012-04-26 19:31:13 -07:00
Dianne Hackborn
d0356a19c1 Fix launcher icon size for tvdpi.
We didn't have a case for tvdpi, so ended up in the default
scaling.  This resulting in us using 319 instead of 320.

Fixed the default case to round, and added explicit cases
for tvdpi since this is a standard density.

Change-Id: I752b924e1556af94682428c8c0ed7c75d15ac4a4
2012-04-26 19:03:12 -07:00
Dianne Hackborn
ecc5a9cca0 Add new Activity.finishAffinity() method.
It's cool!

Change-Id: I9fdcd9535b7f1ca2b311d3a1b23e5d058977b095
2012-04-26 18:56:09 -07:00
Dianne Hackborn
a1f86425af am 6fa78731: am 8e6159b8: Merge "Add traces for window manager and activity manager." into jb-dev
* commit '6fa787319314b59b058dc46d1c97e95f04914258':
  Add traces for window manager and activity manager.
2012-04-26 15:30:44 -07:00
Dianne Hackborn
8e6159b821 Merge "Add traces for window manager and activity manager." into jb-dev 2012-04-26 15:24:18 -07:00
Dianne Hackborn
79d59491e2 am 530330c2: am a6517ae3: Merge "Update process importance documentation." into jb-dev
* commit '530330c264867594f3293c6b310e8975ff45c9fa':
  Update process importance documentation.
2012-04-26 14:24:34 -07:00
Dianne Hackborn
a6517ae300 Merge "Update process importance documentation." into jb-dev 2012-04-26 14:19:12 -07:00
Dianne Hackborn
1ded0b1f6a Add traces for window manager and activity manager.
Change-Id: I525d762db328e4c597da27b6b56d9a808e199756
2012-04-26 14:14:50 -07:00
Dianne Hackborn
c5bf758442 Update process importance documentation.
Also be more direct about some of the wallpaper APIs.

Change-Id: I2112898c0cd4415d6c5fd47923de682d59b8291f
2012-04-26 10:58:37 -07:00
Jake Wharton
c0581aff1d DO NOT MERGE. Do not dispatch context selection events to non-visible fragments.
When used in a `ViewPager`, fragments that are present on the adjacent,
cached pages will receive context selection dispatches which, depending
on your fragment contents, can be difficult to determine whether or not
the event truly originated from your view.

By using the visible hint we restrict dispatching to only those fragments
which are marked as being visible. Since the fragment pager adapter
updates this setting properly most implementations will be afforded this
fix without any change required. If the user is implementing their own
adapter they likely already understand the implications of these cached
fragments and the reponsibility for updating the boolean falls to them.

Mirrors support library change Ie6a72c1c82c2784774373670007b6f5948fe16da

Integrated from AOSP.

Change-Id: I19bbbe4c8d910fb38c14d6ae5d462eb7dd44fd26
2012-04-25 15:41:16 -07:00
Dianne Hackborn
a057f332fb am 5ba15cc3: am 9d9251c8: am 847d677f: am 3c40675f: Merge "Fix potential NPE when saving fragment state."
* commit '5ba15cc38f11ffcfa5dbc65e4c213272b458d99c':
  Fix potential NPE when saving fragment state.
2012-04-24 15:54:56 -07:00
Dianne Hackborn
5ba15cc38f am 9d9251c8: am 847d677f: am 3c40675f: Merge "Fix potential NPE when saving fragment state."
* commit '9d9251c8caee4a847b630653204bb205a1fbed09':
  Fix potential NPE when saving fragment state.
2012-04-23 21:49:40 -07:00
Dianne Hackborn
847d677f34 am 3c40675f: Merge "Fix potential NPE when saving fragment state."
* commit '3c40675f6f473896b93ca6416d29192d88e92622':
  Fix potential NPE when saving fragment state.
2012-04-23 21:44:43 -07:00
Jake Wharton
258029eeaa Fix potential NPE when saving fragment state.
If a fragment's saved view state is null and the user
visible hint is true then the `result` bundle will have
never been initialized to a value resulting in a
`NullPointerException`.

Mirrors support library change I8ba585bc6b9298841490d64bc22a8219cd261adb.

Change-Id: Iabd5ac293d2ece3771da9ef257479eca0dcd523c
2012-04-23 18:54:27 -07:00
Romain Guy
19f86e831e Invoke onTrimMemory with an EGL context
Bug #6369600

Change-Id: I3ded47c3688ef2f2873495392c35e898357204da
2012-04-23 15:19:07 -07:00
Chris Wren
b023bf85a0 let default notifications with actions get bigger that 64dp.
Bug: 6377749

Change-Id: I8c92ef67b59f7a44b61926c32480cce6990a1375
2012-04-23 13:51:52 -07:00
Adam Powell
3c464bdefe Add TaskStackBuilder#addParentStack(ComponentName)
Let TaskStackBuilder discover a parent activity stack by ComponentName
in addition to explicit Activity classes.

Change-Id: I18b8378548ed1d6ef033800e6a3e11ab965d07e5
2012-04-23 13:18:06 -07:00
Jeff Sharkey
816e4f7583 System context should inherit base package name.
Otherwise registerReceiver() from views inflated with the returned
context will throw (like DateTimeView).

Bug: 6376149
Change-Id: I038a680e49fba81bbebfc8c0c94f15e7cd072f33
2012-04-22 17:08:52 -07:00
Dianne Hackborn
7df7d2022d Fix issue #4499996: LiveWallpaperPreview activity intent filter
Change-Id: I5fc71503d2c59c907da954dbda3587394e6405bf
2012-04-19 18:00:04 -07:00