Commit Graph

29142 Commits

Author SHA1 Message Date
Adam Powell
d7fd69c045 am dddd59ff: am e0e2f4fd: Fix accessibility in action bars and add extra customization
* commit 'dddd59ff63c3121b53e790bb20b5b5d735036c30':
  Fix accessibility in action bars and add extra customization
2013-04-05 16:57:56 -07:00
Adam Powell
dddd59ff63 am e0e2f4fd: Fix accessibility in action bars and add extra customization
* commit 'e0e2f4fd3ac8e70e341ae52d6376d8d67bd9edce':
  Fix accessibility in action bars and add extra customization
2013-04-05 16:55:41 -07:00
Adam Powell
e0e2f4fd3a Fix accessibility in action bars and add extra customization
Fix a bug where the content description of the big unified Home/Up
button was not getting set properly.

Add the ability to change the home-as-up glyph from ActionBar.

Add the ability to set a custom action description for the home-as-up
button, useful if the above functionality is used.

Bug 8548229

Change-Id: I0635799772c7234b68247dfc105dce7f11acda32
2013-04-05 16:46:22 -07:00
Michael Wright
8775af6319 am aaddfacf: am bdb706e4: Merge "Pipe through device resolution information" into jb-mr2-dev
* commit 'aaddfacf962655d82f3ad64723ea408f949a2b79':
  Pipe through device resolution information
2013-04-05 15:46:40 -07:00
Michael Wright
aaddfacf96 am bdb706e4: Merge "Pipe through device resolution information" into jb-mr2-dev
* commit 'bdb706e48d71af498156efbb10d0f0c1fcef8878':
  Pipe through device resolution information
2013-04-05 15:29:37 -07:00
Michael Wright
bdb706e48d Merge "Pipe through device resolution information" into jb-mr2-dev 2013-04-05 21:43:31 +00:00
Jeff Brown
ae9d6aa6d9 am 4c2a7b23: am 4a706bc6: Merge "Correctly manage the lifecycle of IME InputChannels." into jb-mr2-dev
* commit '4c2a7b23f5f012cf00357035f840a32d4da20eb5':
  Correctly manage the lifecycle of IME InputChannels.
2013-04-05 14:09:41 -07:00
Jeff Brown
4c2a7b23f5 am 4a706bc6: Merge "Correctly manage the lifecycle of IME InputChannels." into jb-mr2-dev
* commit '4a706bc6f1dcf4483b282d5758e22482cf02506f':
  Correctly manage the lifecycle of IME InputChannels.
2013-04-05 14:03:06 -07:00
Jeff Brown
4a706bc6f1 Merge "Correctly manage the lifecycle of IME InputChannels." into jb-mr2-dev 2013-04-05 20:57:01 +00:00
John Spurlock
8740cb1da6 resolved conflicts for merge of 29211d3a to master
Change-Id: I9691f41b12fbf52d0ef35a9bf5223edef7afdfd2
2013-04-05 16:18:59 -04:00
Daniel Sandler
29211d3a16 am 5feceebb: New NotificationListenerService.
* commit '5feceebb892d4cb5777cea3c6174b206705d456b':
  New NotificationListenerService.
2013-04-05 12:58:43 -07:00
Daniel Sandler
5feceebb89 New NotificationListenerService.
This is the best and only way for apps to listen for
notifications: create a NotificationListenerService, wait
for the NoMan to bind to you (as a result of the user
checking a box somewhere in Settings and agreeing to a
scary dialog box), and you'll start receiving notification
posted and dismissed callbacks. Your service, while enabled,
will also be able to clear one or all notifications.

Use this power wisely.

This change moves StatusBarNotification out of
com.android.internal into android.service.notification.
[Internal customers, including System UI and early users of
the system-only listener binder API, will need to be
updated.]

Bug: 8199624
Change-Id: I1be46f823d4b3ddc901109ec1e085cd6deb740c2
2013-04-05 19:54:44 +00:00
Kristian Monsen
0f012ce10c am 91128afa: am 4ac0462e: Merge "Adding new Chomium-WebView property key, and deprecating old key." into jb-mr2-dev
* commit '91128afa95683f2c4e738f0605bf315c495903f2':
  Adding new Chomium-WebView property key, and deprecating old key.
2013-04-05 10:26:10 -07:00
Kristian Monsen
91128afa95 am 4ac0462e: Merge "Adding new Chomium-WebView property key, and deprecating old key." into jb-mr2-dev
* commit '4ac0462e7121c89f5cd76136fda7f14874dfd787':
  Adding new Chomium-WebView property key, and deprecating old key.
2013-04-05 10:22:46 -07:00
Kristian Monsen
4ac0462e71 Merge "Adding new Chomium-WebView property key, and deprecating old key." into jb-mr2-dev 2013-04-05 17:17:25 +00:00
Ben Gruver
60765b285d am a1607a8c: am 65f420ec: Merge "Add a config updater component for the intent firewall" into jb-mr2-dev
* commit 'a1607a8c62a630150b4e96ec1148e90dc40ab984':
  Add a config updater component for the intent firewall
2013-04-05 09:41:34 -07:00
Ben Gruver
a1607a8c62 am 65f420ec: Merge "Add a config updater component for the intent firewall" into jb-mr2-dev
* commit '65f420ec98f451cb17e55c6ace3f249d73b33399':
  Add a config updater component for the intent firewall
2013-04-05 09:39:11 -07:00
Jeff Brown
1951ce86c2 Correctly manage the lifecycle of IME InputChannels.
InputChannels are normally duplicated when sent to a remote process
over Binder but this does not happen if the recipient is running within
the system server process.  This causes problems for KeyGuard because the
InputMethodManagerService may accidentally dispose the channel
that KeyGuard is using.

Fixed the lifecycle of InputChannels that are managed by the IME
framework.  We now return a duplicate of the channel to the application
and then take care to dispose of the duplicate when necessary.
In particular, InputBindResult disposes its InputChannel automatically
when returned through Binder (using PARCELABLE_WRITE_RETURN_VALUE).

Bug: 8493879
Change-Id: I08ec3d13268c76f3b56706b4523508bcefa3be79
2013-04-04 22:45:12 -07:00
Ben Gruver
633dc9bcef Add a config updater component for the intent firewall
Change-Id: I43f6defa16691099592bf87e75f2d1a732135cf3
2013-04-04 19:46:22 -07:00
Michael Wright
c6091c64c9 Pipe through device resolution information
Bug: 8424494
Change-Id: Iafeeee0d5cd29342c1cdc86b9616222aaa5d1b94
2013-04-04 18:10:37 -07:00
Nick Kralevich
ef36045f96 am 1fdaace1: am 80fdc962: Merge "Error on conflicting <uses-permission>" into jb-mr2-dev
* commit '1fdaace1b17ad651d1e5266bb227a26e76b91a50':
  Error on conflicting <uses-permission>
2013-04-04 17:34:31 -07:00
Nick Kralevich
1fdaace1b1 am 80fdc962: Merge "Error on conflicting <uses-permission>" into jb-mr2-dev
* commit '80fdc9624e6d53a78031bf99d34e7c01d53ad66e':
  Error on conflicting <uses-permission>
2013-04-04 17:27:44 -07:00
Nick Kralevich
80fdc9624e Merge "Error on conflicting <uses-permission>" into jb-mr2-dev 2013-04-05 00:24:40 +00:00
Nick Kralevich
73f2d3c79e Error on conflicting <uses-permission>
Don't install packages where we have multiple, conflicting
<uses-permission> lines for the same permission.

For example, a package which contains:

<uses-permission android:name="android.permission.INTERNET" android:required="false" />
<uses-permission android:name="android.permission.INTERNET" android:required="true" />

will now fail to install.

In addition, this change slightly refactors the code, and creates a new
parseUsesPermission() method.

Change-Id: I0f4bb8b51dc4a0c5b73458a70f706e19829275d2
2013-04-04 17:12:00 -07:00
Romain Guy
49084108f2 am 9ff408c1: am faec826b: Merge "Reduce the size of dirty invalidates" into jb-mr2-dev
* commit '9ff408c17be8cccc9820d46b207673be22bfbe84':
  Reduce the size of dirty invalidates
2013-04-04 15:57:56 -07:00
Romain Guy
9ff408c17b am faec826b: Merge "Reduce the size of dirty invalidates" into jb-mr2-dev
* commit 'faec826bd6051e41e1299cd14d580a4f50f6fe97':
  Reduce the size of dirty invalidates
2013-04-04 15:53:36 -07:00
Romain Guy
faec826bd6 Merge "Reduce the size of dirty invalidates" into jb-mr2-dev 2013-04-04 22:47:49 +00:00
Romain Guy
e55945e219 Reduce the size of dirty invalidates
Remove remnants from times long gone. We don't need to redraw the
union of the previous frame's dirty region and the new dirty
region.

Change-Id: I9fb96f99a6a72c2233f9ca563cf6432a42b2b65b
2013-04-04 15:29:09 -07:00
Nick Kralevich
7b22af2c31 am 2c0283f5: am b2c3aa8e: Merge "PackageParser: ignore <uses-permission> android:required on older apps" into jb-mr2-dev
* commit '2c0283f5d1bc43892b2e1e6ad3b111e4933bbe34':
  PackageParser: ignore <uses-permission> android:required on older apps
2013-04-04 13:36:04 -07:00
Nick Kralevich
2c0283f5d1 am b2c3aa8e: Merge "PackageParser: ignore <uses-permission> android:required on older apps" into jb-mr2-dev
* commit 'b2c3aa8e322a4c08e3aca3a877da3732ec93e042':
  PackageParser: ignore <uses-permission> android:required on older apps
2013-04-04 13:32:58 -07:00
Nick Kralevich
b2c3aa8e32 Merge "PackageParser: ignore <uses-permission> android:required on older apps" into jb-mr2-dev 2013-04-04 20:27:32 +00:00
Nick Kralevich
38f130e19a PackageParser: ignore <uses-permission> android:required on older apps
Don't honor <uses-permission android:required="false"> on older apps.
Lots of apps in the wild are improperly using this, and we don't
want to break them.

Bug: 8528162
Change-Id: I6e0a10bc9feac58d13ef624239c6b91e9fc34590
2013-04-04 13:19:10 -07:00
Chet Haase
b38af997f6 am 98f69881: am 77d94957: Merge "Adding small animation features" into jb-mr2-dev
* commit '98f69881ce28fef261da45c7fbd7ee79e9b8d637':
  Adding small animation features
2013-04-04 11:33:56 -07:00
Chet Haase
98f69881ce am 77d94957: Merge "Adding small animation features" into jb-mr2-dev
* commit '77d94957d793aba16a1352d25d5555bf59fe74e7':
  Adding small animation features
2013-04-04 11:30:31 -07:00
Chet Haase
b989502e5c Adding small animation features
RectEvaluator is useful when animating object bounds.
The other change is a hidden API that allows temporary suspension
of layout, useful for animations which need to animate view bounds
without conflicting with layout passes that might happen in the middle
of the animation.

Change-Id: I3dc08cb6ec455dfa3409e825506b218d3ea63d7a
2013-04-04 11:00:07 -07:00
Dan Morrill
e4d9a01bfc Phase 1 of refactoring SystemServer.
SystemServer is currently a monolithic class that brings up key system
services. This change is the first phase of refactoring it to be more
configurable. Specifically, it adds a set of on/off switches used to control
startup of individual services. Future plans include finer grained controls
and a more explicit and consistent startup sequence for these services.

Change-Id: I7299f5ce7d7b74a34eb56dffb788366fbc058532
2013-04-04 09:49:22 -07:00
Victoria Lease
9bd9404383 am 1e2c967b: am 8712e4cc: Merge "use libphonenumber for Linkify.PHONE_NUMBER" into jb-mr2-dev
* commit '1e2c967b16afc0750d9d00fbaed8e2175937e1f4':
  use libphonenumber for Linkify.PHONE_NUMBER
2013-04-04 07:50:49 -07:00
Victoria Lease
1e2c967b16 am 8712e4cc: Merge "use libphonenumber for Linkify.PHONE_NUMBER" into jb-mr2-dev
* commit '8712e4cc4a08f9d54013e96cc2420637c2114f08':
  use libphonenumber for Linkify.PHONE_NUMBER
2013-04-04 07:47:35 -07:00
Victoria Lease
8712e4cc4a Merge "use libphonenumber for Linkify.PHONE_NUMBER" into jb-mr2-dev 2013-04-04 14:40:52 +00:00
Victoria Lease
430fc97e7e use libphonenumber for Linkify.PHONE_NUMBER
This commit replaces a regex pattern match for Linkify.PHONE_NUMBER
with a call to libphonenumber's PhoneNumberUtil.findNumbers().

Bug: 5533245
Change-Id: I0e0563b241fb62e77d7f49e4a8484c6b0685dd8f
2013-04-04 07:38:24 -07:00
Ying Wang
552d7c1099 am 6690203c: am 0fa30372: Fix doc build.
* commit '6690203c7ff16ce4fcf3cc9a9d305d7acbcc4428':
  Fix doc build.
2013-04-03 23:05:07 -07:00
Ying Wang
6690203c7f am 0fa30372: Fix doc build.
* commit '0fa30372c7768692f9deef3e33655382e8a683fd':
  Fix doc build.
2013-04-03 23:02:01 -07:00
Ying Wang
0fa30372c7 Fix doc build.
Change-Id: I954a45866d968b0571040ba99cc93b818d02aeb5
2013-04-03 22:57:31 -07:00
Matthew Xie
a20d58182e am 3f84b7b1: am 26cd4d65: Merge "Change BluetoothGattCallback methods argument from BluetoothDevice to BluetoothGatt" into jb-mr2-dev
* commit '3f84b7b17df5e4b020fd67351efdb30635372e69':
  Change BluetoothGattCallback methods argument from BluetoothDevice to BluetoothGatt
2013-04-03 20:23:54 -07:00
Matthew Xie
3f84b7b17d am 26cd4d65: Merge "Change BluetoothGattCallback methods argument from BluetoothDevice to BluetoothGatt" into jb-mr2-dev
* commit '26cd4d658f5c4e99c31107cef78698c818e54577':
  Change BluetoothGattCallback methods argument from BluetoothDevice to BluetoothGatt
2013-04-03 20:19:51 -07:00
Matthew Xie
26cd4d658f Merge "Change BluetoothGattCallback methods argument from BluetoothDevice to BluetoothGatt" into jb-mr2-dev 2013-04-04 03:16:40 +00:00
Matthew Xie
33ec9840c7 Change BluetoothGattCallback methods argument from BluetoothDevice to BluetoothGatt
Change name of BluetoothDevice#connectGattServer to BluetoothDevice#connectGatt
Add BluetoothGatt#getDevice to retrieve device from BluetoothGatt
Add BluetoothGatt#connect() to reconnect back to the server.
Make BluetoothGatt#close() public to clean up/unregister callback
Add BluetoothDevice.getType() to return int of
bug 8529188

Change-Id: Iebd9ac68cc7a64c43972e617dd3068f66c8ea0b2
2013-04-03 18:20:13 -07:00
kmccormick
c9728cfa2a am 22da6f04: am e10b600d: am 984f94ee: am f29ca256: am 57b73b4a: am 72da7af6: am b461a13f: Merge "Doc update: unterminated code tags" into jb-mr1.1-docs
* commit '22da6f04b33173be9e6aacabc29869998395d271':
  Doc update: unterminated code tags
2013-04-03 18:14:08 -07:00
kmccormick
22da6f04b3 am e10b600d: am 984f94ee: am f29ca256: am 57b73b4a: am 72da7af6: am b461a13f: Merge "Doc update: unterminated code tags" into jb-mr1.1-docs
* commit 'e10b600d5da413f9633ed97aefcdbd3f949637a5':
  Doc update: unterminated code tags
2013-04-03 18:10:40 -07:00
kmccormick
e10b600d5d am 984f94ee: am f29ca256: am 57b73b4a: am 72da7af6: am b461a13f: Merge "Doc update: unterminated code tags" into jb-mr1.1-docs
* commit '984f94ee4c4ef0196d9b2c149d0a42f20b72bebf':
  Doc update: unterminated code tags
2013-04-03 18:06:40 -07:00