3034 Commits

Author SHA1 Message Date
Romain Guy
c8d983f725 Wallpaper software rendering fallback
Bug #8230579

If the wallpaper fails to render with OpenGL, fall back to software
rendering instead of throwing an exception and crashing the wallpaper.

Change-Id: I40ed6056e6ea09b92b6cd441f16101dcc296fb8e
2013-02-20 10:05:36 -08:00
Mathias Agopian
58a1ca6642 Merge "split Surface in two classes: SurfaceControl and Surface" 2013-02-14 20:25:08 +00:00
Mathias Agopian
3866f0d581 split Surface in two classes: SurfaceControl and Surface
SurfaceControl is the window manager side; it can
control the attributes of a surface but cannot push buffers
to it. Surface on the other hand is the application (producer)
side and is used to push buffers to the surface.

Change-Id: Ib6754c968924e87e8dd02a2073c7a447f729f4dd
2013-02-14 12:19:11 -08:00
Daniel Sandler
2977a30ef4 Merge "More debug logs for stuck statusbars." 2013-02-14 01:49:59 +00:00
Daniel Sandler
37a38aaecb More debug logs for stuck statusbars.
Bug: 7686690
Change-Id: Ic58d90a56412579cad0c77f5787a6fc4193a32d1
2013-02-13 20:47:48 -05:00
Jean-Michel Trivi
4627a47d94 Merge "Remove obsolete imports" 2013-02-14 00:42:43 +00:00
Chris Craik
c932760f66 Merge "Revert "Merge remote-tracking branch 'goog/master-chromium' into 'goog/master'" DO NOT MERGE" 2013-02-13 23:14:58 +00:00
Jean-Michel Trivi
0888a06762 Merge "Fix AudioFocus for back-to-back notifications" 2013-02-13 19:40:33 +00:00
Jean-Michel Trivi
23bbe02b36 Merge "No AudioFocus for notifications when media played remotely" 2013-02-13 19:37:45 +00:00
Chris Craik
7c1a49f5f5 Revert "Merge remote-tracking branch 'goog/master-chromium' into 'goog/master'" DO NOT MERGE
This reverts commit 6c0307dd0aefe9a08794b155fc03ee60ebd14f25, reversing
changes made to a2cd828b749c444d55c2c41c7dbb85088ff94b9f.

Conflicts:
	packages/SystemUI/res/values-sv/strings.xml

Change-Id: Ia178efe8b14751583d47b2826bfe3d3d5463dd2e
2013-02-13 10:50:20 -08:00
Jean-Michel Trivi
562e65bb19 Remove obsolete imports
Change-Id: I67d357a1b0bac89447b1e237f61dd18aea7b912b
2013-02-13 17:52:30 +00:00
Jean-Michel Trivi
6313cbe1d0 Fix AudioFocus for back-to-back notifications
A single instance of NotificationPlayer will play notifications
 back-to-back, and was, for each requesting AudioFocus. But as
 a new notification was about to be played, its accompanying
 thread was terminated, and the completion listener was never
 called, and therefore AudioFocus was not released (e.g. two
 requests for one release).
 The fix consists in requesting AudioFocus only once and
 abandonning it when the only reported completion is received.
 Added a FIXME note about a better solution to be implemented.

Bug 7680947

Change-Id: Ica9d5c1eb5d57c89ceebe66282af69f0f7d43667
2013-02-13 09:41:10 -08:00
Jean-Michel Trivi
97ad2cd1a8 No AudioFocus for notifications when media played remotely
Don't use AudioFocus when playing a notification when media is
 playing remotely. This behavior may be accompanied by
 rules in the device's audio policy to not route the notifications
 to the remote display.

Bug 7485803

Change-Id: I8b96aa59cace75f6e9a0e73799ef8c75e9ee97aa
2013-02-12 15:30:39 -08:00
Michael Jurka
1af81b6bdc Merge "Fix Recents transition for RTL languages" 2013-02-12 19:58:48 +00:00
Michael Jurka
bde3104ddc Merge "Prevent SecurityException from crashing Recents" 2013-02-12 10:15:31 +00:00
Winson Chung
e63fb8f1f9 Merge "Manually recycling bitmap memory when rotating ss, resetting canvas bitmap, adding logging. (Bug 7974275)" 2013-02-11 23:01:06 +00:00
Winson Chung
5cc9a31534 Manually recycling bitmap memory when rotating ss, resetting canvas bitmap, adding logging. (Bug 7974275)
Change-Id: I1b0590a297610ee5fee4e68222144780ab6e55ec
2013-02-11 15:00:00 -08:00
Michael Jurka
a2bdffee5b Prevent SecurityException from crashing Recents
Bug: 6787477
2013-02-08 15:41:56 +01:00
Michael Jurka
12cdec9b94 Fix Recents transition for RTL languages
Bug: 8058416

Change-Id: I81dca6dfd6662a94133566bf1efc863df66e33d1
2013-02-08 11:40:21 +01:00
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
Baligh Uddin
f8cb78ce45 Import translations. DO NOT MERGE
Change-Id: I17a8f545e9858909e2c4c831e4facf7252e284d7
Auto-generated-cl: translation import
2013-02-06 12:38:36 -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
2b99a49c2e Log messages to debug stuck status bars.
Bug: 7686690
Change-Id: If9660767a8ce6315dcd4b0c52f377069fefeb7a1
2013-02-05 13:18:07 -05: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
Baligh Uddin
91d89e068a Import translations. DO NOT MERGE
Change-Id: Idcb01f885685ad99a7ae9cc3ca30a2422b9ffaf6
Auto-generated-cl: translation import
2013-02-01 07:48:09 -08: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
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
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
Daniel Sandler
4f6ec7fd64 Stop redrawing the nav bar any time you touch the screen.
Bug: 7297091
Change-Id: I77659b9c4677cd01eccb85aaeeb6d8bf5ec9c9d5
2013-01-17 16:02:36 -05:00
Fabrice Di Meglio
b714100560 Fix SystemUI navigation bar in RTL mode
In LTR mode the navigation bar is:

- portrait (from left to right) : Back | Home | Recent Apps | Menu
- landscape (from top to bottom) : Menu | Back | Home | Recent Apps

This is kinda horizontally / vertically "pivoting +90 degrees" around the Recent Apps button.

In RTL mode, we had:

- portrait: Menu | Recent Apps | Home | Back
- landscape: Menu | Recent Apps | Home | Back

to make it similar to the LTR mode, we should have a rotation of -90 degrees around the Recent Apps button:

- landscape: Menu | Back | Home | Recent Apps

Change-Id: I9de511383b632ae8dea1396e9152109cc8a57c27
2013-01-17 11:26:18 -08:00
Fabrice Di Meglio
18d9824be0 Fix SystemUI navigation bar recent icon loading in landscape mode
- load the correct landscape asset when needed (the portrait one was used in
both portrait and landscape modes)

Change-Id: I27d2aad993ee78c5a0c4a5f834e2a7f1f852cfa9
2013-01-17 10:57:40 -08:00