Commit Graph

49463 Commits

Author SHA1 Message Date
Mady Mellor
130d8638d5 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
2015-06-26 18:01:25 +00:00
Dianne Hackborn
3850b7c2e4 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...
2015-06-26 17:46:56 +00:00
Mady Mellor
10f9251736 Merge "Text selection: Fix word boundaries for languages without spaces" into mnc-dev 2015-06-26 17:33:22 +00:00
Dianne Hackborn
ff81025a9d Merge "Fix issue #22013372: Assist should take translationX and friends..." into mnc-dev 2015-06-26 17:20:12 +00:00
Jeff Sharkey
b02c73d582 am df6fd4c2: am d2c41457: Merge "Let\'s reinvent storage, yet again!" into mnc-dev
* commit 'df6fd4c2631e06f3469eb77b2ffdff0d3cc04a68':
  Let's reinvent storage, yet again!
2015-06-26 16:05:25 +00:00
Jeff Sharkey
d2c4145732 Merge "Let's reinvent storage, yet again!" into mnc-dev 2015-06-26 15:43:31 +00:00
Keisuke Kuroyanagi
b805067f05 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.
2015-06-26 15:09:39 +00:00
Seigo Nonaka
4ce47333d0 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.
2015-06-26 15:09:33 +00:00
Jeff Sharkey
9527b223a9 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
2015-06-25 22:25:48 -07:00
Keisuke Kuroyanagi
c1bd7da990 Merge "Fix: Ellipsis is wrongly applied or not applied in TextView." into mnc-dev 2015-06-26 05:11:25 +00:00
Seigo Nonaka
084b7a15c9 Merge "Do not show selection action mode when the TextView is not shown." into mnc-dev 2015-06-26 05:10:35 +00:00
Dianne Hackborn
70d8be7616 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
2015-06-25 20:24:34 -07:00
Doris Liu
c9ea383498 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
2015-06-25 22:55:28 +00:00
Doris Liu
9206d6a0e6 Merge "Fix logic for whether beginning/end divider should be drawn" into mnc-dev 2015-06-25 22:43:14 +00:00
Alan Viverette
1ffeb7bf9e am 77f9e5dc: am d5b18387: Merge "Ensure partially-detached AbsListView children are removed" into mnc-dev
* commit '77f9e5dcbbb02957a39d62971aa0a44acea2d7c0':
  Ensure partially-detached AbsListView children are removed
2015-06-25 22:42:07 +00:00
Doris Liu
ec6a4cdeda Fix logic for whether beginning/end divider should be drawn
Bug: 18945384
Change-Id: Ib8e785cb97d288e39a39b968bcb9c05410acbe34
2015-06-25 15:29:41 -07:00
Makoto Onuki
8be96748ea 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
2015-06-25 22:26:56 +00:00
Alan Viverette
d5b18387ab Merge "Ensure partially-detached AbsListView children are removed" into mnc-dev 2015-06-25 22:22:33 +00:00
Makoto Onuki
f97497db5a Merge "Fix Formatter.formatBytes() crash on non-EN locales" into mnc-dev 2015-06-25 22:03:02 +00:00
Alan Viverette
8bbae343d2 Ensure partially-detached AbsListView children are removed
Bug: 22052083
Change-Id: If8c30c622206257587441bbd4f02c83eb3a62b60
2015-06-25 14:49:29 -07:00
Jerome Poichet
884c45a27f am 3f57de80: am fd709421: Merge "Preventing leak" into mnc-dev
* commit '3f57de8053f57a590eee32455b217472e16a2d96':
  Preventing leak
2015-06-25 21:47:12 +00:00
Makoto Onuki
c7a14e442d Fix Formatter.formatBytes() crash on non-EN locales
Bug 22012651

Change-Id: I21b1834a35647527002e01d76a7eb3a6a0354512
2015-06-25 14:46:25 -07:00
Jerome Poichet
fd70942147 Merge "Preventing leak" into mnc-dev 2015-06-25 21:21:02 +00:00
George Mount
f057c37a8c am 4483164a: am d9f3aa58: Merge "Fix removeTarget to remove by ID instead of index." into mnc-dev
* commit '4483164a7c5e1b058eef99bb35f1688b508da0ed':
  Fix removeTarget to remove by ID instead of index.
2015-06-25 21:19:33 +00:00
George Mount
d9f3aa58d7 Merge "Fix removeTarget to remove by ID instead of index." into mnc-dev 2015-06-25 20:55:37 +00:00
Alan Viverette
a812772235 am 0049338b: am e71c6e38: Merge "Constrain ListPopupWindow hint width spec to >= 0" into mnc-dev
* commit '0049338bf632ae1f602c6a2f888ec21af1895999':
  Constrain ListPopupWindow hint width spec to >= 0
2015-06-25 20:21:38 +00:00
Alan Viverette
113173d5a4 am 386dbb89: am fdf102e6: Merge "Constrain child width and height to >= 0 in FrameLayout.onMeasure()" into mnc-dev
* commit '386dbb894577783235788786cf296f14e78f69ec':
  Constrain child width and height to >= 0 in FrameLayout.onMeasure()
2015-06-25 20:21:32 +00:00
Yohei Yukawa
6a402ca629 am d408d293: am ab142f7f: Merge "Handle back key to cancel text action mode in full-screen IME." into mnc-dev
* commit 'd408d293a516a3022c0f80d54a93a2f83288af46':
  Handle back key to cancel text action mode in full-screen IME.
2015-06-25 20:07:50 +00:00
Alan Viverette
e71c6e3832 Merge "Constrain ListPopupWindow hint width spec to >= 0" into mnc-dev 2015-06-25 20:00:56 +00:00
Svetoslav
be17a55c92 am 6a01c7ff: am 263b6e69: Merge "Prevent certain actions of app has revoked permissions" into mnc-dev
* commit '6a01c7ff9c452fb40f43b2328345fec562e7c8ab':
  Prevent certain actions of app has revoked permissions
2015-06-25 20:00:27 +00:00
Jun Mukai
08b643ddcc am cc45eeff: am 46f087c4: Merge "Apply thumbTint and trackTint styles to Switch from xml." into mnc-dev
* commit 'cc45eeff204235e769272f443194a5606bc13343':
  Apply thumbTint and trackTint styles to Switch from xml.
2015-06-25 20:00:21 +00:00
Alan Viverette
ba4332d9cf Constrain ListPopupWindow hint width spec to >= 0
Bug: 22092169
Change-Id: Ia05302cf8d167aae26eccbf53dd3fd21d09b326d
2015-06-25 13:00:03 -07:00
Alan Viverette
fdf102e62d Merge "Constrain child width and height to >= 0 in FrameLayout.onMeasure()" into mnc-dev 2015-06-25 19:57:03 +00:00
Yohei Yukawa
ab142f7f57 Merge "Handle back key to cancel text action mode in full-screen IME." into mnc-dev 2015-06-25 19:39:36 +00:00
Alan Viverette
39fd902bdb Constrain child width and height to >= 0 in FrameLayout.onMeasure()
Bug: 22093669
Change-Id: I55e8a0289f871b73ed07f3d73e8297786f9acac1
2015-06-25 12:24:27 -07:00
Jerome Poichet
cd62b10bd6 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
2015-06-25 19:20:38 +00:00
Svetoslav
263b6e6983 Merge "Prevent certain actions of app has revoked permissions" into mnc-dev 2015-06-25 18:20:16 +00:00
Jun Mukai
46f087c43b Merge "Apply thumbTint and trackTint styles to Switch from xml." into mnc-dev 2015-06-25 18:16:57 +00:00
Svetoslav
7008b51817 Prevent certain actions of app has revoked permissions
bug:21808294

Change-Id: I7214c1fe47c15fe185423a54a74b58caf8d82daa
2015-06-25 10:55:11 -07:00
Alan Viverette
81979f8cee am df6ca3cd: am efb49bd8: Merge "Constrain width and height to >= 0 in FastScroller layout" into mnc-dev
* commit 'df6ca3cdae40ff8a0ea93c570406a969a9602aca':
  Constrain width and height to >= 0 in FastScroller layout
2015-06-25 17:28:32 +00:00
Alan Viverette
efb49bd811 Merge "Constrain width and height to >= 0 in FastScroller layout" into mnc-dev 2015-06-25 17:08:42 +00:00
Alan Viverette
de14ad55f6 Constrain width and height to >= 0 in FastScroller layout
Bug: 22071990
Change-Id: I9dcb2066ee069a3764b7d711cb341a4dfdc4445e
2015-06-25 09:57:30 -07:00
Seigo Nonaka
145252f840 Do not show selection action mode when the TextView is not shown.
OnPreDraw is called even if the View is not visible.
So need to check isShown() and hasWindowFocus() before calling
starting selection action mode.

This hack is originally introduced for keeping selection on device rotation.
I manually verified this issue does not revive with this CL.

Bug: 22036870
Change-Id: I814db6165e2345fcacedcbd399c1a3985501c8fd
2015-06-26 01:30:40 +09:00
Mady Mellor
e72764f8bb am 9fc12583: am d4d802be: Merge "Fix: Don\'t display the drag handles when focus is lost" into mnc-dev
* commit '9fc1258344e30590abcb664942510f4dab8e06ba':
  Fix: Don't display the drag handles when focus is lost
2015-06-25 16:18:52 +00:00
Andrei Stingaceanu
ede6cfa5ed am 705a9abc: am 3d7109a1: Merge "EditText - can not drag handles in extracted mode" into mnc-dev
* commit '705a9abcd4e4c61e72821f3c5f58271f77d93882':
  EditText - can not drag handles in extracted mode
2015-06-25 16:18:47 +00:00
Alex Klyubin
22c115036c am e2b9af60: am c781405f: Merge "Use standard copyright banner in android/security/keymaster." into mnc-dev
* commit 'e2b9af60712bc7f4ae97f19efd2356996ab9100d':
  Use standard copyright banner in android/security/keymaster.
2015-06-25 16:02:00 +00:00
Alex Klyubin
92b53c9950 am 31b8b72d: am 6223b7e9: Merge "Track rename of INT and LONG Keymaster tag types." into mnc-dev
* commit '31b8b72d454a3e5d9e18dd2c64d4f0bf185f2574':
  Track rename of INT and LONG Keymaster tag types.
2015-06-25 16:01:55 +00:00
Mady Mellor
d4d802be39 Merge "Fix: Don't display the drag handles when focus is lost" into mnc-dev 2015-06-25 15:54:03 +00:00
Andrei Stingaceanu
3d7109a1f6 Merge "EditText - can not drag handles in extracted mode" into mnc-dev 2015-06-25 15:52:51 +00:00
Mady Mellor
a2861454aa Fix: Don't display the drag handles when focus is lost
The text selection handles should be hidden / shown when the window
loses / regains focus.

Additionally renames method to make more sense.

Bug: 22062480
Change-Id: I6e160234cf112ee285367637e2f1c14defd82e89
2015-06-25 08:40:27 -07:00