303 Commits

Author SHA1 Message Date
Dmitri Plotnikov
13a90abcae Adding status update attribution to ContactHeaderWidget
Change-Id: I677f8a8d805c68d95ee56cd1119cc3e97c6ae073
2009-09-28 17:40:28 -07:00
Tadashi G. Takaoka
36ad03e1b7 Delegate exclude mimetypes to FasttrackBadgeWidget
Internal Bug: 2138745
2009-09-28 14:58:49 -07:00
Dmitri Plotnikov
879664e3e2 Adding columns to support attribution of status updates. Also renaming some columns to better describe their purpose.
Change-Id: If6d7812f38a3cfd662a5ae2387c72c4761fdf9fa
2009-09-27 19:47:48 -07:00
Wei Huang
c6b336d6a4 bug 2148061: if PduBody is zero length, treat it as an empty message.
Change-Id: I2f352dd481f6b8d02b67cd3a44d692e3a5d03999
2009-09-27 13:39:46 -07:00
Dmitri Plotnikov
8e55eaccff Changing contact status to Presence-based
Change-Id: I35589e87f1e1743413d3f10509e9eccc333aa2fb
2009-09-27 08:23:58 -07:00
Evan Millar
695800047c Fix http://b/issue?id=2106682 (Don't show status if we don't have it).
Change-Id: I1636914ef47fc5319f2593d3e7aea33e523be3c7
2009-09-26 14:47:38 -07:00
Evan Millar
bf07e03291 Change longClick -> click in ContactHeaderWidget.
Also don't enable it by default, but add an api to explicitly request
it.

Change-Id: I75fa4bfddba7a1800dec24e6a068eca614370a26
2009-09-26 13:30:01 -07:00
Neel Parekh
6ecacd40dd Center name when no status.
Also shows the status if exists (not actually hooked up yet though).

Bug: 2138736
2009-09-25 16:22:26 -07:00
Android (Google) Code Review
3546825421 Merge change 26720 into eclair
* changes:
  Allow us to set the contact uri without setting the fast track's uri
2009-09-25 19:05:10 -04:00
Karl Rosaen
c8ad6dcb8a Optimize rotary selector widget by using bitmaps instead of drawables.
In profiling setBounds was expensive.  Time per onDraw from 13.3ms to 6.59ms :)
2009-09-25 11:35:41 -07:00
Android (Google) Code Review
d35db5ec8b Merge change 26946 into eclair
* changes:
  Fix bug#2144742: guard against 0 length encoded string when attaching a 'from' address for MMS.
2009-09-24 19:13:30 -04:00
Wei Huang
ed16d4b7de Fix bug#2144742: guard against 0 length encoded string when attaching a 'from' address for MMS.
Change-Id: I0aad5b3d2834695b44cbb63e40c43a2159b723d9
2009-09-24 15:04:01 -07:00
Nicolas Roard
e0fc838ebc Fix the shortcuts 2009-09-24 21:35:25 +01:00
Android (Google) Code Review
03d2009b3e Merge change 26895 into eclair
* changes:
  Subject issue in MMS message
2009-09-24 15:26:19 -04:00
Karl Rosaen
ff9c54b721 fix bug where siilent mode dissapears when it triggers instead of animating off to the left edge. 2009-09-24 10:50:48 -07:00
Satish Roddom
6cec6e168b Subject issue in MMS message
Open a draft MMS message having some subject, some text and any attachment.
Remove the written subject and again save it as draft.  In the messaging
main screen, can still see previously entered subject.

Change-Id: I1a30978b7c06fab253ea5d4da0254c3780d18a62
2009-09-24 10:02:12 -07:00
Karl Rosaen
74646ad618 Update RotarySelector to support vertical orientation, and add resolution specific assets (removing old ones). 2009-09-24 09:24:42 -07:00
Dianne Hackborn
ffa424800d Fix issue #2133206: dialogs/menus should auto-dismiss when screen turns off
Lot of infrastructure for more things to go away when "clear system dialogs"
happens, and now do this when we turn on the lock screen.

Change-Id: I567130296fe47ce82df065ed58ef21b37416ceaf
2009-09-23 23:17:07 -07:00
Mathias Agopian
e2d034c901 wallpaper: don't erase the background, just to repaint over it. saves 1.7 ms on some hardware 2009-09-23 21:06:17 -07:00
Neel Parekh
eeadd3ffa2 Allow us to set the contact uri without setting the fast track's uri 2009-09-23 17:05:21 -07:00
Android (Google) Code Review
c3c6621a2c Merge change 25879 into eclair
* changes:
  Setting the default HTTP user agent at runtime init.
2009-09-22 22:04:05 -04:00
Android (Google) Code Review
df5862173c Merge change 26446 into eclair
* changes:
  fix bug 2100169: add the line1 number + "/TYPE=PLMN" when sending a pdu.
2009-09-22 20:19:14 -04:00
Wei Huang
30e59f6ec1 fix bug 2100169: add the line1 number + "/TYPE=PLMN" when sending a pdu.
Change-Id: I289b81118006bf146d94384f91d4b0fa5215ec46
2009-09-22 15:28:57 -07:00
Android (Google) Code Review
36dac6ae8e Merge change 26390 into eclair
* changes:
  Bring the dimples back, and make the "spin around" animation have a fling feeling.
2009-09-22 17:01:13 -04:00
Karl Rosaen
896264f603 Bring the dimples back, and make the "spin around" animation have a fling feeling.
Also clean up the animation code into start/update animation functions.
2009-09-22 11:36:23 -07:00
Evan Millar
de9eef1c66 Add aggregated badge to ContactHeaderWidget
Change-Id: I0266828c7d560b9aefc3f58d27c217f710f1b0bb
2009-09-22 08:40:22 -07:00
Android (Google) Code Review
9bbd5ee49f Merge change 26290 into eclair
* changes:
  Make IBackupTransport.finishBackup() also return an int code, since it too can return TRANSPORT_NOT_INITIALIZED (in fact that's typically how it comes).
2009-09-21 22:26:35 -04:00
Dan Egnor
0144516e19 Make IBackupTransport.finishBackup() also return an int code, since it too can
return TRANSPORT_NOT_INITIALIZED (in fact that's typically how it comes).

For consistency, make other IBackupTransport methods return int instead of
boolean, and handle accordingly.

Make initializeDevice() its own method instead of a flag on performBackup().
This will be needed when un-checking the settings box anyway, and is
conceptually unrelated to whatever happens to be the first post-initialization
backup we perform.  (Note that even if the init is sent separately from the
backup operation, the server will remember that an init has been done and
will *not* return NOT_INITIALIZED for the subsequent backup.)

Fix LocalTransport accordingly (trivial changes).

Handle failures more robustly in BackupManagerService -- most notably,
doQueuedBackups() was ignoring the result code of processOneBackup(), so
a NOT_INITIALIZED error would go past unseen (at least until the next
backup pass).  Keep track of error code returns more universally now.
(This includes finishBackup(), of course.)
2009-09-21 17:04:05 -07:00
Mark Wagner
fe6104fbfb When manually setting the uri pass it through to the badge widget. 2009-09-21 13:39:02 -07:00
Christopher Tate
d55e18acbe Reset backup tracking in response to transport data-wipe notification
When attempting a backup, the transport may inform us that the backend is in an
uninitialized state.  This typically means that the device's data has been wiped
after a period [e.g. 90 days] of inactivity.  This means that we need to
re-store all data subject to backup, and all of our incremental state tracking
on the device is now stale.

In response, we wipe all of our recorded backup state and restart the backup
pass on all participants.
2009-09-21 10:19:17 -07:00
Android (Google) Code Review
d5ffa12dea Merge change 26127 into eclair
* changes:
  Uri encode phone number before passing it to query.
2009-09-21 13:05:10 -04:00
Megha Joshi
2acda4bead Uri encode phone number before passing it to query.
Fixes bug 2122926
2009-09-20 23:48:02 -07:00
Amith Yamasani
e43530ab57 Track CPU speed stepping to get more accurate CPU cost per app.
More CPU speed stepping happening with newer devices, so we need
to qualify CPU time with the CPU speed, since power consumption
varies greatly by speed. Apps that peg the CPU should get a higher
penaltly.

Also, fix for 2062930: NPE at VolumePreference.onKey()
2009-09-20 16:03:50 -07:00
Android (Google) Code Review
6b96512601 Merge change 26034 into eclair
* changes:
  Clean up spin animation in rotary selector, and be even more generous for triggering.
2009-09-20 18:09:27 -04:00
Karl Rosaen
052e187eda Clean up spin animation in rotary selector, and be even more generous for triggering. 2009-09-20 15:03:20 -07:00
Christopher Tate
25a747f5c4 Add an 'init everything' operation to the first backup pass
IBackupTransport.performBackup() now takes a flag "wipeAllFirst", which if set
will result in the entire restore set for the current device/account being wiped
clean prior to the storage of the provided package.  This ensures that a device
on which backup has just been enabled will not confront potentially-stale
information, nor will the restore set potentially contain mismatched data from
orphaned packages.

The Backup Manager has also been revised to pass this flag when first backing up
its master metadata block (and never pass it thereafter unless something has
caused the backup state tracking to be erased, e.g. the user has opted out of
backup and then later re-enabled it).
2009-09-20 12:43:58 -07:00
Karl Rosaen
278ec5d6f5 Add better transition to rotary lock widget when triggering: spin around instead of snap back.
Also add some icons and make a layout tweak, used by the lock screen (coming in a commit
to android.policy).
2009-09-20 09:51:46 -07:00
Jesse Wilson
d0f80d4456 Setting the default HTTP user agent at runtime init.
I can't do this in HttpURLConnection directly, since that would
cause a forbidden dependency from Dalvik on Android.
2009-09-18 18:16:16 -07:00
Evan Millar
7ff7ddf70b Fix http://b/issue?id=2099487
Change-Id: Ib5391cc5e9d17bc4ad964471037e7f9819802a64
2009-09-18 15:45:42 -07:00
Android (Google) Code Review
da05aa8288 Merge change 25666 into eclair
* changes:
  Save message size
2009-09-18 12:11:28 -04:00
Android (Google) Code Review
9b64ef133c Merge change 25647 into eclair
* changes:
  Some tweaks to the rotary lock widget.
2009-09-17 20:43:53 -04:00
Karl Rosaen
5fef93b2a8 Some tweaks to the rotary lock widget.
- don't show arrows above widget when in resting state
- don't show other icon once you press one (e.g don't show silent mode icon when you are pressing the lock icon)
- wider target for triggering action
2009-09-17 17:21:18 -07:00
Tom Taylor
a67c8cd581 Save message size
Save the message size in the pdu.
2009-09-17 16:42:10 -07:00
Debajit Ghosh
644d0449ab add system property to disable gzip, to help with debugging. 2009-09-17 15:44:23 -07:00
Android (Google) Code Review
6a20b823c3 Merge change 25293 into eclair
* changes:
  Fix a handful of bugs in the ContactHeaderWidget
2009-09-16 17:38:53 -04:00
Karl Rosaen
1ca654e119 Address romain's code review comments 2009-09-16 10:51:10 -07:00
Evan Millar
2c867f9b7f Fix a handful of bugs in the ContactHeaderWidget
-http://b/issue?id=2074981 fixed
-http://b/issue?id=2088564 fixed.
-http://b/issue?id=2097374 fixed.
-http://b/issue?id=2095896 fixed.
-http://b/issue?id=2093734 fixed.

-Use FasttrackBadgeWidget.

-Also changes api in ContactsHeaderWidget to accept contact uri instead
of contact id.

Change-Id: I6623a99c7f5011387c57fc9a6861eef63174ca6e
2009-09-16 10:43:45 -07:00
Karl Rosaen
e4d95d02a2 Add RotarySelector widget to android.internal for use by lock screen and incoming call screen. 2009-09-15 17:46:57 -07:00
Dianne Hackborn
8d37426c75 Various fixed for back key handling.
My last change was far from perfect.  Hopefully this gets us
a little closer.

Change-Id: I413e55b6af42400b565de3040859d25d668bc9d2
2009-09-14 21:21:52 -07:00
Dianne Hackborn
c297480937 Fix issue #2116977: buttons are huge and bent
Now that we are using preloaded drawables in compatibilty mode, when
constructing them from their constant state we need to set the new
drawable's target density appropriately.

Change-Id: I3665cbea09d38b9ac5f45f8c380dc8641f86b266
2009-09-14 16:32:56 -07:00