4443 Commits

Author SHA1 Message Date
Baligh Uddin
5ef8f22d71 Merge "Import translations. DO NOT MERGE" 2013-02-08 00:55:44 +00:00
Daniel Sandler
8949b2480b am fb2b5e04: am 1fd77470: am 1a1e9b31: Merge "DateView: Use Intent.ACTION_LOCALE_CHANGED to refresh notification bar clock"
# By Jorge Ruesga
# Via Android Git Automerger (2) and others
* commit 'fb2b5e04a02669c764e4ebd7a6daf9846d596435':
  DateView: Use Intent.ACTION_LOCALE_CHANGED to refresh notification bar clock
2013-02-06 22:06:23 -08:00
Daniel Sandler
1fd7747097 am 1a1e9b31: Merge "DateView: Use Intent.ACTION_LOCALE_CHANGED to refresh notification bar clock"
# By Jorge Ruesga
# Via Gerrit Code Review (1) and Jorge Ruesga (1)
* commit '1a1e9b317ac2d737ad92a35c4d806f0fda1ede70':
  DateView: Use Intent.ACTION_LOCALE_CHANGED to refresh notification bar clock
2013-02-06 22:01:39 -08:00
Daniel Sandler
1a1e9b317a Merge "DateView: Use Intent.ACTION_LOCALE_CHANGED to refresh notification bar clock" 2013-02-07 05:09:33 +00:00
Jeffrey Brown
a81a40e06d am 3c239d7e: am 8934c575: am 88ba2f48: Merge "Disable usage of WAL in DatabaseHelper"
# By Yevgen Pronenko
# Via Android Git Automerger (2) and others
* commit '3c239d7e8d78570b1e17ad968c408506e73a8f3f':
  Disable usage of WAL in DatabaseHelper
2013-02-06 20:55:58 -08:00
Jeffrey Brown
8934c57564 am 88ba2f48: Merge "Disable usage of WAL in DatabaseHelper"
# By Yevgen Pronenko
# Via Gerrit Code Review (1) and Johan Redestig (1)
* commit '88ba2f48a2d1193f3877575b2589897a7804aa75':
  Disable usage of WAL in DatabaseHelper
2013-02-06 20:50:09 -08:00
Jeffrey Brown
88ba2f48a2 Merge "Disable usage of WAL in DatabaseHelper" 2013-02-07 04:39:35 +00:00
Maggie Benthall
1095d9ac5d Merge "Fix for SettingsProvider to query for correct user." 2013-02-07 00:04:59 +00:00
Maggie Benthall
d2726582f1 Fix for SettingsProvider to query for correct user.
insertForUser takes a specified user and attempts to adjust that user's
settings, first looking at their existing settings to determine the difference.
However it was querying the settings for the calling user, rather than for
the user whose settings were being changed.

Also add a test that exercises the fix.

Change-Id: I6ed6fd79154ac1b6e6ab880769ac9081dfff6b80
2013-02-06 18:53:47 -05:00
Baligh Uddin
f8cb78ce45 Import translations. DO NOT MERGE
Change-Id: I17a8f545e9858909e2c4c831e4facf7252e284d7
Auto-generated-cl: translation import
2013-02-06 12:38:36 -08:00
Derek Sollenberger
23e500d168 Merge "Merge remote-tracking branch 'goog/master-chromium' into 'goog/master'" 2013-02-06 12:57:38 +00:00
Dianne Hackborn
961321fe4e App ops: add op for writing settings.
Also fix a build.

And fix a bug that I think was introduced in the multi-user work
that removed the permission check for writing to settings...!

Change-Id: I5945682faa789ffc78fd3546c0df7d03693f106d
2013-02-05 17:22:41 -08:00
Daniel Sandler
8bc623a16e am fc12f1e3: Merge "Log messages to debug stuck status bars."
# Via Android (Google) Code Review (1) and Daniel Sandler (1)
* commit 'fc12f1e37bfa0f9240ed5f6af999a9fbba507fb0':
  Log messages to debug stuck status bars.
2013-02-05 10:29:05 -08:00
Daniel Sandler
fc12f1e37b Merge "Log messages to debug stuck status bars." 2013-02-05 18:25:50 +00:00
Daniel Sandler
2b99a49c2e Log messages to debug stuck status bars.
Bug: 7686690
Change-Id: If9660767a8ce6315dcd4b0c52f377069fefeb7a1
2013-02-05 13:18:07 -05:00
Victoria Lease
63af7a113b am 080df3f3: Merge "dual-mode switching single/multiuser ServiceWatcher"
# Via Android (Google) Code Review (1) and Victoria Lease (1)
* commit '080df3f38fc47f15ad321fff00689dcd07e1d075':
  dual-mode switching single/multiuser ServiceWatcher
2013-02-05 09:45:16 -08:00
Victoria Lease
080df3f38f Merge "dual-mode switching single/multiuser ServiceWatcher" 2013-02-05 17:38:48 +00:00
Victoria Lease
03cdd3d275 dual-mode switching single/multiuser ServiceWatcher
This changelist revises LocationManager's previous multiuser system.

Location provider services that are not multiuser-aware continue to
run as before: ServiceWatcher binds to location provider services as
the current active user. When the device switches from one user to
another, ServiceWatcher unbinds from the old user's location provider
service and binds to the new user's instance.

Now, location provider services that are multiuser-aware or
user-agnostic can declare "serviceIsMultiuser" metadata in their
AndroidManifest.xml to prevent ServiceWatcher from performing this
switching. These services will run as singleton services and will be
expected to handle user switches on their own.

With this feature in, I was able to switch FusedLocationProvider to
run in multiuser mode, sharing the system_server process instead of
running in its own process. The NetworkLocationProvider is unchanged,
still running in singleuser mode, cheerfully oblivious to the
possibility that there might be any user on the device besides the
one it services.

Bug: 8028045
Change-Id: I1a5bd032918419bab6edb46c62ff8c6811170654
2013-02-01 16:00:20 -08:00
Dianne Hackborn
b606eae34d am f265ea9d: App ops: vibration, neighboring cells, dialing, etc.
# Via Dianne Hackborn
* commit 'f265ea9d8307282ff1da3915978625a94fc2859e':
  App ops: vibration, neighboring cells, dialing, etc.
2013-02-01 15:23:41 -08:00
Dianne Hackborn
f265ea9d83 App ops: vibration, neighboring cells, dialing, etc.
Improve handling of vibration op, so that apps are
better blamed (there is now a hidden vibrator API that
supplies the app to blame, and the system now uses this
when vibrating on behalf of an app).

Add operation for retrieving neighboring cell information.

Add a new op for calling a phone number.  This required
plumbing information about the launching package name through
the activity manager, which required changing the internal
startActivity class, which required hitting a ton of code that
uses those internal APIs.

Change-Id: I3f8015634fdb296558f07fe654fb8d53e5c94d07
2013-02-01 15:14:29 -08:00
Svetoslav Ganov
b88dd64f38 am 88a23f2f: Merge ""Fixing backwards cmpatibility for enabling explore by touch"""
# Via Android (Google) Code Review (1) and Svetoslav Ganov (1)
* commit '88a23f2f70222459f057ec8a6bbe8eccc8a7b549':
  "Fixing backwards cmpatibility for enabling explore by touch""
2013-02-01 12:31:20 -08:00
Svetoslav Ganov
447d94684e "Fixing backwards cmpatibility for enabling explore by touch""
This reverts commit d1ed3cea37e4156eab14b7dc8207a520c9eab700

Change-Id: I622ef034526f8f006a5a233e72487b062020e4f6
2013-02-01 12:24:42 -08:00
Mike Cleron
08fffce842 am 0214f205: Merge "Revert "Fixing backwards cmpatibility for enabling explore by touch""
# Via Android (Google) Code Review
* commit '0214f205f619ebc23b5069880afdb09259b0ced7':
  Revert "Fixing backwards cmpatibility for enabling explore by touch"
2013-02-01 11:00:37 -08:00
Mike Cleron
0214f205f6 Merge "Revert "Fixing backwards cmpatibility for enabling explore by touch"" 2013-02-01 18:57:23 +00:00
Mike Cleron
d1ed3cea37 Revert "Fixing backwards cmpatibility for enabling explore by touch"
This reverts commit 0a9c7c144671f70f5f1af222050bd3ec6b11fe41

Change-Id: I8da530a6d0a57163522d5a63326e787a8d22ecbf
2013-02-01 18:36:41 +00:00
Baligh Uddin
91d89e068a Import translations. DO NOT MERGE
Change-Id: Idcb01f885685ad99a7ae9cc3ca30a2422b9ffaf6
Auto-generated-cl: translation import
2013-02-01 07:48:09 -08:00
Svetoslav
1ec0ccafa1 am 97273d50: Merge "Fixing backwards cmpatibility for enabling explore by touch"
# Via Android (Google) Code Review (1) and Svetoslav (1)
* commit '97273d50ce5b5689a1c787ebfed2ba3927de085a':
  Fixing backwards cmpatibility for enabling explore by touch
2013-02-01 00:55:43 -08:00
Svetoslav
0a9c7c1446 Fixing backwards cmpatibility for enabling explore by touch
Change-Id: I8cbc4f03223d289547e3f3f6d1f528ad5b4f6f72
2013-02-01 00:47:29 -08:00
Svetoslav
62d595216b am ec695824: Merge "Remove "enhance web scripts" from settings and make it requested by plug-ins."
# Via Android (Google) Code Review (1) and Svetoslav (1)
* commit 'ec695824af7ab263eaae613b87f2c0b24f176f91':
  Remove "enhance web scripts" from settings and make it requested by plug-ins.
2013-01-30 21:40:20 -08:00
Svetoslav
ec695824af Merge "Remove "enhance web scripts" from settings and make it requested by plug-ins." 2013-01-31 03:16:59 +00:00
Baligh Uddin
2df86316a3 Import translations. DO NOT MERGE
Change-Id: Ie7f5b90ff75d3ee01dbfd824cf6b3d7ecb4c2c9b
Auto-generated-cl: translation import
2013-01-30 09:24:43 -08:00
Svetoslav
3822896e22 Remove "enhance web scripts" from settings and make it requested by plug-ins.
Currently we have an "enhance web accessibility" setting that has to be
enabled to make sure web content is accessible. We added the setting to
get user consent because we are injecting JavaScript-based screen-reader
pulled from the Google infrastructure. However, many users do not know
that and (as expected) do not read the user documentation, resulting in
critique for lacking accessibility support in WebViews with JavaScript
enabled (Browser, Gmail, etc).

To smoothen the user experience now "enhance web accessibility" is a
feature an accessibility plug-in can request, similarly to explore by
touch. Now a user does not need to know that she has to explicitly
enable the setting and web accessibility will work out-of-the-box.

Before we were showing a dialog when a plug-in tries to put the device
in a touch exploration mode. However, now that we have one more feature
a plug-in can request, showing two dialogs (assume a plug-in wants both
features) will mean that a user should potentially deal with three
dialogs, one for enabling the service, and one for each feature. We
could merge the dialogs but still the user has to poke two dialogs.

It seems that the permission mechanism is a perfect fit for getting
user permission for an app to do something, in this case to enable
an accessibility feature. We need a separate permission for explore
by touch and enhance web accessibility since the former changes the
interaction model and the latter injects JavaScript in web pages. It
is critical to get user consent for the script injection part so we
need a well-documented permission rather a vague umbrella permission
for poking accessibility features. To allow better grouping of the
accessibility permissions this patch adds a permission group as well.

bug:8089372

Change-Id: Ic125514c34f191aea0416a469e4b3481ab3200b9
2013-01-29 13:56:22 -08:00
Romain Guy
55dccf3e98 am 29e4aa7a: Merge "Reinitialize hardware renderer after eglTerminate() Bug #8066455"
# Via Android (Google) Code Review (1) and Romain Guy (1)
* commit '29e4aa7abe6b0c62f31fb23b8572cd5b91f08f5c':
  Reinitialize hardware renderer after eglTerminate() Bug #8066455
2013-01-28 14:10:16 -08:00
Romain Guy
3696779bca Reinitialize hardware renderer after eglTerminate()
Bug #8066455

ViewRootImpl was properly detecting that the renderer was not
ready to draw but would simply schedule another frame, thus sending
the systemui into an inifite redraw loop. This change reinitializes
the renderer if needed (if the renderer is requested but not enabled.)

This CL also fixes an issue caused by the default wallpaper. Since it
never calls eglTerminate(), managed contexts are never reclaimed.

Change-Id: Idb8caa672be8ee35f6e6a7e942d9abd8aa100967
2013-01-28 14:04:07 -08:00
Fabrice Di Meglio
5ba8552913 am de71ce1a: Merge "Fix recent apps item text position in RTL mode"
# Via Android (Google) Code Review (1) and Fabrice Di Meglio (1)
* commit 'de71ce1ab3cda6030b5838f4cadb4fe974d522c2':
  Fix recent apps item text position in RTL mode
2013-01-24 13:52:54 -08:00
Fabrice Di Meglio
965ce78eb5 am 5e3b0452: Merge "Fix SystemUI navigation bar in RTL mode"
# Via Android (Google) Code Review (1) and Fabrice Di Meglio (1)
* commit '5e3b0452667e2f73b16bfffde873334525582308':
  Fix SystemUI navigation bar in RTL mode
2013-01-24 13:51:32 -08:00
Fabrice Di Meglio
de71ce1ab3 Merge "Fix recent apps item text position in RTL mode" 2013-01-24 21:49:45 +00:00
Fabrice Di Meglio
5e3b045266 Merge "Fix SystemUI navigation bar in RTL mode" 2013-01-24 21:46:33 +00:00
Dianne Hackborn
7af76f20cd am d8ba6cc9: Merge "Add new API to propagate contextual data to the assist action"
# Via Android (Google) Code Review (1) and Dianne Hackborn (1)
* commit 'd8ba6cc9217e2e042106870e9d2e70cfd80426d6':
  Add new API to propagate contextual data to the assist action
2013-01-23 14:51:07 -08:00
Dianne Hackborn
d8ba6cc921 Merge "Add new API to propagate contextual data to the assist action" 2013-01-23 22:47:57 +00:00
Dianne Hackborn
f9c5e0fe83 Add new API to propagate contextual data to the assist action
When launching an assist, we have a new API allowing the
current foreground activity/application to provide additional
arbitrary contextual information that is stuffed in the
assist intent before it is launched.

Change-Id: I0b2a6f5a266dc42cc0175327fa76774f814af3b4
2013-01-23 14:39:13 -08:00
Winson Chung
0c40362838 am 79703fa0: Merge "Cleaning up listeners and AsyncTasks."
# Via Android (Google) Code Review (1) and Winson Chung (1)
* commit '79703fa00cc9820ec004555f843880e3b60e5815':
  Cleaning up listeners and AsyncTasks.
2013-01-23 14:13:54 -08:00
Winson Chung
0e6232c746 Cleaning up listeners and AsyncTasks.
Change-Id: I97dc44c93590764e1f9c6708ac2a9e30f65e1c8f
2013-01-22 14:39:17 -08:00
Fabrice Di Meglio
568b9f7845 Fix recent apps item text position in RTL mode
- use "viewStart" as text alignment

Change-Id: Ib5cbecfcafa5f51deb2394a67fd64c1a254700bd
2013-01-22 14:33:13 -08:00
HeyRatFans
4037ce3c01 frameworks/base: Added English UK keyboard layout for physical keyboards
Change-Id: Id6feb128964c76ebd74b3e0d67d8f90fedb91dda
2013-01-22 22:22:54 +00:00
Fabrice Di Meglio
e4b52e59ec am d859e708: Merge "Fix SystemUI navigation bar recent icon loading in landscape mode"
* commit 'd859e7088ad3e529f322b346ea5fb84e1a07d9ed':
  Fix SystemUI navigation bar recent icon loading in landscape mode
2013-01-17 15:11:56 -08:00
Fabrice Di Meglio
d859e7088a Merge "Fix SystemUI navigation bar recent icon loading in landscape mode" 2013-01-17 23:09:50 +00:00
Daniel Sandler
d24af482b6 am c51d96a9: Merge "Stop redrawing the nav bar any time you touch the screen."
* commit 'c51d96a95b3d1454a9fdc831ff3deb02c5150f0d':
  Stop redrawing the nav bar any time you touch the screen.
2013-01-17 13:41:10 -08:00
Daniel Sandler
c51d96a95b Merge "Stop redrawing the nav bar any time you touch the screen." 2013-01-17 21:38:57 +00:00
Baligh Uddin
ccb9f5b66e Merge "Import translations. DO NOT MERGE" 2013-01-17 21:30:29 +00:00