Commit Graph

58254 Commits

Author SHA1 Message Date
John Wang
5209864a2b Set enable_puk_unlock_screen true by default.
Make pukUnlockScreen the default way to enter PUK ocde.
There are two ways to enter PUK code, pukUnlockScreen UI
and MMI Code for Emergency Dialer. As far as we know most
of carriers are fine with either one though they may prefer
pukUnlockScreen UI. It can be overwrite if specific device or
carrier don't want to show pukUnlockSreen UI.

Note the Emergency Dialer will not show up
if the device is not voice capable. Another reason to make
pukUnlockSreen UI enable as default.

bug:5243771
Change-Id: I141324bef6ab812243a6cbb89870f71c60e838ec
2011-09-21 15:23:34 -07:00
Fred Quintana
79a33ad49e Merge "Continuation of the unified account chooser flow." into ics-factoryrom 2011-09-19 10:43:59 -07:00
Michael Jurka
b0a1f19730 Merge "Added "No recent apps" message on phones" into ics-factoryrom 2011-09-19 10:33:08 -07:00
Jean-Michel Trivi
2f15316959 Merge "Bug 5300223 RemoteControlClient uses PendingIntent for media button events" into ics-factoryrom 2011-09-19 09:46:32 -07:00
Justin Ho
31f971b57f Merge "Properly adding scrubber pressed/selected state" into ics-factoryrom 2011-09-18 16:56:12 -07:00
Jeff Sharkey
aaf301736e Merge "DO NOT MERGE: Sample atomic network stats buckets, full poll." into ics-factoryrom 2011-09-18 16:20:00 -07:00
Jeff Sharkey
1f0b13b9d6 DO NOT MERGE: Sample atomic network stats buckets, full poll.
When sampling network stats, always use atomic buckets instead of
interpolating.  Always poll iface and UID together so we distribute
into buckets equally.  Move stale bucket trimming to just before
writing stats.

Bug: 5321340
Change-Id: I78a2226778a79c875f3668336e39ea24a7b4d5c4
2011-09-18 16:17:51 -07:00
Jeff Sharkey
3d1d57dcdb Merge "Collect and persist tethering stats." into ics-factoryrom 2011-09-18 16:15:51 -07:00
Jeff Brown
79aa40302b Merge "Can't stop the fling! Bug: 5335420" into ics-factoryrom 2011-09-16 23:29:15 -07:00
Fred Quintana
b04fe4e82a Continuation of the unified account chooser flow.
- made the UI match the spec
 - added ability to force the account chooser to appear
 - added ability to pass in a description that will override the stock one
 - added ability to pass in requiredFeatures for addAccount
 - added ability to pass in an authTokenType for addAccount

Bug: 5293377
Change-Id: I243c0fd6598c943b1f65753e1f5d3c86629f64f5
2011-09-16 22:55:08 -07:00
Wink Saville
259db3f66f Merge "Have all connections disconnected before turning off radio." into ics-factoryrom 2011-09-16 22:00:34 -07:00
Jeff Brown
b0c71eb9f5 Can't stop the fling!
Bug: 5335420

Fixed a bug in VelocityTracker where the output velocity was
not being set to zero when not available.

Added a condition to ensure that the velocity is at least
the minimum fling velocity before continuing.  If not, then
the user is trying to stop the fling and scroll more precisely.

Change-Id: I36634b0c3f7a9a09cf20c33f71d41163a8e33eed
2011-09-16 21:43:58 -07:00
Wink Saville
ea0d54b44e Have all connections disconnected before turning off radio.
Bug: 5306201
Change-Id: I8a121e5ed951f286b6f3edc70c468e86ccedfbf0
2011-09-16 17:53:50 -07:00
Michael Jurka
6d66708706 Added "No recent apps" message on phones
Change-Id: I00bf163369775b79377090b7a9dae0c94ce5d0ac
2011-09-16 17:24:25 -07:00
Mathias Agopian
1afeea0f20 Merge "work around a problem where fp registers get corrupted (DO NOT MERGE)" into ics-factoryrom 2011-09-16 17:08:21 -07:00
Mathias Agopian
a5f7b3cbf7 work around a problem where fp registers get corrupted (DO NOT MERGE)
Bug: 5331198
Change-Id: I1f9b4a79d34d63f8adb0555909998664ea2ea9ca
2011-09-16 16:59:52 -07:00
Justin Ho
2357858a1d Properly adding scrubber pressed/selected state
Change-Id: Iea2e65bd8c00b56dd2828de03946ee1257547944
2011-09-16 16:19:47 -07:00
Eric Fischer
a2a960b4a1 Merge "Import revised translations. DO NOT MERGE" into ics-factoryrom 2011-09-16 16:17:45 -07:00
Jeff Sharkey
cdd02c5d76 Collect and persist tethering stats.
Use new "gettetherstats" netd command to retrieve statistics for
active tethering connections.  Keep tethering poll events separate
from UID poll, even though they end up same historical structures.

Bug: 5244846
Change-Id: Ia0c5165f6712c12b51586f86c331a2aad4ad6afb
2011-09-16 16:05:51 -07:00
Eric Fischer
db506e7699 Import revised translations. DO NOT MERGE
Change-Id: Ibae2079f2de6ae74d12a88e3c6f6f52b3010990f
2011-09-16 15:18:46 -07:00
Jean-Michel Trivi
f79ec36098 Merge "Fix bug 5327199 Recycle bitmaps in RemoteControlClient" into ics-factoryrom 2011-09-16 15:01:06 -07:00
Justin Ho
218148f1ff Merge "Revert "Adding selected state for scrubber control"" into ics-factoryrom 2011-09-16 14:47:54 -07:00
Justin Ho
783ed0d647 Revert "Adding selected state for scrubber control"
This reverts commit a11aeeb365
2011-09-16 14:47:40 -07:00
Justin Ho
5855c0ca68 Merge "Adding selected state for scrubber control" into ics-factoryrom 2011-09-16 14:15:04 -07:00
Justin Ho
a11aeeb365 Adding selected state for scrubber control
Change-Id: I63147c80f7849d28ffe15d97e0b7e3f5c7bea5e1
2011-09-16 14:11:07 -07:00
Jeff Brown
a82f448373 Merge "Make LTE_FLOAT a strict weak order. (DO NOT MERGE) Bug: 5327776" into ics-factoryrom 2011-09-16 13:42:46 -07:00
Jeff Brown
3fccb86b31 Make LTE_FLOAT a strict weak order. (DO NOT MERGE)
Bug: 5327776

Currently LTE_FLOAT isn't even a valid partial order, let alone
a strict weak order as needed by binary search.  Consequently,
KeyedVectors with keys whose types have operator< using LTE_FLOAT
sometimes find the wrong values!

This problem affects several graphics caches including the
TextLayoutCache.

(This is still not a total order because NaNs are not comparable
but hopefully we don't ever search for NaNs this way!)

Change-Id: Ic447a34c7d87f681ee81538f22a0937a039072dd
2011-09-16 13:35:01 -07:00
John Reck
41d6bfb279 Merge "DO NOT MERGE Fix text selection drawing on SW" into ics-factoryrom 2011-09-16 13:21:31 -07:00
Jean-Michel Trivi
f0cff04562 Bug 5300223 RemoteControlClient uses PendingIntent for media button events
Update the implementation of the RemoteControlClient / Display
 feature rely on PendingIntent as provided in the construction
 of the RemoteControlClient instance.
The ComponentName that describes the target of the media button
 events is set as the target of the Intent from which
 a PendingIntent is constructed.
This ComponentName is still saved in the stack for persisting
 the last media button event receiver.

This CL also updates the lockscreen IRemoteControlDisplay
 implementation to use the PendingIntent supplied by the
 application when sending transport control events. A (good)
 side effect of doing this is that intent will be directly
 targeted at the application.

Restoration of the media button event receiver
 after reboot is not fully functional yet.

Change-Id: I2be82f2839e9dee1de02512437b3fb41cc386cde
2011-09-16 12:40:43 -07:00
Fred Quintana
3d5759b527 Merge "Add a generic account chooser/add account flow for apps." into ics-factoryrom 2011-09-16 12:13:30 -07:00
John Reck
e668b03ac7 DO NOT MERGE Fix text selection drawing on SW
Bug: 5312770
 Helps if you actually draw stuff...
 Cherry pick from master

Change-Id: Iae4e7fbd2dc6a5306e8ca8735580e1f2eb50f276
2011-09-16 11:50:11 -07:00
Jean-Michel Trivi
34d0d300ca Fix bug 5327199 Recycle bitmaps in RemoteControlClient
When applying the new bitmap from the editor to the client,
 recycle the old bitmap, and set the reference to the editor
 bitmap to null.

Change-Id: I7d79e4b8410e5035fa51b20be4b1ada391c84c28
2011-09-16 11:33:50 -07:00
Eino-Ville Talvala
ebdcae732f Merge "Add third video to default system videos." into ics-factoryrom 2011-09-16 10:52:15 -07:00
Kenny Root
1f9a928864 Merge "Be more forgiving in parsing verifier IDs" into ics-factoryrom 2011-09-16 09:07:52 -07:00
Justin Ho
6a7ea58e82 Merge "Updated Clock and Roboto fonts Bug: 5243711" into ics-factoryrom 2011-09-16 07:32:52 -07:00
Justin Ho
81db33af1e Updated Clock and Roboto fonts
Bug: 5243711

Change-Id: I1c54bab0107edc56fbdf75269a70881031384833
2011-09-16 07:29:24 -07:00
Kenny Root
c11bc8d224 Be more forgiving in parsing verifier IDs
RFC 4648's Base32 is made to be forgiving for users doing manual entry
of the digits. For this reason we want to be able to parse lowercase
letters as uppercase and number 0 (zero) as letter O along with number
1 (one) as letter I.

Cherry-pick into ics-factoryrom

Change-Id: I149d8e947ff8b36305c1e61d8a1d80ff0b317cda
2011-09-15 21:04:57 -07:00
Svetoslav Ganov
4e3bee760a Merge "MiltiWaveView accessibility improvement." into ics-factoryrom 2011-09-15 18:52:40 -07:00
Svetoslav Ganov
2a6798ada4 Merge "Touch explorer does not perform tap with the right pointer." into ics-factoryrom 2011-09-15 18:47:49 -07:00
Svetoslav Ganov
2a671ac905 MiltiWaveView accessibility improvement.
Now hover events behave s motion events in touch exploration mode.
The use no longer needs to find the handle and tap + hold to engage.
It is enough to move on top of it.

Now the handle is engaged, i.e. can be dragged, when the user passes
on top of it for both accessibility enabled and disabled.

bug:5253968

Change-Id: If70b44cb6db8a38432216b46ecddefb3e2bc3825
2011-09-15 18:21:37 -07:00
Eino-Ville Talvala
9e15be985e Add third video to default system videos.
Bug: 5216945
Change-Id: I1704e6043ea67677fb81b81ff3080faf9f14907a
2011-09-15 18:08:01 -07:00
Svetoslav Ganov
bd206d129f Touch explorer does not perform tap with the right pointer.
The touch explorer was using the id of the last pointer that
went up while injecting up and down to tap through the last
touch explore event incorrectly assuming that the last up
pointer did touch explore. This was leading to a system crash.

bug:5319315

Change-Id: Iffe8ef753795ad685abe6f493cc09adac8bfea94
2011-09-15 17:46:32 -07:00
Fred Quintana
1121bb5e6f Add a generic account chooser/add account flow for apps.
The activity is launched as follows:
  Account account1 = new Account("account1@gmail.com", "com.google")
  Account account2 = new Account("account2@gmail.com", "com.google")
  ArrayList<Account> accounts = new ArrayList<Account>();
  accounts.add(account1);
  accounts.add(account2);
  String[] accountTypes = new String[]{"com.google", "com.android.exchange"};
  Bundle addAccountOptions = null;
  Intent intent = AccountManager.newChooseAccountIntent(account1, accounts,
    accountTypes, addAccountOptions);
  startActivityForResult(intent, 0);

Change-Id: I05a467bdc3552a2e39397b0182879351f4324389
2011-09-15 17:40:43 -07:00
Ying Wang
070e7ee285 Merge "Use the correct dependency" into ics-factoryrom 2011-09-15 17:19:37 -07:00
Gloria Wang
9184947327 Merge "If media player has died already, do not dec the old surface texture reference. Otherwise segfault will occur. For bug 5327664. Do not merge." into ics-factoryrom 2011-09-15 17:04:27 -07:00
Gloria Wang
62c24d7bfa Merge "Cherry-pick from master. Do not merge. Do not need to reset surface as NULL in MediaPlayer's _release. Related to bug 5252296." into ics-factoryrom 2011-09-15 17:04:02 -07:00
Ying Wang
b1f57728d9 Use the correct dependency
$(LOCAL_BUILT_MODULE) of the module framework points to a
product-specific file (required by dex-preopt), which is nuked by installclean.
While the result of $(java-lib-deps) points to a file in the common
directory.

This change reduces the incremental build time significantly:
It takes around 7 minutes to run "make instalclean && make" without this
change v.s. 3 minutes with this change.
So it will save lots of build time when switching between user, userdebug
and eng builds on the build server.

Change-Id: I832bafca04677af561bb0c28e2e0260f633b96a1
2011-09-15 16:16:45 -07:00
Gloria Wang
81b37d8bde If media player has died already, do not dec the old surface texture reference.
Otherwise segfault will occur.
For bug 5327664.
Do not merge.

Change-Id: I03ea7bc047aa99a106f1e010dac74f75a833ef84
2011-09-15 15:38:36 -07:00
Gloria Wang
c286b2cc26 Cherry-pick from master. Do not merge.
Do not need to reset surface as NULL in MediaPlayer's _release.
Related to bug 5252296.

Change-Id: Ieab063cee70e072fcc4d861abe0f7979a7bab1ec
2011-09-15 11:58:25 -07:00
John Reck
68901a3e81 Merge "DO NOT MERGE Fix finalization" into ics-factoryrom 2011-09-15 11:49:00 -07:00