Commit Graph

31223 Commits

Author SHA1 Message Date
Geremy Condra
98157242e2 am d6c1394d: am 51163e3b: Merge "Add seinfo parsing to PackageManagerService." into jb-mr2-dev
* commit 'd6c1394dd0046944e66d391ff0e099fb5ac57751':
  Add seinfo parsing to PackageManagerService.
2013-03-26 01:47:03 +00:00
Geremy Condra
51163e3baa Merge "Add seinfo parsing to PackageManagerService." into jb-mr2-dev 2013-03-26 01:38:56 +00:00
Jeff Sharkey
bb291a5d8c am fc87ea5b: am 7d9bfc9b: Merge "Handle external storage errors uniformly." into jb-mr2-dev
* commit 'fc87ea5b50ba66bfbf7b624038759fc08f9cea07':
  Handle external storage errors uniformly.
2013-03-26 00:42:27 +00:00
Jeff Sharkey
7d9bfc9b82 Merge "Handle external storage errors uniformly." into jb-mr2-dev 2013-03-26 00:37:03 +00:00
Fabrice Di Meglio
07eb51ece0 am 47479a55: am 04c710ad: Merge "Fix bug #8200928 ExpandableListView should be RTL-aware" into jb-mr2-dev
* commit '47479a55562bb3ffc8927ab4a62de73948b1bac1':
  Fix bug #8200928 ExpandableListView should be RTL-aware
2013-03-26 00:33:26 +00:00
Jeff Sharkey
45d01ea282 Handle external storage errors uniformly.
Bug: 6777728
Change-Id: I021db160bc959fdf02bfd448edf977961bd1d9d0
2013-03-25 17:30:20 -07:00
Robert Craig
0f40dc923c Add seinfo parsing to PackageManagerService.
This patch set allows the PMS to parse the
mac_permissions.xml file which contains the
seinfo values. Each package that is installed
on the device will be assigned an seinfo value
based on policy. This seinfo value will help label
the app process and data directory.  Modifications
include adjustments to ApplicationInfo.java
to store the seinfo tag per package as well as
adjustments to installd to communicate the seinfo
tag to libselinux.

Change-Id: I61ad1ea12fb6a9a6d0b108ec163bc4bf4c954b58
Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
2013-03-25 17:30:08 -07:00
Fabrice Di Meglio
04c710ad9d Merge "Fix bug #8200928 ExpandableListView should be RTL-aware" into jb-mr2-dev 2013-03-26 00:27:22 +00:00
Nick Kralevich
2e3ead4b8c am 2e53c2a8: am c1905339: Merge "AppSecurityPermissions: Modify isDisplayablePermission" into jb-mr2-dev
* commit '2e53c2a80bb9e059182a321367aad1d7ab0b19ae':
  AppSecurityPermissions: Modify isDisplayablePermission
2013-03-25 21:37:08 +00:00
Nick Kralevich
c1905339bc Merge "AppSecurityPermissions: Modify isDisplayablePermission" into jb-mr2-dev 2013-03-25 21:32:45 +00:00
Nick Kralevich
22139669ab am 1076e13d: am b07220c8: Merge "Remove dead code." into jb-mr2-dev
* commit '1076e13d8126aa349f68545b7d08a3de0c43c8ea':
  Remove dead code.
2013-03-25 21:32:38 +00:00
Nick Kralevich
a5043ed7ea AppSecurityPermissions: Modify isDisplayablePermission
Add optional permission support to isDisplayablePermission.

A permission is displayable if it's required, or was previously
granted to the app.

Currently, this change is a no-op. The package parser code
does not currently honor <uses-permission android:required="false"> in
the application's manifest, and assumes a permission is always required.

This change sets the ground for future optional permissions work.

Change-Id: I2ec4a49adbfab9980e116ed43354f16bdeaa301d
2013-03-25 14:28:30 -07:00
Nick Kralevich
b07220c8ef Merge "Remove dead code." into jb-mr2-dev 2013-03-25 21:27:18 +00:00
Christopher Tate
0f66e4d93a am 537dc873: am aad37a1e: Merge "Validate restored file paths against their nominal domain" into jb-mr2-dev
* commit '537dc8733586a051300c740c737c58000c36a0b4':
  Validate restored file paths against their nominal domain
2013-03-25 20:31:18 +00:00
Christopher Tate
aad37a1eeb Merge "Validate restored file paths against their nominal domain" into jb-mr2-dev 2013-03-25 20:23:30 +00:00
Christopher Tate
7323765bbf Validate restored file paths against their nominal domain
Bug 8460775

Change-Id: Ib16d740a001adf4f9cb9ccaa31066ac7cadfb430
2013-03-25 13:06:04 -07:00
Nick Kralevich
d6182f993d Remove dead code.
This code is never called.

Change-Id: I2ed3fee93004e967bfb2a3080106c3950bf43ce2
2013-03-25 11:43:19 -07:00
Nick Kralevich
e1242f9980 am 7d2a4b41: am 754aa113: Merge "AppSecurityPermissions: minor code cleanup" into jb-mr2-dev
* commit '7d2a4b41393d3a774a403e29ebdd7eec92777f03':
  AppSecurityPermissions: minor code cleanup
2013-03-25 17:44:41 +00:00
Nick Kralevich
10ac1d125a AppSecurityPermissions: minor code cleanup
Convert more instance variables to private.
Delete some dead code.
Simplify some code.

Change-Id: Iedd55857138b71b2915b9886128adfcd9e4b3c57
2013-03-24 15:49:33 -07:00
Dianne Hackborn
97bf092e61 am dd24a32b: am 37f180b4: Merge "App ops: don\'t crash when provide read access is off." into jb-mr2-dev
* commit 'dd24a32b7c14337a20071ac8afe23c48157c32aa':
  App ops: don't crash when provide read access is off.
2013-03-23 01:50:06 +00:00
Dianne Hackborn
37f180b4a5 Merge "App ops: don't crash when provide read access is off." into jb-mr2-dev 2013-03-23 01:43:37 +00:00
Dianne Hackborn
9fa39bd255 App ops: don't crash when provide read access is off.
If the caller supplied an empty selection string (instead
of null) we would crash due to creating a bad SQLite statement.

Change-Id: I462803b80c81815ed9a3a320c23060daa28e8114
2013-03-22 18:42:14 -07:00
Dianne Hackborn
ac6331be6f am 8277f248: am b685faa2: Merge "Implement #8323587, #8323342, #8323590: new features." into jb-mr2-dev
* commit '8277f24865e52915b4825517860629c0385f79ed':
  Implement #8323587, #8323342, #8323590: new features.
2013-03-23 01:33:03 +00:00
Dianne Hackborn
b685faa2ce Merge "Implement #8323587, #8323342, #8323590: new features." into jb-mr2-dev 2013-03-23 01:26:08 +00:00
Michael Wright
49065c5e77 am 4e58e9c5: am 53d13667: Fix log tags in trackball debugging
* commit '4e58e9c579b5ca3496118177728119531c066666':
  Fix log tags in trackball debugging
2013-03-23 01:02:58 +00:00
Michael Wright
53d13667e3 Fix log tags in trackball debugging
Change-Id: I02a623c96aff8b6ffbe11161feea39ad26ba0e83
2013-03-23 00:57:51 +00:00
Dianne Hackborn
119bbc378d Implement #8323587, #8323342, #8323590: new features.
8323587: Add feature for supporting app widgets
8323342: Add feature for replacing the home screen
8323590: Add feature for supporting input methods

The app widget service looks for the app widget feature
and refuses to work if it doesn't exist.  I didn't do
this for the input method service because some devices
will probably want to still make use of that mechanism
without supporting third party input methods.

Change-Id: Ie3b089105e104f4d767cdb03cdbe4fdb1c17382e
2013-03-22 17:27:25 -07:00
Dianne Hackborn
e9e9aa650c am c31dc858: am 1a89c532: Merge "New media button API." into jb-mr2-dev
* commit 'c31dc858488ce291f434ab8bb7b90629f7a0ce27':
  New media button API.
2013-03-22 23:20:02 +00:00
Dianne Hackborn
1a89c5324b Merge "New media button API." into jb-mr2-dev 2013-03-22 23:13:49 +00:00
Michael Wright
d2500739f8 am a329c83d: am 88a0765d: Merge "Add pipelining optimization to IME dispatching" into jb-mr2-dev
* commit 'a329c83d6673f51c539a6f99d9b16e03c55eeac4':
  Add pipelining optimization to IME dispatching
2013-03-22 22:57:33 +00:00
Michael Wright
88a0765dd4 Merge "Add pipelining optimization to IME dispatching" into jb-mr2-dev 2013-03-22 22:49:53 +00:00
Christopher Tate
29b89acee3 am a35c0c04: am 57b0f363: Merge "Throw on illegal arguments to ArrayUtils.equals(a1, a2, len)" into jb-mr2-dev
* commit 'a35c0c0475d66921c933b93c262bf3e8721e3710':
  Throw on illegal arguments to ArrayUtils.equals(a1, a2, len)
2013-03-22 22:31:37 +00:00
Christopher Tate
57b0f36382 Merge "Throw on illegal arguments to ArrayUtils.equals(a1, a2, len)" into jb-mr2-dev 2013-03-22 22:24:21 +00:00
Chris Craik
acdb67d280 am 27c809db: am 81cce37d: Merge "Restore final canvas state after deferred flush" into jb-mr2-dev
* commit '27c809dba4b470bfcc00d7dc89ccf81ac36e1c3c':
  Restore final canvas state after deferred flush
2013-03-22 22:17:07 +00:00
Chris Craik
81cce37ded Merge "Restore final canvas state after deferred flush" into jb-mr2-dev 2013-03-22 22:11:33 +00:00
Christopher Tate
fc05434908 Throw on illegal arguments to ArrayUtils.equals(a1, a2, len)
Specifically, throw an explicit IllegalArgumentException if
'len' is negative, rather than falling over in some other
way further down the line.

Change-Id: If955de7ec1a15aa9aa8c42b6994b059e0cdffcee
2013-03-22 15:01:13 -07:00
Wink Saville
34d31fe108 am 439eea83: am c1b40c79: Merge "Add some new constants." into jb-mr2-dev
* commit '439eea8328f6259dd9c029f90eb90e73f940f87b':
  Add some new constants.
2013-03-22 21:49:32 +00:00
Jim Miller
ce732f745e am 26ebeb6d: am 7b3526d5: Merge "Fix alternate time zone display for clock widget." into jb-mr2-dev
* commit '26ebeb6d554e963a496d42ec3ab8213c35c51e1c':
  Fix alternate time zone display for clock widget.
2013-03-22 21:49:29 +00:00
Dianne Hackborn
961cae9254 New media button API.
This allows sending media buttons to any PendingIntent,
so they can be captured with a registered receiver.

Also add some new ViewTreeObserver APIs; this is all for
a new support library API to watch media buttons while an
app has input focus.

Change-Id: I3c51cef59460662b008c9a2cc87d6a6383c21855
2013-03-22 14:49:28 -07:00
Wink Saville
c1b40c79be Merge "Add some new constants." into jb-mr2-dev 2013-03-22 21:41:31 +00:00
Jim Miller
7b3526d536 Merge "Fix alternate time zone display for clock widget." into jb-mr2-dev 2013-03-22 21:40:47 +00:00
Jeff Sharkey
ac8bb39de5 am 527b2578: am 9da8c37a: Merge "Move XML utility methods into shared location." into jb-mr2-dev
* commit '527b2578d4cde9639d9c7b833bd85a659d7829e0':
  Move XML utility methods into shared location.
2013-03-22 20:49:17 +00:00
Fabrice Di Meglio
f4efad0551 Fix bug #8200928 ExpandableListView should be RTL-aware
- add indicatorStart/indicatorEnd and childIndicatorStart/childIndicatorEnd properties

Change-Id: I1ee67e47798bbcb31670cc9afde3ccac68338d94
2013-03-22 13:46:08 -07:00
Jeff Sharkey
9da8c37ab8 Merge "Move XML utility methods into shared location." into jb-mr2-dev 2013-03-22 20:45:17 +00:00
Jeff Sharkey
ded7b75d1a Move XML utility methods into shared location.
Change-Id: I15e8f0e4a6c5546d9be956ca0d46715d3441458c
2013-03-22 13:43:41 -07:00
Michael Wright
c8a7e54fef Add pipelining optimization to IME dispatching
Rather than wait for the IME to return before sending it the next input event,
send all available input events as soon as we receive them.

Bug: 7984576
Change-Id: Ie0b1086efc4f9e1ececac22afd997829304bf180
2013-03-22 13:35:57 -07:00
Robert Greenwalt
f4c597e274 am 8735745b: am 55187f18: Prevent NPE in new API.
* commit '8735745b28ddc80b1b57c06a8ed7c752fa6fd167':
  Prevent NPE in new API.
2013-03-22 19:09:00 +00:00
Robert Greenwalt
55187f1850 Prevent NPE in new API.
bug:8455284
Change-Id: I26ecbd024d1fe001f3af792c4e66409b2968c7ec
2013-03-22 12:00:17 -07:00
Chris Craik
a4e16c58c9 Restore final canvas state after deferred flush
bug:8450062

- Fixes overdraw indication with DeferredDisplayList
- Fixes drawHardwareLayer called after flush

Additionally changes drawLayer to pass its paint to native via setLayerPaint

Wrap flush in save/restore so that reordering doesn't affect final
transform

Change-Id: I08befa42c28500da6387699eefd4be28aedf9f4c
2013-03-22 11:54:51 -07:00
Lorenzo Colitti
cd40e52f91 am 8d6839b2: am 31453e5a: Merge "Reset connections on all stacked interfaces." into jb-mr2-dev
* commit '8d6839b20b7e2871f9ab5056f7c58ac43dd1e97c':
  Reset connections on all stacked interfaces.
2013-03-22 09:51:20 +00:00