OSDN Git Service

android-x86/frameworks-base.git
9 years agoam 45cb8b12: am 6356d3b2: Merge "Improve docs for View#addChildrenForAccessibility...
Adam Powell [Fri, 26 Jun 2015 20:50:52 +0000 (20:50 +0000)]
am 45cb8b12: am 6356d3b2: Merge "Improve docs for View#addChildrenForAccessibility" into mnc-dev

* commit '45cb8b12add577d7d8518f7382c370be9bc67d4f':
  Improve docs for View#addChildrenForAccessibility

9 years agoam f8e1bb0e: am 24336555: Merge "Clarify the intention of setNotificationsShown"...
Amith Yamasani [Fri, 26 Jun 2015 20:50:47 +0000 (20:50 +0000)]
am f8e1bb0e: am 24336555: Merge "Clarify the intention of setNotificationsShown" into mnc-dev

* commit 'f8e1bb0e2900ad8cd1c54d25b9a13e1d9b071a8a':
  Clarify the intention of setNotificationsShown

9 years agoam a9f79160: am 6cbf7928: Merge "Revert get accounts permission to normal for now...
Svet Ganov [Fri, 26 Jun 2015 20:50:41 +0000 (20:50 +0000)]
am a9f79160: am 6cbf7928: Merge "Revert get accounts permission to normal for now" into mnc-dev

* commit 'a9f79160b8d13bd10c9c7f53211f069709427317':
  Revert get accounts permission to normal for now

9 years agoam a5de0eb5: am 7c5b5f71: Merge "Fix issue #22023824: Download folder is not created...
Dianne Hackborn [Fri, 26 Jun 2015 20:50:34 +0000 (20:50 +0000)]
am a5de0eb5: am 7c5b5f71: Merge "Fix issue #22023824: Download folder is not created in internal storage" into mnc-dev

* commit 'a5de0eb5e5d1ab9f6d2fe9661e5d6dcf60718e73':
  Fix issue #22023824: Download folder is not created in internal storage

9 years agoam 5805765d: am f8d25ea8: Merge "Don\'t promote functors onto layers due to outline...
Chris Craik [Fri, 26 Jun 2015 20:50:29 +0000 (20:50 +0000)]
am 5805765d: am f8d25ea8: Merge "Don\'t promote functors onto layers due to outline rect clipping" into mnc-dev

* commit '5805765d6e3e00e367ef4e2b0a096c72d511ed45':
  Don't promote functors onto layers due to outline rect clipping

9 years agoam 6356d3b2: Merge "Improve docs for View#addChildrenForAccessibility" into mnc-dev
Adam Powell [Fri, 26 Jun 2015 20:43:37 +0000 (20:43 +0000)]
am 6356d3b2: Merge "Improve docs for View#addChildrenForAccessibility" into mnc-dev

* commit '6356d3b2504cefce59761d67b642ae37f8ba2d8b':
  Improve docs for View#addChildrenForAccessibility

9 years agoam 24336555: Merge "Clarify the intention of setNotificationsShown" into mnc-dev
Amith Yamasani [Fri, 26 Jun 2015 20:39:02 +0000 (20:39 +0000)]
am 24336555: Merge "Clarify the intention of setNotificationsShown" into mnc-dev

* commit '24336555658377383a1b4a1a22b1f24346b5ff68':
  Clarify the intention of setNotificationsShown

9 years agoam 6cbf7928: Merge "Revert get accounts permission to normal for now" into mnc-dev
Svet Ganov [Fri, 26 Jun 2015 20:38:57 +0000 (20:38 +0000)]
am 6cbf7928: Merge "Revert get accounts permission to normal for now" into mnc-dev

* commit '6cbf792833f1bd73c56945c23e6ec8fd9fa29575':
  Revert get accounts permission to normal for now

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

* commit '7c5b5f713af307fdc8cadfc39ae60b696a37e33a':
  Fix issue #22023824: Download folder is not created in internal storage

9 years agoam f8d25ea8: Merge "Don\'t promote functors onto layers due to outline rect clipping...
Chris Craik [Fri, 26 Jun 2015 20:38:47 +0000 (20:38 +0000)]
am f8d25ea8: Merge "Don\'t promote functors onto layers due to outline rect clipping" into mnc-dev

* commit 'f8d25ea8ebece1d13f71f3e92dac814d02a32b91':
  Don't promote functors onto layers due to outline rect clipping

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 agoam 0068f4c4: am daee1e5b: Merge "Camera2: Add clarification about simultaneous trigge...
Eino-Ville Talvala [Fri, 26 Jun 2015 20:27:54 +0000 (20:27 +0000)]
am 0068f4c4: am daee1e5b: Merge "Camera2: Add clarification about simultaneous trigger use" into mnc-dev

* commit '0068f4c4335312da5abfd215032d2ba8bd3e3bf5':
  Camera2: Add clarification about simultaneous trigger use

9 years agoam daee1e5b: Merge "Camera2: Add clarification about simultaneous trigger use" into...
Eino-Ville Talvala [Fri, 26 Jun 2015 20:07:03 +0000 (20:07 +0000)]
am daee1e5b: Merge "Camera2: Add clarification about simultaneous trigger use" into mnc-dev

* commit 'daee1e5bdeb6a173c042438f79663c9a84a469b8':
  Camera2: Add clarification about simultaneous trigger use

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 agoam 2d4f24b1: am 5da8ed16: Merge "AudioManager: optimize audio port listener registrat...
Eric Laurent [Fri, 26 Jun 2015 18:01:36 +0000 (18:01 +0000)]
am 2d4f24b1: am 5da8ed16: Merge "AudioManager: optimize audio port listener registration" into mnc-dev

* commit '2d4f24b14ae8cbc33fd1f0ff70d398fd7727c675':
  AudioManager: optimize audio port listener registration

9 years agoam 2a8f0ca4: am 29f37e15: Merge "Text selection: When user reaches midpoint jump...
Mady Mellor [Fri, 26 Jun 2015 18:01:31 +0000 (18:01 +0000)]
am 2a8f0ca4: am 29f37e15: Merge "Text selection: When user reaches midpoint jump to end of word" into mnc-dev

* commit '2a8f0ca4579aa3ee610d63ce5b0c6e4fb12f851a':
  Text selection: When user reaches midpoint jump to end of word

9 years agoam 3dc688c8: am 10f92517: Merge "Text selection: Fix word boundaries for languages...
Mady Mellor [Fri, 26 Jun 2015 18:01:25 +0000 (18:01 +0000)]
am 3dc688c8: am 10f92517: Merge "Text selection: Fix word boundaries for languages without spaces" into mnc-dev

* commit '3dc688c85f223cb0ef184d451255120e82f52ea2':
  Text selection: Fix word boundaries for languages without spaces

9 years agoam 5da8ed16: Merge "AudioManager: optimize audio port listener registration" into...
Eric Laurent [Fri, 26 Jun 2015 17:47:49 +0000 (17:47 +0000)]
am 5da8ed16: Merge "AudioManager: optimize audio port listener registration" into mnc-dev

* commit '5da8ed16239c81c535afd01d91d68b6c2d96eff6':
  AudioManager: optimize audio port listener registration

9 years agoam 29f37e15: Merge "Text selection: When user reaches midpoint jump to end of word...
Mady Mellor [Fri, 26 Jun 2015 17:47:43 +0000 (17:47 +0000)]
am 29f37e15: Merge "Text selection: When user reaches midpoint jump to end of word" into mnc-dev

* commit '29f37e15975dec1fbb519398e5e80b16d61a5d0c':
  Text selection: When user reaches midpoint jump to end of word

9 years agoam 10f92517: Merge "Text selection: Fix word boundaries for languages without spaces...
Mady Mellor [Fri, 26 Jun 2015 17:47:39 +0000 (17:47 +0000)]
am 10f92517: Merge "Text selection: Fix word boundaries for languages without spaces" into mnc-dev

* commit '10f925173630c89239e2f42deb6cb042e9300d39':
  Text selection: Fix word boundaries for languages without spaces

9 years agoam 8785d214: am ff81025a: Merge "Fix issue #22013372: Assist should take translationX...
Dianne Hackborn [Fri, 26 Jun 2015 17:46:56 +0000 (17:46 +0000)]
am 8785d214: am ff81025a: Merge "Fix issue #22013372: Assist should take translationX and friends..." into mnc-dev

* commit '8785d21453b1928c0bc4e5b5ef1eba93378ea849':
  Fix issue #22013372: Assist should take translationX and friends...

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 agoam ff81025a: Merge "Fix issue #22013372: Assist should take translationX and friends...
Dianne Hackborn [Fri, 26 Jun 2015 17:34:07 +0000 (17:34 +0000)]
am ff81025a: Merge "Fix issue #22013372: Assist should take translationX and friends..." into mnc-dev

* commit 'ff81025a9def3e56908339ad846bff515d5ecbfb':
  Fix issue #22013372: Assist should take translationX and friends...

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 agoam df6fd4c2: am d2c41457: Merge "Let\'s reinvent storage, yet again!" into mnc-dev
Jeff Sharkey [Fri, 26 Jun 2015 16:05:25 +0000 (16:05 +0000)]
am df6fd4c2: am d2c41457: Merge "Let\'s reinvent storage, yet again!" into mnc-dev

* commit 'df6fd4c2631e06f3469eb77b2ffdff0d3cc04a68':
  Let's reinvent storage, yet again!

9 years agoam d2c41457: Merge "Let\'s reinvent storage, yet again!" into mnc-dev
Jeff Sharkey [Fri, 26 Jun 2015 15:52:51 +0000 (15:52 +0000)]
am d2c41457: Merge "Let\'s reinvent storage, yet again!" into mnc-dev

* commit 'd2c414573242fc59a2d34f66f1dfb610ec7d59a3':
  Let's reinvent storage, yet again!

9 years agoam 018c33ce: am b84ace51: Merge "Fixed a crash where onTouch might have been called...
Selim Cinek [Fri, 26 Jun 2015 15:46:25 +0000 (15:46 +0000)]
am 018c33ce: am b84ace51: Merge "Fixed a crash where onTouch might have been called too early" into mnc-dev

* commit '018c33ce72feeba5e3ab28aa2c2eee5be5c0e3fb':
  Fixed a crash where onTouch might have been called too early

9 years agoam db82c17f: am eb4ce1d6: Merge "Now showing unlocked icon if both trusted and finger...
Selim Cinek [Fri, 26 Jun 2015 15:46:18 +0000 (15:46 +0000)]
am db82c17f: am eb4ce1d6: Merge "Now showing unlocked icon if both trusted and fingerprint running" into mnc-dev

* commit 'db82c17fc958ee5fe0683e64a46d5ee4559fd0dc':
  Now showing unlocked icon if both trusted and fingerprint running

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 agoam b84ace51: Merge "Fixed a crash where onTouch might have been called too early...
Selim Cinek [Fri, 26 Jun 2015 15:33:24 +0000 (15:33 +0000)]
am b84ace51: Merge "Fixed a crash where onTouch might have been called too early" into mnc-dev

* commit 'b84ace51b21b9b1d422e96ed023ef3860ca0710d':
  Fixed a crash where onTouch might have been called too early

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

* commit 'eb4ce1d6a3bfa99ec57604aa842835a381616346':
  Now showing unlocked icon if both trusted and fingerprint running

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 agoam b5d06f7a: am a2e0dc4d: Merge "Enforce FloatingToolbar themes." into mnc-dev
Abodunrinwa Toki [Fri, 26 Jun 2015 15:09:53 +0000 (15:09 +0000)]
am b5d06f7a: am a2e0dc4d: Merge "Enforce FloatingToolbar themes." into mnc-dev

* commit 'b5d06f7ab7bb19f39f74d8551c021a70568aaca5':
  Enforce FloatingToolbar themes.

9 years agoam f513006c: am e171899a: Merge "Add JavaDoc for permission protection level" into...
Svetoslav [Fri, 26 Jun 2015 15:09:47 +0000 (15:09 +0000)]
am f513006c: am e171899a: Merge "Add JavaDoc for permission protection level" into mnc-dev

* commit 'f513006c4b1905de59dc71b629d27b4adcf63cf1':
  Add JavaDoc for permission protection level

9 years agoam b886aa76: am c1bd7da9: Merge "Fix: Ellipsis is wrongly applied or not applied...
Keisuke Kuroyanagi [Fri, 26 Jun 2015 15:09:39 +0000 (15:09 +0000)]
am b886aa76: am c1bd7da9: Merge "Fix: Ellipsis is wrongly applied or not applied in TextView." into mnc-dev

* commit 'b886aa767ed67a7ce0ab2b82372a7b806c1ad02c':
  Fix: Ellipsis is wrongly applied or not applied in TextView.

9 years agoam 3178da6b: am 084b7a15: Merge "Do not show selection action mode when the TextView...
Seigo Nonaka [Fri, 26 Jun 2015 15:09:33 +0000 (15:09 +0000)]
am 3178da6b: am 084b7a15: Merge "Do not show selection action mode when the TextView is not shown." into mnc-dev

* commit '3178da6b57a44e137e5f2b904709d35467a64f82':
  Do not show selection action mode when the TextView is not shown.

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

* commit '467b7dfcbfb1bf9d4f6dee51e2f8feb87598e3fc':
  docs: Removed sentence from permissions doc

9 years agoam a2e0dc4d: Merge "Enforce FloatingToolbar themes." into mnc-dev
Abodunrinwa Toki [Fri, 26 Jun 2015 05:32:50 +0000 (05:32 +0000)]
am a2e0dc4d: Merge "Enforce FloatingToolbar themes." into mnc-dev

* commit 'a2e0dc4d20be14ea106b44067cc782774d90df3b':
  Enforce FloatingToolbar themes.

9 years agoam e171899a: Merge "Add JavaDoc for permission protection level" into mnc-dev
Svetoslav [Fri, 26 Jun 2015 05:32:45 +0000 (05:32 +0000)]
am e171899a: Merge "Add JavaDoc for permission protection level" into mnc-dev

* commit 'e171899ac8007160eee199eaa6c840fae40dfba7':
  Add JavaDoc for permission protection level

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 agoam c1bd7da9: Merge "Fix: Ellipsis is wrongly applied or not applied in TextView....
Keisuke Kuroyanagi [Fri, 26 Jun 2015 05:20:38 +0000 (05:20 +0000)]
am c1bd7da9: Merge "Fix: Ellipsis is wrongly applied or not applied in TextView." into mnc-dev

* commit 'c1bd7da9906bc95c791dec6d52508fc9ee916a99':
  Fix: Ellipsis is wrongly applied or not applied in TextView.

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

* commit '084b7a15c9a1bdbbb64d9921eaeb12235bc5fc17':
  Do not show selection action mode when the TextView is not shown.

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 f207285d: am ba12e226: am 0b5d0509: Merge "docs: Removed sentence from permissions...
Robert Schaub [Fri, 26 Jun 2015 02:34:26 +0000 (02:34 +0000)]
am f207285d: am ba12e226: am 0b5d0509: Merge "docs: Removed sentence from permissions doc" into mnc-preview-docs

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

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 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 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 agoam 8fc84d73: am 9206d6a0: Merge "Fix logic for whether beginning/end divider should...
Doris Liu [Thu, 25 Jun 2015 22:55:28 +0000 (22:55 +0000)]
am 8fc84d73: am 9206d6a0: Merge "Fix logic for whether beginning/end divider should be drawn" into mnc-dev

* commit '8fc84d733c992e361f542eddf3f0770be2ba27a1':
  Fix logic for whether beginning/end divider should be drawn

9 years agoam ba654e6c: am 91617a79: Hide assist when launching an activity over an action
Jorim Jaggi [Thu, 25 Jun 2015 22:55:22 +0000 (22:55 +0000)]
am ba654e6c: am 91617a79: Hide assist when launching an activity over an action

* commit 'ba654e6c0408951d24d65019626fd6da0e696bac':
  Hide assist when launching an activity over an action

9 years agoam 37a2b992: am 7e6571f1: Use long press of KeyButtonView to invoke assist
Jorim Jaggi [Thu, 25 Jun 2015 22:55:16 +0000 (22:55 +0000)]
am 37a2b992: am 7e6571f1: Use long press of KeyButtonView to invoke assist

* commit '37a2b9929a1fd9298b64e740a832c29c63b1a414':
  Use long press of KeyButtonView to invoke assist

9 years agoam 0884cd11: am 9a600725: Merge "Don\'t throw TransactionTooLargeException for small...
Christopher Tate [Thu, 25 Jun 2015 22:55:11 +0000 (22:55 +0000)]
am 0884cd11: am 9a600725: Merge "Don\'t throw TransactionTooLargeException for small payloads" into mnc-dev

* commit '0884cd113d07f87d4223c1ab3bbe79481cf86492':
  Don't throw TransactionTooLargeException for small payloads

9 years agoam 9206d6a0: Merge "Fix logic for whether beginning/end divider should be drawn"...
Doris Liu [Thu, 25 Jun 2015 22:50:19 +0000 (22:50 +0000)]
am 9206d6a0: Merge "Fix logic for whether beginning/end divider should be drawn" into mnc-dev

* commit '9206d6a0e69ef0f60e20464796d4a2da6f7c42f4':
  Fix logic for whether beginning/end divider should be drawn

9 years agoam 91617a79: Hide assist when launching an activity over an action
Jorim Jaggi [Thu, 25 Jun 2015 22:50:14 +0000 (22:50 +0000)]
am 91617a79: Hide assist when launching an activity over an action

* commit '91617a793ed6a80f3abfd3653b0f74b9321fe0f6':
  Hide assist when launching an activity over an action

9 years agoam 7e6571f1: Use long press of KeyButtonView to invoke assist
Jorim Jaggi [Thu, 25 Jun 2015 22:50:10 +0000 (22:50 +0000)]
am 7e6571f1: Use long press of KeyButtonView to invoke assist

* commit '7e6571f13da776dca4966dee0159e7741102fca9':
  Use long press of KeyButtonView to invoke assist

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 agoam 77f9e5dc: am d5b18387: Merge "Ensure partially-detached AbsListView children are...
Alan Viverette [Thu, 25 Jun 2015 22:42:07 +0000 (22:42 +0000)]
am 77f9e5dc: am d5b18387: Merge "Ensure partially-detached AbsListView children are removed" into mnc-dev

* commit '77f9e5dcbbb02957a39d62971aa0a44acea2d7c0':
  Ensure partially-detached AbsListView children are removed

9 years agoam af13d3b0: am 826bf9b6: Merge "media: parse max-concurrent-instances." into mnc-dev
Ronghua Wu [Thu, 25 Jun 2015 22:42:00 +0000 (22:42 +0000)]
am af13d3b0: am 826bf9b6: Merge "media: parse max-concurrent-instances." into mnc-dev

* commit 'af13d3b009c5c39f6d4fa8d54fab724fdea73910':
  media: parse max-concurrent-instances.

9 years agoam 9a600725: Merge "Don\'t throw TransactionTooLargeException for small payloads...
Christopher Tate [Thu, 25 Jun 2015 22:41:45 +0000 (22:41 +0000)]
am 9a600725: Merge "Don\'t throw TransactionTooLargeException for small payloads" into mnc-dev

* commit '9a600725532c3fcf71f3be2610a34f02c88bb16b':
  Don't throw TransactionTooLargeException for small payloads

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 agoam d5b18387: Merge "Ensure partially-detached AbsListView children are removed" into...
Alan Viverette [Thu, 25 Jun 2015 22:27:37 +0000 (22:27 +0000)]
am d5b18387: Merge "Ensure partially-detached AbsListView children are removed" into mnc-dev

* commit 'd5b18387abed3d8487617982c20e8b4ffcab659c':
  Ensure partially-detached AbsListView children are removed

9 years agoam 826bf9b6: Merge "media: parse max-concurrent-instances." into mnc-dev
Ronghua Wu [Thu, 25 Jun 2015 22:27:32 +0000 (22:27 +0000)]
am 826bf9b6: Merge "media: parse max-concurrent-instances." into mnc-dev

* commit '826bf9b63f69f4e19011f7f72b022b50b89fca49':
  media: parse max-concurrent-instances.

9 years agoam 4d6b7356: am f97497db: Merge "Fix Formatter.formatBytes() crash on non-EN locales...
Makoto Onuki [Thu, 25 Jun 2015 22:26:56 +0000 (22:26 +0000)]
am 4d6b7356: am f97497db: Merge "Fix Formatter.formatBytes() crash on non-EN locales" into mnc-dev

* commit '4d6b7356d89d8f49c550ad17cfd82f8742ab9808':
  Fix Formatter.formatBytes() crash on non-EN locales

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 agoam f97497db: Merge "Fix Formatter.formatBytes() crash on non-EN locales" into mnc-dev
Makoto Onuki [Thu, 25 Jun 2015 22:15:00 +0000 (22:15 +0000)]
am f97497db: Merge "Fix Formatter.formatBytes() crash on non-EN locales" into mnc-dev

* commit 'f97497db5a7cfb8514836af39efef56488edf3ac':
  Fix Formatter.formatBytes() crash on non-EN locales

9 years agoam bad424f3: am 94f6f061: Speedup PIN/Pattern dismissal
Jorim Jaggi [Thu, 25 Jun 2015 22:10:20 +0000 (22:10 +0000)]
am bad424f3: am 94f6f061: Speedup PIN/Pattern dismissal

* commit 'bad424f30ccf237760a8028509755b1b8e6952f9':
  Speedup PIN/Pattern dismissal

9 years agoam 4b05c5a9: am 5daee1dc: Merge "Limit dotProduct value to 1.0f, so acosf would not...
Tenghui Zhu [Thu, 25 Jun 2015 22:10:15 +0000 (22:10 +0000)]
am 4b05c5a9: am 5daee1dc: Merge "Limit dotProduct value to 1.0f, so acosf would not return NaN." into mnc-dev

* commit '4b05c5a9c22fc0e59310020a119d6fb42c1e103e':
  Limit dotProduct value to 1.0f, so acosf would not return NaN.

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 agoam 94f6f061: Speedup PIN/Pattern dismissal
Jorim Jaggi [Thu, 25 Jun 2015 21:55:34 +0000 (21:55 +0000)]
am 94f6f061: Speedup PIN/Pattern dismissal

* commit '94f6f0610147de16aae7c39f97f21ee31591dd6f':
  Speedup PIN/Pattern dismissal

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

* commit '5daee1dc27d7b0eadfddefcaf73da229579fd436':
  Limit dotProduct value to 1.0f, so acosf would not return NaN.

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 agoam 3f57de80: am fd709421: Merge "Preventing leak" into mnc-dev
Jerome Poichet [Thu, 25 Jun 2015 21:47:12 +0000 (21:47 +0000)]
am 3f57de80: am fd709421: Merge "Preventing leak" into mnc-dev

* commit '3f57de8053f57a590eee32455b217472e16a2d96':
  Preventing leak

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 agoam 85d1d6e9: (-s ours) am 78db19c2: Merge "Limit dotProduct value to 1.0f, so acosf...
Tenghui Zhu [Thu, 25 Jun 2015 21:46:00 +0000 (21:46 +0000)]
am 85d1d6e9: (-s ours) am 78db19c2: Merge "Limit dotProduct value to 1.0f, so acosf would not return NaN."

* commit '85d1d6e9ed953bb8d3f75ed64532c7fb77536c87':
  Limit dotProduct value to 1.0f, so acosf would not return NaN.

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 agoam fd709421: Merge "Preventing leak" into mnc-dev
Jerome Poichet [Thu, 25 Jun 2015 21:35:44 +0000 (21:35 +0000)]
am fd709421: Merge "Preventing leak" into mnc-dev

* commit 'fd70942147edec7eb512c72c3fd0f89a3d7fa646':
  Preventing leak

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