144271 Commits

Author SHA1 Message Date
Wei Wang
c3059ccfb0 Use Scanner for legacy LE scans(1/2).
Also removed different scan methods from IBluetoothGatt and make
BluetoothLeScanner and BluetoothLEAdvertiser singleton.

Change-Id: Ifa2e950b50f100f5507a6dace3bd70db18d7f9ca
2014-07-24 20:26:55 -07:00
Aravind Akella
0dcebb9246 Merge "Define TYPE_PICK_UP_GESTURE." into lmp-dev 2014-07-24 15:36:51 +00:00
Aravind Akella
96eb62c3b9 Define TYPE_PICK_UP_GESTURE.
Change-Id: Ic2c7963352ff954884ce05a0a3a71516ed417140
2014-07-24 17:45:05 -07:00
John Spurlock
09890b3a90 Merge "QS: Handle all camera api exceptions during init." into lmp-dev 2014-07-24 15:36:51 +00:00
John Spurlock
553b48b50a QS: Handle all camera api exceptions during init.
Temporary workaround to unblock certain devices.

Bug:16547333
Change-Id: I80d8ec609e5c32b9db290576c5ec791ad915c45c
2014-07-24 18:12:58 -04:00
Justin Morey
5a99ee3334 Merge "Fix build" into lmp-dev 2014-07-24 15:36:51 +00:00
Justin Morey
b5deda7382 Fix build
Change-Id: I8790b274864610b7e00d7ea12efe96b3b826301f
2014-07-24 10:53:40 -05:00
John Spurlock
747a69965e Merge "Volume: force-dismiss panel when the screen turns off." into lmp-dev 2014-07-24 15:36:51 +00:00
John Spurlock
8c79d2eedd Volume: force-dismiss panel when the screen turns off.
Bug:16492823
Change-Id: Ifc069ef936dc5f29d11f6b11dcc7131f440c7f0b
2014-07-24 15:15:25 -04:00
John Spurlock
8d9e9614dd Merge "QS: Fix clipped battery icon when expanded." into lmp-dev 2014-07-24 15:36:51 +00:00
John Spurlock
2eec8fe5eb QS: Fix clipped battery icon when expanded.
Change-Id: If5ad46b9f25e70af0e13654ce1137955eb87eec2
2014-07-24 12:16:14 -04:00
Amith Yamasani
f7496d7e0c Merge "Don't update user's setup state unless it changed" into lmp-dev 2014-07-24 15:36:21 +00:00
Amith Yamasani
0da218be00 Don't update user's setup state unless it changed
Eliminates an extra write on every boot.

Bug: 16416936
Change-Id: I9ca16676c1b39dafeed3fc744a69c5bde819990c
2014-07-25 08:03:00 -07:00
Michael Wright
42dc32d829 Merge "Flip the permissions checks for video capture." into lmp-dev 2014-07-24 15:36:21 +00:00
Michael Wright
0ccc2b0a44 Flip the permissions checks for video capture.
Currently they're backwards in DisplayManagerService. Oops.

Bug: 16315225
Change-Id: I9bbfc0f4aef1bd21e43594cc36c6e8fd112f0b81
2014-07-25 01:25:03 +00:00
Behdad Esfahbod
4774470e20 Merge "Add letter-spacing to Paint and TextView" into lmp-dev 2014-07-24 15:36:21 +00:00
Behdad Esfahbod
fa80f7491d Add letter-spacing to Paint and TextView
New API is hidden.

Bug: 15594400
Change-Id: I5cbe7aebef0b7280eb13924f2a706c0cb4a4688e
2014-07-24 18:46:07 -04:00
John Reck
ad2947a7e7 Merge "fix build" into lmp-dev 2014-07-24 15:36:21 +00:00
John Reck
73e8205f75 fix build
Change-Id: I597255b2b311b7daec7ffe537f62ee78eace50be
2014-07-24 14:46:54 -07:00
Robert Greenwalt
41f9696d51 Merge "Fix DUN-based tethering." into lmp-dev 2014-07-24 15:36:21 +00:00
Robert Greenwalt
fab50167a8 Fix DUN-based tethering.
It was calling into dead ConnectivityService code rather than using
the new ConnectivityManager shim code.

bug:15221541
Change-Id: I1e3eea8a658a162ce36673ed1cf7b1e7e4372c42
2014-07-24 14:39:51 -07:00
Prashant Malani
b4dcc64fe6 Merge "Revert "Remove circular mask"" into klp-modular-dev 2014-07-24 15:36:14 +00:00
Jean-Michel Trivi
e19dfacb74 Merge "Remove MediaFocusControl persisting media button receiver" into lmp-dev 2014-07-24 15:36:09 +00:00
Jean-Michel Trivi
f2bbad1e76 Remove MediaFocusControl persisting media button receiver
MediaFocusControl doesn't handle media button receivers anymore,
 so it should read and persist a receiver, and monitor
 package addition/removals.
Also involved a security vulnerability, see bug

Bug 15428797

Change-Id: Ia2be01b20dc4a9820cc0cd3d0605ac03770b266b
2014-07-24 10:06:13 -07:00
Alan Viverette
96335e3543 Merge "Remove the max ripple count exceeded warning" into lmp-dev 2014-07-24 15:36:09 +00:00
Alan Viverette
e5d6cf85e2 Remove the max ripple count exceeded warning
BUG: 16543509
Change-Id: I84ec8e01136d1f0f34c6153d8ef7936de547746e
2014-07-24 13:45:46 -07:00
Alan Viverette
61968a93a8 Update icons for search and back
BUG: 16539661
Change-Id: If914e812841d2844a4fa50cc5a863615531371a2
2014-07-24 13:42:40 -07:00
Adam Lesinski
d4bd75be4f Merge "Add <feature-group> tag and change aapt badging" into lmp-dev 2014-07-24 15:36:09 +00:00
Wei Wang
82a1cfa4fe Merge "Move AdvertiseData length check to BluetoothAdvertiser." into lmp-dev 2014-07-24 15:36:09 +00:00
Yorke Lee
feb2b8c0bf Merge "Add Calls.TRANSCRIPTION to CallLog (2/2)" into lmp-dev 2014-07-24 15:36:09 +00:00
Selim Cinek
1a68969108 Merge "Reintroduced the clear all button" into lmp-dev 2014-07-24 15:36:05 +00:00
Dan Sandler
eceda3d838 Reintroduced the clear all button
A new text button is added to the bottom of the notification list
enabling the user to clear all notifications.

Bug: 14826666
Change-Id: I34dcccb59346798cca321bc1a19252b00e7c5689
2014-07-25 19:25:46 +02:00
Adrian Roos
2daf7a056d Merge "Remove brightness dialog timeout" into lmp-dev 2014-07-24 15:36:05 +00:00
Adrian Roos
5a46f8c98a Remove brightness dialog timeout
Required to make the dialog accessible.

Bug: 14116737
Change-Id: Ib126068672cdafccd4470de47e11e2b1efd90e72
2014-07-25 15:03:26 +02:00
Nicolas Prevot
0417982b65 Merge "Migrate extras to ClipData for image/video capture intents." into lmp-dev 2014-07-24 15:36:05 +00:00
Nicolas Prevot
d1c99b1fe8 Migrate extras to ClipData for image/video capture intents.
The intents ACTION_IMAGE_CAPTURE, ACTION_IMAGE_CAPTURE_SECURE and ACTION_VIDEO_CAPTURE are now handled in a way
similar to ACTION_SEND and ACTION_SEND_MULTIPLE.
Migrate the uri in the EXTRA_OUTPUT extra to clipData, and add the flag GRANT_WRITE_URI_PERMISSION.

The userIds are now added to extra uris in the process receiving the intent, (not in the system process), because the
system process may not be able to parcel/unparcel the extras.

BUG: 15534203

Change-Id: I8f79666b726bc6d7745bf777ad3c7518945c5cc3
2014-07-25 10:22:19 +01:00
Hector Dearman
2caf106790 Merge "Add documentation for CookieManager defualts" into lmp-dev 2014-07-24 15:36:05 +00:00
Hector Dearman
9f59526f03 Add documentation for CookieManager defualts
Documents the defualt settings of acceptCookies and acceptFileSchemeCookies.

The current defaults:
                            <L       >=L
acceptCookies           |    y   |    y   |
acceptThirdPartyCookies |    y   |    n   |
acceptFileCookies       |    n   |    n   |

Bug: 11575158
Change-Id: Ia6cb71bf80608cb2ea8049192f33616e57c15801
2014-07-25 09:37:58 +00:00
Hector Dearman
d49d6bf0cd Merge "Update CookieManager API for Council review." into lmp-dev 2014-07-24 15:36:05 +00:00
Hector Dearman
ffae672881 Update CookieManager API for Council review.
Remove synchronized from setAcceptThirdPartyCookies

Bug: 16403458
Change-Id: I6073da2c03fd0952bc447f7cfe0d959148af6877
2014-07-24 18:10:25 +01:00
Narayan Kamath
ed1391a929 Merge "Handle apps that share a UID with the system_server correctly." into lmp-dev 2014-07-24 15:36:04 +00:00
Narayan Kamath
340ca8b7e8 Handle apps that share a UID with the system_server correctly.
The system process does not explicitly declare any ABI, or
package any native code that it depends on but its ABI is
dictated by the zygote configuration. We need to account for
it correctly to have apps that share a UID with it work
correctly.

bug: 16317188

Change-Id: I84713c64409d7fdcc314114231e87a9263d5c5e7
2014-07-25 15:32:37 +01:00
Narayan Kamath
045e648980 Handle renderscript apps in the system partition correctly.
Get rid of various pointless calls to setBundledAppAbisAndRoots.
This method should only need to be called during scanPackageLI.

There's no other good reason to call it.

bug: 16484595
Change-Id: I2830b140058f0fffdbedb51d673e514852854626
2014-07-25 15:28:48 +01:00
Narayan Kamath
cf0cf47545 Merge "Handle renderscript apps in the system partition correctly." into lmp-dev 2014-07-24 15:36:04 +00:00
Adrian Roos
c3d5ead837 Merge "Restart trust agents when updated or when they are dead" into lmp-dev 2014-07-24 15:36:04 +00:00
Adrian Roos
c5f95cea26 Restart trust agents when updated or when they are dead
ActivityManager restarts the trust agent service for us
when it gets killed automatically. This does not apply
when its process crashes too often or when its package
gets updated however.
To catch the update case, the trust agent connection
is removed as soon as the package disappears, and then
readded when the new package appears.
To catch the repeated crashing case, the connection is
reset if it hasn't successfully connected for several minutes.

Also adds a button to SampleTrustAgent to simulate a crash.

Bug: 16137258
Change-Id: I1b18fc7a3025e23e25ca1623b6af658d5430a94b
2014-07-24 21:44:02 +02:00
Dan Sandler
99137c5e8d Merge "Notification inspector." into lmp-dev 2014-07-24 15:36:02 +00:00
Dan Sandler
4247a5c162 Notification inspector.
When longpressing a notification, instead of popping up a
menu we now replace the notification's view with an
inspector showing the app name and icon inline, along with a
proper app info button.

Bug: 15892646
Change-Id: I905e2fd5c9ea5cbbaccabd633f4b8257227a10bc
2014-07-25 15:10:36 -04:00
Leon Scroggins III
e138eb58f3 Merge "Document BlurMaskFilter.Blur." into lmp-dev 2014-07-24 15:36:02 +00:00
Baligh Uddin
7e75d21c65 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-07-24 15:35:58 +00:00