OSDN Git Service

android-x86/frameworks-base.git
11 years agoMerge "More multi-user stuff." into jb-mr1-dev
Dianne Hackborn [Sun, 16 Sep 2012 07:05:45 +0000 (00:05 -0700)]
Merge "More multi-user stuff." into jb-mr1-dev

11 years agoMerge "Fix debug log." into jb-mr1-dev
Dianne Hackborn [Sun, 16 Sep 2012 07:03:39 +0000 (00:03 -0700)]
Merge "Fix debug log." into jb-mr1-dev

11 years agoMore multi-user stuff.
Dianne Hackborn [Sun, 16 Sep 2012 02:33:48 +0000 (19:33 -0700)]
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

11 years agoMove NetworkPolicy from apps to UID.
Jeff Sharkey [Fri, 14 Sep 2012 23:26:37 +0000 (16:26 -0700)]
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

11 years agoUpdating public API.
Jeff Sharkey [Sat, 15 Sep 2012 04:57:38 +0000 (21:57 -0700)]
Updating public API.

Change-Id: I7b549af9af5cee21600fb356a411794320e84c56

11 years agoMerge "Fix build" into jb-mr1-dev
Jeff Sharkey [Sat, 15 Sep 2012 04:16:02 +0000 (21:16 -0700)]
Merge "Fix build" into jb-mr1-dev

11 years agoFix build
Christopher Tate [Sat, 15 Sep 2012 01:35:41 +0000 (18:35 -0700)]
Fix build

(Deprecation changes are considered API changes.  I knew that.)

Change-Id: I58da073875efc77b833fa55ce15541fd48c5d335

11 years agoFix up symbols.xml.
Elliott Hughes [Sat, 15 Sep 2012 00:50:07 +0000 (17:50 -0700)]
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

11 years agoUse icu4c for CLDR "yesterday", "today", and "tomorrow" strings.
Elliott Hughes [Wed, 15 Aug 2012 21:53:12 +0000 (14:53 -0700)]
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

11 years agoSwitch DateUtils and Time over to using the CLDR for all week and month names.
Elliott Hughes [Mon, 6 Aug 2012 22:40:52 +0000 (15:40 -0700)]
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

11 years agoMerge "Use ICU's CLDR data for "AM" and "PM" strings." into jb-mr1-dev
Elliott Hughes [Sat, 15 Sep 2012 01:55:27 +0000 (18:55 -0700)]
Merge "Use ICU's CLDR data for "AM" and "PM" strings." into jb-mr1-dev

11 years agoMerge "Revert "Add day_of_week_medium_* and day_of_week_short_* for Persian [fa]...
Elliott Hughes [Sat, 15 Sep 2012 01:54:28 +0000 (18:54 -0700)]
Merge "Revert "Add day_of_week_medium_* and day_of_week_short_* for Persian [fa]"" into jb-mr1-dev

11 years agoMerge "Deprecate those parts of DateUtils the documentation says not to use." into...
Elliott Hughes [Sat, 15 Sep 2012 01:53:14 +0000 (18:53 -0700)]
Merge "Deprecate those parts of DateUtils the documentation says not to use." into jb-mr1-dev

11 years agoMerge "Fix default population of wifi settings" into jb-mr1-dev
Christopher Tate [Sat, 15 Sep 2012 00:58:59 +0000 (17:58 -0700)]
Merge "Fix default population of wifi settings" into jb-mr1-dev

11 years agoFix default population of wifi settings
Christopher Tate [Sat, 15 Sep 2012 00:24:28 +0000 (17:24 -0700)]
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

11 years agoFix NPE in rotation lock QS.
Daniel Sandler [Sat, 15 Sep 2012 00:29:12 +0000 (17:29 -0700)]
Fix NPE in rotation lock QS.

Bug: 7172228
Change-Id: I3ac35e18fe7ce5af13ee4c54dabae80df696c819

11 years agoUse ICU's CLDR data for "AM" and "PM" strings.
Elliott Hughes [Thu, 26 Jul 2012 00:30:24 +0000 (17:30 -0700)]
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

11 years agoMerge "Change verifyServerDomainAndCertificates to pass in a hostname." into jb-mr1-dev
Geremy Condra [Sat, 15 Sep 2012 00:07:33 +0000 (17:07 -0700)]
Merge "Change verifyServerDomainAndCertificates to pass in a hostname." into jb-mr1-dev

11 years agoMerge "Remove AndroidKeyStore from API" into jb-mr1-dev
Kenny Root [Fri, 14 Sep 2012 23:55:47 +0000 (16:55 -0700)]
Merge "Remove AndroidKeyStore from API" into jb-mr1-dev

11 years agoMerge "Fix suspend bugs" into jb-mr1-dev
Irfan Sheriff [Fri, 14 Sep 2012 23:54:08 +0000 (16:54 -0700)]
Merge "Fix suspend bugs" into jb-mr1-dev

11 years agoDeprecate those parts of DateUtils the documentation says not to use.
Elliott Hughes [Wed, 29 Aug 2012 01:57:13 +0000 (18:57 -0700)]
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

11 years agoRevert "Add day_of_week_medium_* and day_of_week_short_* for Persian [fa]"
Elliott Hughes [Fri, 14 Sep 2012 23:49:55 +0000 (16:49 -0700)]
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

11 years agoChange verifyServerDomainAndCertificates to pass in a hostname.
Geremy Condra [Fri, 14 Sep 2012 23:43:52 +0000 (16:43 -0700)]
Change verifyServerDomainAndCertificates to pass in a hostname.

This is required for cert pinning.

Change-Id: I16041f17e97d9ae592a2b809f6a8164268338d1b

11 years agoFix suspend bugs
Irfan Sheriff [Fri, 14 Sep 2012 21:35:44 +0000 (14:35 -0700)]
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

11 years agoam 086676a4: am f5437ee8: am 297ad257: Merge "Deprecate those parts of DateUtils...
Elliott Hughes [Fri, 14 Sep 2012 23:39:12 +0000 (16:39 -0700)]
am 086676a4: am f5437ee8: am 297ad257: Merge "Deprecate those parts of DateUtils the documentation says not to use."

* commit '086676a4a669b5d3a90c01e4d88ab8d628ca65f0':
  Deprecate those parts of DateUtils the documentation says not to use.

11 years agoam f5437ee8: am 297ad257: Merge "Deprecate those parts of DateUtils the documentation...
Elliott Hughes [Fri, 14 Sep 2012 23:36:33 +0000 (16:36 -0700)]
am f5437ee8: am 297ad257: Merge "Deprecate those parts of DateUtils the documentation says not to use."

* commit 'f5437ee86a34751fa6d441b95282feb315e19eb6':
  Deprecate those parts of DateUtils the documentation says not to use.

11 years agoam 297ad257: Merge "Deprecate those parts of DateUtils the documentation says not...
Elliott Hughes [Fri, 14 Sep 2012 23:34:41 +0000 (16:34 -0700)]
am 297ad257: Merge "Deprecate those parts of DateUtils the documentation says not to use."

* commit '297ad257464d2ea65cabd45ddb19f6da34b39157':
  Deprecate those parts of DateUtils the documentation says not to use.

11 years agoRemove AndroidKeyStore from API
Kenny Root [Fri, 14 Sep 2012 23:19:31 +0000 (16:19 -0700)]
Remove AndroidKeyStore from API

Change-Id: Ibe09d78e5a5b86604f01144f344525bff94c2dde

11 years agoMerge "Deprecate those parts of DateUtils the documentation says not to use."
Elliott Hughes [Fri, 14 Sep 2012 23:12:36 +0000 (16:12 -0700)]
Merge "Deprecate those parts of DateUtils the documentation says not to use."

11 years agoDeprecate those parts of DateUtils the documentation says not to use.
Elliott Hughes [Wed, 29 Aug 2012 01:57:13 +0000 (18:57 -0700)]
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.

Change-Id: I29b3a1c0c663fe344d2567df6ed3bb537270b3b7

11 years agoMerge "Send more information to verifiers" into jb-mr1-dev
rich cannings [Fri, 14 Sep 2012 23:02:29 +0000 (16:02 -0700)]
Merge "Send more information to verifiers" into jb-mr1-dev

11 years agoSome formatting missed in the previous patch
Svetoslav Ganov [Fri, 14 Sep 2012 22:20:45 +0000 (15:20 -0700)]
Some formatting missed in the previous patch

Change-Id: I299090ca67b1d90cf75a46dc85b13970d32511e5

11 years agoMerge "Adding accessibility events for touch and gesture detection states." into...
Svetoslav Ganov [Fri, 14 Sep 2012 22:16:27 +0000 (15:16 -0700)]
Merge "Adding accessibility events for touch and gesture detection states." into jb-mr1-dev

11 years agoAdding accessibility events for touch and gesture detection states.
Svetoslav Ganov [Fri, 14 Sep 2012 17:23:00 +0000 (10:23 -0700)]
Adding accessibility events for touch and gesture detection states.

1. Currently the system fires accessibility events to announce the
   start and end of a touch exploration gesture. However, such a
   gesture starts after we have decided that the user is not
   performing a gesture which is achieved by measuring speed of
   movement during a threshold distance. This allows an accessibility
   service to provide some feedback to the user so he knows that
   he is touch exploring.

   This change adds event types for the first and last touches
   of the user. Note that the first touch does not conincide with
   the start of a touch exploration gesture since we need a time
   or distance to pass before we know whether the user explores
   or gestures. However, it is very useful for an accessibility
   service to know when the user starts to interact with the
   touch screen so it can turn the speech off, to name one
   compelling use case.

   This change also provides event types for the start and end
   of gesture detection. If the user has moved over the threshold
   with a speed greater than X, then the system detects gestures.
   It is useful for an accessibility service to know the begin
   and end of gesture detection so it can provide given feedback
   type for such a gesture, say it may produce haptic feedback
   or sound that differs for the one for touch exploration.

   The main benefit of announcing these new events is that an
   accessibility service can provide feedback for each touch
   state allowing the user to always know what he is doing.

bug:7166935

Change-Id: I26270d774cc059cb921d6a4254bc0aab0530c1dd

11 years agoMerge "Increase GO idle time out to 5 seconds" into jb-mr1-dev
Irfan Sheriff [Fri, 14 Sep 2012 22:06:18 +0000 (15:06 -0700)]
Merge "Increase GO idle time out to 5 seconds" into jb-mr1-dev

11 years agoIncrease GO idle time out to 5 seconds
Irfan Sheriff [Fri, 14 Sep 2012 22:04:36 +0000 (15:04 -0700)]
Increase GO idle time out to 5 seconds

This is needed to work well with cavium dongle and 2 seconds
was too aggressive to let a client scan and connect.

Change-Id: Id3f1e3711333365c1e90827fb92675fd5dbc49da

11 years agoMerge "Add day_of_week_medium_* and day_of_week_short_* for Persian [fa]" into jb...
Baligh Uddin [Fri, 14 Sep 2012 22:02:17 +0000 (15:02 -0700)]
Merge "Add day_of_week_medium_* and day_of_week_short_* for Persian [fa]" into jb-mr1-dev

11 years agoMerge "Update account list on account picker activity resume" into jb-mr1-dev
Jatin Lodhia [Fri, 14 Sep 2012 21:41:59 +0000 (14:41 -0700)]
Merge "Update account list on account picker activity resume" into jb-mr1-dev

11 years agoSend more information to verifiers
rich cannings [Thu, 13 Sep 2012 20:43:07 +0000 (13:43 -0700)]
Send more information to verifiers

Send package name, version code and the uid of the application requesting the
install to package verifiers.

Bug: 7164155
Change-Id: I2464dc5d4551f60b4f38f7982495a8920c83e1cd

11 years agoMerge "Fix face unlock for multiple users" into jb-mr1-dev
Amith Yamasani [Fri, 14 Sep 2012 21:11:58 +0000 (14:11 -0700)]
Merge "Fix face unlock for multiple users" into jb-mr1-dev

11 years agoAdding data type overlay to network tile.
Winson Chung [Fri, 14 Sep 2012 21:01:40 +0000 (14:01 -0700)]
Adding data type overlay to network tile.

Change-Id: Iae3c188e2f7f03bd1ebaddc756021be312ddb0aa

11 years agoMerge "Hiding some of the deprecated android.webkit API's" into jb-mr1-dev
Kristian Monsen [Fri, 14 Sep 2012 21:01:34 +0000 (14:01 -0700)]
Merge "Hiding some of the deprecated android.webkit API's" into jb-mr1-dev

11 years agoMerge "DEFAULT_VERIFY_ENABLE turns verification off" into jb-mr1-dev
Ben Gruver [Fri, 14 Sep 2012 21:00:50 +0000 (14:00 -0700)]
Merge "DEFAULT_VERIFY_ENABLE turns verification off" into jb-mr1-dev

11 years agoMerge "Actually move to Global settings." into jb-mr1-dev
Jeff Sharkey [Fri, 14 Sep 2012 20:49:23 +0000 (13:49 -0700)]
Merge "Actually move to Global settings." into jb-mr1-dev

11 years agoActually move to Global settings.
Jeff Sharkey [Fri, 14 Sep 2012 20:47:51 +0000 (13:47 -0700)]
Actually move to Global settings.

Also add better ConnectivityService logging.

Bug: 7157464
Change-Id: Ia235a7e62ed809240913c4782920c1410c7d597d

11 years agoMerge "Get correct user's package info during clip processing" into jb-mr1-dev
Christopher Tate [Fri, 14 Sep 2012 20:44:51 +0000 (13:44 -0700)]
Merge "Get correct user's package info during clip processing" into jb-mr1-dev

11 years agoGet correct user's package info during clip processing
Christopher Tate [Fri, 14 Sep 2012 20:34:17 +0000 (13:34 -0700)]
Get correct user's package info during clip processing

Also clear the binder identity correctly for purposes of doing
that query.

Bug 7162477

Change-Id: Ie9e43a2d8fc964d1be649887905244dcceaa3c80

11 years agoAdd day_of_week_medium_* and day_of_week_short_* for Persian [fa]
Roozbeh Pournader [Fri, 14 Sep 2012 20:18:37 +0000 (13:18 -0700)]
Add day_of_week_medium_* and day_of_week_short_* for Persian [fa]

Persian was missing data for day_of_week_medium_* and day_of_week_short_*,
resulting in fallbacks to English.

Bug: 6811501
Change-Id: Ib321a964221e451d8b47e2eb025fad8a02f0d5c0

11 years agoDEFAULT_VERIFY_ENABLE turns verification off
rich cannings [Fri, 14 Sep 2012 20:18:55 +0000 (13:18 -0700)]
DEFAULT_VERIFY_ENABLE turns verification off

When DEFAULT_VERIFY_ENABLE == false, package verification must be completely
off.

Bug: 7132197
Change-Id: Icc0dbb4a3f4f5f00ddadecda6cc42976618c4332

11 years agoFix face unlock for multiple users
Amith Yamasani [Fri, 14 Sep 2012 20:36:29 +0000 (13:36 -0700)]
Fix face unlock for multiple users

Bug: 7152537

Not all instances of LockPatternUtils are getting updated with the current user, so
query it directly from the Activity Manager.

Change-Id: I46395c3e00feecd0edfe4228f8d7966f425519f2

11 years agoMerge "Move to Global.NETSTATS and Global.NTP constants." into jb-mr1-dev
Jeff Sharkey [Fri, 14 Sep 2012 20:15:16 +0000 (13:15 -0700)]
Merge "Move to Global.NETSTATS and Global.NTP constants." into jb-mr1-dev

11 years agoMove to Global.NETSTATS and Global.NTP constants.
Jeff Sharkey [Fri, 14 Sep 2012 20:09:57 +0000 (13:09 -0700)]
Move to Global.NETSTATS and Global.NTP constants.

Bug: 7157464
Change-Id: Ief10fd37940f62420f5684940994c9f93802e0be

11 years agoAdd support for settings for lock widgets
Jim Miller [Thu, 13 Sep 2012 03:32:50 +0000 (20:32 -0700)]
Add support for settings for lock widgets

Change-Id: Iade094c6f32a7653bdbbd4921d345d68f2443ff4

11 years agoMerge "Suppress ExpandHelper on quick settings." into jb-mr1-dev
Winson Chung [Fri, 14 Sep 2012 19:27:25 +0000 (12:27 -0700)]
Merge "Suppress ExpandHelper on quick settings." into jb-mr1-dev

11 years agoAdding rotation lock tile to quick settings (on tablets).
Winson Chung [Fri, 14 Sep 2012 19:27:29 +0000 (12:27 -0700)]
Adding rotation lock tile to quick settings (on tablets).

Change-Id: Ia68c07051acc1f0f42dde0b1322db034b5d54506

11 years agoMerge "Fix bug with getting widget categories" into jb-mr1-dev
Michael Jurka [Fri, 14 Sep 2012 19:20:58 +0000 (12:20 -0700)]
Merge "Fix bug with getting widget categories" into jb-mr1-dev

11 years agoMerge "Adding a couple extras keys for keyguard widget selection" into jb-mr1-dev
Michael Jurka [Fri, 14 Sep 2012 19:20:08 +0000 (12:20 -0700)]
Merge "Adding a couple extras keys for keyguard widget selection" into jb-mr1-dev

11 years agoam e5905684: am eceb3171: am f4afc401: Merge "framework: fix bug for uninitialized...
Raph Levien [Fri, 14 Sep 2012 19:19:03 +0000 (12:19 -0700)]
am e5905684: am eceb3171: am f4afc401: Merge "framework: fix bug for uninitialized variable"

* commit 'e590568417aa824e7b0e76ae727556d329cb57cf':
  framework: fix bug for uninitialized variable

11 years agoFix bug with getting widget categories
Michael Jurka [Fri, 14 Sep 2012 19:18:51 +0000 (12:18 -0700)]
Fix bug with getting widget categories

Change-Id: I3b0f410707d37436732c45b572c2f588427a784f

11 years agoam eceb3171: am f4afc401: Merge "framework: fix bug for uninitialized variable"
Raph Levien [Fri, 14 Sep 2012 19:16:32 +0000 (12:16 -0700)]
am eceb3171: am f4afc401: Merge "framework: fix bug for uninitialized variable"

* commit 'eceb317116d87dada85d06df8fe0e07dd4aec49d':
  framework: fix bug for uninitialized variable

11 years agoam f4afc401: Merge "framework: fix bug for uninitialized variable"
Raph Levien [Fri, 14 Sep 2012 19:15:03 +0000 (12:15 -0700)]
am f4afc401: Merge "framework: fix bug for uninitialized variable"

* commit 'f4afc40101c00800c4dc53f165b93f741327416d':
  framework: fix bug for uninitialized variable

11 years agoFix debug log.
Dianne Hackborn [Fri, 14 Sep 2012 18:54:12 +0000 (11:54 -0700)]
Fix debug log.

Change-Id: If65abf43ee7a455b12d49b5800657dbf4489e5b9

11 years agoMerge "framework: fix bug for uninitialized variable"
Raph Levien [Fri, 14 Sep 2012 18:52:11 +0000 (11:52 -0700)]
Merge "framework: fix bug for uninitialized variable"

11 years agoMerge "Text layout in switch may be null when accessibility events are fired." into...
Svetoslav Ganov [Fri, 14 Sep 2012 18:37:15 +0000 (11:37 -0700)]
Merge "Text layout in switch may be null when accessibility events are fired." into jb-mr1-dev

11 years agoText layout in switch may be null when accessibility events are fired.
Svetoslav Ganov [Fri, 14 Sep 2012 18:33:39 +0000 (11:33 -0700)]
Text layout in switch may be null when accessibility events are fired.

1. The layout containing the text of a Switch is initialized on measure
   and if an accessibility event is fired before that then a NPE happens.

bug:7169419

Change-Id: Iee3c01ca9157d14d228c4ff33c0810507e0e25a7

11 years agoMerge "Fix Settings writes to a different user" into jb-mr1-dev
Christopher Tate [Fri, 14 Sep 2012 18:35:19 +0000 (11:35 -0700)]
Merge "Fix Settings writes to a different user" into jb-mr1-dev

11 years agoMerge "Don't prematurely delete temporary files" into jb-mr1-dev
Kenny Root [Fri, 14 Sep 2012 18:19:43 +0000 (11:19 -0700)]
Merge "Don't prematurely delete temporary files" into jb-mr1-dev

11 years agoMerge "Multiply alpha for AA as late as possible" into jb-mr1-dev
Romain Guy [Fri, 14 Sep 2012 17:34:46 +0000 (10:34 -0700)]
Merge "Multiply alpha for AA as late as possible" into jb-mr1-dev

11 years agoDon't prematurely delete temporary files
Kenny Root [Fri, 14 Sep 2012 17:26:16 +0000 (10:26 -0700)]
Don't prematurely delete temporary files

When verification and encryption is used, the temporary file was deleted
prematurely.

Also, on next boot-up, scan the directory we use for temporary files to
clean them up if the user rebooted in the middle of installation.

Bug: 7132197
Change-Id: Ic9e8aab9a664ca00d9ac16f72e53fc43d78d21bc

11 years agoMerge "Fixup a comment." into jb-mr1-dev
Jeff Brown [Fri, 14 Sep 2012 07:01:05 +0000 (00:01 -0700)]
Merge "Fixup a comment." into jb-mr1-dev

11 years agoFixup a comment.
Jeff Brown [Fri, 14 Sep 2012 07:00:17 +0000 (00:00 -0700)]
Fixup a comment.

Change-Id: I7b73f7e0f0aa903e5cd02d1cdb678e65a6d40e0c

11 years agoMerge "Prevent crash when invalidating all Views Bug #7165793" into jb-mr1-dev
Romain Guy [Fri, 14 Sep 2012 05:53:12 +0000 (22:53 -0700)]
Merge "Prevent crash when invalidating all Views Bug #7165793" into jb-mr1-dev

11 years agoPrevent crash when invalidating all Views
Romain Guy [Fri, 14 Sep 2012 05:50:18 +0000 (22:50 -0700)]
Prevent crash when invalidating all Views
Bug #7165793

A ViewRootImpl's root view can be null. Check for this condition to
prevent an NPE invalidateWorld(). Other messages perform a similar
check to properly handle the case where mView == null.

Change-Id: I5bcfc41c48a469d38b21be74df2f6c715b0f9352

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr1-dev
Baligh Uddin [Fri, 14 Sep 2012 04:58:41 +0000 (21:58 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-mr1-dev

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr1-dev
Baligh Uddin [Fri, 14 Sep 2012 04:49:37 +0000 (21:49 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-mr1-dev

11 years agoMerge "Foundation for tiling optimization" into jb-mr1-dev
Romain Guy [Fri, 14 Sep 2012 03:31:02 +0000 (20:31 -0700)]
Merge "Foundation for tiling optimization" into jb-mr1-dev

11 years agoFoundation for tiling optimization
Romain Guy [Fri, 14 Sep 2012 03:26:50 +0000 (20:26 -0700)]
Foundation for tiling optimization

Change-Id: I4db32a4749f196472ba0dde7e102439d2ba4a3a7

11 years agoMerge "Failing uchar4->int4 test" into jb-mr1-dev
Stephen Hines [Fri, 14 Sep 2012 02:45:56 +0000 (19:45 -0700)]
Merge "Failing uchar4->int4 test" into jb-mr1-dev

11 years agoMerge "Fix the build" into jb-mr1-dev
Svetoslav Ganov [Fri, 14 Sep 2012 02:40:53 +0000 (19:40 -0700)]
Merge "Fix the build" into jb-mr1-dev

11 years agoFix the build
Svetoslav Ganov [Fri, 14 Sep 2012 02:40:03 +0000 (19:40 -0700)]
Fix the build

Change-Id: Ibdabfbd70fe27188be3361792b2886dec78a49d4

11 years agoMerge "Eat copy pasta." into jb-mr1-dev
Jeff Brown [Fri, 14 Sep 2012 02:26:46 +0000 (19:26 -0700)]
Merge "Eat copy pasta." into jb-mr1-dev

11 years agoEat copy pasta.
Jeff Brown [Fri, 14 Sep 2012 02:24:57 +0000 (19:24 -0700)]
Eat copy pasta.

Change-Id: I74cbad279c15f1999cc68d732fc04d6c448b5c39

11 years agoFix Settings writes to a different user
Christopher Tate [Thu, 13 Sep 2012 23:19:44 +0000 (16:19 -0700)]
Fix Settings writes to a different user

Oops.  Stacked bugs:  first, the desired user handle was not properly
being passed from the call() entry point to the database operations;
then on top of that, the client-side cache management was still
looking in the local user's cache for the data, so a request to read
a different user's settings would return the local user's instead if
that key was already known to the local user's cache.

Reads and writes of a different user's settings are now uncached,
so they're relatively much slower.  They're rare, however, so this
is not something to worry about unless we encounter a real world
case where it's a significant factor.

This CL also adds a bit of cross-user settings read/write testing
to the existing provider suite.  These new tests caught both the
known wrong-user-write bug and discovered the client-side cache
bug, so yay.

Finally, the existing wholesale mutual-exclusion approach would
deadlock in certain circumstances due to the fact that the
settings database creation code might have to call out to the
Package Manager while populating the bookmark/shortcut table,
and the Package Manager would then call back into the settings
provider in the course of handling that request.  The synchronization
regime has been significantly tightened up now: now the database
code [which is known to deal with concurrency itself] is allowed
to cope with multiple parallel openers of the same db; this
allows the settings provider to avoid calling out to other parts
of the system even implicitly while its internal lock is held.

Change-Id: Ib77d445b4a2ec658cc5c210830f6977c981f87ed

11 years agoMerge "We don't need black frames for forced display size." into jb-mr1-dev
Jeff Brown [Fri, 14 Sep 2012 01:55:32 +0000 (18:55 -0700)]
Merge "We don't need black frames for forced display size." into jb-mr1-dev

11 years agoAllowing association between a view and its label for accessibility.
Svetoslav Ganov [Thu, 13 Sep 2012 19:49:03 +0000 (12:49 -0700)]
Allowing association between a view and its label for accessibility.

1. For accessibility purposes it is important to be able to associate
   a view with content with a view that labels it. For example, if
   an accessibility service knows that a TextView is associated with
   an EditText, it can provide much richer feedback.

   This change adds APIs for setting a view to be the label for another
   one and setting the label for a view, i.e. the reverse association.

bug:5016937

Change-Id: I7b837265c5ed9302e3ce352396dc6e88413038b5

11 years agoRevert "Add accessibility scroll actions to TabWidget"
Alan Viverette [Thu, 13 Sep 2012 23:25:47 +0000 (16:25 -0700)]
Revert "Add accessibility scroll actions to TabWidget"

This reverts commit 6053088884171f67e2df253576eab116fd05b4fe

Change-Id: Ia648d7e3e092c396a038740d708de37fe4169d80

11 years agoMultiply alpha for AA as late as possible
Chris Craik [Fri, 14 Sep 2012 01:34:55 +0000 (18:34 -0700)]
Multiply alpha for AA as late as possible

Should be done after all color computation

Change-Id: Iaadd565f7d2263f111f6841a00e7c341025833d3

11 years agoUpdate account list on account picker activity resume
Jatin Lodhia [Wed, 12 Sep 2012 20:59:33 +0000 (13:59 -0700)]
Update account list on account picker activity resume

Activities which help select an account gather the list of accounts only during create and dont update it agian. When a user moves out of the account selection activity by clicking home page, deletes an accout in the background and comes back to the earlier accout selection activity, the deleted account still exists as an option. This cl fixes this by updating the account list on resume.

Bug: 7135608
Change-Id: Idc9a2fa6451b032310c0ad66f6db0e2f0967feeb

11 years agoUpdating Wifi/Mobile tiles to reflect actual connection state with new assets.
Winson Chung [Fri, 14 Sep 2012 01:13:44 +0000 (18:13 -0700)]
Updating Wifi/Mobile tiles to reflect actual connection state with new assets.

Change-Id: Ic1cd78c77f94f1c9cf9bbc1bcea3082ca536d94c

11 years agoMerge "Unhide intrinsics and document API." into jb-mr1-dev
Jason Sams [Fri, 14 Sep 2012 01:06:27 +0000 (18:06 -0700)]
Merge "Unhide intrinsics and document API." into jb-mr1-dev

11 years agoUnhide intrinsics and document API.
Jason Sams [Fri, 14 Sep 2012 00:00:48 +0000 (17:00 -0700)]
Unhide intrinsics and document API.

Change-Id: I0233245c68f9a08780213062e62cfea6cf909c13

11 years agoMerge "Break flings with opposing velocities" into jb-mr1-dev
Adam Powell [Thu, 13 Sep 2012 23:45:23 +0000 (16:45 -0700)]
Merge "Break flings with opposing velocities" into jb-mr1-dev

11 years agoMerge "Updating assets, fixing Battery tile to show proper states." into jb-mr1-dev
Winson Chung [Thu, 13 Sep 2012 23:38:49 +0000 (16:38 -0700)]
Merge "Updating assets, fixing Battery tile to show proper states." into jb-mr1-dev

11 years agoUpdating assets, fixing Battery tile to show proper states.
Winson Chung [Thu, 13 Sep 2012 23:36:41 +0000 (16:36 -0700)]
Updating assets, fixing Battery tile to show proper states.

Change-Id: I0df6d62f57e8034f17d6add31416b050af8a0c15

11 years agoMerge "Improve debug output." into jb-mr1-dev
Craig Mautner [Thu, 13 Sep 2012 23:35:56 +0000 (16:35 -0700)]
Merge "Improve debug output." into jb-mr1-dev

11 years agoImprove debug output.
Craig Mautner [Thu, 13 Sep 2012 23:34:41 +0000 (16:34 -0700)]
Improve debug output.

Change-Id: I94f46e1e373dc9e67bfbc1d1847399c119ec2fcb

11 years agoBreak flings with opposing velocities
Adam Powell [Tue, 11 Sep 2012 16:52:37 +0000 (09:52 -0700)]
Break flings with opposing velocities

Change-Id: Iafab692997ad7c2cbbf02d786a716e6edb6475a7

11 years agoWe don't need black frames for forced display size.
Jeff Brown [Thu, 13 Sep 2012 22:35:03 +0000 (15:35 -0700)]
We don't need black frames for forced display size.

Now that surface flinger lets us set a display projection,
the window manager no longer needs to place a black frame
around the content when simulating a different display size.

Bug: 7139798
Change-Id: I6014390f47444633d434ccf918cee5ff7b502869

11 years agoMerge "Add preliminary API for reporting display capabilities." into jb-mr1-dev
Jeff Brown [Thu, 13 Sep 2012 22:34:51 +0000 (15:34 -0700)]
Merge "Add preliminary API for reporting display capabilities." into jb-mr1-dev

11 years agoMerge "Require ACCESS_FINE_LOCATION for Geofence use." into jb-mr1-dev
Victoria Lease [Thu, 13 Sep 2012 22:32:00 +0000 (15:32 -0700)]
Merge "Require ACCESS_FINE_LOCATION for Geofence use." into jb-mr1-dev