OSDN Git Service

android-x86/frameworks-base.git
9 years agoam 32279219: am fd3b64b8: am b0afc540: docs: Eclipse ADT end-of-life note
Rich Slogar [Fri, 26 Jun 2015 22:58:20 +0000 (22:58 +0000)]
am 32279219: am fd3b64b8: am b0afc540: docs: Eclipse ADT end-of-life note

* commit '3227921922b3750e04e309b7cacd55d5f0b5b77d':
  docs: Eclipse ADT end-of-life note

9 years agoam 4c96c704: am 7d377c3b: am fa5f184f: docs: studio migration guide
Rich Slogar [Fri, 26 Jun 2015 22:58:12 +0000 (22:58 +0000)]
am 4c96c704: am 7d377c3b: am fa5f184f: docs: studio migration guide

* commit '4c96c7045e7e4efbf4f7b68f8e3d02a5e9272075':
  docs: studio migration guide

9 years agoMerge "Make grant default permission more robust." into mnc-dev
Svet Ganov [Fri, 26 Jun 2015 22:52:53 +0000 (22:52 +0000)]
Merge "Make grant default permission more robust." into mnc-dev

9 years agoMake grant default permission more robust.
Svet Ganov [Fri, 26 Jun 2015 17:54:06 +0000 (10:54 -0700)]
Make grant default permission more robust.

Change-Id: If492ee3305774419671bbdb72b438c8e540005e9

9 years agoMerge "Add Validation logging." into mnc-dev
Robert Greenwalt [Fri, 26 Jun 2015 22:40:29 +0000 (22:40 +0000)]
Merge "Add Validation logging." into mnc-dev

9 years agoMerge "Text selection: fix snapping to words when words break across lines" into...
Mady Mellor [Fri, 26 Jun 2015 22:36:42 +0000 (22:36 +0000)]
Merge "Text selection: fix snapping to words when words break across lines" into mnc-dev

9 years agoMerge "Use StorageManager.wipeAdoptableDisks to wipe external disks" into mnc-dev
Rubin Xu [Fri, 26 Jun 2015 22:36:09 +0000 (22:36 +0000)]
Merge "Use StorageManager.wipeAdoptableDisks to wipe external disks" into mnc-dev

9 years agoMerge "TextView: add the "Share" accessibility action." into mnc-dev
Abodunrinwa Toki [Fri, 26 Jun 2015 22:32:25 +0000 (22:32 +0000)]
Merge "TextView: add the "Share" accessibility action." into mnc-dev

9 years agoMerge "Fix FloatingToolbar flicker in reaction to text cursor blink." into mnc-dev
Abodunrinwa Toki [Fri, 26 Jun 2015 22:09:40 +0000 (22:09 +0000)]
Merge "Fix FloatingToolbar flicker in reaction to text cursor blink." into mnc-dev

9 years agoMerge "Camera2: Remove references to sync.frameNumber" into mnc-dev
Chien-Yu Chen [Fri, 26 Jun 2015 22:09:28 +0000 (22:09 +0000)]
Merge "Camera2: Remove references to sync.frameNumber" into mnc-dev

9 years agoFix FloatingToolbar flicker in reaction to text cursor blink.
Abodunrinwa Toki [Fri, 26 Jun 2015 04:33:51 +0000 (21:33 -0700)]
Fix FloatingToolbar flicker in reaction to text cursor blink.

1. Reposition the toolbar on predraw only when positioning has changed.
2. Update the toolbar popup's position only if the content rect changed.
3. Fix FloatingToolbarPopup.cancelOverflowAnimations().
   The previous implementation wasn't actually cancelling the animation.

(1) is enough to fix the bug. But (2) and (3) fix issues in the
toolbar directly related to this bug.

Bug: 22039189
Change-Id: I84ec793d788f9402a1f8635e68e3344746f6af07

9 years agoMerge "Camera2: Clarify session callbacks" into mnc-dev
Chien-Yu Chen [Fri, 26 Jun 2015 22:05:03 +0000 (22:05 +0000)]
Merge "Camera2: Clarify session callbacks" into mnc-dev

9 years agoMerge "Deprecate TelephonyManager.getNeighboringCellInfo()" into mnc-dev
Nathan Harold [Fri, 26 Jun 2015 21:47:05 +0000 (21:47 +0000)]
Merge "Deprecate TelephonyManager.getNeighboringCellInfo()" into mnc-dev

9 years agoMerge "Mark a connection as a Wifi Assistant connection based on the ephemeral flag...
Shirish Kalele [Fri, 26 Jun 2015 21:34:22 +0000 (21:34 +0000)]
Merge "Mark a connection as a Wifi Assistant connection based on the ephemeral flag in WifiInfo. Add this private field to WifiInfo." into mnc-dev

9 years agoAlso reset assist setting when force stopping assist
Jorim Jaggi [Thu, 25 Jun 2015 22:55:43 +0000 (15:55 -0700)]
Also reset assist setting when force stopping assist

Bug: 20882522
Change-Id: I57725586ab5ff203b378a1e6d2e5e77a47fd2448

9 years agoText selection: fix snapping to words when words break across lines
Mady Mellor [Fri, 26 Jun 2015 21:28:12 +0000 (14:28 -0700)]
Text selection: fix snapping to words when words break across lines

Some languages do break words across lines and words can break between
lines with hyphenation. If a word has only one character on the current
line with the rest of the characters on the next line, the user would
be unable to move the cursor to the end of the word.

Rather than judging if a user is far enough into a word by using the
full word length, this CL amends the logic to only use the characters
that are on the current line of the word, if the user is far enough into
these characters the handle jumps to the next line to the end of the
word position.

Bug: 21400624
Change-Id: I8b96eb83bea08d9794d1e9db74066bcc3e168ac0

9 years agoTextView: add the "Share" accessibility action.
Abodunrinwa Toki [Fri, 26 Jun 2015 21:11:21 +0000 (14:11 -0700)]
TextView: add the "Share" accessibility action.

Bug: 21891817
Change-Id: I99b7489845b2103c18fd74d15d0050c34f37ca67

9 years agoMerge "Fix: Text selection handles shouldn't be shown in accessibility mode" into...
Mady Mellor [Fri, 26 Jun 2015 21:21:53 +0000 (21:21 +0000)]
Merge "Fix: Text selection handles shouldn't be shown in accessibility mode" into mnc-dev

9 years agoMerge "Don't offer crypto ops for public keys of trusted cert entries." into mnc-dev
Alex Klyubin [Fri, 26 Jun 2015 21:20:17 +0000 (21:20 +0000)]
Merge "Don't offer crypto ops for public keys of trusted cert entries." into mnc-dev

9 years agoMerge "Fix endTransition index out of bounds exception." into mnc-dev
George Mount [Fri, 26 Jun 2015 21:18:55 +0000 (21:18 +0000)]
Merge "Fix endTransition index out of bounds exception." into mnc-dev

9 years agoMerge "Fix addTarget not limiting to the given views." into mnc-dev
George Mount [Fri, 26 Jun 2015 21:18:37 +0000 (21:18 +0000)]
Merge "Fix addTarget not limiting to the given views." into mnc-dev

9 years agoMerge "Use a framework resource to name a factory-default browser app" into mnc-dev
Christopher Tate [Fri, 26 Jun 2015 21:05:26 +0000 (21:05 +0000)]
Merge "Use a framework resource to name a factory-default browser app" into mnc-dev

9 years agoMerge "Have FingerprintService keep the device awake on relevant events." into mnc-dev
Jim Miller [Fri, 26 Jun 2015 21:01:04 +0000 (21:01 +0000)]
Merge "Have FingerprintService keep the device awake on relevant events." into mnc-dev

9 years agoMerge "Remove the obsolete LOCAL_PAGE_ALIGN_JNI_SHARED_LIBRARIES" into mnc-dev
Ying Wang [Fri, 26 Jun 2015 21:01:02 +0000 (21:01 +0000)]
Merge "Remove the obsolete LOCAL_PAGE_ALIGN_JNI_SHARED_LIBRARIES" into mnc-dev

9 years agoRemove the obsolete LOCAL_PAGE_ALIGN_JNI_SHARED_LIBRARIES
Ying Wang [Fri, 26 Jun 2015 20:51:18 +0000 (13:51 -0700)]
Remove the obsolete LOCAL_PAGE_ALIGN_JNI_SHARED_LIBRARIES

Change-Id: I08c2439bcab934e23c697b93aec47b2c7bcba037

9 years agoUse a framework resource to name a factory-default browser app
Christopher Tate [Wed, 24 Jun 2015 23:15:48 +0000 (16:15 -0700)]
Use a framework resource to name a factory-default browser app

If there is no resource-named default but there is a single factory-
installed browser app, that app is made the titular default.

This also introduces a permission guard on attempts to set the
default browser or the app-link state.  These operations are now
contingent on the existing SET_PREFERRED_APPLICATIONS permission.

Bug 21778406

Change-Id: Id099bb9c4141f28917546492657cd2fba472e6b6

9 years agoMerge "SystemUI: show owner VPN for restricted profile" into mnc-dev
Robin Lee [Fri, 26 Jun 2015 20:44:55 +0000 (20:44 +0000)]
Merge "SystemUI: show owner VPN for restricted profile" into mnc-dev

9 years agoMerge "Improve docs for View#addChildrenForAccessibility" into mnc-dev
Adam Powell [Fri, 26 Jun 2015 20:35:30 +0000 (20:35 +0000)]
Merge "Improve docs for View#addChildrenForAccessibility" into mnc-dev

9 years agoMerge "Clarify the intention of setNotificationsShown" into mnc-dev
Amith Yamasani [Fri, 26 Jun 2015 20:34:30 +0000 (20:34 +0000)]
Merge "Clarify the intention of setNotificationsShown" into mnc-dev

9 years agoMerge "Revert get accounts permission to normal for now" into mnc-dev
Svet Ganov [Fri, 26 Jun 2015 20:30:34 +0000 (20:30 +0000)]
Merge "Revert get accounts permission to normal for now" into mnc-dev

9 years agoMerge "Fix issue #22023824: Download folder is not created in internal storage" into...
Dianne Hackborn [Fri, 26 Jun 2015 20:30:19 +0000 (20:30 +0000)]
Merge "Fix issue #22023824: Download folder is not created in internal storage" into mnc-dev

9 years agoMerge "Don't promote functors onto layers due to outline rect clipping" into mnc-dev
Chris Craik [Fri, 26 Jun 2015 20:28:34 +0000 (20:28 +0000)]
Merge "Don't promote functors onto layers due to outline rect clipping" into mnc-dev

9 years agoFix issue #22023824: Download folder is not created in internal storage
Dianne Hackborn [Wed, 24 Jun 2015 22:19:17 +0000 (15:19 -0700)]
Fix issue #22023824: Download folder is not created in internal storage

The media provider and some other things need to be given storage access.

Also, seems like we should give storage access to the camera app as well.

And add a dump dump command that will dump data about a particular
permission name.

Change-Id: Idaaa9bba2ff4dc95290cf6d17e5df933df91e909

9 years agoMark a connection as a Wifi Assistant connection based on the
Shirish Kalele [Thu, 25 Jun 2015 20:55:33 +0000 (13:55 -0700)]
Mark a connection as a Wifi Assistant connection based on the
ephemeral flag in WifiInfo.
Add this private field to WifiInfo.

Change-Id: Ic815b87a24e8272faa6e9e820b8fa55224af882a

9 years agoMerge "Camera2: Add clarification about simultaneous trigger use" into mnc-dev
Eino-Ville Talvala [Fri, 26 Jun 2015 19:53:24 +0000 (19:53 +0000)]
Merge "Camera2: Add clarification about simultaneous trigger use" into mnc-dev

9 years agoDeprecate TelephonyManager.getNeighboringCellInfo()
Nathan Harold [Thu, 25 Jun 2015 21:24:54 +0000 (14:24 -0700)]
Deprecate TelephonyManager.getNeighboringCellInfo()

bug: 22121990
Change-Id: Id8f9d080fdd1e2993b414a5304424238396b6fd4

9 years agoCamera2: Remove references to sync.frameNumber
Chien-Yu Chen [Fri, 26 Jun 2015 18:23:55 +0000 (11:23 -0700)]
Camera2: Remove references to sync.frameNumber

sync.frameNumber is a hidden key.

Bug: 21957397
Change-Id: I3b235d776782a8441354ee24c9174ae30e074a61

9 years agoAdd Validation logging.
Robert Greenwalt [Tue, 23 Jun 2015 22:03:33 +0000 (15:03 -0700)]
Add Validation logging.

Persist the last 20 lines of validation info for the last 10
networks.

bug: 21599856
Change-Id: I8124480cc9181eea2adb7eb6eabcd07c9506b6d3

9 years agoMerge "AudioManager: optimize audio port listener registration" into mnc-dev
Eric Laurent [Fri, 26 Jun 2015 17:43:00 +0000 (17:43 +0000)]
Merge "AudioManager: optimize audio port listener registration" into mnc-dev

9 years agoMerge "Text selection: When user reaches midpoint jump to end of word" into mnc-dev
Mady Mellor [Fri, 26 Jun 2015 17:37:51 +0000 (17:37 +0000)]
Merge "Text selection: When user reaches midpoint jump to end of word" into mnc-dev

9 years agoSystemUI: show owner VPN for restricted profile
Robin Lee [Thu, 4 Jun 2015 00:53:01 +0000 (01:53 +0100)]
SystemUI: show owner VPN for restricted profile

Restricted profiles don't have their own VPN configuration - whatever
is in charge of VPN for our USER_OWNER user will have network traffic
routed to it instead.

Bug: 18419023
Bug: 21188177
Change-Id: I7205d90032461c240048a036606c3a7938d0eda2

9 years agoMerge "Text selection: Fix word boundaries for languages without spaces" into mnc-dev
Mady Mellor [Fri, 26 Jun 2015 17:32:56 +0000 (17:32 +0000)]
Merge "Text selection: Fix word boundaries for languages without spaces" into mnc-dev

9 years agoRevert get accounts permission to normal for now
Svet Ganov [Fri, 26 Jun 2015 15:49:50 +0000 (08:49 -0700)]
Revert get accounts permission to normal for now

Change-Id: I51efe557b69a50d85dc53ba7a1622b7bafc301e6

9 years agoMerge "Fix issue #22013372: Assist should take translationX and friends..." into...
Dianne Hackborn [Fri, 26 Jun 2015 17:20:10 +0000 (17:20 +0000)]
Merge "Fix issue #22013372: Assist should take translationX and friends..." into mnc-dev

9 years agoAudioManager: optimize audio port listener registration
Eric Laurent [Fri, 26 Jun 2015 17:01:12 +0000 (10:01 -0700)]
AudioManager: optimize audio port listener registration

In order to reduce the number of binder calls, only install an
audio port callback in a client process if either:
- an audio port related API has been called once
- an audio port listenr has been registered.

Bug: 22045560.
Change-Id: I0e5cf31bec0c986d6f7761891b860ba6fadd2f4c

9 years agoFix: Text selection handles shouldn't be shown in accessibility mode
Mady Mellor [Thu, 25 Jun 2015 00:27:21 +0000 (17:27 -0700)]
Fix: Text selection handles shouldn't be shown in accessibility mode

If you select some text normally while in accessibility mode, it
should be cleared and handles should not show if you initiate text
selection using the accessibility context menu.

Bug: 22071639
Change-Id: I32b966e771ba5715a0ab370e6aa602398e5ec534

9 years agoMerge "Let's reinvent storage, yet again!" into mnc-dev
Jeff Sharkey [Fri, 26 Jun 2015 15:43:23 +0000 (15:43 +0000)]
Merge "Let's reinvent storage, yet again!" into mnc-dev

9 years agoMerge "Fixed a crash where onTouch might have been called too early" into mnc-dev
Selim Cinek [Fri, 26 Jun 2015 15:26:22 +0000 (15:26 +0000)]
Merge "Fixed a crash where onTouch might have been called too early" into mnc-dev

9 years agoMerge "Now showing unlocked icon if both trusted and fingerprint running" into mnc-dev
Selim Cinek [Fri, 26 Jun 2015 15:26:06 +0000 (15:26 +0000)]
Merge "Now showing unlocked icon if both trusted and fingerprint running" into mnc-dev

9 years agoUse StorageManager.wipeAdoptableDisks to wipe external disks
Rubin Xu [Thu, 25 Jun 2015 11:17:48 +0000 (12:17 +0100)]
Use StorageManager.wipeAdoptableDisks to wipe external disks

Retire FORMAT_AND_FACTORY_RESET which is more fragile.

Bug: 9433509
Change-Id: I158ee987274bb4db41d466de9f1e3c60ffc1d140

9 years agoam fd3b64b8: am b0afc540: docs: Eclipse ADT end-of-life note
Rich Slogar [Fri, 26 Jun 2015 07:06:31 +0000 (07:06 +0000)]
am fd3b64b8: am b0afc540: docs: Eclipse ADT end-of-life note

* commit 'fd3b64b8aa0aa974bcc69340e426cc0da92e71ae':
  docs: Eclipse ADT end-of-life note

9 years agoam b0afc540: docs: Eclipse ADT end-of-life note
Rich Slogar [Fri, 26 Jun 2015 06:53:20 +0000 (06:53 +0000)]
am b0afc540: docs: Eclipse ADT end-of-life note

* commit 'b0afc540ebee64ded367ce34ae8f61cb8c2478e7':
  docs: Eclipse ADT end-of-life note

9 years agodocs: Eclipse ADT end-of-life note
Rich Slogar [Fri, 26 Jun 2015 00:48:35 +0000 (17:48 -0700)]
docs: Eclipse ADT end-of-life note

Change-Id: I5fe9de7145104191d330259c7e16ea14cc4a651e

9 years agoam 7d377c3b: am fa5f184f: docs: studio migration guide
Rich Slogar [Fri, 26 Jun 2015 05:52:55 +0000 (05:52 +0000)]
am 7d377c3b: am fa5f184f: docs: studio migration guide

* commit '7d377c3b4f3837655c724b4508c7251d298f9765':
  docs: studio migration guide

9 years agoam fa5f184f: docs: studio migration guide
Rich Slogar [Fri, 26 Jun 2015 05:39:31 +0000 (05:39 +0000)]
am fa5f184f: docs: studio migration guide

* commit 'fa5f184faf7da28e3a6d2acd18bb9bfaac4eb2f1':
  docs: studio migration guide

9 years agodocs: studio migration guide
Rich Slogar [Tue, 12 May 2015 19:42:11 +0000 (12:42 -0700)]
docs: studio migration guide

b/20093866

Change-Id: Ib1eed6870aaee6230a083ec5f126a36b4b3a014d

9 years agoMerge "Enforce FloatingToolbar themes." into mnc-dev
Abodunrinwa Toki [Fri, 26 Jun 2015 05:26:38 +0000 (05:26 +0000)]
Merge "Enforce FloatingToolbar themes." into mnc-dev

9 years agoLet's reinvent storage, yet again!
Jeff Sharkey [Wed, 24 Jun 2015 22:24:48 +0000 (15:24 -0700)]
Let's reinvent storage, yet again!

Now that we're treating storage as a runtime permission, we need to
grant read/write access without killing the app.  This is really
tricky, since we had been using GIDs for access control, and they're
set in stone once Zygote drops privileges.

The only thing left that can change dynamically is the filesystem
itself, so let's do that.  This means changing the FUSE daemon to
present itself as three different views:

/mnt/runtime_default/foo - view for apps with no access
/mnt/runtime_read/foo - view for apps with read access
/mnt/runtime_write/foo - view for apps with write access

There is still a single location for all the backing files, and
filesystem permissions are derived the same way for each view, but
the file modes are masked off differently for each mountpoint.

During Zygote fork, it wires up the appropriate storage access into
an isolated mount namespace based on the current app permissions.  When
the app is granted permissions dynamically at runtime, the system
asks vold to jump into the existing mount namespace and bind mount
the newly granted access model into place.

Bug: 21858077
Change-Id: I62fb25d126dd815aea699b33d580e3afb90f8fd2

9 years agoMerge "Add JavaDoc for permission protection level" into mnc-dev
Svetoslav [Fri, 26 Jun 2015 05:24:41 +0000 (05:24 +0000)]
Merge "Add JavaDoc for permission protection level" into mnc-dev

9 years agoMerge "Fix: Ellipsis is wrongly applied or not applied in TextView." into mnc-dev
Keisuke Kuroyanagi [Fri, 26 Jun 2015 05:11:22 +0000 (05:11 +0000)]
Merge "Fix: Ellipsis is wrongly applied or not applied in TextView." into mnc-dev

9 years agoMerge "Do not show selection action mode when the TextView is not shown." into mnc-dev
Seigo Nonaka [Fri, 26 Jun 2015 05:10:33 +0000 (05:10 +0000)]
Merge "Do not show selection action mode when the TextView is not shown." into mnc-dev

9 years agoFix issue #22013372: Assist should take translationX and friends...
Dianne Hackborn [Tue, 23 Jun 2015 19:33:02 +0000 (19:33 +0000)]
Fix issue #22013372: Assist should take translationX and friends...

...into account when calculating the position information

Actually what we need here is the full transformation matrix, if it
is available.  And that means actually computing the location of
views on the screen requires doing this all through transformations,
so the AssistVisualizer has been changed to do this (while still
also keeping the old mechanism for comparison to verify that things
are working correctly).

Also added new properties for elevation and alpha.

And optimized the parcelling of AssistStructure to not write things
that aren't needed; this reduces the parcelled size by about half.

Change-Id: I50b0dd2e6599c74701a5d188617a3eff64b07d03

9 years agoam ba12e226: am 0b5d0509: Merge "docs: Removed sentence from permissions doc" into...
Robert Schaub [Fri, 26 Jun 2015 02:23:09 +0000 (02:23 +0000)]
am ba12e226: am 0b5d0509: Merge "docs: Removed sentence from permissions doc" into mnc-preview-docs

* commit 'ba12e226981216116de772739165ace65fe59d5b':
  docs: Removed sentence from permissions doc

9 years agoDon't offer crypto ops for public keys of trusted cert entries.
Alex Klyubin [Fri, 26 Jun 2015 00:13:30 +0000 (17:13 -0700)]
Don't offer crypto ops for public keys of trusted cert entries.

Android Keystore cannot offer crypto operations for public keys of
trusted certificate entries (entries without a private key). Prior to
this CL it accidentally tried to do so, causing crypto operations on
these keys to fail.

The fix is for Android Keystore to offer crypto operations only for
public keys for which there is a corresponding private key in the
keystore. Crypto operations on public keys from trusted certificate
entries will be handled by other installed crypto providers. Those
providers don't need a private key to carry out these operations on
public keys.

Bug: 22091725
Bug: 21835320
Change-Id: Ib7d92b067711e4c57128d0db72c08bf288a45ce1

9 years agoAdd JavaDoc for permission protection level
Svetoslav [Fri, 26 Jun 2015 01:19:14 +0000 (18:19 -0700)]
Add JavaDoc for permission protection level

1. Add the permission protection level in the java doc

2. Make some system permissions that are not mean to be
   used by third-parties system API.

bug:21402257

Change-Id: Ic0ae8d6ca44dbbbf12848a9164acc0e908c90402

9 years agoFixed a crash where onTouch might have been called too early
Selim Cinek [Fri, 26 Jun 2015 00:15:33 +0000 (20:15 -0400)]
Fixed a crash where onTouch might have been called too early

Bug: 21906153
Change-Id: I1fbc8b29f9cb0d7d71d6cb81e95a35da2fe9959e

9 years agoDon't promote functors onto layers due to outline rect clipping
Chris Craik [Fri, 26 Jun 2015 00:15:16 +0000 (17:15 -0700)]
Don't promote functors onto layers due to outline rect clipping

bug:21320333

Change-Id: Ie70982c88498395148dab6eaca861de66e6207ed

9 years agoCamera2: Clarify session callbacks
Chien-Yu Chen [Thu, 25 Jun 2015 23:54:17 +0000 (16:54 -0700)]
Camera2: Clarify session callbacks

If a prior session exists when a new session is created,
onClosed() for a prior session may be invoked after
onConfigured() for the new session.

Bug: 22072379
Change-Id: I6d4416b8e77d073e569ca55867dd705c245886d0

9 years agoNow showing unlocked icon if both trusted and fingerprint running
Selim Cinek [Thu, 25 Jun 2015 23:44:05 +0000 (19:44 -0400)]
Now showing unlocked icon if both trusted and fingerprint running

Bug: 21781452
Change-Id: I7b04975b36f7a135358cdd68c1bdae1e73f22cc0

9 years agoEnforce FloatingToolbar themes.
Abodunrinwa Toki [Wed, 24 Jun 2015 03:36:52 +0000 (20:36 -0700)]
Enforce FloatingToolbar themes.

This ensures that theme attribute values that affect the look and
feel of the FloatingToolbar views are the ones specified in the
framework.
The aim is to avoid apps modifying the toolbar's look and feel in
unexpected ways by overriding Theme attributes.

Bug: 21957785

Change-Id: Idd472b4e8511f0a039cd07f98b1fd3ce93ae97fa

9 years agoMerge "Fix logic for whether beginning/end divider should be drawn" into mnc-dev
Doris Liu [Thu, 25 Jun 2015 22:43:12 +0000 (22:43 +0000)]
Merge "Fix logic for whether beginning/end divider should be drawn" into mnc-dev

9 years agoHide assist when launching an activity over an action
Jorim Jaggi [Thu, 25 Jun 2015 22:01:29 +0000 (15:01 -0700)]
Hide assist when launching an activity over an action

Also make sure to resume app switches in this case.

Bug: 22071080
Change-Id: Ib30e064f4a5d0768b608e23183a34e326ada32e6

9 years agoUse long press of KeyButtonView to invoke assist
Jorim Jaggi [Thu, 25 Jun 2015 18:52:48 +0000 (11:52 -0700)]
Use long press of KeyButtonView to invoke assist

This makes sure that accessibility is handled properly.

Bug: 18778078
Change-Id: I967b387aabff973b5a9fea649a805540ee08eea8

9 years agoFix logic for whether beginning/end divider should be drawn
Doris Liu [Thu, 25 Jun 2015 22:16:54 +0000 (15:16 -0700)]
Fix logic for whether beginning/end divider should be drawn

Bug: 18945384
Change-Id: Ib8e785cb97d288e39a39b968bcb9c05410acbe34

9 years agoMerge "Don't throw TransactionTooLargeException for small payloads" into mnc-dev
Christopher Tate [Thu, 25 Jun 2015 22:28:01 +0000 (22:28 +0000)]
Merge "Don't throw TransactionTooLargeException for small payloads" into mnc-dev

9 years agoMerge "Ensure partially-detached AbsListView children are removed" into mnc-dev
Alan Viverette [Thu, 25 Jun 2015 22:22:31 +0000 (22:22 +0000)]
Merge "Ensure partially-detached AbsListView children are removed" into mnc-dev

9 years agoMerge "media: parse max-concurrent-instances." into mnc-dev
Ronghua Wu [Thu, 25 Jun 2015 22:14:57 +0000 (22:14 +0000)]
Merge "media: parse max-concurrent-instances." into mnc-dev

9 years agoMerge "Fix Formatter.formatBytes() crash on non-EN locales" into mnc-dev
Makoto Onuki [Thu, 25 Jun 2015 22:02:55 +0000 (22:02 +0000)]
Merge "Fix Formatter.formatBytes() crash on non-EN locales" into mnc-dev

9 years agoEnsure partially-detached AbsListView children are removed
Alan Viverette [Thu, 25 Jun 2015 21:49:29 +0000 (14:49 -0700)]
Ensure partially-detached AbsListView children are removed

Bug: 22052083
Change-Id: If8c30c622206257587441bbd4f02c83eb3a62b60

9 years agoSpeedup PIN/Pattern dismissal
Jorim Jaggi [Thu, 25 Jun 2015 21:47:24 +0000 (14:47 -0700)]
Speedup PIN/Pattern dismissal

Bug: 22096344
Change-Id: I50d5ecaa03aae94cecf9da173f0d6318faaf6a1a

9 years agoImprove docs for View#addChildrenForAccessibility
Adam Powell [Thu, 25 Jun 2015 21:48:45 +0000 (14:48 -0700)]
Improve docs for View#addChildrenForAccessibility

Clarify the role of the list parameter and associated method
documentation.

Bug 22053511

Change-Id: Id0200bba8e60242caee2547bce30764dcabe02fd

9 years agoFix Formatter.formatBytes() crash on non-EN locales
Makoto Onuki [Thu, 25 Jun 2015 18:56:44 +0000 (11:56 -0700)]
Fix Formatter.formatBytes() crash on non-EN locales

Bug 22012651

Change-Id: I21b1834a35647527002e01d76a7eb3a6a0354512

9 years agoMerge "Limit dotProduct value to 1.0f, so acosf would not return NaN." into mnc-dev
Tenghui Zhu [Thu, 25 Jun 2015 21:45:31 +0000 (21:45 +0000)]
Merge "Limit dotProduct value to 1.0f, so acosf would not return NaN." into mnc-dev

9 years agoFix addTarget not limiting to the given views.
George Mount [Thu, 25 Jun 2015 15:59:26 +0000 (08:59 -0700)]
Fix addTarget not limiting to the given views.

Bug 22086521

Views matched by instance, or appearing/disappearing, or
named views were not limited.

Change-Id: I70fd1497c58a3cde771f4eafe11d8ebe0889ab6c

9 years agoLimit dotProduct value to 1.0f, so acosf would not return NaN.
Lazar Trsic [Tue, 23 Jun 2015 09:46:49 +0000 (11:46 +0200)]
Limit dotProduct value to 1.0f, so acosf would not return NaN.

Cherry pick of b561f39d01c211425bfefaaa7b31ebe097e7ba79 from AOSP master.

Due to precision loss of float math, we sometimes get 1.000001f for
dotProduct. This causes NaN result from acosf() and floor() funcs.

At the moment, this does not cause any problems on ARM, as casting
NaN to int results in 0. On mips however (possibly on x86), such cast
gives INT_MAX, so crash occurs when trying to use the resulting value.

Change-Id: I8e0285a0306a65b8469d9f4885c19665066fc4c8

9 years agoMerge "Preventing leak" into mnc-dev
Jerome Poichet [Thu, 25 Jun 2015 21:21:00 +0000 (21:21 +0000)]
Merge "Preventing leak" into mnc-dev

9 years agomedia: parse max-concurrent-instances.
Ronghua Wu [Thu, 25 Jun 2015 21:13:40 +0000 (14:13 -0700)]
media: parse max-concurrent-instances.

Bug: 22089269
Change-Id: I2b0af7c5c6a309c8396b595ea54b899451239b18

9 years agoMerge "Fix removeTarget to remove by ID instead of index." into mnc-dev
George Mount [Thu, 25 Jun 2015 20:55:33 +0000 (20:55 +0000)]
Merge "Fix removeTarget to remove by ID instead of index." into mnc-dev

9 years agoMerge "Constrain ListPopupWindow hint width spec to >= 0" into mnc-dev
Alan Viverette [Thu, 25 Jun 2015 20:00:54 +0000 (20:00 +0000)]
Merge "Constrain ListPopupWindow hint width spec to >= 0" into mnc-dev

9 years agoConstrain ListPopupWindow hint width spec to >= 0
Alan Viverette [Thu, 25 Jun 2015 20:00:03 +0000 (13:00 -0700)]
Constrain ListPopupWindow hint width spec to >= 0

Bug: 22092169
Change-Id: Ia05302cf8d167aae26eccbf53dd3fd21d09b326d

9 years agoMerge "Constrain child width and height to >= 0 in FrameLayout.onMeasure()" into...
Alan Viverette [Thu, 25 Jun 2015 19:57:01 +0000 (19:57 +0000)]
Merge "Constrain child width and height to >= 0 in FrameLayout.onMeasure()" into mnc-dev

9 years agoFix endTransition index out of bounds exception.
George Mount [Wed, 24 Jun 2015 18:09:47 +0000 (11:09 -0700)]
Fix endTransition index out of bounds exception.

Bug 22063111

When transition.end() is run, it removes itself from
the list of running transitions and perturbs the list.

Change-Id: I4feb7ebe19717a0e2302844d4e4e0d19a55ec57c

9 years agoMerge "Handle back key to cancel text action mode in full-screen IME." into mnc-dev
Yohei Yukawa [Thu, 25 Jun 2015 19:39:31 +0000 (19:39 +0000)]
Merge "Handle back key to cancel text action mode in full-screen IME." into mnc-dev

9 years agoConstrain child width and height to >= 0 in FrameLayout.onMeasure()
Alan Viverette [Thu, 25 Jun 2015 19:24:27 +0000 (12:24 -0700)]
Constrain child width and height to >= 0 in FrameLayout.onMeasure()

Bug: 22093669
Change-Id: I55e8a0289f871b73ed07f3d73e8297786f9acac1

9 years agoPreventing leak
Jerome Poichet [Thu, 25 Jun 2015 19:03:02 +0000 (12:03 -0700)]
Preventing leak

When transitioning from ON to OFF with LE Advertisers, advertiser do not
get a chance to unregister themselves as the stopAdvertising checks the
state of the stack and throws before unregistering the object.

It will then never remove the callback objects causing a leak.

b/22092678 | Remote service crash after switching to restricted profile

Change-Id: I04817026a524d10d60abdd8b533554a71a0112e2

9 years agoam 0b5d0509: Merge "docs: Removed sentence from permissions doc" into mnc-preview...
Robert Schaub [Thu, 25 Jun 2015 19:06:53 +0000 (19:06 +0000)]
am 0b5d0509: Merge "docs: Removed sentence from permissions doc" into mnc-preview-docs

* commit '0b5d0509ad381fc7ab519a60e2d749f27db7a070':
  docs: Removed sentence from permissions doc

9 years agoMerge "docs: Removed sentence from permissions doc" into mnc-preview-docs
Robert Schaub [Thu, 25 Jun 2015 18:57:05 +0000 (18:57 +0000)]
Merge "docs: Removed sentence from permissions doc" into mnc-preview-docs

9 years agoMerge "Add missing conditional in settings provider" into mnc-dev
Svetoslav [Thu, 25 Jun 2015 18:53:57 +0000 (18:53 +0000)]
Merge "Add missing conditional in settings provider" into mnc-dev

9 years agoAdd missing conditional in settings provider
Svetoslav [Thu, 25 Jun 2015 18:53:02 +0000 (11:53 -0700)]
Add missing conditional in settings provider

Change-Id: I717e8b87eccbedf1a1abead77e7856a2aa2405fa

9 years agoMerge "Fixed a HUN crash with notification children" into mnc-dev
Selim Cinek [Thu, 25 Jun 2015 18:37:54 +0000 (18:37 +0000)]
Merge "Fixed a HUN crash with notification children" into mnc-dev