83846 Commits

Author SHA1 Message Date
Fabrice Di Meglio
fa1babd221 Fix bug #7023040 android.widget.cts.TextViewTest#testResetTextAlignment failures
- cache the text aligment as we cannot resolve the text alignment during reset of the text direction

Change-Id: I79de625e517bf8bad6313fd5e349f1181b1eaa30
2012-09-04 19:11:25 -07:00
Romain Guy
6c8c6d9d44 Merge "Correctly check the height of a glyph prior to caching it" into jb-mr1-dev 2012-09-04 19:01:48 -07:00
Romain Guy
e43f785b7f Correctly check the height of a glyph prior to caching it
Change-Id: Iaf3977afc20fcde65bfda7b9e092b3e723241684
2012-09-04 18:58:46 -07:00
Dianne Hackborn
bac6c12974 Merge "Fix another issue #7097984 java.lang.SecurityException: Permission Denial:" into jb-mr1-dev 2012-09-04 18:50:30 -07:00
Dianne Hackborn
fd8bf5c790 Fix another issue #7097984 java.lang.SecurityException: Permission Denial:
broadcast asks to run as user -1 but is calling from user 0; this requires

Dupped bug of a different problem.

Change-Id: I15f4ab08b81f5f5746ba1cd183dee4f0b1281df5
2012-09-04 18:48:37 -07:00
Brian Muramatsu
6809352087 Merge "Fix GPS settings change listener in LocManager" into jb-mr1-dev 2012-09-04 18:36:35 -07:00
Adam Powell
9f3b0bfd0b DO NOT MERGE - Make WebView track focal points more accurately
Change-Id: I6683edee6933b1dd026453935d72119320ab3c81
2012-09-04 18:33:56 -07:00
Adam Powell
c4ce0da255 DO NOT MERGE - Delay starting scale gesture events until a touch slop threshold
Change-Id: I13132ce1d912b54e251f7afed5143c72a2ec2e78
2012-09-04 18:33:42 -07:00
Adam Powell
deeade34cb Merge "Make WebView track focal points more accurately" into jb-mr1-dev 2012-09-04 18:19:30 -07:00
Adam Powell
adb93889ae Merge "Delay starting scale gesture events until a touch slop threshold" into jb-mr1-dev 2012-09-04 18:17:10 -07:00
Brian Muramatsu
bb95cb9f99 Fix GPS settings change listener in LocManager
Bug 7051185

- Register a ContentObserver to track settings changes rather than
  opening up a Cursor with a ContentQueryMap.

- Move updateProvidersLocked into init to assure that the
  ContentObserver does not miss any changes.

- Move blacklist and fudger creation before loadProvidersLocked to
  improve code readability.

Change-Id: I4d3e19fa33401c384bc2b00658d4336ea119e0e5
2012-09-04 18:16:24 -07:00
Jason Sams
f1ffb4f7fe Merge "update image processing to fix ScriptGroup names." into jb-mr1-dev 2012-09-04 16:59:07 -07:00
Chris Craik
d84aaa23a5 Merge "Fix line drawing path to use proportional distance from center" into jb-mr1-dev 2012-09-04 16:56:16 -07:00
Romain Guy
c83f982804 Merge "Code cleanup in FontRenderer" into jb-mr1-dev 2012-09-04 16:46:20 -07:00
Romain Guy
8087246d99 Code cleanup in FontRenderer
Change-Id: Ic788721c224a77f0a76f4cd6d9817b62e390a5a7
2012-09-04 16:44:17 -07:00
Craig Mautner
7950d081ac Merge "Make mLayoutNeeded per-Display." into jb-mr1-dev 2012-09-04 16:35:46 -07:00
Nick Kralevich
0116136f4c Merge "installd: reduce privileges." into jb-mr1-dev 2012-09-04 16:29:28 -07:00
Craig Mautner
19d59bc5ad Make mLayoutNeeded per-Display.
Switch from a global mLayoutNeeded to one for each Display so that
we don't run layout on Displays that haven't changed.

Change-Id: Ib65c5c667933cceacc46b94f4e6e6bd613d5cb35
2012-09-04 16:18:52 -07:00
Jim Miller
4b09dd31fb Better flow for SIM PIN/ SIM PUK screens in keyguard.
We now fade between security screens when not coming from selection view.
In the case of SIM PIN/PUK screens, this means we show the user's security
screen without going back to the selector view.

This change also adds a fade animation for when we go between security screens
without going back to the selector view.

This also fixes a bug where we were invoking two checks for the SIM
state - one for ACTION_DOWN and another for ACTION_UP.

Change-Id: I260f9a2e0316cbf26ec7621f774bfdf9956ca488
2012-09-04 16:16:17 -07:00
Romain Guy
2ecaedd96c Merge "Small code cleanup in FontRenderer" into jb-mr1-dev 2012-09-04 15:26:14 -07:00
Jason Sams
c3f6d184bb update image processing to fix ScriptGroup names.
Change-Id: Id3be5142ad740af65f3ce19b9d8047926bb55a85
2012-09-04 15:25:34 -07:00
Romain Guy
9b1204baf4 Small code cleanup in FontRenderer
Change-Id: I09c00debe9b0b4f45b232cae402ed19bdaeabfe4
2012-09-04 15:25:30 -07:00
Jim Miller
175ae55c0d Merge "Update DevicePolicyManager with ability to disable keyguard widgets" into jb-mr1-dev 2012-09-04 15:20:42 -07:00
rich cannings
690420831c Merge "Enable package verification" into jb-mr1-dev 2012-09-04 15:09:09 -07:00
Romain Guy
85399cc606 Merge "Refactor FontRenderer.cpp" into jb-mr1-dev 2012-09-04 15:05:28 -07:00
Xavier Ducrohet
de66e670a7 Merge "Add some new native deletage to layoutlib." into jb-mr1-dev 2012-09-04 15:02:06 -07:00
Fabrice Di Meglio
035ce2ca92 Merge "Add support for "-rtl" in resources" into jb-mr1-dev 2012-09-04 15:01:03 -07:00
Xavier Ducrohet
5eb51defe3 Add some new native deletage to layoutlib.
Change-Id: Ib53df6c944ecd9680bf929afe03b08bcaa61ad70
2012-09-04 15:00:52 -07:00
Nick Kralevich
812b19a425 installd: reduce privileges.
Make installd run with fewer privileges. This will help make
exploitation of installd based vulnerabilities more difficult
to perform.

installd now runs with the following privileges:

* CAP_DAC_OVERRIDE
* CAP_CHOWN

These two capabilities are needed to add and remove files
from application's home directories.

* CAP_SETUID
* CAP_SETGID

These permissions are needed to further drop privileges when
running dexopt as the application UID.

"installd" no longer runs with full root privileges.  It cannot,
for example, mount and unmount filesystems, install modules,
perform direct I/O, etc.

Change-Id: Ib407e41e5e4c95f35a5c6a154812c5e8ae3006ed
2012-09-04 14:58:22 -07:00
Adam Powell
1027ed2aca Make WebView track focal points more accurately
Change-Id: I6683edee6933b1dd026453935d72119320ab3c81
2012-09-04 14:42:11 -07:00
Adam Powell
47ec2fb370 Delay starting scale gesture events until a touch slop threshold
Change-Id: I13132ce1d912b54e251f7afed5143c72a2ec2e78
2012-09-04 14:42:11 -07:00
Chris Craik
8f5ad7657b Fix line drawing path to use proportional distance from center
boundaryWidth and boundaryLength are now distance from center, instead of
distance from edge, in order to avoid unnecessary calculation in the shader. New
calculation of these matches drawAARect.

Change-Id: I1c7f576a97a6f0ce00d521661fd56fb62e05e6f2
2012-09-04 14:35:19 -07:00
Brian Muramatsu
f3c74f3499 Make battery shutdown temperature configurable
Bug 7079455

Change-Id: I448f21231bf0548ef975f99482576acb24a1a70e
2012-09-04 14:29:15 -07:00
Jim Miller
167611811d Merge "Keyguard bug fixes" into jb-mr1-dev 2012-09-04 14:16:48 -07:00
Jim Miller
b8ec470617 Update DevicePolicyManager with ability to disable keyguard widgets
Change-Id: I5876e9e180b2a995aaa355fbbb2b67cebb86104d
2012-09-04 13:52:36 -07:00
rich cannings
68ed7e448d Enable package verification
Turn on package verification, if a verifier exists. Play app is now a verifier.

Bug: 7064853
Change-Id: I11f6b108c507ea6236038b1415eb9064ca4c3c6d
2012-09-04 13:42:32 -07:00
Jean-Baptiste Queru
784827b27c Revert "Watchdog: Improvement of debuggability"
This reverts commit 9211b13c3268035b0da0c51ed2d6d5a578d45ff3.
2012-09-04 13:35:12 -07:00
Dianne Hackborn
d2a8df9541 Merge "Fix issue #7097984 java.lang.SecurityException: Permission Denial:" into jb-mr1-dev 2012-09-04 13:11:49 -07:00
Romain Guy
9f5dab3fc2 Refactor FontRenderer.cpp
FontRenderer.h defined several classes and structures that now live
in the font/ folder. This will make the code easier to read and
maintain.

Change-Id: I3dc044e9bde1d6515f8704f5c72462877d279fe2
2012-09-04 12:55:44 -07:00
Craig Mautner
34a75df635 Merge "Remove single pass actions from display loop." into jb-mr1-dev 2012-09-04 12:32:11 -07:00
Craig Mautner
ed48f9f8b2 Merge "Change layout inner loop order for multi display." into jb-mr1-dev 2012-09-04 12:30:45 -07:00
Daniel Sandler
e32bb6c9c6 Merge "Only show the BeanFlinger screensaver to the worthy." into jb-mr1-dev 2012-09-04 12:29:04 -07:00
Dianne Hackborn
b8839dd357 Fix issue #7097984 java.lang.SecurityException: Permission Denial:
broadcast asks to run as user -1 but is calling from user 0; this requires

Also improve part of issue #7087789: Local denial of service via
low-permissioned apps

No longer allow closeSystemDialogs() from background processes.

Change-Id: I752d5a1d51be0b69fde6999d6659835e5bde3efe
2012-09-04 12:11:21 -07:00
Jean-Baptiste Queru
b788556bfd am ad17717e: am d3b74b91: am b307ceb4: Merge "SearchWidget: passing APP_DATA to voice intent"
* commit 'ad17717e52576a05dffd1b99c06c46a80c149722':
  SearchWidget: passing APP_DATA to voice intent
2012-09-04 11:44:00 -07:00
Jean-Baptiste Queru
ad17717e52 am d3b74b91: am b307ceb4: Merge "SearchWidget: passing APP_DATA to voice intent"
* commit 'd3b74b9124e713e291053652839a7d725ffb64d9':
  SearchWidget: passing APP_DATA to voice intent
2012-09-04 11:41:32 -07:00
Jean-Baptiste Queru
d3b74b9124 am b307ceb4: Merge "SearchWidget: passing APP_DATA to voice intent"
* commit 'b307ceb43fa96e8d54851c20278a4344469c9269':
  SearchWidget: passing APP_DATA to voice intent
2012-09-04 11:38:28 -07:00
Dianne Hackborn
b4597aaea4 Merge "Fix my fix." into jb-mr1-dev 2012-09-04 11:14:14 -07:00
Dianne Hackborn
e2bdca5c43 Fix my fix.
Change-Id: I35fce760f8d91fceb554d372e7423749a4ac6d2d
2012-09-04 11:13:41 -07:00
Dianne Hackborn
a15bd8a9e4 Merge "Fix build." into jb-mr1-dev 2012-09-04 11:09:30 -07:00
Dianne Hackborn
52fba38f7d Fix build.
Change-Id: I15592889b8679d946e402dcfdeb124df349cbd4d
2012-09-04 11:08:43 -07:00