222467 Commits

Author SHA1 Message Date
Xiaohui Chen
d3e9e1835b Skip dead users when getting primary.
Bug: 25769085
Change-Id: I220d175839509e4dbf3f2992a90e9625d0caf825
2015-11-18 13:37:32 -08:00
Ben Kwa
4550388a3f Merge "Open the destination dir when a copy notification is tapped." 2015-11-18 21:15:37 +00:00
Aurimas Liutikas
664e040f7b Merge "Start saving CheckedTextView checked state." 2015-11-18 21:06:14 +00:00
Vladislav Kaznacheev
5db9136d8d Merge "Fix broken build" 2015-11-18 20:55:35 +00:00
Vladislav Kaznacheev
88d753291c Fix broken build
Followup to ag/808050

Change-Id: I9912eae6a8c09b90685e19b3a9080b2d557c857b
2015-11-18 12:53:45 -08:00
Felipe Leme
42ca0087de Merge "Improves how cornercase scenarios are handled:" 2015-11-18 20:41:53 +00:00
Amith Yamasani
ed3a0a78a5 Merge "Fix crash in bindService due to uncleared binder identity" 2015-11-18 20:27:43 +00:00
Wale Ogunwale
62a91d67ce Renamed NonClientDecorView to DecorCaptionView
DecorCaptionView better describes what it does now which is to
display the caption area and control buttons within it.

Change-Id: I6b641d6b117bb8f03656bff93702fc093160851d
2015-11-18 11:44:10 -08:00
Ben Kwa
84cebbeb69 Open the destination dir when a copy notification is tapped.
- Cleanup: rename the "open copy destination" action to "pick copy
  destination", which better reflects what it does.
- Move DocumentsIntent from BaseActivity to Shared.
- Rename ACTION_BROWSE_DOCUMENT_ROOT to ACTION_BROWSE for general browsing.
- Use the new ACTION_BROWSE to open the copy destination when copy
  notifications are tapped.

BUG=23137963

Change-Id: I10480b45a16ce716febac5453cb5015d26bb0062
2015-11-18 11:22:30 -08:00
Vladislav Kaznacheev
f91e74d9a9 Merge "Implement View.cancelDrag" 2015-11-18 19:13:13 +00:00
Dianne Hackborn
32bb7bc314 Merge "Fix issue #25673462: Shamu update from MMB29J -> 29K does not complete" 2015-11-18 19:07:43 +00:00
Amith Yamasani
8fb0e1946b Fix crash in bindService due to uncleared binder identity
Clear the calling identity in retrieveServiceLocked before
doing the appop check. It probably needs to be cleared sooner
in general in retrieveServiceLocked(), but that might be a risky
fix. Making this smaller fix to keep it surgical for now.

Bug: 25759739
Change-Id: I66a5f8ef9b2d914181925fa344c3f2962030583d
2015-11-18 10:56:04 -08:00
Doris Liu
adad4a623c Merge "Fix crash on second screenshot." 2015-11-18 18:53:49 +00:00
Felipe Leme
3bf521a32e Improves how cornercase scenarios are handled:
- Bug reports without screenshots are supported.
- Shows a toast message when the bugreport file cannot be read.

BUG: 25751868
Change-Id: I4ed2c47a89b373cf878720ebcba90c96bd51342b
2015-11-18 10:46:54 -08:00
Wale Ogunwale
2b547c3f30 Control display of shadows for multi-window in DecorView
Allows us to display shadows without needing the NonClientDecorView.
For example, windows in pinned stack don't have a NonClientDecorView.

Bug: 25006507
Change-Id: Id573a30942a9bfcd002b86f0956d0b2a14ec2c2b
2015-11-18 10:33:22 -08:00
Siyamed Sinir
6fbb5c1ca4 Merge "TextView setText/append methods set movement method" 2015-11-18 18:32:22 +00:00
Yohei Yukawa
711bcdea5f Merge "Tell the reason why IMMS unbinds IME client." 2015-11-18 18:15:18 +00:00
Andreas Gampe
e3ad4409a6 Merge "Frameworks/base: Make RuntimeAbort more expressive" am: b61d3dd8a7
am: a7e9f174c1

* commit 'a7e9f174c1f9ae35be6259de02f46aa8fa4d0a3c':
  Frameworks/base: Make RuntimeAbort more expressive
2015-11-18 18:11:11 +00:00
Guang Zhu
b681ec0219 add lost RAM info to compact meminfo dump
am: 877c6c7742

* commit '877c6c7742d60fae387e51a4257dd90010064a8a':
  add lost RAM info to compact meminfo dump
2015-11-18 18:11:10 +00:00
Andreas Gampe
a7e9f174c1 Merge "Frameworks/base: Make RuntimeAbort more expressive"
am: b61d3dd8a7

* commit 'b61d3dd8a773be393c738675cff28fc799497535':
  Frameworks/base: Make RuntimeAbort more expressive
2015-11-18 17:47:52 +00:00
Nicolas Geoffray
5462e46d23 Merge "Remove DEBUG_JIT from Zygote flags." am: cf49583bd0
am: 5485d81578

* commit '5485d815788e4037829d70d041fe4fc1a35416f3':
  Remove DEBUG_JIT from Zygote flags.
2015-11-18 17:21:41 +00:00
Filip Gruszczynski
06993a33d9 Merge "Make recents visible on resume unless requested otherwise." 2015-11-18 17:21:38 +00:00
Andreas Gampe
b61d3dd8a7 Merge "Frameworks/base: Make RuntimeAbort more expressive" 2015-11-18 17:16:59 +00:00
Sreeram Ramachandran
f1f45fe012 Don't use framework permission strings for netd permissions.
These framework permission strings were being used as arbitrary labels
that mapped to netd permissions that have completely different meaning.
This leads to confusion, so use different strings.

This is being cherry picked from lmp-mr1-dev to lmp-dev to fix failures
when creating restricted networks due to prior back-port a120442.

Bug: 21900139
Bug: 18194858
Change-Id: Ib3ec377ab26ce904d3d4678f04edec6cb1260517
(cherry picked from commit 0f8f120839120da543ee186cf25ce6e215423e99)
2015-11-18 17:04:18 +00:00
Filip Gruszczynski
9920e0f1cc Merge "Swtich from max_action_buttons resource to a method." 2015-11-18 17:04:13 +00:00
Filip Gruszczynski
cc95391a53 Make recents visible on resume unless requested otherwise.
If the last interaction left recents invisible, we need to make the
visible again on their next resume.

Bug: 25754031
Change-Id: I4b1d4bae5609bf3f4a77250d3544084afd594536
2015-11-18 08:58:34 -08:00
Tony Mantler
de8d933257 Merge "Move AnimatedImageView and AuthenticatorHelper to SettingsLib" 2015-11-18 16:47:41 +00:00
Julia Reynolds
1e39a15d97 Merge "Cache notifications less aggressively." 2015-11-18 16:43:54 +00:00
Alex Deymo
8d31b08904 Merge "Remove the aidl tool" into mnc-dr2-dev 2015-11-18 16:39:09 +00:00
Julia Reynolds
d8df11baea Merge "Don't recreate remote views that already exist." 2015-11-18 16:37:59 +00:00
Julia Reynolds
6b53135736 Cache notifications less aggressively.
Bug: 25694023
Change-Id: Ie8f1b518fdcb72cfbd982908aa30cdb8ebbb2f02
2015-11-18 11:23:31 -05:00
Jason Monk
40af4f3ed3 Merge "Fix build" 2015-11-18 15:41:27 +00:00
Jason Monk
46c4a32ed9 Fix build
Change-Id: Ib784f3b8e1f8e5166128a86d07b43859ee803765
2015-11-18 10:40:34 -05:00
George Mount
c36bab34b6 Merge "Properly remove GhostViews when Activity Transition canceled." 2015-11-18 15:37:39 +00:00
Jason Monk
98c204ada8 Merge "Move some stuff to SettingsLib to use for Settings Home" 2015-11-18 15:08:02 +00:00
Jason Monk
4cf95aef83 Move some stuff to SettingsLib to use for Settings Home
Change-Id: Id903747069fe83a896132714e580b1a1d7ee895c
2015-11-18 10:06:54 -05:00
Julia Reynolds
089e3e451a Don't recreate remote views that already exist.
Bug: 25582071
Change-Id: Ie56225ec57ab43b2cab5ffb0198f283592e7bcd9
2015-11-18 09:59:57 -05:00
Geoff Mendal
b3197f8c04 Import translations. DO NOT MERGE
Change-Id: I49c49dae609cc2b2770652a0979693124f30a824
Auto-generated-cl: translation import
2015-11-18 05:36:36 -08:00
Seigo Nonaka
bb1a96647a Make Paint.hasGlyph variation selector aware.
With this CL, Paint.hasGlyph returns true if the typeface supports
the passed code point and variation selector pair.

Bug: 11256006

Change-Id: If29cd0c5942dc78bd862804106e29539bdeee569
2015-11-18 21:17:58 +09:00
Nicolas Geoffray
5485d81578 Merge "Remove DEBUG_JIT from Zygote flags."
am: cf49583bd0

* commit 'cf49583bd02d01b5d7aa57912d5469b466722c65':
  Remove DEBUG_JIT from Zygote flags.
2015-11-18 10:54:19 +00:00
Nicolas Geoffray
cf49583bd0 Merge "Remove DEBUG_JIT from Zygote flags." 2015-11-18 10:47:50 +00:00
Nicolas Geoffray
245ec92b65 Remove DEBUG_JIT from Zygote flags.
The flag is being obsolete by the move to JIT.

(cherry picked from commit 9abbf45c8dcdb2e5b13b615e5138ad996fe8afa3)

Change-Id: I3ce4577e81f91e9dd55d44116e0f9e2014bd00b8
2015-11-18 10:07:53 +00:00
Guang Zhu
877c6c7742 add lost RAM info to compact meminfo dump
Bug: 25756675

Change-Id: Ibfa37dac99268de8b482188eca9924c999e2b484
2015-11-18 07:43:50 +00:00
Yohei Yukawa
33e81798fa Tell the reason why IMMS unbinds IME client.
As a preparation to fix Bug 25373872, this introduce an additional
parameter to IInputMethodClient.unbind() so that the IME client
that is running in the application side can know why IMMS needs
to unbind the connection.

In future the "unbindReason" parameter is supposed to be used to
optimize the behavior of IMM runtime running in the application process,
but for now it is not used unless we build the sytem with debug message
enabled.  Hence there should be no user-visible change with this CL.

Bug: 25373872
Change-Id: I74e83c8ca9d1d53e31e9c7b5bda1dec6274e59c8
2015-11-17 21:14:42 -08:00
Yohei Yukawa
85d9fed140 Merge "Factor out IMMS#resetCurrentMethodAndClient()." 2015-11-18 03:56:45 +00:00
Dianne Hackborn
c83189b5d6 Fix issue #25673462: Shamu update from MMB29J -> 29K does not complete
The direct path to the package manager returns null on failure, oops!

Change-Id: Id33ea299b605a59b0703dab200bafb754dd66e78
2015-11-17 18:17:57 -08:00
Chong Zhang
0ba005fcc6 Merge "Fix crash with animation specs" 2015-11-18 02:16:33 +00:00
Dianne Hackborn
cc2925c45b Merge "Fix issue #25727069: Top sleeping activity overrides foreground service" 2015-11-18 02:05:30 +00:00
Dianne Hackborn
3ea71cf263 Fix issue #25727069: Top sleeping activity overrides foreground service
Change-Id: I9a085cd650604f9d6277ad343bf3c3852324cafc
2015-11-17 18:03:20 -08:00
Siyamed Sinir
4ba0aa598e TextView setText/append methods set movement method
Previously, TextView setText and append methods set the movement
method to LinkMovementMethod only when autoLink was enabled and
Linkify was able to find links in the input text. This CL adds the
case where autoLink is false, linksClickable is true, and the input
text contains ClickableSpans.

Fixes https://code.google.com/p/android/issues/detail?id=2219

Bug: 1712837
Change-Id: Ife4e35bac7f6cb48ad0dac6ecb4b90aec126fc73
2015-11-17 17:56:03 -08:00