Commit Graph

24915 Commits

Author SHA1 Message Date
Raph Levien
0704064cbe am 8dc2d8d2: am 236d0520: Merge "Fix bug 7054190 line breaks at inappropriate places" into jb-mr1-dev
* commit '8dc2d8d287066e6c13e50aec167c496044689a53':
  Fix bug 7054190 line breaks at inappropriate places
2012-08-24 16:25:06 -07:00
Raph Levien
236d0520a6 Merge "Fix bug 7054190 line breaks at inappropriate places" into jb-mr1-dev 2012-08-24 16:19:19 -07:00
Fabrice Di Meglio
23d4790c3e am b98a3460: am de91aa4b: Merge "Fix again bug #6887370 ListPreference shows misaligned radio drawables (in CheckedTextView?)" into jb-mr1-dev
* commit 'b98a3460207981de868ccba40d86e1feac40be41':
  Fix again bug #6887370 ListPreference shows misaligned radio drawables (in CheckedTextView?)
2012-08-24 16:15:17 -07:00
Fabrice Di Meglio
de91aa4bec Merge "Fix again bug #6887370 ListPreference shows misaligned radio drawables (in CheckedTextView?)" into jb-mr1-dev 2012-08-24 16:11:19 -07:00
Adam Powell
3ed8adb916 am 08453ece: am 3a5c376e: Merge "More detailed error reporting for AbsListView/CHOICE_MODE_MULTIPLE_MODAL" into jb-mr1-dev
* commit '08453ecee2fb3e31b7879f3ab32f8bef6f5a93cd':
  More detailed error reporting for AbsListView/CHOICE_MODE_MULTIPLE_MODAL
2012-08-24 15:15:04 -07:00
Adam Powell
3a5c376e29 Merge "More detailed error reporting for AbsListView/CHOICE_MODE_MULTIPLE_MODAL" into jb-mr1-dev 2012-08-24 15:09:03 -07:00
Adam Powell
a798170f2a More detailed error reporting for AbsListView/CHOICE_MODE_MULTIPLE_MODAL
Throw a more descriptive exception when an app has not set a
multi-choice mode listener and an item becomes checked.

Change-Id: Ib682fd7a467a3751bb81dacbd22676aaa4407d36
2012-08-24 14:51:40 -07:00
Dianne Hackborn
43019827a5 am 068a98e6: am a31803fc: Merge "Keep track of whether an app is installed for each user." into jb-mr1-dev
* commit '068a98e6a0bc1e73c9f4fb4e06c208b71ad1aa32':
  Keep track of whether an app is installed for each user.
2012-08-24 14:41:12 -07:00
Dianne Hackborn
7767eac323 Keep track of whether an app is installed for each user.
This add a new per-user state for an app, indicating whether
it is installed for that user.

All system apps are always installed for all users (we still
use disable to "uninstall" them).

Now when you call into the package manager to install an app,
it will only install the app for that user unless you supply
a flag saying to install for all users.  Only being installed
for the user is just the normal install state, but all other
users have marked in their state for that app that it is not
installed.

When you call the package manager APIs for information about
apps, uninstalled apps are treated as really being not visible
(somewhat more-so than disabled apps), unless you use the
GET_UNINSTALLED_PACKAGES flag.

If another user calls to install an app that is already installed,
just not for them, then the normal install process takes place
but in addition that user's installed state is toggled on.

The package manager will not send PACKAGE_ADDED, PACKAGE_REMOVED,
PACKAGE_REPLACED etc broadcasts to users who don't have a package
installed or not being involved in a change in the install state.
There are a few things that are not quite right with this -- for
example if you go through a full install (with a new apk) of an
app for one user who doesn't have it already installed, you will
still get the PACKAGED_REPLACED messages even though this is
technically the first install for your user.  I'm not sure how
much of an issue this is.

When you call the existing API to uninstall an app, this toggles
the installed state of the app for that user to be off.  Only if
that is the last user user that has the app uinstalled will it
actually be removed from the device.  Again there is a new flag
you can pass in to force the app to be uninstalled for all users.

Also fixed issues with cleaning external storage of apps, which
was not dealing with multiple users.  We now keep track of cleaning
each user for each package.

Change-Id: I00e66452b149defc08c5e0183fa673f532465ed5
2012-08-24 13:53:13 -07:00
Raph Levien
7c3255f14f Fix bug 7054190 line breaks at inappropriate places
We were doing line breaks after punctuation as long as they weren't
surrounded by digits. This is a misinterpretation of the Unicode line
breaking algorithm. Punctuation (class IS) is not hugely different than
the default classes (NU and AL) - there are breaks after punctuation
that are allowed (for example, followed by an open parenthesis), but
we're not implementing the algorithm with anything near that level of
fidelity.

The long term fix is to really implement the algorithm. In the shorter
term, the easiest thing to do is to remove the special case altogether.

Change-Id: Ic4dc3216c2a4191fbb7cfa06e9dc038d1a56398c
2012-08-24 13:48:37 -07:00
Fabrice Di Meglio
0dc9646e7e Fix again bug #6887370 ListPreference shows misaligned radio drawables (in CheckedTextView?)
Change-Id: Ia377cc95cd64f2df0a258b9ea3f709e6094f395e
2012-08-24 12:25:28 -07:00
Jeff Sharkey
a6b5c3e7c3 am 0c3359e9: am 15525862: Merge "Clean up firewall interface method names." into jb-mr1-dev
* commit '0c3359e9ca6aebea79be19e1b635dafeaa8a29a9':
  Clean up firewall interface method names.
2012-08-24 11:50:20 -07:00
Jeff Sharkey
1552586283 Merge "Clean up firewall interface method names." into jb-mr1-dev 2012-08-24 11:46:27 -07:00
Jeff Sharkey
2c0929850a Clean up firewall interface method names.
Change-Id: I653f0a01af7c90fc96b201abb31ea8354b036e74
2012-08-24 11:44:40 -07:00
Jeff Sharkey
ade6351b4f am 33f94286: am 34f86312: Merge "Migrate legacy VPN arguments to system_server." into jb-mr1-dev
* commit '33f942865c27a0af155ec2be2f1154fe7ece6072':
  Migrate legacy VPN arguments to system_server.
2012-08-24 11:37:58 -07:00
Jeff Sharkey
34f8631258 Merge "Migrate legacy VPN arguments to system_server." into jb-mr1-dev 2012-08-24 11:33:00 -07:00
Jeff Sharkey
82f8521d38 Migrate legacy VPN arguments to system_server.
Generate the racoon and mtpd daemon arguments in system_server,
instead of accepting them from Settings.

Bug: 5756357
Change-Id: I42c1a644f6add477fe4222342640d7db15982cb8
2012-08-24 11:29:58 -07:00
Jeff Sharkey
e292216870 am a9baddac: am 96702ad6: Merge "Framework interface for netd firewall." into jb-mr1-dev
* commit 'a9baddacf57755f4158c822842adf23c5a9be13b':
  Framework interface for netd firewall.
2012-08-24 11:12:49 -07:00
Jeff Sharkey
96702ad6d7 Merge "Framework interface for netd firewall." into jb-mr1-dev 2012-08-24 11:07:42 -07:00
Jeff Sharkey
c268f0b19e Framework interface for netd firewall.
Bug: 5756357
Change-Id: If8b9f738fcea2cf16bd01682220718b57346c7cc
2012-08-24 11:00:28 -07:00
Teng-Hui Zhu
db4a65b744 am ed407977: am e0d5ceef: Merge "Request Layout after video size changed" into jb-mr1-dev
* commit 'ed407977253c6bc96ea8f6ca90d96508bbe2002c':
  Request Layout after video size changed
2012-08-24 10:57:21 -07:00
Teng-Hui Zhu
e0d5ceefbf Merge "Request Layout after video size changed" into jb-mr1-dev 2012-08-24 10:50:49 -07:00
Victoria Lease
821f39c4af am 73eebac0: am 54f4f91d: Merge "avert 2500ms wait in InputMethodManager" into jb-mr1-dev
* commit '73eebac05d17b8ac0d1071625aad742570a6cd39':
  avert 2500ms wait in InputMethodManager
2012-08-24 08:06:39 -07:00
Victoria Lease
54f4f91d7c Merge "avert 2500ms wait in InputMethodManager" into jb-mr1-dev 2012-08-24 08:01:41 -07:00
Dianne Hackborn
bbe7bffc03 am feb7a722: am d820c38d: am 513f68bc: am bfe20d1a: am 8bfba7df: Merge "fix wrong substring"
* commit 'feb7a7222cc86692bd4bbd43ab14fe81454324f9':
  fix wrong substring
2012-08-24 07:38:37 -07:00
Jean-Baptiste Queru
5d3a27bc1d am 8fe1b09d: am 58dc9b6b: am 790d3403: am d86bebb4: am 322b0a16: Merge "Protecting more views from (bad) MotionEvents"
* commit '8fe1b09dc2c239065fbdad2bbb3c61db5ef22dec':
  Protecting more views from (bad) MotionEvents
2012-08-24 07:38:33 -07:00
Dianne Hackborn
d820c38d21 am 513f68bc: am bfe20d1a: am 8bfba7df: Merge "fix wrong substring"
* commit '513f68bc5a5f15d799f8795392d4861a5704fba1':
  fix wrong substring
2012-08-24 07:30:11 -07:00
Jean-Baptiste Queru
58dc9b6bfa am 790d3403: am d86bebb4: am 322b0a16: Merge "Protecting more views from (bad) MotionEvents"
* commit '790d34039df650d983c7c87a2a2e888e18edc2be':
  Protecting more views from (bad) MotionEvents
2012-08-24 07:30:06 -07:00
Ben Murdoch
ff85c8892f am 42f78d03: am 4d3a7b07: Merge "Make SslErrorHandler ctor public/@hide." into jb-mr1-dev
* commit '42f78d036483dccfd9893fc375fef46a32bb31fb':
  Make SslErrorHandler ctor public/@hide.
2012-08-24 02:15:38 -07:00
Ben Murdoch
4d3a7b0752 Merge "Make SslErrorHandler ctor public/@hide." into jb-mr1-dev 2012-08-24 02:10:38 -07:00
Wu-cheng Li
5059691457 am 248ca045: am dad32938: Merge "Add INTENT_ACTION_STILL_IMAGE_CAMERA_SECURE intent." into jb-mr1-dev
* commit '248ca045fc859062404ddad2e5c2ac42695370f2':
  Add INTENT_ACTION_STILL_IMAGE_CAMERA_SECURE intent.
2012-08-24 00:38:00 -07:00
Wu-cheng Li
dad32938cd Merge "Add INTENT_ACTION_STILL_IMAGE_CAMERA_SECURE intent." into jb-mr1-dev 2012-08-24 00:07:32 -07:00
Jeff Sharkey
dd0c05a8d1 am 45a630e8: am d5fc86f0: Merge "Begin moving VPN to NetworkStateTracker pattern." into jb-mr1-dev
* commit '45a630e87ecfa89682d1b8230dd5c6473284e4c1':
  Begin moving VPN to NetworkStateTracker pattern.
2012-08-23 16:52:05 -07:00
Jeff Sharkey
d5fc86f067 Merge "Begin moving VPN to NetworkStateTracker pattern." into jb-mr1-dev 2012-08-23 16:47:50 -07:00
Jeff Sharkey
899223b97c Begin moving VPN to NetworkStateTracker pattern.
Created base tracker that handles common bookkeeping, and move VPN
to become a tracker.  VPN status is now reflected in NetworkInfo, and
is mapped to LegacyVpnInfo.

Legacy VPN now "babysits" any init services it starts, watching for
when they stop unexpectedly.

Bug: 5756357
Change-Id: Iba7ec79da69469f6bd9a970cc39cf6b885b4c9c4
2012-08-23 16:41:06 -07:00
Teng-Hui Zhu
f5d102ed76 Request Layout after video size changed
bug:6800665

Change-Id: I57010ac26246dff9da45f8fdb7ccbe39c454c54f
2012-08-23 16:03:22 -07:00
rich cannings
4e7e743e3a am bf3f2858: am 7646c773: Merge "Allow verifiers to extend timeout" into jb-mr1-dev
* commit 'bf3f28583f9e1b78a4765472375a23abdf8a4513':
  Allow verifiers to extend timeout
2012-08-23 16:01:46 -07:00
rich cannings
7646c773fa Merge "Allow verifiers to extend timeout" into jb-mr1-dev 2012-08-23 15:56:04 -07:00
rich cannings
d9ef3e5495 Allow verifiers to extend timeout
Create a new verifier API to extend the timeout for a giving package,
including the resulting action (allow or deny) upon the timeout occuring.

Bug: 6901038
Change-Id: I351f7944327f863aff1d7dd1227be74652fa1511
2012-08-23 15:39:02 -07:00
Victoria Lease
b570c64ad1 avert 2500ms wait in InputMethodManager
When dispatching input events to the main thread, the event is
handled directly rather than queued. If we have a timeout waiting for
the event to happen, it has to be registered before we call the
dispatcher, otherwise we'll wait for the timeout even though the event
has already been handled.

Bug: 6734044
Change-Id: I6826163dbc6133b385cf1076bb077fb4e82870a1
2012-08-23 15:32:42 -07:00
Dianne Hackborn
513f68bc5a am bfe20d1a: am 8bfba7df: Merge "fix wrong substring"
* commit 'bfe20d1aa1b1236e6592914c5682c59d94936432':
  fix wrong substring
2012-08-23 15:12:26 -07:00
Jean-Baptiste Queru
790d34039d am d86bebb4: am 322b0a16: Merge "Protecting more views from (bad) MotionEvents"
* commit 'd86bebb4a9aaf3b98f6d5a189fd7733926d85891':
  Protecting more views from (bad) MotionEvents
2012-08-23 15:12:21 -07:00
Adam Powell
bbdb323b44 am 0474282f: am 11a03afa: Merge "Properly respect divider settings for TableLayout" into jb-mr1-dev
* commit '0474282f7e3c363adbaaf3f5409e0cf35efd6604':
  Properly respect divider settings for TableLayout
2012-08-23 14:22:55 -07:00
Adam Powell
11a03afaad Merge "Properly respect divider settings for TableLayout" into jb-mr1-dev 2012-08-23 14:18:22 -07:00
Adam Powell
c3c0e39ab5 Properly respect divider settings for TableLayout
Make sure that TableLayout always knows it's in VERTICAL orientation.

Bug 7041351

Change-Id: I9935891a58e558840ac7956a0ffe8448e21de799
2012-08-23 14:13:10 -07:00
Dianne Hackborn
8bfba7df37 Merge "fix wrong substring" 2012-08-23 14:10:31 -07:00
Dianne Hackborn
bc4c67af77 am 489a185b: am 5d1122a3: Merge "Fix issue #7016987: Unable to attach a picture in gmail/emaill composer action." into jb-mr1-dev
* commit '489a185bb8aa9983207e8c6a38bbdd7be3966aed':
  Fix issue #7016987: Unable to attach a picture in gmail/emaill composer action.
2012-08-23 14:05:25 -07:00
Dianne Hackborn
5d1122a3f8 Merge "Fix issue #7016987: Unable to attach a picture in gmail/emaill composer action." into jb-mr1-dev 2012-08-23 14:00:22 -07:00
Dianne Hackborn
f1c26e2fd0 Fix issue #7016987: Unable to attach a picture in gmail/emaill composer action.
Change-Id: I0c9336bb072b4622a5eab6d3ec104c4cc38e367a
2012-08-23 13:59:40 -07:00
Doug Zongker
c5ae986e9a am af4a0f1d: am d8b6fa29: Merge "pass --locale argument to recovery" into jb-mr1-dev
* commit 'af4a0f1d864de49d43b0c4924285f0699d4b7b89':
  pass --locale argument to recovery
2012-08-23 13:21:57 -07:00