237838 Commits

Author SHA1 Message Date
Philip P. Moltmann
1a1f24980c Merge "Prefix printer description with service-label instead of package-label." into nyc-dev 2016-04-06 16:09:02 +00:00
Philip P. Moltmann
6c2bed24ec Merge "Print Activity: Use a single (re-implemented) parsing logig for page ranges." into nyc-dev 2016-04-06 16:08:49 +00:00
Raph Levien
6cfecf4dff Merge "Apply correct bottom padding to layouts" into nyc-dev 2016-04-06 15:52:56 +00:00
Julia Reynolds
fa305fcc6b Merge "Documentation update for interruption filters." into nyc-dev 2016-04-06 15:34:09 +00:00
Robin Lee
ee5eb934e3 Remove bool return from setAlwaysOnVpnPackage
Bug: 27533151
Change-Id: I4c656488e69cb5247dbb9cfd62d6f6f7043f9a90
2016-04-06 16:30:22 +01:00
David Brazdil
4ac550f681 Merge "Re-enable Optimizing apps dialog" into nyc-dev 2016-04-06 15:21:23 +00:00
Chris Wren
52020492f2 don't pin ranking updates at the end of the queue.
Apparently we schedule ranking updates all the time, so the job gets pulled
to the end of the queue, and can get starved. This change makes sure we
don't schedule multiple updates by leaving it in the queue. If a job in the
queue behind hte update request needs to send an update it will jsut
request one anyway, so we shouldn't miss updates.

Bug: 28015158
Change-Id: Id5b9d05ea6eb35e610ee34651e4cde8cddd4ae66
2016-04-06 11:12:02 -04:00
Yohei Yukawa
12a52bc391 Merge "Fix a regression in SHOW_IME_WITH_HARD_KEYBOARD handling." into nyc-dev 2016-04-06 15:06:57 +00:00
Ben Kwa
2084796e23 Merge "DocsUI: Update the drag shadow to meet UI spec." into nyc-dev 2016-04-06 15:02:04 +00:00
Jeff Sharkey
32fa8d1371 Merge "Protect more broadcasts." into nyc-dev 2016-04-06 14:59:41 +00:00
Julia Reynolds
dd0605b052 Documentation update for interruption filters.
Bug: 27901142
Change-Id: I977f7dc4010dc826e06dfb01ad6db68380b80fde
2016-04-06 10:33:14 -04:00
Julia Reynolds
3397c88f79 Merge "Notify app op watchers when audio restrictions change." into nyc-dev 2016-04-06 14:27:35 +00:00
Andrei Stingaceanu
2616fbf631 Merge "Keyboard Shortcuts: protect against NPE in WindowManagerService" into nyc-dev 2016-04-06 14:26:04 +00:00
David Brazdil
ae4cde1cce Do not update idle apps on OTA
Modifies the PackageManagerService.updatePackagesIfNeeded to filter
out packages which are considered idle by the UsageStatsManager.

Bug: 27902702
Change-Id: I8847dfc283e0246265009effb6394bb774848eb3
2016-04-06 15:21:31 +01:00
David Brazdil
0fd0f893dd Re-enable Optimizing apps dialog
Bug: 27350503
Change-Id: I98ae03571817792265780c9283b395c323638e14
2016-04-06 15:11:02 +01:00
Andrei Stingaceanu
f671147434 Keyboard Shortcuts: protect against NPE in WindowManagerService
Using an unresponsive app [while (true) { Thread.sleep(1000) }]
produces NPE:

WindowManager: Window Manager Crash
WindowManager: java.lang.NullPointerException: Attempt to read
               from field 'android.view.IWindow
               com.android.server.wm.WindowState.mClient' on a
               null object reference
WindowManager: at com.android.server.wm.WindowManagerService
               .requestAppKeyboardShortcuts
               (WindowManagerService.java:10628)

Which puts down SysUI (and requires restarting SysUI).

Protect against this by checking for nulls. The end result
is that the dialog is no longer shown for unresponsive apps
and SysUI does not break.

Bug: 27914463
Change-Id: I37f0b0d5980f6ddc50f3bb778582d23ee1c7e9c3
2016-04-06 14:55:07 +01:00
Abodunrinwa Toki
8949faf066 FloatingToolbar: Include scroll indicators in overflow.
Bug: 27427333
Change-Id: I7480cfe5f75d04e04792d9443435a76ab6773c64
2016-04-06 14:22:42 +01:00
Rubin Xu
7f2bc45330 Merge "Clear caller identity when calling createConfirmDeviceCredentialIntent" into nyc-dev 2016-04-06 13:12:56 +00:00
Jaesung Chung
5905bf738c Merge "Fix build" into nyc-dev 2016-04-06 12:50:32 +00:00
Jaesung Chung
fd3446e0aa Fix build
Change-Id: I38aa2f70fef3cb5b4a6fe42a3e4aa8e0a16e6fe0
2016-04-06 21:44:13 +09:00
Bill Yi
da92d4881e Import translations. DO NOT MERGE
Change-Id: I856a941ac139b90d05f278db1023b96715211893
Auto-generated-cl: translation import
2016-04-06 05:38:14 -07:00
Benjamin Franz
4a53c8e702 Merge "Document which APIs are callable on the parent instance" into nyc-dev 2016-04-06 12:17:26 +00:00
Diego Perez
a4d7ad8663 Fix rect shadow detection
ViewGroup_Delegate was trying to use a rect shadow even in cases where
we needed to use a path. This caused that using a ToggleButton would
throw an exception with radius < 0.
Also, changed the tests so we can detect certain render errors and
ignore other (like known fidelity warnings).

Change-Id: I900d45f9efa892ad0aebc8f4ef73fc9f21ab9d92
2016-04-06 12:33:26 +01:00
Benjamin Franz
66b45f01ff Document which APIs are callable on the parent instance
In DPM it is possible to retrieve a parent instance to set policies
that are applied to the profile parent. Extend the javadoc to clarify
which APIs are actually callable on the parent instance.

Bug: 27532279
Change-Id: I7ed40f8c3c7c3089283489bff41a04c70239d5a4
2016-04-06 11:59:49 +01:00
Rubin Xu
0c9dd5b98a Clear caller identity when calling createConfirmDeviceCredentialIntent
Bug: 27893870
Change-Id: I9edcd170432f8a2bd852a5fa78ab868201093dcf
2016-04-06 11:54:59 +01:00
Keisuke Kuroyanagi
31eb74fb2b Rewrite SuggestionsPopupWindowTest using espresso.
- Rewrite existing test about text appearance.
- Add new tests for suggestions popup.

Bug: 25904136
Bug: 27765262
Change-Id: I12e522436a83fa264cd22176d054877eec411708
2016-04-06 19:37:46 +09:00
Bill Yi
32eb985d65 Import translations. DO NOT MERGE
Change-Id: I6e780e155d307e6357040492e2007698ea8264a2
Auto-generated-cl: translation import
2016-04-06 03:28:47 -07:00
Bill Yi
417fa1357c Import translations. DO NOT MERGE
Change-Id: I8bf415a99ffc8de3e174c431149736dea2a321b8
Auto-generated-cl: translation import
2016-04-06 03:03:10 -07:00
Erik Kline
36712853a9 Merge "Make public the registerDefaultNetworkCallback API" into nyc-dev 2016-04-06 08:51:08 +00:00
Jaewan Kim
4b12df6f7e Merge "PIP: Apply the latest Recents row animation when PIP control is focused" into nyc-dev 2016-04-06 06:35:41 +00:00
Jaewan Kim
04cbe870ae PIP: Apply the latest Recents row animation when PIP control is focused
Bug: 27540465
Change-Id: Ib3b40fb64953a175593eab789552db3c231f0227
2016-04-06 15:20:58 +09:00
Yohei Yukawa
2dbc532429 Fix a regression in SHOW_IME_WITH_HARD_KEYBOARD handling.
This is a follow up CL to my previous CL [1], which caused a regression
that LatinIME does not correctly initialize its UI when:
  1. Make sure SHOW_IME_WITH_HARD_KEYBOARD is off.
  2. Pair a hardware keyboard.
  3. Reboot.
  4. Make sure the hardware keyboard is paird.
  5. Focus in a text box.
  6. Make sure that LatinIME does not show software keyboard.
  7. Tap the IME switcher and turn of "Show Input Method" toggle.

Previously IMS had called many methods from
IMS#onConfigurationChanged(), which was just replaced with
IMS#restartInput() by my CL [1] then broke some assumptions in LatinIME.
This could also break other IMEs' assumptions as well.

To avoid unexpected regressions between M and N like this, this CL
ensures that those methods are called as we have done until [1].

 [1]: Id4d332e3909590c68345e10e1f2e18650efb2eb7
      7b739a802cb7d97460a0bf8a1e9774efe96fa552

Bug: 26985193
Change-Id: Iebd98f26d388b64cb318ac202b3bcdd956bd3a27
2016-04-06 05:47:14 +00:00
Jaewan Kim
841b49bc3f Merge "PIP: Fix regressions caused by previous commit a0d4d25" into nyc-dev 2016-04-06 05:46:57 +00:00
Phil Burk
b2e4e98e7c Merge "MidiDevice: fix connectPorts for same Process" into nyc-dev 2016-04-06 03:51:46 +00:00
Erik Kline
f46600d074 Make public the registerDefaultNetworkCallback API
Change-Id: I89d7a6f49f5d6a0da3402a07407b0f8d93181b4f
2016-04-06 12:22:47 +09:00
Erik Kline
94887874e3 Don't flush DNS cache on route changes.
Since Lollipop, routes are isolated within Networks.  Flushing a
Network's DNS cache whenever that same Network's routes are updated
doesn't provide any benefit.  Any system components depending on this
behaviour need to uncovered and fixed.

Additionally, clean up no-longer-used flushNetworkDnsCache().  This
should be replaced, when needed, by a proper binder interface to netd.

Change-Id: I34bf79e4839da014d466058a876d754209d0c007
2016-04-06 11:30:51 +09:00
Erik Kline
49e2db1b10 Merge "Delete unused DnsPinger" into nyc-dev 2016-04-06 02:07:02 +00:00
Svetoslav Ganov
f13f14ef30 Merge "Remove unusable a11y APIs for ClickableSpans." into nyc-dev 2016-04-06 02:05:42 +00:00
Jim Miller
07dbd63153 Track userId independently from callback for fingerprint.remove().
If we get an extremely delayed response from the fingerprint
hardware or the system crashes, it was possible to get into
a state where we have no remove ClientMonitor and FingerprintService
would crash.

The fix is to track the userId for removal independently
from the callback.

Fixes bug 28028434

Change-Id: I2b3e3eb332ea5512b86d3f7be853b720e41318a4
2016-04-05 18:22:30 -07:00
Jorim Jaggi
8eb8a32f98 Fix divider touchable region
Make sure to update the touchable region whenever the layout
changes. The layout is wrong if the window is invisible during
the first layout.

Bug: 27854148
Change-Id: Ic0501eccf7b919d10491c6f5aa0c0f1765a07c52
2016-04-06 01:20:25 +00:00
Eino-Ville Talvala
255490c33c Merge "Camera: Null check remote binder interface" into nyc-dev 2016-04-06 01:19:13 +00:00
Eino-Ville Talvala
0305624f3d Camera: Null check remote binder interface
For LEGACY mode, there's no remote binder, so need to null check for
that case.

Bug: 28000512
Change-Id: I31035f16fd32875d0bd84ca801927498e86133b3
2016-04-05 18:12:11 -07:00
Chong Zhang
4f408eee9a Set up none transition for relaunching apps during screen freeze
Set up a none transition for the relaunching apps, and add them
to mOpeningApps so that display unfreeze wait for these apps to draw.

bug: 27834014
Change-Id: Id8f98c8160bdb92e93fbf948fde1d3bfece4eaa9
2016-04-05 17:54:36 -07:00
Makoto Onuki
ca94f29366 Merge "Make FastXmlSerializer more suitable to persist arbitrary strings" into nyc-dev 2016-04-06 00:36:52 +00:00
Jeff Sharkey
f9324a8dd9 Protect more broadcasts.
Bug: 28001192
Change-Id: I3a3a48ccfcd75bb91431988aa3495d091d5d00f4
2016-04-05 18:31:00 -06:00
Mady Mellor
b7da9ce4f0 Merge "Close inline controls / hide the gear when interaction outside occurs" into nyc-dev 2016-04-06 00:26:51 +00:00
Oren Blasberg
ddf6b8130f Fix icon spacing on both MenuPopup implementations.
Ensure we calculate based on the actual menu items in a particular menu
or submenu, not based on whether the parent menu had icon spacing
enabled.

Bug: 28026351
Change-Id: Ie6e56eb142f0b82de38bf39ee848ddd26df2bf1c
2016-04-05 17:24:45 -07:00
Joe Onorato
9b87cc2b8b Merge "Add stack traces to logs about mismatched sequenece numbers in procstats." into nyc-dev 2016-04-06 00:21:56 +00:00
Deepanshu Gupta
bad02b0ec9 Merge "Add properties from textAppearance to property map" into nyc-dev 2016-04-05 23:59:02 +00:00
Deepanshu Gupta
91253ed046 Add properties from textAppearance to property map
The default property map is used to get the list of XML properties that
a view queried. For things like textAppearance, these are additional
attributes that the TextView queries, but wasn't added to  the property
map. Add them too.

Change-Id: I1e03fbeced224866de1dcc51b93d5aa5d5886ade
2016-04-05 16:58:00 -07:00