234736 Commits

Author SHA1 Message Date
Tim Murray
96700fc0dd Merge "Make sure perceptible services are in the default sched group." into nyc-dev 2016-03-03 19:48:27 +00:00
Dianne Hackborn
644992ce41 Merge "Work on issue #24403813: ANR traces are too heavyweight." into nyc-dev 2016-03-03 19:48:13 +00:00
Dianne Hackborn
ef1971ffc5 Merge "Add APIs to find out the time when a process was created." into nyc-dev 2016-03-03 19:47:56 +00:00
Phil Burk
6bce68ed9b Merge "AudioService: update device info when ENCODED_SURROUND_OUTPUT changed" into nyc-dev 2016-03-03 19:42:59 +00:00
Tim Murray
a8a6f6367e Make sure perceptible services are in the default sched group.
bug 27381069

Change-Id: Ic3b9901a914020105bfa36a2c133a448f030da4f
2016-03-03 11:42:58 -08:00
Mihai Nita
f1f39cf193 Show locale in region list even if suggested in language list
Even if English US is suggested, when choosing English I should
still see US in the country list.
Because now the same LocaleInfo object (from cache) can be present
in both lists (language & region), it means that the label should
depend on the context.
We also need to explicitely disable suggestions in the region list.

Bug: 26590073
Bug: 26939203
Change-Id: Ib1cbad9d26a8b183bf462505335bef04193e82f4
2016-03-03 11:41:09 -08:00
Steve McKay
eef85e0c02 Merge "Show proper icons for SD and USB attached storage." into nyc-dev 2016-03-03 19:39:18 +00:00
Robin Lee
7854d58392 Merge "Guard against null component when binding KeyChain" into nyc-dev 2016-03-03 19:11:37 +00:00
Wale Ogunwale
2728bf4bf9 Added more log points for add/remove in window manager.
Bug: 27286867
Change-Id: Iecb522a1ff7e093a8feef27fdd68c50b9a80d553
2016-03-03 11:03:26 -08:00
Steve McKay
ba23e54d26 Show proper icons for SD and USB attached storage.
Use USB icon for MTP devices.

Bug: 26883880
Change-Id: I8ce85ffc915a012dca79a5de1cc7c74361776792
2016-03-03 10:58:36 -08:00
Robin Lee
21bcbc54dd Guard against null component when binding KeyChain
If keychain is removed from a device, there will be no sensible
resolution and client apps will bind to whatever is available.

Doesn't affect system apps which are forcibly prevented from wildcard
binding.

Bug: 27475655
Change-Id: Ide1aab3778e12f0b9a96662deb297a76d2f4997f
2016-03-03 18:57:32 +00:00
Siyamed Sinir
1ca7c80844 Merge "TextView should fade edges according to text." into nyc-dev 2016-03-03 18:43:23 +00:00
Siyamed Sinir
84d0f8775b Merge "Email address autolink regex updates." into nyc-dev 2016-03-03 18:42:59 +00:00
Siyamed Sinir
15dfbdd0ea Merge "Update EditText.setEllipsize JavaDoc" into nyc-dev 2016-03-03 18:42:44 +00:00
Eino-Ville Talvala
61aff95f4b Merge "Fix incremental build" into nyc-dev 2016-03-03 18:36:37 +00:00
Sudheer Shanka
5f4defc61d Merge "Update restricted icon." into nyc-dev 2016-03-03 18:31:52 +00:00
Sudheer Shanka
31edc5ab0f Merge "Part1: Show the restricted lock icon in place of the pref widget." into nyc-dev 2016-03-03 18:26:46 +00:00
Eino-Ville Talvala
9eafb82348 Fix incremental build
Remove old generated camera AIDL code

Change-Id: I8293c08abb94ca0abca1fb2e892586202ccc3443
2016-03-03 10:19:27 -08:00
Wei Jia
a2239b78f8 MediaPlayer: use local variable to check member is null.
Bug: 26961341
Change-Id: I343b18f4bfaba9b119a6721e1b39415474149d75
2016-03-03 10:02:19 -08:00
Mady Mellor
c2b4957625 Merge "Fix inline controls from being swipeable" into nyc-dev 2016-03-03 17:58:22 +00:00
Mady Mellor
e36fb2b733 Merge "Add logging for actions around gear behind notifications" into nyc-dev 2016-03-03 17:57:42 +00:00
Phil Weaver
dd87fcc19a Merge "Control AccessibilityServices with one setting." into nyc-dev 2016-03-03 17:47:34 +00:00
Michal Karpinski
ba24409033 Rework of remote bugreports UX
New notifications, that open dialogs.

Bug: 26226230
Change-Id: I50f9ab23b6c6d03892889d9081cabb0a3d858f91
2016-03-03 17:06:14 +00:00
Felipe Leme
011b98f93a Created a firewall chain for power save mode.
When power-save mode was first implemented, there were no firewall rules
on netd, so the solution was to make all network interface metered and
re-use the bw_penalty_box chain.

This change removes that workaround by creating a explicit fw_powersave
chain, whose behavior is similar to fw_dozable (in fact, it reuses some
of its code); such change not only makes network restrictions on
power-save mode simpler, but it also allows to optimze how the restrict
network rules are changed (which will be done in a separate change).

BUG: 27127112
BUG: 26685616
Change-Id: I7f7a7b1c1855e916c6651ad90da29fe187a7bea2
2016-03-03 09:05:18 -08:00
Yang Ni
60cb793ede Merge "Set flags in RS JNI calls for rsObj creation" into nyc-dev 2016-03-03 17:05:01 +00:00
Adam Powell
f08b7b3698 Merge "Fix crash for showing linker errors for apps with no label" into nyc-dev 2016-03-03 17:04:23 +00:00
Jaewan Kim
2cca0a930b Merge "PIP: Fix move to full screen" into nyc-dev 2016-03-03 16:57:33 +00:00
Jeremy Joslin
b94df9db50 Merge "Revert "New systemapi to mark a wifi network as metered."" into mm-wireless-dev
am: 3f7314e331

* commit '3f7314e3310fbaddc984ae3218f7bb22f13cda11':
  Revert "New systemapi to mark a wifi network as metered."
2016-03-03 16:54:28 +00:00
Jeremy Joslin
3f7314e331 Merge "Revert "New systemapi to mark a wifi network as metered."" into mm-wireless-dev 2016-03-03 16:49:28 +00:00
Yang Ni
972a409a3d Set flags in RS JNI calls for rsObj creation
Bug: 25570907

Added a flag to all RS runtime API for rsObj creation to indicate a
call is from Java. This flag will help us avoid incrementing the user
ref count for rsObj's created from Single-Source RS, and therefore
avoid memory leaks for such objects.

Change-Id: Id3604f93b166089e3aca896d1c6c509b3ea19bcf
(cherry picked from commit ad88055821a7aba3318f066c4e5f87bd0315462c)
2016-03-03 08:47:33 -08:00
Adam Powell
d93f3b10e2 Fix crash for showing linker errors for apps with no label
Use ApplicationInfo#loadLabel to provide the standard fallback chain
of strings to identify an app instead of getString on the raw label
resource id, which will throw a NotFoundException if 0.

Bug 27469189

Change-Id: I344273c600f029361f3accfe5d91b0d332635b3d
2016-03-03 08:43:37 -08:00
Phil Weaver
54677d2a55 Control AccessibilityServices with one setting.
Accessibility services were controlled by two settings:
ENABLED_ACCESSIBILITY_SERVICES and ACCESSIBILITY_ENABLED. These
settings needed to be changed together, and race conditions could
creating inconsistent states as ACCESSIBILITY_ENABLED was also
changed by the framework itself.

Restructuring to keep ACCESSIBILITY_ENABLED up-to-date, but not to
use it to decide whether or not to enable accessibility. Enabling
is controlled solely by ENABLED_ACCESSIBILITY_SERVICES.

Bug: 27455234
Change-Id: I9ab1e5936080c1b0dd8410dd6e8666e7f6eaccf3
2016-03-03 08:28:51 -08:00
Lajos Molnar
4ab9756906 Merge "media: Add track ID format key" into nyc-dev 2016-03-03 16:14:26 +00:00
George Mount
a06b3f19d4 Remove animation listener while paused.
Bug 27418573

While an animator was paused, it continued to receive
Choreographer callbacks. This has been changed now so
that after the first callback, it is removed.

Change-Id: If73483404b38f1f354a63fc98d07696f442987e6
2016-03-03 08:12:58 -08:00
Lajos Molnar
6ef0ac3278 media: Add track ID format key
Bug: 25684127
Change-Id: I574515c3c144f5cabe4f40d934d062de1dd20851
2016-03-03 16:12:52 +00:00
Lajos Molnar
64389e25ba Merge "media: correctly return cached size for MediaDataSource" into nyc-dev 2016-03-03 16:05:53 +00:00
Julia Reynolds
60cdc23913 Merge "Inline settings update." into nyc-dev 2016-03-03 15:52:01 +00:00
Jason Monk
310b8ed349 Merge "Fix QS edit state being out of sync" into nyc-dev 2016-03-03 15:50:58 +00:00
Julia Reynolds
cac8862bb9 Inline settings update.
-Show silently is IMPORTANCE_LOW, not DEFAULT.
-Select the correct default option.

Change-Id: Ic09174cf55fcc36a06abf1f8f39bc96beb931f69
2016-03-03 10:25:37 -05:00
Diego Perez
9aa2362fe8 Merge "Add missing translate if the drawable top is not 0,0" into nyc-dev 2016-03-03 15:12:32 +00:00
Diego Perez
1b338cda4e Add missing translate if the drawable top is not 0,0
If the vector drawable coordinates are not 0,0 we need to translate the
canvas to that position.

Change-Id: I3a829c427ec98061da3295e3cba8655f693d390c
2016-03-03 15:06:46 +00:00
Paul Jensen
978c80b474 Have ConnectivityService install packet filters when possible
am: 578a76e7de

* commit '578a76e7de77492ac33e407fff4fb9a2f5550d8a':
  Have ConnectivityService install packet filters when possible
2016-03-03 14:48:45 +00:00
Mady Mellor
a41587b91f Add logging for actions around gear behind notifications
Bug: 22451710
Change-Id: Ife93a9fb983e53585445d5827dd4c15f5b35d637
2016-03-03 06:42:23 -08:00
Seigo Nonaka
19f47929ea Merge "Improve forward delete key handling." into nyc-dev 2016-03-03 12:58:03 +00:00
Narayan Kamath
34bfcf1fdf Track libcore change 2c423c81bfa731df2577a.
Also includes a regenerated test-current.txt.

bug: 27423298

(cherry picked from commit a1becdc6982d770737d6b56f974c4f5beb244076)

Change-Id: Iaa385947af79cee7b0fa1cde10d106411e2f67d2
2016-03-03 11:41:36 +00:00
Calin Juravle
0c9ef61944 Merge "Better handling of various types of compilation in DexOptimizer" into nyc-dev 2016-03-03 10:54:02 +00:00
Jaewan Kim
32686b6da5 PIP: Fix move to full screen
Change-Id: I6aeb230f77aef2c16c7a93a767b9a810407dfac3
2016-03-03 19:04:48 +09:00
Diego Perez
a38b7c180d Merge "Implement native methods in VectorDrawable" into nyc-dev 2016-03-03 09:55:05 +00:00
Yohei Yukawa
488727f8c0 Merge "Fix a regression in InputMethodUtils." into nyc-dev 2016-03-03 09:30:37 +00:00
Tomasz Mikolajewski
58f2ccbedf Add broken assert in performance tests of DocumentsUI.
Bug: 27370274
Change-Id: Ibdacd82b384d37d76527c622d9986876fe84fcbd
2016-03-03 18:26:56 +09:00