4544 Commits

Author SHA1 Message Date
Winson Chung
3a5a774954 Fixing NPE on screenshot error. (Bug 8328886)
Change-Id: Id47b8429c512c02e63d86de2ce37bd8e3ee02359
2013-04-01 16:04:28 -07:00
Amith Yamasani
bb49e8573e resolved conflicts for merge of 15935aad to master
Change-Id: I9664186a62cf7b11844c6a14967f5b8c2b67c289
2013-03-30 19:26:37 -07:00
Amith Yamasani
27db46850b Block access to accounts for limited users.
Make sure that apps that have access to restricted accounts can see them.
If they don't have access, they shouldn't be able to add a new account either.
Show an error message in the account picker if the user/app is not authorized.

Change-Id: I117c0b14d7d06c5ac4e66506df156b174567f5f3
2013-03-30 18:25:49 -07:00
Olivier Gay
3c1c21bcf4 Add new physical keyboard layouts.
Add support for the following physical keyboard layouts:
English US international and Brazilian layout.

Change-Id: Iae928713a94611de18a92f6959adf7fa3500b2b2
Signed-off-by: Olivier Gay <ogay@logitech.com>
Signed-off-by: Myriam Galaret <mgalaret@logitech.com>
2013-03-30 19:29:40 +01:00
Dianne Hackborn
c3aac10360 am d680287b: am cb5a4bf2: Merge "Apparently SystemUI no longer needs the carousel." into jb-mr2-dev
* commit 'd680287b420dea41280a28d80eac79f780e0f7d0':
  Apparently SystemUI no longer needs the carousel.
2013-03-29 14:34:38 -07:00
Jean-Michel Trivi
7678a7beea resolved conflicts for merge of 99bd302c to master
Change-Id: I858f67d0c61f6403b336c82a300f69027fc16bd1
2013-03-29 14:30:34 -07:00
Dianne Hackborn
cb5a4bf2ee Merge "Apparently SystemUI no longer needs the carousel." into jb-mr2-dev 2013-03-29 16:53:54 +00:00
Elliott Hughes
d1e0f941d5 am 0f3a3777: am 94eaab4a: am 3ae30483: am a19647d3: Merge "Correct executable bit for source files [Take 2]"
* commit '0f3a3777026c20011f1b419daf12980715e594ff':
  Correct executable bit for source files [Take 2]
2013-03-28 14:32:59 -07:00
Elliott Hughes
94eaab4a5d am 3ae30483: am a19647d3: Merge "Correct executable bit for source files [Take 2]"
* commit '3ae30483777708ff3a4f59a4fa75c6a76213cc30':
  Correct executable bit for source files [Take 2]
2013-03-28 14:29:21 -07:00
Maggie Benthall
c78453f12b am b3c060a1: am c92342bb: Merge "Add user restrictions for bluetooth, sideloading, usb file transfer" into jb-mr2-dev
* commit 'b3c060a166e9d5a141a6500e4c443a20d4e002b6':
  Add user restrictions for bluetooth, sideloading, usb file transfer
2013-03-28 12:20:05 -07:00
Dianne Hackborn
e8587722b6 Apparently SystemUI no longer needs the carousel.
Change-Id: Ib886b83fb096a8ef35b167e2727360353c020ec1
2013-03-27 17:43:57 -07:00
Maggie Benthall
a12fccf57d Add user restrictions for bluetooth, sideloading, usb file transfer
Created constants for these in UserManager and current.txt. Also created
an accessor for individual user restrictions that takes the restriction key
(removing individual methods for particular restrictions).

Change-Id: Ibb5517cbcdffadd3925f52cbe67d7d525813faa9
2013-03-27 18:14:29 -04:00
Baligh Uddin
07ab08ce7a Import translations. DO NOT MERGE
Change-Id: Iee0ac6623e8460cfa8d18874fe30dccb42b3c45a
Auto-generated-cl: translation import
2013-03-27 08:32:14 -07:00
Chirayu Desai
3e4a3ea2ff Correct executable bit for source files [Take 2]
Change Ieb51bafb46c895a21d2e83696f5a901ba752b2c5 left out some
files, this fixes them.

Change-Id: Ia949a8581668836ea0251602e048f09c852f5169
2013-03-27 16:52:35 +05:30
John Spurlock
5245248452 resolved conflicts for merge of 2d9305cc to master
Change-Id: I9a9672314ef95af09e3f416fa1dc200f7a9d8d4e
2013-03-21 08:27:58 -04:00
Jim Miller
2910e55601 am f7a7ecb4: am fd81f910: Merge "Prevent Recents from doing a relayout" into jb-mr2-dev
* commit 'f7a7ecb4d3d7180da89b8ea684df00de865fa9cf':
  Prevent Recents from doing a relayout
2013-03-20 21:43:07 +00:00
Jim Miller
fd81f91052 Merge "Prevent Recents from doing a relayout" into jb-mr2-dev 2013-03-20 21:38:31 +00:00
Jeff Sharkey
9c01610d73 am 26f617cf: am cc591168: Merge "Show notification ticker for finished bugreports." into jb-mr2-dev
* commit '26f617cf7da100b8fedf3dcca885036b8a6d7cb6':
  Show notification ticker for finished bugreports.
2013-03-20 19:18:30 +00:00
Jeff Sharkey
e37e9ba3ca Show notification ticker for finished bugreports.
Change-Id: I7d326b0da83c3ae334739cdb8cb4ca18f948c50f
2013-03-20 12:10:51 -07:00
Baligh Uddin
fad02f88ca Import translations. DO NOT MERGE
Change-Id: I4f294c5a4807247f8a38fa4374b873a523d3d67f
Auto-generated-cl: translation import
2013-03-20 09:02:30 -07:00
Michael Jurka
31a6fb3b08 Prevent Recents from doing a relayout
Don't relayout Recents when going from a
fullscreen app to Recents; set the proper flags
to do the layout underneath the status bar
2013-03-20 16:44:13 +01:00
Jim Miller
5950bf3a47 resolved conflicts for merge of 7d7443bc to master
Change-Id: I5d777dad0fb4019c1f718c4109c5c973eeac8840
2013-03-19 17:37:43 -07:00
Baligh Uddin
cf64341ae2 Merge "Import translations. DO NOT MERGE" 2013-03-18 16:52:08 +00:00
Baligh Uddin
3753efd720 Import translations. DO NOT MERGE
Change-Id: Ie8886ea0022ea1e276655dc57fe927d91c03bafb
Auto-generated-cl: translation import
2013-03-18 09:39:27 -07:00
Baligh Uddin
8c4d38ec93 Import translations. DO NOT MERGE
Change-Id: Icda106767529acfdf497b233371e55912ad0e2dd
Auto-generated-cl: translation import
2013-03-18 09:12:18 -07:00
Jeff Sharkey
e7a4e42d3d am 49ca328f: am debbeec5: Merge "Move deleteOlderFiles() to framework, tests." into jb-mr2-dev
* commit '49ca328fc0c3bdb090b323e5bae23bfb696e6099':
  Move deleteOlderFiles() to framework, tests.
2013-03-14 22:10:40 +00:00
Jeff Sharkey
debbeec575 Merge "Move deleteOlderFiles() to framework, tests." into jb-mr2-dev 2013-03-14 22:06:15 +00:00
Jeff Sharkey
d9526907d1 Move deleteOlderFiles() to framework, tests.
Supports both age and count based constraints.  Added light docs and
tests to verify behavior.

Bug: 8387555
Change-Id: If4d0dac8bc54ce705c2a339bc09a60ea748728b8
2013-03-14 15:04:12 -07:00
John Spurlock
ef9f5276f2 am e8b24ddd: am adb9554d: Merge "Enable back button in keyguard security account mode." into jb-mr2-dev
* commit 'e8b24ddd6769a431b8fa3462e00c85211787a08d':
  Enable back button in keyguard security account mode.
2013-03-14 19:59:58 +00:00
Chet Haase
947ebdfaf7 am 8e035fd7: am 8fb6f418: Merge "Better fix for GL wallpaper creation" into jb-mr2-dev
* commit '8e035fd742508b04f83c33b2963b20979bc1046d':
  Better fix for GL wallpaper creation
2013-03-14 17:39:53 +00:00
Chet Haase
2e417be5c4 Better fix for GL wallpaper creation
A previous fix made initializing GL work better by calling eglMakeCurrent()
prior to querying the max texture size. However, that fix worked by creating an eglSurface
earlier than we did before, which for some reason causes problems later if wallpaper creation
fails and we back off to a software solution.

This new fix creates a temporary pbuffer surface instead, which still allows us to make the
call to eglMakeCurrent() prior to querying the max texture size, but does not result in the
later canvas lock failure if the wallpaper creation fails anyway.

Issue #8319960 sluggish yakju animations over launcher

Change-Id: I394d672549260a354f03ad9fd1b9e1f9a161a371
2013-03-14 09:38:01 -07:00
Jeff Sharkey
2044158fe1 am 5d7b4a44: am 34f37e74: Merge "Handle finished bugreports, share from private." into jb-mr2-dev
* commit '5d7b4a4448e0f29f36ba27aee2de06ce25ff2ee1':
  Handle finished bugreports, share from private.
2013-03-14 15:48:28 +00:00
Jeff Sharkey
34f37e7412 Merge "Handle finished bugreports, share from private." into jb-mr2-dev 2013-03-14 15:44:12 +00:00
Chet Haase
addabb2358 am 9e19ea28: am 7534707b: Merge "Ensure wallpaper creation succeeds" into jb-mr2-dev
* commit '9e19ea284a4061d49876697ad8b285b4202c9573':
  Ensure wallpaper creation succeeds
2013-03-14 13:32:45 +00:00
Chet Haase
7534707b34 Merge "Ensure wallpaper creation succeeds" into jb-mr2-dev 2013-03-14 13:28:13 +00:00
Chet Haase
187e1e2fc7 Ensure wallpaper creation succeeds
ImageWallpaper was sometimes querying GL for a max texture size too early
(before the first call to eglMakeCurrent()). This problem caused the wallpaper
to then get created in software, resulting in noticeably slower performance
when the wallpaper was visible.

This fix ensures that the
makeCurrent happens before the query, ensuring that wallpapers of the right
size actually get created instead of failing due to this error at creation time.

Issue #8319960 sluggish yakju animations over launcher

Change-Id: I12a3eba9f1818bdf544691e0727fe12f7e820651
2013-03-14 06:24:32 -07:00
Baligh Uddin
e2a02e2e24 Merge "Import translations. DO NOT MERGE" 2013-03-14 03:03:01 +00:00
Jim Miller
aa2e84f29b am 3fe0205a: am 6d4dac74: Merge "Fix bug where Keyguard\'s emergencydialer wasn\'t being launched with a userid." into jb-mr2-dev
* commit '3fe0205a00672ccc86f7ca3fc8980fc380891fce':
  Fix bug where Keyguard's emergencydialer wasn't being launched with a userid.
2013-03-14 02:34:43 +00:00
Jeff Sharkey
02ffba940c Handle finished bugreports, share from private.
Show notification when a bugreport is finished, letting the user
launch a SEND_MULTIPLE intent to share them.  Add dialog that warns
user about contents before sharing.  Since bugreports are now stored
in private app data of the Shell app, use FileProvider to build Uris
that we can grant others access to.

Define BUGREPORT_FINISHED as being a protected broadcast.  Delete
older bugreports automatically to reclaim disk space.  Migrate any
Intent extras to ClipData when building PendingIntents.

Add --receiver-permission support to am shell command.

Bug: 7005318
Change-Id: If6c607dbcf137362d5887eac482ff7391563890f
2013-03-13 16:42:38 -07:00
Baligh Uddin
609d45f964 Merge "Import translations. DO NOT MERGE" 2013-03-13 14:57:43 +00:00
Jim Miller
34f09eaf03 resolved conflicts for merge of 8f4772fe to master
Change-Id: I65cb4a9b3f339ad4b6997d71dc5f4577c03bb026
2013-03-12 19:19:27 -07:00
Daniel Sandler
4e8d867cbd am 865f7f40: am faa4bea4: am 39099fee: am 1bc1699c: Merge ""[+>" more icon was never shown in PhoneStatusBar"
* commit '865f7f4098fd3139b1c9e8a4d903187cbc31444c':
  "[+>" more icon was never shown in PhoneStatusBar
2013-03-12 20:32:14 +00:00
Daniel Sandler
faa4bea4c0 am 39099fee: am 1bc1699c: Merge ""[+>" more icon was never shown in PhoneStatusBar"
* commit '39099feeece6d76b0c68727506609331e7a6b64c':
  "[+>" more icon was never shown in PhoneStatusBar
2013-03-12 13:27:10 -07:00
Mats H Carlsson
cd231432ff "[+>" more icon was never shown in PhoneStatusBar
"[+>" more icon was never show in status bar because
the member variable for this icon was not initialized
from resources. This fix enables "[+>" icon to appear
in status bar when the number of indications in status
bar becomes large.

Bug: 8368569
Change-Id: Ieb3412eed831052d69c0cf63c9b4230c38171e4a
2013-03-12 19:51:07 +00:00
Jean-Michel Trivi
8fac5869d4 am 0e23dd63: am 998b692d: Merge "Keyguard remote control display artwork size" into jb-mr2-dev
* commit '0e23dd635aae47463fa457c43938898babd7e42c':
  Keyguard remote control display artwork size
2013-03-12 16:49:13 +00:00
Baligh Uddin
1920949bda Import translations. DO NOT MERGE
Change-Id: Icf4bfb26c4271122bd5ff4ebfbd4bc3e780d6347
Auto-generated-cl: translation import
2013-03-12 09:47:12 -07:00
Baligh Uddin
13df4f20a0 Import translations. DO NOT MERGE
Change-Id: I5eb421fbe71fd16d8681491f24ed5037054931c9
Auto-generated-cl: translation import
2013-03-12 09:07:19 -07:00
Chet Haase
fbde30877f Merge "add getAlpha() to Drawable" 2013-03-08 23:52:33 +00:00
Chet Haase
b1af7f3d4b add getAlpha() to Drawable
Drawable has setAlpha(int), but no getAlpha() (although some subclasses have added the
method). This makes it more tedious to use the property. For example, animations that wish to
animate this property must explicitly give it a start value since this value cannot be queried
from the object.

The trick is that setAlpha(int) is abstract, only implemented by subclasses. We cannot take this
approach for getAlpha(), as we would break all subclasses of Drawable until they implemented the
method. Instead, we'll add a default method which returns an invalid value, making it easier for
clients of the method to detect whether the value is valid.

All subclasses of Drawble in frameworks have been changed to add an override of getAlpha() when
appropriate.

Issue #7485875 Drawables is missing getAlpha()

Change-Id: I06b6e35f1a56d202838eca44759c85c82595020a
2013-03-08 15:40:28 -08:00
Christopher Tate
294b512eca DO NOT MERGE - Full backup/restore now handles OBBs sensibly
OBB backup/ restore is no longer handled within the target app
process.  This is done to avoid having to require that OBB-using
apps have full read/write permission for external storage.

The new OBB backup service is a new component running in the
same app as the already-existing shared storage backup agent.
The backup infrastructure delegates backup/restore of apps'
OBB contents to this component (because the system process
may not itself read/write external storage).

From the command line, OBB backup is enabled by using new
-obb / -noobb flags with adb backup.  The default is noobb.

Finally, a couple of nit fixes:

- buffer-size mismatch between the writer and reader of chunked
  file data has been corrected; now the reading side won't be
  issuing an extra pipe read per chunk.

- bu now explicitly closes the transport socket fd after
  adopting it. This was benign but triggered a logged
  warning about leaked fds.

(Cherrypicked)

Change-Id: I471f6348abcccb7bf1e1710b7beda9f23de53e14
2013-03-08 15:08:10 -08:00