OSDN Git Service

android-x86/frameworks-base.git
8 years agoam b8fb239a: Merge "docs: Updated API Overview and Behavior Changes docs for M Previe...
Quddus Chong [Sun, 16 Aug 2015 01:33:44 +0000 (01:33 +0000)]
am b8fb239a: Merge "docs: Updated API Overview and Behavior Changes docs for M Preview 3." into mnc-dev

* commit 'b8fb239ac53ab462c8de12635c84c2216cf57f3b':
  docs: Updated API Overview and Behavior Changes docs for M Preview 3.

8 years agoam 9f238a94: Merge "Introducing M Land." into mnc-dev
Daniel Sandler [Sun, 16 Aug 2015 01:33:37 +0000 (01:33 +0000)]
am 9f238a94: Merge "Introducing M Land." into mnc-dev

* commit '9f238a9455639fccb6f44abd03752e3bb3bbc91e':
  Introducing M Land.

8 years agoresolved conflicts (again!) for merge of 8ad3e817 to mnc-dr-dev
Dan Sandler [Sat, 15 Aug 2015 22:33:29 +0000 (18:33 -0400)]
resolved conflicts (again!) for merge of 8ad3e817 to mnc-dr-dev

Change-Id: I5b47fdbb8a9712c104f12c25b80063048849cebd

8 years agoresolved conflicts for merge of 8ad3e817 to mnc-dr-dev
Daniel Sandler [Sat, 15 Aug 2015 04:16:41 +0000 (00:16 -0400)]
resolved conflicts for merge of 8ad3e817 to mnc-dr-dev

Change-Id: Ic4ea07a337b8d831f281b0a4048d0b4132597aa7

8 years agoMerge "docs: Updated API Overview and Behavior Changes docs for M Preview 3." into...
Quddus Chong [Fri, 14 Aug 2015 20:44:54 +0000 (20:44 +0000)]
Merge "docs: Updated API Overview and Behavior Changes docs for M Preview 3." into mnc-dev

8 years agoMerge "Introducing M Land." into mnc-dev
Daniel Sandler [Fri, 14 Aug 2015 19:59:48 +0000 (19:59 +0000)]
Merge "Introducing M Land." into mnc-dev

8 years agoMerge ""I tried to think of the most harmless thing."" into mnc-dev
Daniel Sandler [Fri, 14 Aug 2015 19:59:35 +0000 (19:59 +0000)]
Merge ""I tried to think of the most harmless thing."" into mnc-dev

8 years agoIntroducing M Land.
Dan Sandler [Thu, 13 Aug 2015 17:30:55 +0000 (13:30 -0400)]
Introducing M Land.

The "M" is for Multiplayer.

Bug: 21984798
Change-Id: Id752b8efe54ff0ac38854a129188027137d64dd5

8 years agoam 504600bb: Merge "Fix UserHandle.getAppIdFromSharedAppGid to allow system UIDs...
Adam Lesinski [Fri, 14 Aug 2015 19:47:54 +0000 (19:47 +0000)]
am 504600bb: Merge "Fix UserHandle.getAppIdFromSharedAppGid to allow system UIDs" into mnc-dev

* commit '504600bb09e51f0187d81cacb1dc2de77c6256b6':
  Fix UserHandle.getAppIdFromSharedAppGid to allow system UIDs

8 years agoMerge "Fix UserHandle.getAppIdFromSharedAppGid to allow system UIDs" into mnc-dev
Adam Lesinski [Fri, 14 Aug 2015 19:38:34 +0000 (19:38 +0000)]
Merge "Fix UserHandle.getAppIdFromSharedAppGid to allow system UIDs" into mnc-dev

8 years ago"I tried to think of the most harmless thing."
Dan Sandler [Mon, 3 Aug 2015 21:42:54 +0000 (17:42 -0400)]
"I tried to think of the most harmless thing."

Bug: 21984798
Change-Id: I33ffabb72c831ff814363601a82ac9a388cb1e99

8 years agoam 7df411d0: Merge "Clear calling identity before getting the current user." into...
Julia Reynolds [Fri, 14 Aug 2015 19:22:04 +0000 (19:22 +0000)]
am 7df411d0: Merge "Clear calling identity before getting the current user." into mnc-dev

* commit '7df411d0cced4a849bcdca58fa3c27eb731e0862':
  Clear calling identity before getting the current user.

8 years agoMerge "Clear calling identity before getting the current user." into mnc-dev
Julia Reynolds [Fri, 14 Aug 2015 19:17:31 +0000 (19:17 +0000)]
Merge "Clear calling identity before getting the current user." into mnc-dev

8 years agoStart pulse fading exactly when screen is turned on
Jorim Jaggi [Thu, 13 Aug 2015 01:35:42 +0000 (18:35 -0700)]
Start pulse fading exactly when screen is turned on

Bug: 23163299
Change-Id: I0f6d5dbfa02e455292e06a4f8f69ab68e9da2b6b

8 years agoam 16fa58cb: Merge "Fix to check the incoming userid argument for RingtonePlayer...
Jean-Michel Trivi [Fri, 14 Aug 2015 18:33:08 +0000 (18:33 +0000)]
am 16fa58cb: Merge "Fix to check the incoming userid argument for RingtonePlayer" into mnc-dev

* commit '16fa58cb133f539016a5e013897c7de7f58ff16d':
  Fix to check the incoming userid argument for RingtonePlayer

8 years agoMerge "Fix to check the incoming userid argument for RingtonePlayer" into mnc-dev
Jean-Michel Trivi [Fri, 14 Aug 2015 18:19:17 +0000 (18:19 +0000)]
Merge "Fix to check the incoming userid argument for RingtonePlayer" into mnc-dev

8 years agodocs: Updated API Overview and Behavior Changes docs for M Preview 3.
Quddus Chong [Tue, 11 Aug 2015 22:44:45 +0000 (15:44 -0700)]
docs: Updated API Overview and Behavior Changes docs for M Preview 3.

Change-Id: Ibff73ca9321ba1b117c361402d8045d9558c5c2f

8 years agoam 7e7d79ef: Merge "Make "Ask every time" actually work that way" into mnc-dev
Chris Tate [Fri, 14 Aug 2015 17:15:37 +0000 (17:15 +0000)]
am 7e7d79ef: Merge "Make "Ask every time" actually work that way" into mnc-dev

* commit '7e7d79ef2f4aa6a8da86af459d419bd24c47b440':
  Make "Ask every time" actually work that way

8 years agoam 81f3a85a: Merge "Fix issue #22940169: "pm grant" can no longer grant permissions...
Dianne Hackborn [Fri, 14 Aug 2015 17:15:33 +0000 (17:15 +0000)]
am 81f3a85a: Merge "Fix issue #22940169: "pm grant" can no longer grant permissions..." into mnc-dev

* commit '81f3a85aa29d83ed1a5de4de1006587d375a1c77':
  Fix issue #22940169: "pm grant" can no longer grant permissions...

8 years agoMerge "Make "Ask every time" actually work that way" into mnc-dev
Chris Tate [Fri, 14 Aug 2015 17:11:30 +0000 (17:11 +0000)]
Merge "Make "Ask every time" actually work that way" into mnc-dev

8 years agoMerge "Fix issue #22940169: "pm grant" can no longer grant permissions..." into mnc-dev
Dianne Hackborn [Fri, 14 Aug 2015 17:06:20 +0000 (17:06 +0000)]
Merge "Fix issue #22940169: "pm grant" can no longer grant permissions..." into mnc-dev

8 years agoam b045331f: Merge "Add GTS test to ensure valid default permission grants - framewor...
Svetoslav Ganov [Fri, 14 Aug 2015 15:13:38 +0000 (15:13 +0000)]
am b045331f: Merge "Add GTS test to ensure valid default permission grants - framework" into mnc-dev

* commit 'b045331fcb033507072bfd7899a147bb2be7176e':
  Add GTS test to ensure valid default permission grants - framework

8 years agoMerge "Add GTS test to ensure valid default permission grants - framework" into mnc-dev
Svetoslav Ganov [Fri, 14 Aug 2015 15:06:16 +0000 (15:06 +0000)]
Merge "Add GTS test to ensure valid default permission grants - framework" into mnc-dev

8 years agoFix UserHandle.getAppIdFromSharedAppGid to allow system UIDs
Adam Lesinski [Fri, 14 Aug 2015 05:06:31 +0000 (22:06 -0700)]
Fix UserHandle.getAppIdFromSharedAppGid to allow system UIDs

System UIDs are also run as shared GIDs, so this should not throw
an exception.

Bug:23189342
Change-Id: Ia180db012c25615cde1720ae0d41d1378f7bfb1a

8 years agoMake "Ask every time" actually work that way
Christopher Tate [Thu, 13 Aug 2015 23:29:33 +0000 (16:29 -0700)]
Make "Ask every time" actually work that way

..in link-opening behavior.  If a candidate is marked as "ask
every time," then the user is guaranteed to get a disambiguation
prompt including that candidate even when some other candidate
app is in the "always prefer this over a browser" state.

Bug 23147746

Change-Id: I904d8697a992b3f16f32b1c1b49c2bf9424c7137

8 years agoFix issue #22940169: "pm grant" can no longer grant permissions...
Dianne Hackborn [Fri, 14 Aug 2015 01:25:20 +0000 (18:25 -0700)]
Fix issue #22940169: "pm grant" can no longer grant permissions...

...with protection flag PROTECTION_FLAG_DEVELOPMENT

Bring back the old grant/revoke code for development permissions.

Also some more dumpsys output to help debugging.

And new dumpsys command for checking a permission.

Change-Id: I6e27e62a9ca5ec1ecc0f102714a448ea02f0f41c

8 years agoam cfcf6af9: Merge "Method to show DialogFragment allowing state loss." into mnc-dev
Jeff Sharkey [Fri, 14 Aug 2015 01:24:44 +0000 (01:24 +0000)]
am cfcf6af9: Merge "Method to show DialogFragment allowing state loss." into mnc-dev

* commit 'cfcf6af915bee878bdaea04f48592bbbe506ad26':
  Method to show DialogFragment allowing state loss.

8 years agoMerge "Method to show DialogFragment allowing state loss." into mnc-dev
Jeff Sharkey [Fri, 14 Aug 2015 01:18:18 +0000 (01:18 +0000)]
Merge "Method to show DialogFragment allowing state loss." into mnc-dev

8 years agoam 37dd5240: Merge "Doc change: Update preview pages for dp3." into mnc-dev
Joe Fernandez [Fri, 14 Aug 2015 01:16:52 +0000 (01:16 +0000)]
am 37dd5240: Merge "Doc change: Update preview pages for dp3." into mnc-dev

* commit '37dd5240ad54494e028d6b2973729f5cb40ccad9':
  Doc change: Update preview pages for dp3.

8 years agoMerge "Doc change: Update preview pages for dp3." into mnc-dev
Joe Fernandez [Fri, 14 Aug 2015 01:10:56 +0000 (01:10 +0000)]
Merge "Doc change: Update preview pages for dp3." into mnc-dev

8 years agoFix to check the incoming userid argument for RingtonePlayer
Sungmin Choi [Sat, 8 Aug 2015 01:12:19 +0000 (18:12 -0700)]
Fix to check the incoming userid argument for RingtonePlayer

In PowerNotificationWarnings, where it dispatches notifications
with UserHandle.ALL:
    mNoMan.notifyAsUser(TAG_NOTIFICATION, R.id.notification_power, n, UserHandle.ALL);
The fix is to have RingtonePlayer check the incoming userId argument to playAsync(),
and change USER_ALL to USER_OWNER.

BUG=22516181
BUG=22992637
Change-Id: Ia3f8aaa2bee7fb15c24542e2331b2bc5a877e715

8 years agoam 81eeef58: Merge "Update time when turning on screen, in addition to waking up...
Jorim Jaggi [Thu, 13 Aug 2015 23:58:29 +0000 (23:58 +0000)]
am 81eeef58: Merge "Update time when turning on screen, in addition to waking up" into mnc-dev

* commit '81eeef589386483722c21572d9ab6d3f95dd26be':
  Update time when turning on screen, in addition to waking up

8 years agoMethod to show DialogFragment allowing state loss.
Jeff Sharkey [Thu, 13 Aug 2015 23:57:29 +0000 (16:57 -0700)]
Method to show DialogFragment allowing state loss.

Same as show(), but allowing state loss.

Bug: 22867250
Change-Id: Ib779d8a3febc70ad47a9c1a9099d858707bad733

8 years agoMerge "Update time when turning on screen, in addition to waking up" into mnc-dev
Jorim Jaggi [Thu, 13 Aug 2015 23:51:11 +0000 (23:51 +0000)]
Merge "Update time when turning on screen, in addition to waking up" into mnc-dev

8 years agoUpdate time when turning on screen, in addition to waking up
Jorim Jaggi [Thu, 13 Aug 2015 22:53:14 +0000 (15:53 -0700)]
Update time when turning on screen, in addition to waking up

When in ambient display mode, we didn't get a callback to
onStartedWakingUp, thus the time was never refreshed. Since
broadcasts are disabled in this low-power state, we need to refresh
the clock manually before turning on the screen, because we can't
rely on the broadcasts to be delivered.

Bug: 23171638
Change-Id: I249f4195a14995f7c1467e73ac2aa400b871f80e

8 years agoam f7557729: Merge "docs: Update uses-sdk-element page with API 23 (M) listing" into...
Joe Fernandez [Thu, 13 Aug 2015 18:55:46 +0000 (18:55 +0000)]
am f7557729: Merge "docs: Update uses-sdk-element page with API 23 (M) listing" into mnc-dev

* commit 'f75577295765ca13bf3d0d5bffa81b569cb88da2':
  docs: Update uses-sdk-element page with API 23 (M) listing

8 years agoMerge "docs: Update uses-sdk-element page with API 23 (M) listing" into mnc-dev
Joe Fernandez [Thu, 13 Aug 2015 18:49:40 +0000 (18:49 +0000)]
Merge "docs: Update uses-sdk-element page with API 23 (M) listing" into mnc-dev

8 years agodocs: Update uses-sdk-element page with API 23 (M) listing
Joe Fernandez [Thu, 13 Aug 2015 18:45:23 +0000 (11:45 -0700)]
docs: Update uses-sdk-element page with API 23 (M) listing

Change-Id: If579411c66f3cfc02b270a04b266fe7562b48e14

8 years agoam 8d149d7f: Merge "docs: Update developer docs make file to include API 23" into...
Joe Fernandez [Thu, 13 Aug 2015 18:33:47 +0000 (18:33 +0000)]
am 8d149d7f: Merge "docs: Update developer docs make file to include API 23" into mnc-dev

* commit '8d149d7ff278c877bf7ccff7cc428cf7ba1db1e4':
  docs: Update developer docs make file to include API 23

8 years agoMerge "docs: Update developer docs make file to include API 23" into mnc-dev
Joe Fernandez [Thu, 13 Aug 2015 18:27:11 +0000 (18:27 +0000)]
Merge "docs: Update developer docs make file to include API 23" into mnc-dev

8 years agoDoc change: Update preview pages for dp3.
Dirk Dougherty [Thu, 13 Aug 2015 16:55:30 +0000 (09:55 -0700)]
Doc change: Update preview pages for dp3.

Change-Id: If4a3beab28cc2114cf01a2d6202dc072768960fc

8 years agoam 226ae04d: Merge "Set default SMS/MMS app to com.android.messaging (new AOSP app...
Mike Dodd [Thu, 13 Aug 2015 15:22:48 +0000 (15:22 +0000)]
am 226ae04d: Merge "Set default SMS/MMS app to com.android.messaging (new AOSP app)." into mnc-dev

* commit '226ae04df4b3570d11b66d52a404b2c8b2ac50db':
  Set default SMS/MMS app to com.android.messaging (new AOSP app).

8 years agoMerge "Set default SMS/MMS app to com.android.messaging (new AOSP app)." into mnc-dev
Mike Dodd [Thu, 13 Aug 2015 15:16:39 +0000 (15:16 +0000)]
Merge "Set default SMS/MMS app to com.android.messaging (new AOSP app)." into mnc-dev

8 years agoam 90460c79: Merge "Add more intelligence to bluetooth connection state" into mnc-dev
Jason Monk [Thu, 13 Aug 2015 14:44:55 +0000 (14:44 +0000)]
am 90460c79: Merge "Add more intelligence to bluetooth connection state" into mnc-dev

* commit '90460c79d1af214e73428eac92b5761e743dec4d':
  Add more intelligence to bluetooth connection state

8 years agoMerge "Add more intelligence to bluetooth connection state" into mnc-dev
Jason Monk [Thu, 13 Aug 2015 14:38:46 +0000 (14:38 +0000)]
Merge "Add more intelligence to bluetooth connection state" into mnc-dev

8 years agoClear calling identity before getting the current user.
Julia Reynolds [Thu, 13 Aug 2015 13:01:33 +0000 (09:01 -0400)]
Clear calling identity before getting the current user.

This is necessary so non-privilged apps can call setInterruptionFilter.

Bug: 23156657
Change-Id: Ia903a39626c93957276d66805446cd25a91341b5

8 years agoam bd29b07e: Merge "Fix Keyguard drawn timeout" into mnc-dev
Bart Sears [Thu, 13 Aug 2015 05:39:02 +0000 (05:39 +0000)]
am bd29b07e: Merge "Fix Keyguard drawn timeout" into mnc-dev

* commit 'bd29b07eab3956796a7a09d7612e42e22616f458':
  Fix Keyguard drawn timeout

8 years agoMerge "Fix Keyguard drawn timeout" into mnc-dev
Bart Sears [Thu, 13 Aug 2015 05:32:14 +0000 (05:32 +0000)]
Merge "Fix Keyguard drawn timeout" into mnc-dev

8 years agoAdd GTS test to ensure valid default permission grants - framework
Svet Ganov [Tue, 11 Aug 2015 15:59:12 +0000 (08:59 -0700)]
Add GTS test to ensure valid default permission grants - framework

The platform grants runtime permissions by default to apps on the
system image that provide core device use cases which a user expects
to work out-of-the-box. We are now adding a test to ensure that
OEMs cannot pregrant premissions on non approved components.

bug:23043018

Change-Id: Id76717cce0ee59678956bd0be347d3c045fe4c51

8 years agodocs: Update developer docs make file to include API 23
Joe Fernandez [Thu, 13 Aug 2015 02:45:22 +0000 (19:45 -0700)]
docs: Update developer docs make file to include API 23

Change-Id: I1bb9c37cafdfc7c78c23099a0fde2914f3068485

8 years agoMerge "Do not vibrate if we don't have a fingerprint client" into mnc-dr-dev
Jorim Jaggi [Thu, 13 Aug 2015 01:58:55 +0000 (01:58 +0000)]
Merge "Do not vibrate if we don't have a fingerprint client" into mnc-dr-dev

8 years agoDo not vibrate if we don't have a fingerprint client
Jorim Jaggi [Thu, 13 Aug 2015 01:06:22 +0000 (18:06 -0700)]
Do not vibrate if we don't have a fingerprint client

Bug: 22851337
Change-Id: Ia7be6eda2db08b4df07a48ffa4d24637f59167e9

8 years agoMerge "Fix touch-to-wake while dozing" into mnc-dr-dev
Jorim Jaggi [Thu, 13 Aug 2015 00:56:14 +0000 (00:56 +0000)]
Merge "Fix touch-to-wake while dozing" into mnc-dr-dev

8 years agoMerge "Require strong authentication after a timeout" into mnc-dr-dev
Jorim Jaggi [Thu, 13 Aug 2015 00:56:04 +0000 (00:56 +0000)]
Merge "Require strong authentication after a timeout" into mnc-dr-dev

8 years agoam ff9912d5: Merge "Fix issue #23116383: Include security patch level in Settings...
Dianne Hackborn [Thu, 13 Aug 2015 00:54:35 +0000 (00:54 +0000)]
am ff9912d5: Merge "Fix issue #23116383: Include security patch level in Settings" into mnc-dev

* commit 'ff9912d594bc5cdc10a4a224b9a2296bac50851b':
  Fix issue #23116383: Include security patch level in Settings

8 years agoMerge "Fix issue #23116383: Include security patch level in Settings" into mnc-dev
Dianne Hackborn [Thu, 13 Aug 2015 00:46:59 +0000 (00:46 +0000)]
Merge "Fix issue #23116383: Include security patch level in Settings" into mnc-dev

8 years agoam c97509c0: Merge "Update ifaces when global restriction changes." into mnc-dev
Jeff Sharkey [Thu, 13 Aug 2015 00:00:13 +0000 (00:00 +0000)]
am c97509c0: Merge "Update ifaces when global restriction changes." into mnc-dev

* commit 'c97509c0292910d7fb27e4c890ad4bc0ea723fec':
  Update ifaces when global restriction changes.

8 years agoMerge "Update ifaces when global restriction changes." into mnc-dev
Jeff Sharkey [Wed, 12 Aug 2015 23:51:55 +0000 (23:51 +0000)]
Merge "Update ifaces when global restriction changes." into mnc-dev

8 years agoUpdate ifaces when global restriction changes.
Jeff Sharkey [Wed, 12 Aug 2015 23:46:05 +0000 (16:46 -0700)]
Update ifaces when global restriction changes.

Global restriction of background data only applies to metered
interfaces, but battery saver applies to all interfaces.  In the
very specific case where global background had been turned on while
battery saver was enabled, we'd end up with a stale battery saver
rule floating around.

This change triggers an update of iface rules when the global
restriction changes, giving us consistent behavior.

Bug: 23098198
Change-Id: I454dc71cf11d50a2e9e6122e8a801ff17039b43a

8 years agoFix touch-to-wake while dozing
Jorim Jaggi [Wed, 12 Aug 2015 02:30:46 +0000 (19:30 -0700)]
Fix touch-to-wake while dozing

Bug: 23113439
Change-Id: I7abcf1b4298fc832ba78df742c691246766993b1

8 years agoRequire strong authentication after a timeout
Jorim Jaggi [Tue, 11 Aug 2015 22:54:06 +0000 (15:54 -0700)]
Require strong authentication after a timeout

Bug: 21594472
Change-Id: Iab169d4fa2e4ad134f8c8579654b28e96b5b1385

8 years agoMerge "Add a new carrier config for DTMF tone gap." into mnc-dr-dev
Roshan Pius [Wed, 12 Aug 2015 23:12:24 +0000 (23:12 +0000)]
Merge "Add a new carrier config for DTMF tone gap." into mnc-dr-dev

8 years agoFix issue #23116383: Include security patch level in Settings
Dianne Hackborn [Wed, 12 Aug 2015 23:10:58 +0000 (16:10 -0700)]
Fix issue #23116383: Include security patch level in Settings

Change-Id: I4934c7d26bf69b5c599962cd74ac1e4ea4ad4b51

8 years agoSet default SMS/MMS app to com.android.messaging (new AOSP app).
Mike Dodd [Tue, 11 Aug 2015 20:14:53 +0000 (13:14 -0700)]
Set default SMS/MMS app to com.android.messaging (new AOSP app).

b/23110861

Change-Id: Ifcdcfdea4d19875bf32ec19d245abc5e5a582b4c

8 years agoam beabcb92: Merge "Fix Insertion ActionMode not showing on RTL languages" into mnc-dev
Raph Levien [Wed, 12 Aug 2015 21:07:43 +0000 (21:07 +0000)]
am beabcb92: Merge "Fix Insertion ActionMode not showing on RTL languages" into mnc-dev

* commit 'beabcb92cbdec6f68bd712c9972e6f8377b78f46':
  Fix Insertion ActionMode not showing on RTL languages

8 years agoAdd a new carrier config for DTMF tone gap.
Roshan Pius [Wed, 12 Aug 2015 19:01:42 +0000 (12:01 -0700)]
Add a new carrier config for DTMF tone gap.

Adding a new carrier config key to specify the gap between the DTMF
tones sent out to the network.

BUG: 23064351
Change-Id: I3a0e20efecd62f533e796a40097f181d4c20d614

8 years agoMerge "Fix Insertion ActionMode not showing on RTL languages" into mnc-dev
Raph Levien [Wed, 12 Aug 2015 21:00:07 +0000 (21:00 +0000)]
Merge "Fix Insertion ActionMode not showing on RTL languages" into mnc-dev

8 years agoam 242ff8a8: Merge "Camera: Fix framework bugs with DEPTH-only camera devices" into...
Eino-Ville Talvala [Wed, 12 Aug 2015 20:18:46 +0000 (20:18 +0000)]
am 242ff8a8: Merge "Camera: Fix framework bugs with DEPTH-only camera devices" into mnc-dev

* commit '242ff8a89d851cc5c53b11dadd871fa55e00fbb5':
  Camera: Fix framework bugs with DEPTH-only camera devices

8 years agoAdd more intelligence to bluetooth connection state
Jason Monk [Wed, 12 Aug 2015 20:17:34 +0000 (16:17 -0400)]
Add more intelligence to bluetooth connection state

Since bluetooth connection state has a mind of its own... If we
think we are connected, but we don't actually know about any devices
that are currently connected, we probably aren't. So set the state
that way, and let everyone know.

Bug: 22977827
Change-Id: I9266f5394b179a3917b3818839f7c6b2dc238376

8 years agoFix Insertion ActionMode not showing on RTL languages
Clara Bayarri [Wed, 12 Aug 2015 18:46:47 +0000 (19:46 +0100)]
Fix Insertion ActionMode not showing on RTL languages

When long pressing on an empty Text field with the system language set
to RTL, the "paste" popup was not showing up.

The Floating Toolbar requires a content rect to determine where the
text is and place itself close to it. In the case of an empty field,
we create a "fake" content rect by taking the placement of the cursor
+1 pixel to the right. In RTL languages, this +1 causes the content
rect to be considered off the bounds of the view, as the cursor is
aligned to the right, and hence the Floating Toolbar is hidden.

After making the rect a 0 width rect, we ran into the issue that
it was considered out of bounds due to the calculation ignoring rects
that simply touch the edge of the view's bounds.

BUG: 22540083
Change-Id: I29c79b701f586970b2611178233eff082b802ec1

8 years agoMerge "Camera: Fix framework bugs with DEPTH-only camera devices" into mnc-dev
Eino-Ville Talvala [Wed, 12 Aug 2015 20:01:44 +0000 (20:01 +0000)]
Merge "Camera: Fix framework bugs with DEPTH-only camera devices" into mnc-dev

8 years agoam ad285c16: Merge "Revert "Set default SMS/MMS app to com.android.messaging (new...
Mike Dodd [Wed, 12 Aug 2015 18:59:05 +0000 (18:59 +0000)]
am ad285c16: Merge "Revert "Set default SMS/MMS app to com.android.messaging (new AOSP app)."" into mnc-dev

* commit 'ad285c169fd55bee8feef6e076a6710c357043e5':
  Revert "Set default SMS/MMS app to com.android.messaging (new AOSP app)."

8 years agoMerge "Revert "Set default SMS/MMS app to com.android.messaging (new AOSP app)."...
Mike Dodd [Wed, 12 Aug 2015 18:53:48 +0000 (18:53 +0000)]
Merge "Revert "Set default SMS/MMS app to com.android.messaging (new AOSP app)."" into mnc-dev

8 years agoRevert "Set default SMS/MMS app to com.android.messaging (new AOSP app)."
Mike Dodd [Wed, 12 Aug 2015 18:48:31 +0000 (18:48 +0000)]
Revert "Set default SMS/MMS app to com.android.messaging (new AOSP app)."

This reverts commit 3a24898f5553e72589eaba3aeb5ef8f63909dd64.

Change-Id: I86de9a7fe9f72748c7ac33d9df7fd1fbd8007f7c

8 years agoam c0a4883d: Merge "Prevent overlap of color views in landscape" into mnc-dev
Adrian Roos [Wed, 12 Aug 2015 18:16:32 +0000 (18:16 +0000)]
am c0a4883d: Merge "Prevent overlap of color views in landscape" into mnc-dev

* commit 'c0a4883d58554c84d10911da20f43be149b47c53':
  Prevent overlap of color views in landscape

8 years agoMerge "Prevent overlap of color views in landscape" into mnc-dev
Adrian Roos [Wed, 12 Aug 2015 18:06:42 +0000 (18:06 +0000)]
Merge "Prevent overlap of color views in landscape" into mnc-dev

8 years agoam 0c762957: Merge "Fix tuner for secondary users" into mnc-dev
Jason Monk [Wed, 12 Aug 2015 18:06:18 +0000 (18:06 +0000)]
am 0c762957: Merge "Fix tuner for secondary users" into mnc-dev

* commit '0c7629579184f85d36a4854e7c6f5b81f5b7299e':
  Fix tuner for secondary users

8 years agoMerge "Import translations. DO NOT MERGE" into mnc-dr-dev
Geoff Mendal [Wed, 12 Aug 2015 18:03:39 +0000 (18:03 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dr-dev

8 years agoMerge "Fix tuner for secondary users" into mnc-dev
Jason Monk [Wed, 12 Aug 2015 17:59:22 +0000 (17:59 +0000)]
Merge "Fix tuner for secondary users" into mnc-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 12 Aug 2015 17:51:55 +0000 (10:51 -0700)]
Import translations. DO NOT MERGE

Change-Id: I4fc5ccb494ee7b446489bcee8ecd733790c92779
Auto-generated-cl: translation import

8 years agoam 7f2f96cc: Merge "Set default SMS/MMS app to com.android.messaging (new AOSP app...
Mike Dodd [Wed, 12 Aug 2015 17:43:55 +0000 (17:43 +0000)]
am 7f2f96cc: Merge "Set default SMS/MMS app to com.android.messaging (new AOSP app)." into mnc-dev

* commit '7f2f96cce3f1663e3c1dccdde2c0f196b2b16e72':
  Set default SMS/MMS app to com.android.messaging (new AOSP app).

8 years agoam 24e4d48f: Merge "Promote system app permissions" into mnc-dev
Todd Kennedy [Wed, 12 Aug 2015 17:43:52 +0000 (17:43 +0000)]
am 24e4d48f: Merge "Promote system app permissions" into mnc-dev

* commit '24e4d48f56a6fca6974c5670b88a7b4da2180331':
  Promote system app permissions

8 years agoam e20493ea: Merge "Log last filtered sensor timestamp." into mnc-dev
Michael Wright [Wed, 12 Aug 2015 17:43:48 +0000 (17:43 +0000)]
am e20493ea: Merge "Log last filtered sensor timestamp." into mnc-dev

* commit 'e20493ea5affdc417db1fc3fbb527781d6e51612':
  Log last filtered sensor timestamp.

8 years agoMerge "Set default SMS/MMS app to com.android.messaging (new AOSP app)." into mnc-dev
Mike Dodd [Wed, 12 Aug 2015 17:01:25 +0000 (17:01 +0000)]
Merge "Set default SMS/MMS app to com.android.messaging (new AOSP app)." into mnc-dev

8 years agoMerge "Promote system app permissions" into mnc-dev
Todd Kennedy [Wed, 12 Aug 2015 16:51:13 +0000 (16:51 +0000)]
Merge "Promote system app permissions" into mnc-dev

8 years agoMerge "Log last filtered sensor timestamp." into mnc-dev
Michael Wright [Wed, 12 Aug 2015 16:32:11 +0000 (16:32 +0000)]
Merge "Log last filtered sensor timestamp." into mnc-dev

8 years agoLog last filtered sensor timestamp.
Michael Wright [Wed, 12 Aug 2015 14:35:31 +0000 (15:35 +0100)]
Log last filtered sensor timestamp.

Bug: 22870354
Change-Id: Ib4efaa0f05bec81856c939c5c640eceff98d88ed

8 years agoPromote system app permissions
Todd Kennedy [Wed, 12 Aug 2015 15:26:15 +0000 (08:26 -0700)]
Promote system app permissions

When upgrading from a pre-M version of Android, install permissions for
exisiting system are promoted to runtime permissions. This only happens
for apps that existed prior to the OTA. Other system apps targeting M
are not automatically granted any permissions.

Bug: 22970710
Change-Id: I964ee3f93c66ea43fbb1be6b5ac6b09ddea3c385

8 years agoam bf88205b: Fall back to persist.sys.language/country if locale isn\'t set.
Narayan Kamath [Wed, 12 Aug 2015 10:39:13 +0000 (10:39 +0000)]
am bf88205b: Fall back to persist.sys.language/country if locale isn\'t set.

* commit 'bf88205bef88f78ade5c6830e6203aa343387820':
  Fall back to persist.sys.language/country if locale isn't set.

8 years agoFall back to persist.sys.language/country if locale isn't set.
Narayan Kamath [Tue, 11 Aug 2015 14:40:34 +0000 (15:40 +0100)]
Fall back to persist.sys.language/country if locale isn't set.

This will prevent users from losing their language setting when they
take an OTA to M.

bug: 23021286
Change-Id: Ifb66f6bf6a940ab745edac709321f3009ec6eab4

8 years agoam e19b76cb: Merge "Add more examples of generating/importing keys to Javadocs."...
Alex Klyubin [Wed, 12 Aug 2015 05:46:35 +0000 (05:46 +0000)]
am e19b76cb: Merge "Add more examples of generating/importing keys to Javadocs." into mnc-dev

* commit 'e19b76cbb50db816c535d6d4a5bf125f52c04eba':
  Add more examples of generating/importing keys to Javadocs.

8 years agoMerge "Add more examples of generating/importing keys to Javadocs." into mnc-dev
Alex Klyubin [Wed, 12 Aug 2015 05:42:29 +0000 (05:42 +0000)]
Merge "Add more examples of generating/importing keys to Javadocs." into mnc-dev

8 years agoam e022cb08: Merge "Don\'t attempt to stop the receive thread if we never started...
Lorenzo Colitti [Wed, 12 Aug 2015 03:45:30 +0000 (03:45 +0000)]
am e022cb08: Merge "Don\'t attempt to stop the receive thread if we never started it." into mnc-dev

* commit 'e022cb085f6ebc2801f843bb47c9fd23f6daa3ea':
  Don't attempt to stop the receive thread if we never started it.

8 years agoMerge "Don't attempt to stop the receive thread if we never started it." into mnc-dev
Lorenzo Colitti [Wed, 12 Aug 2015 03:38:57 +0000 (03:38 +0000)]
Merge "Don't attempt to stop the receive thread if we never started it." into mnc-dev

8 years agoFix Keyguard drawn timeout
Jorim Jaggi [Tue, 11 Aug 2015 01:20:43 +0000 (18:20 -0700)]
Fix Keyguard drawn timeout

The timeout for waiting for Keyguard drawn was posted at the wrong
place. If the screen was turning on but the device wasn't waking up,
like in doze mode, we didn't post the timeout, thus, if Keyguard
wouldn't notify us, we would never unblock the screen. This doesn't
really cause a user visible bug but it *could*
prevent the screen from turning on if Keyguard doesn't behave nicely.
Put it at the right place so I can sleep better.

Bug: 21855614
Change-Id: Icda31399261b4ee80c292ce09a0858b0127e2999

8 years agoam 968fc3ab: Merge "Fix deadlock." into mnc-dev
Carlos Valdivia [Wed, 12 Aug 2015 01:47:11 +0000 (01:47 +0000)]
am 968fc3ab: Merge "Fix deadlock." into mnc-dev

* commit '968fc3ab75b0de71f298c6241cab1be1e6d5c86e':
  Fix deadlock.

8 years agoMerge "Fix deadlock." into mnc-dev
Carlos Valdivia [Wed, 12 Aug 2015 01:42:19 +0000 (01:42 +0000)]
Merge "Fix deadlock." into mnc-dev

8 years agoam 77b0d6e9: Merge "New landscape Navigation bar icons." into mnc-dev
Julia Reynolds [Wed, 12 Aug 2015 01:25:03 +0000 (01:25 +0000)]
am 77b0d6e9: Merge "New landscape Navigation bar icons." into mnc-dev

* commit '77b0d6e9f001c5e08fa367bff3b3e501ab36cc77':
  New landscape Navigation bar icons.

8 years agoMerge "New landscape Navigation bar icons." into mnc-dev
Julia Reynolds [Wed, 12 Aug 2015 01:19:01 +0000 (01:19 +0000)]
Merge "New landscape Navigation bar icons." into mnc-dev

8 years agoMerge "Indicating fingerprint error messages on the bouncer now" into mnc-dr-dev
Selim Cinek [Wed, 12 Aug 2015 00:56:30 +0000 (00:56 +0000)]
Merge "Indicating fingerprint error messages on the bouncer now" into mnc-dr-dev