85487 Commits

Author SHA1 Message Date
Adam Powell
4593774015 am b1861c3e: Minor fixes/clarifications for previous patch.
* commit 'b1861c3e89c3e869c95c5c01b78320a1dcef26ad':
  Minor fixes/clarifications for previous patch.
2012-09-16 12:36:11 -07:00
Adam Powell
b1861c3e89 Minor fixes/clarifications for previous patch.
Change-Id: Ib44f6de570064b3f3ddf70b6727b479a09ae5d7a
2012-09-16 12:17:53 -07:00
Jim Miller
d95129a76e am b45965f5: Merge "Fix keyguard timeout dialog messages" into jb-mr1-dev
* commit 'b45965f519d41f138f0d0edfb587e4861e2199f4':
  Fix keyguard timeout dialog messages
2012-09-16 11:59:54 -07:00
Jim Miller
b45965f519 Merge "Fix keyguard timeout dialog messages" into jb-mr1-dev 2012-09-16 11:57:23 -07:00
Adam Powell
3b6dc021de am 7db4eec5: Merge "Squish!" into jb-mr1-dev
* commit '7db4eec5951aac8dc9428430d7928f96062fa8d4':
  Squish!
2012-09-16 11:55:07 -07:00
Adam Powell
7db4eec595 Merge "Squish!" into jb-mr1-dev 2012-09-16 11:52:31 -07:00
Craig Mautner
2386be50d0 am a91f9e29: Make more items per-Display.
* commit 'a91f9e2959ee905f97977a88fe45bde6ffb874b0':
  Make more items per-Display.
2012-09-16 10:47:39 -07:00
Craig Mautner
a91f9e2959 Make more items per-Display.
Moving DimSurfaces, DimBackgrounds and Rotation surfaces into
per-display class.

Fixes bug 7167028.

Change-Id: I7408b3a27b5a7a8d0d59e9d6109c002fc627e536
2012-09-16 10:44:06 -07:00
Adam Powell
828e56ea6e Squish!
Take touch point size into account during the detection of scaling
gestures. Average together the major/minor axes of the size.

Add a config resource for tuning the minimum span requred to begin
(or end) a scale. This may be altered in a device-specific overlay
for devices that deviate too far from their assigned density bucket.

Change-Id: I2986888e9427a7e4cb56717d59c4fa7858ba9ca7
2012-09-16 10:27:03 -07:00
Dianne Hackborn
0fd909bad1 am d65afc65: Merge "More multi-user stuff." into jb-mr1-dev
* commit 'd65afc65ea5b2bf83889dd88a9c94f895da8aece':
  More multi-user stuff.
2012-09-16 00:09:26 -07:00
Dianne Hackborn
d65afc65ea Merge "More multi-user stuff." into jb-mr1-dev 2012-09-16 00:05:46 -07:00
Dianne Hackborn
6b655130e7 am 398bad04: Merge "Fix debug log." into jb-mr1-dev
* commit '398bad04a0ced9dacda185db8af7526002631f62':
  Fix debug log.
2012-09-16 00:05:37 -07:00
Dianne Hackborn
398bad04a0 Merge "Fix debug log." into jb-mr1-dev 2012-09-16 00:03:39 -07:00
Dianne Hackborn
5dc5a00e7e More multi-user stuff.
- New public APIs to find out when a user goes to the foreground,
  background, and is first initializing.
- New activity manager callback to be involved in the user switch
  process, allowing other services to let it know when it is safe
  to stop freezing the screen.
- Wallpaper service now implements this to handle its user switch,
  telling the activity manager when it is done.  (Currently this is
  only handling the old wallpaper going away, we need a little more
  work to correctly wait for the new wallpaper to get added.)
- Lock screen now implements the callback to do its user switch.  It
  also now locks itself when this happens, instead of relying on
  some other entity making sure it is locked.
- Pre-boot broadcasts now go to all users.
- WallpaperManager now has an API to find out if a named wallpaper is
  in use by any users.

Change-Id: I27877aef1d82126c0a1428c3d1861619ee5f8653
2012-09-15 23:58:55 -07:00
Jeff Sharkey
06f01326df am d0c6ccba: Move NetworkPolicy from apps to UID.
* commit 'd0c6ccbafdebc73d03cf3cd47f02f9f6c78a69ff':
  Move NetworkPolicy from apps to UID.
2012-09-15 16:12:04 -07:00
Jeff Sharkey
a6bb5cd8d2 am ee100445: Updating public API.
* commit 'ee100445b7c1f8789d1c8ff7d4ae2d28656657db':
  Updating public API.
2012-09-15 16:12:00 -07:00
Jeff Sharkey
d57f7dc464 am b3571a6c: Merge "Fix build" into jb-mr1-dev
* commit 'b3571a6ca8877181695ddbd916c2be73625e5a99':
  Fix build
2012-09-15 16:11:56 -07:00
Elliott Hughes
cbcf02a84c am edf60d3d: Fix up symbols.xml.
* commit 'edf60d3d0ab0b9e14c023ecf7aacf72c480dec24':
  Fix up symbols.xml.
2012-09-15 16:11:53 -07:00
Elliott Hughes
fdd1b6597b am c3ff72f5: Use icu4c for CLDR "yesterday", "today", and "tomorrow" strings.
* commit 'c3ff72f5bd5896ad2584e0cc0582cbd2ad8191f2':
  Use icu4c for CLDR "yesterday", "today", and "tomorrow" strings.
2012-09-15 16:11:49 -07:00
Elliott Hughes
138ab322cf am 08153ee0: Switch DateUtils and Time over to using the CLDR for all week and month names.
* commit '08153ee01e6aa67061f628bc3fed66c6400dfd1c':
  Switch DateUtils and Time over to using the CLDR for all week and month names.
2012-09-15 16:11:45 -07:00
Elliott Hughes
c3fb4a1668 am 23321b88: Merge "Use ICU\'s CLDR data for "AM" and "PM" strings." into jb-mr1-dev
* commit '23321b88578a4b4438e7563ff7616b98a1c1a520':
  Use ICU's CLDR data for "AM" and "PM" strings.
2012-09-15 16:11:38 -07:00
Elliott Hughes
8b1109a9ff am c12d642f: Merge "Revert "Add day_of_week_medium_* and day_of_week_short_* for Persian [fa]"" into jb-mr1-dev
* commit 'c12d642f040d6ea3e87d0ba187085bcdd11c2978':
  Revert "Add day_of_week_medium_* and day_of_week_short_* for Persian [fa]"
2012-09-15 16:11:32 -07:00
Elliott Hughes
0e29ed2ed5 am a8deafb4: Merge "Deprecate those parts of DateUtils the documentation says not to use." into jb-mr1-dev
* commit 'a8deafb4a68a0bdac2b5008f0f43c6645af2caf3':
  Deprecate those parts of DateUtils the documentation says not to use.
2012-09-15 16:11:29 -07:00
Christopher Tate
5bae602cbb am 2892dfbe: Merge "Fix default population of wifi settings" into jb-mr1-dev
* commit '2892dfbeafec5315d05fb6ceabeaee73b88f5ff0':
  Fix default population of wifi settings
2012-09-15 16:11:25 -07:00
Daniel Sandler
2dd7cb6f6a am 8dd9206a: Fix NPE in rotation lock QS.
* commit '8dd9206abbca6d143e3874abf46eca67f5340b31':
  Fix NPE in rotation lock QS.
2012-09-15 16:11:22 -07:00
Geremy Condra
81953a3437 am 74a550fa: Merge "Change verifyServerDomainAndCertificates to pass in a hostname." into jb-mr1-dev
* commit '74a550fac7f30463c368bc01969a4fa57ac61791':
  Change verifyServerDomainAndCertificates to pass in a hostname.
2012-09-15 16:11:18 -07:00
Jeff Sharkey
d0c6ccbafd Move NetworkPolicy from apps to UID.
For multi-user devices, switch to storing policy per-user instead of
per-app.  Also watch for user added/removed broadcasts to clean up
policies and apply global restrictions.

Bug: 7121279
Change-Id: Ia7326bd0ebe0586fa4ec6d3a62f6313dc8814007
2012-09-14 23:00:27 -07:00
Jeff Sharkey
ee100445b7 Updating public API.
Change-Id: I7b549af9af5cee21600fb356a411794320e84c56
2012-09-14 21:57:38 -07:00
Jeff Sharkey
b3571a6ca8 Merge "Fix build" into jb-mr1-dev 2012-09-14 21:16:03 -07:00
Christopher Tate
5f9c4c475f Fix build
(Deprecation changes are considered API changes.  I knew that.)

Change-Id: I58da073875efc77b833fa55ce15541fd48c5d335
2012-09-14 21:15:29 -07:00
Elliott Hughes
edf60d3d0a Fix up symbols.xml.
These dependent changes removed things from public.xml that have
since been moved to symbols.xml, so we need to remove them again.

Bug: 6811501
Change-Id: I1b333a5d3174de9b90039dcebbadcef65e8ae7b8
2012-09-14 20:22:17 -07:00
Elliott Hughes
c3ff72f5bd Use icu4c for CLDR "yesterday", "today", and "tomorrow" strings.
(cherry-pick of 47a0539ecaf7d7a15008704bd89f748aebf85d47.)

Conflicts:

	core/res/res/values/public.xml

Bug: 6811501
Change-Id: Ifb2e030a9fda85a7f664feac812b63e67780e68f
2012-09-14 20:22:17 -07:00
Elliott Hughes
08153ee01e Switch DateUtils and Time over to using the CLDR for all week and month names.
(cherry-pick of 99c406e42ba154584070ca7ec100e8be7ff8a800.)

Conflicts:

	core/res/res/values-fa/donottranslate-cldr.xml
	core/res/res/values/public.xml

Bug: 6811501
Change-Id: I2ad9608ae34804e02c6b0271197e96611df12b0a
2012-09-14 20:22:17 -07:00
Jim Miller
08b2b6bfe2 Fix keyguard timeout dialog messages
This fixes an issue where the attempt count was incorrect.  We now show the
dialog *after* reporting the failed attempt.

This also fixes an issue where the text wasn't being reset in the password dialog
of keyguard.

Fixes bugs 7170545 and 7120895

Change-Id: Iba2009705373758acca6e10bd670eb34744bece9
2012-09-14 19:15:45 -07:00
Elliott Hughes
23321b8857 Merge "Use ICU's CLDR data for "AM" and "PM" strings." into jb-mr1-dev 2012-09-14 18:56:15 -07:00
Elliott Hughes
c12d642f04 Merge "Revert "Add day_of_week_medium_* and day_of_week_short_* for Persian [fa]"" into jb-mr1-dev 2012-09-14 18:54:30 -07:00
Elliott Hughes
a8deafb4a6 Merge "Deprecate those parts of DateUtils the documentation says not to use." into jb-mr1-dev 2012-09-14 18:53:14 -07:00
Christopher Tate
2892dfbeaf Merge "Fix default population of wifi settings" into jb-mr1-dev 2012-09-14 17:59:00 -07:00
Christopher Tate
6f5a9a9652 Fix default population of wifi settings
Various wifi settings that are explicitly defaulted did not get their
default code properly converted to refer to the correct settings
database table.

A collection of moved-to-Global settings that had not yet been
marked @deprecated in the Secure.* namespace are now so marked.

Also updated the namespace used to refer to wifi settings from the
Wifi Service.  These changes are cosmetic, but they do eliminate a
number of runtime log messages.

Bug 7153671

Change-Id: I9e5b6464d025cfb480ef97373996e38e82f90593
2012-09-14 17:57:35 -07:00
Daniel Sandler
8dd9206abb Fix NPE in rotation lock QS.
Bug: 7172228
Change-Id: I3ac35e18fe7ce5af13ee4c54dabae80df696c819
2012-09-14 17:29:21 -07:00
Elliott Hughes
4af85345e7 Use ICU's CLDR data for "AM" and "PM" strings.
This brings DateUtils and Time in sync with bionic, icu, WebKit,
DateFormatSymbols, Formatter, and SimpleDateFormat. And specifically
means that DateUtils now knows how to say "AM" and "PM" in Japanese.

Bug: 6719054

(cherry-pick of b12b61a88a029730b1f2b006ff914c9c719f3942.)

Conflicts:

	core/res/res/values/public.xml

Change-Id: Ic1a811621a0ec338abd77458ac2046577f87c1e4
2012-09-14 17:10:00 -07:00
Geremy Condra
74a550fac7 Merge "Change verifyServerDomainAndCertificates to pass in a hostname." into jb-mr1-dev 2012-09-14 17:07:33 -07:00
Kenny Root
049005e3c5 am 1c9894aa: Merge "Remove AndroidKeyStore from API" into jb-mr1-dev
* commit '1c9894aa7f0eaa9ab562c1c384317456fd99dd6c':
  Remove AndroidKeyStore from API
2012-09-14 16:59:13 -07:00
Irfan Sheriff
0c913cda95 am 42496826: Merge "Fix suspend bugs" into jb-mr1-dev
* commit '424968261fb346859a7ac796703527f2e34c0a84':
  Fix suspend bugs
2012-09-14 16:56:14 -07:00
Kenny Root
1c9894aa7f Merge "Remove AndroidKeyStore from API" into jb-mr1-dev 2012-09-14 16:55:47 -07:00
Irfan Sheriff
424968261f Merge "Fix suspend bugs" into jb-mr1-dev 2012-09-14 16:54:09 -07:00
Elliott Hughes
7f269e4682 Deprecate those parts of DateUtils the documentation says not to use.
Applications using these fields and methods are just asking for i18n bugs.

Also @deprecate two int[]s that were never meant to be public.

(cherry-pick of d3c01012d8d329e541214e8207272ab5cc9ca004.)

Change-Id: I9fd131108ad82bacb9434ffbf40eddfde3459862
2012-09-14 16:52:33 -07:00
Elliott Hughes
fea122e6f0 Revert "Add day_of_week_medium_* and day_of_week_short_* for Persian [fa]"
This reverts commit f3875177254bb116028f8200c88d0b7a8ff9ab1c

This change conflicts with the intended cherry-pick of https://googleplex-android-review.googlesource.com/214542

Change-Id: If383a01dbd5de92d3e1d3ea2d55de15f7ccf9340
2012-09-14 16:49:55 -07:00
Geremy Condra
f743e54f2d Change verifyServerDomainAndCertificates to pass in a hostname.
This is required for cert pinning.

Change-Id: I16041f17e97d9ae592a2b809f6a8164268338d1b
2012-09-14 16:43:52 -07:00
Irfan Sheriff
633fe60b78 Fix suspend bugs
Listen to screen broadcast all the time to avoid situations of losing
this information when wifi is turned on and off

Avoid duplicate suspend commands to driver

Bug: 7156907
Change-Id: I162b7ba249ae8925119a534229045965c0c13d1f
2012-09-14 16:42:58 -07:00