232275 Commits

Author SHA1 Message Date
Jaewan Kim
2a3d3f8072 Support KEYCODE_APP_SWITCH key for TV
Change-Id: I3212dd4045f7f334179c19b8648f0f9f804b21c5
2016-02-04 16:19:10 +09:00
Mihai Niță
85a74240fb Merge "Fixing language search box size and maximization" 2016-02-04 06:13:43 +00:00
Tomasz Mikolajewski
e21d23515f Merge "Migrate *ActivityUiTest to use ActivityInstrumentationTestCase2." 2016-02-04 06:07:43 +00:00
Tomasz Mikolajewski
24586893ba Migrate *ActivityUiTest to use ActivityInstrumentationTestCase2.
Change-Id: I24f2846c551e0123ad87b3db8a1f5c7dbf628c0c
2016-02-04 15:06:35 +09:00
Daichi Hirono
7c1cb59fab Merge "Fix Identifier.equals method." 2016-02-04 06:06:18 +00:00
Mihai Nita
920280b4d1 Fixing language search box size and maximization
The search box for the language was entering full screen in
landscape mode, making the search results invisible.
It was also "shifted" to the right, leaving a few characters from
the title visible (ugly), and making the edit area smaller.

This change fixes that behavior, and because we have more space
we can also increase the character limit for the hint string.

Bug: 26944452
Bug: 26944321
Bug: 26957818
Bug: 26732587
Change-Id: Ib5901bd7240ac57b6d39cb4392edccc8d941802d
2016-02-03 21:33:37 -08:00
Daichi Hirono
19aa93249e Fix Identifier.equals method.
Previously the string was compared by ==.

BUG=26970351

Change-Id: If88b74392955388c9bf59002f2d2a186c2dff71a
2016-02-04 14:19:52 +09:00
Tomasz Mikolajewski
30f0fc7f38 Merge "Fix flaky testLoadsHomebyDefault." 2016-02-04 04:38:29 +00:00
Selim Cinek
4c4c7384d4 Apapted the touch region for notification headers
Also fixed that RTL wasn't working correctly.

Change-Id: I597b346792fc837bb3a6eb5aa2f23c5c47a7cf57
2016-02-03 20:30:21 -08:00
Selim Cinek
413142a1c1 Not truncating notification info anymore
Bug: 26860987
Change-Id: I4803ce93aa6b70a80ebb478cba29bd4b6be2277f
2016-02-03 20:30:20 -08:00
Selim Cinek
9184f9c4cd Collapse all groups now when the shade is collapsed
This could lead to huuge HUNs

Bug: 26884670
Change-Id: Ia99029ccc56b0fb9338bff32c300eaf27ea10c51
2016-02-03 20:30:20 -08:00
Selim Cinek
b66685b0d0 Fixed a crash when transforming
When transforming directly from a hybrid view into a bigtext,
the transformation could crash. This is now fixed.

Change-Id: Ie45c1feaf916c9aa584f1797b7fa0831fe757b9b
2016-02-03 20:30:19 -08:00
Selim Cinek
e3efd83930 Fixed that group children expand buttons were sometimes colored
Because of a race the visibility wasn't set correctly yet

Change-Id: I94366a57049f39c5d12f9aed7af95e2f97bc15ea
2016-02-03 20:30:19 -08:00
Selim Cinek
d634d069dd Fixed a bug where the notification big text wasn't transforming
Because it has a different id the big text wasn't transforming correctly

Change-Id: I2fdb423d3ef4a8fbe651c0bbd32e04c63b193ba5
2016-02-03 20:30:18 -08:00
Selim Cinek
7db4298cb9 Adapted the background behavior on the lockscreen
The background is now at most at the topPadding

Bug: 26869443
Change-Id: I752977300084200ac77f5c0887e4439c3acc2b56
2016-02-03 20:30:18 -08:00
Selim Cinek
a3d3b91a6e Adapted the style of notification groups
The title is now not using the spanned styling anymore
and the overflow is divided differently. Also fixed the
layout for RTL languagues and BIDI.

Change-Id: I5963e1990fe0efefd0355fcaae249546cbb75181
2016-02-03 20:29:36 -08:00
Steve McKay
c67aacc76f Merge "Normalize toolbar management." 2016-02-04 04:20:55 +00:00
Daichi Hirono
cf2b0ab205 Merge "Open MTP device on demand." 2016-02-04 04:15:50 +00:00
Chris Craik
7fc1b0349b Fix ripple clipping + quick rejection
bug:26524690

Don't intersect the first clip with the viewport. Instead, the first
clip op should always be a replace op.

Additionally, only quick reject nodes that clip to bounds, since some
nodes (like ripples) draw outside their own bounds.

Change-Id: I96a52029f360328aba19af7349888cc0a026b5b1
2016-02-03 20:09:00 -08:00
Mihai Niță
28310218dd Merge "Update the title when going back from region selection" 2016-02-04 04:03:48 +00:00
Jorim Jaggi
09102359ed Merge "Incremental local builds for frameworks" 2016-02-04 03:46:08 +00:00
Daichi Hirono
fda7474c5f Open MTP device on demand.
Previously MtpDocumentsProvider opens a device just after device is
connected to Android. But MtpDocumentsProvider should open MTP device on
demand so that other applications can open device if user starts to use
the application before using MtpDocumentsProvider.

BUG=26625708

Change-Id: I6083b8c7cef49ee6e9fb0d15ca4adc129734f3eb
2016-02-04 12:45:58 +09:00
Abhijith Shastry
3af4eb5b50 Merge "Add API in TelecomManager to launch the UI to manage blocked numbers." 2016-02-04 03:43:54 +00:00
Tomasz Mikolajewski
1c0b2326b8 Fix flaky testLoadsHomebyDefault.
The test was resuming a previously opened activity, so naturally the
redirect to Home didn't happen.

This CL fixes the issue by closing the activity in TearDown().

Change-Id: I43e78a83c2b53c52745bc7eef515a8f759559e46
2016-02-04 11:50:45 +09:00
Roozbeh Pournader
2f35c6405e Add CharSequence interfaces for BidiFormatter
The previous code just supported strings, but there were requests for
using BidiFormatter while keeping the spans.

Bug: 26967041
Change-Id: If2a1eeaf2cf1eedff3a83b79a105ea79ed1b85c1
2016-02-03 18:44:15 -08:00
Chris Craik
07d8d59e21 Add SkiaBehaviorTests
Change-Id: Ie2983f7a0c9e8bdd8c8de507d70ecf3aefdd9425
2016-02-03 18:43:04 -08:00
Andre Eisenbach
505514e68e Merge "Implementation of BluetoothDevice.createBondOutOfBand" am: 026a58476b
am: 7cbc1aeecd

* commit '7cbc1aeecdb41076e26c2aa70bdc971ddb294e21':
  Implementation of BluetoothDevice.createBondOutOfBand
2016-02-04 02:17:07 +00:00
Steve McKay
1f264a8a1a Normalize toolbar management.
Since it was almost all redundant (especially the stack stuff).
Ensure "Files" title present on drawer title in Files app.
DocumentsToolBar > DocumentsToolbar to match toolkit naming.

Bug: 26193264
Change-Id: I92c82c66d936aae3ce0f792581daa12898dfadee
2016-02-03 17:59:06 -08:00
Koji Fukui
27b33306e6 Transit to correct state after alarm is fired
Symptom:
When AlarmClock fires in IDLE, state is changed to ACTIVE.
But the ACTIVE state continues under some conditions.

Root cause:
Transition from IDLE state to ACTIVE state when AlarmClock fires
1.	Send ACTION_STEP_IDLE_STATE intent
2.	Calles onReceive() in BroadcastReceiver
3.	Calles stepIdleStateLocked()
4.	Calles becomeActiveLocked() 

Check point (1) to change from ACTIVE state to INACTIVE
(Display On -> Off)
1.	onDisplayChanged()
2.	updateDisplayLocked()
3.	becomeInactiveIfAppropriateLocked()

Check point (2) to change from ACTIVE state to INACTIVE
(charging -> not charging)
1.	ACTION_BATTERY_CHANGED
2.	updateChargingLocked()
3.	becomeInactiveIfAppropriateLocked()

There are only two check points to change from ACTIVE to INACTIVE.
If state transition, from IDLE to ACTIVE,
happened by AlarmClock when display is off and not charging,
ACTIVE state will be kept and never changes to INACTIVE state.

Change-Id: I93398366307f529b9c0074ac58b19ad6e4695790
2016-02-04 10:56:24 +09:00
Chris Craik
fdbc795e48 Merge "Remove unnecessary fence in macrobench" 2016-02-04 01:43:40 +00:00
Chris Craik
2705c983f5 Remove unnecessary fence in macrobench
bug:26882579

Change-Id: Ic2d610b5ae7e04513dc7f7fa99d355d406a73379
2016-02-03 17:39:41 -08:00
Sudheer Shanka
569258689a Made changes to fix some policy transparency options.
Add isInputMethodPermittedByAdmin and
isAccessibilityServicePermittedByAdmin APIs in DevicePolicyManager.
And update utility methods in RestrictedLockUtils to use the correct
userId when checking if disabled by admin.

Bug: 26897250
Bug: 26767564
Bug: 26966213
Change-Id: I0b74b3e57904a82f8ce72d856769d35b5e8403e5
2016-02-04 01:12:44 +00:00
Wei Liu
c47749f990 DO NOT MERGE ANYWHERE Put the start of RttService behind a flag.
We can set config.disable_rtt in the init script to disable the
RttService.

b/26877020

Change-Id: Ifb7fedc4764329dc09cae41f06bf6d5fc7426e5f
2016-02-03 17:01:55 -08:00
Christopher Tate
4cf5a49e54 Mark the idle-maint trigger broadcast 'protected'
Bug: 26942536
Change-Id: I52d6b304fc894cad7957f84946178378c309f621
2016-02-03 16:42:19 -08:00
Wei Liu
aae35640cd DO NOT MERGE ANYWHERE Start the FingnerprintService only if it has FEATURE_FINGERPRINT.
b/26877020

Change-Id: Idfef31edb7e67ae60c1b2205df326ed1c5657618
2016-02-03 16:37:45 -08:00
Andre Eisenbach
7cbc1aeecd Merge "Implementation of BluetoothDevice.createBondOutOfBand"
am: 026a58476b

* commit '026a58476ba219bcc08608c2e6156683c9158d5d':
  Implementation of BluetoothDevice.createBondOutOfBand
2016-02-04 00:35:32 +00:00
Chris Craik
d8165e863b Simplify shadow task cleanup
bug:26964750

Removes 3 news/deletes per task, as well as the waitOnTask inside destruction

Change-Id: Iec11165bcfa7f98ca41574885734c2ad39328cc8
2016-02-03 16:30:11 -08:00
Andre Eisenbach
026a58476b Merge "Implementation of BluetoothDevice.createBondOutOfBand" 2016-02-04 00:25:34 +00:00
Mikhail Naganov
278fb3b359 Make flags related for "external services" public
ServiceInfo.FLAG_EXTERNAL_SERVICE is set when the service is
exported with the new public manifest attribute "android:externalService"

Context.BIND_EXTERNAL_SERVICE is used by clients when they
are binding such service.

Bug: 22084679
Bug: 21643067
Change-Id: Ifd708f90b47a1571cd54c5ec9fc217f0567d5ff4
2016-02-03 16:22:33 -08:00
Jakub Pawlowski
c28caad44b Implementation of BluetoothDevice.createBondOutOfBand
This patch implements out of band pairing that uses optional data.
Currently, it works only for LE transport, using Temporary Key value.
In the future fields might be added to OOBData to support other options for
optional data.

Change-Id: I0811182efb72ac5f80521ed4876b32603cb628c1
2016-02-03 16:12:47 -08:00
Vladislav Kaznacheev
1ad6ec2054 Support resource references in pointerShape attributes.
Previously pointerShape value could only be one of the
system pointer shape names (such as "hand" or "arrow").

This CL introduces support for such syntax as:
android:pointerShape="@drawable/custom_pointer_icon"

Change-Id: Ic5276da66367fbfb8e6195434421bac0667198c1
2016-02-03 16:12:12 -08:00
Jae Seo
3bc8dd8edd Merge "TIF: Add extras to TvInputInfo" 2016-02-03 23:29:58 +00:00
Jan Nordqvist
e678624958 Fixed bad serialization code in ScanResult.
am: 7a504417f2

* commit '7a504417f23a1388d2a9bf53f0871d274e70c6b2':
  Fixed bad serialization code in ScanResult.
2016-02-03 23:06:58 +00:00
Wale Ogunwale
b5649ecdce Merge "Fixed some issues with layer adjustment for special windows." 2016-02-03 23:03:01 +00:00
Jan Nordqvist
7a504417f2 Fixed bad serialization code in ScanResult.
Bug: 26964162
Change-Id: Ie9ad65936ab5173533773e5a711bcb81799acfb5
2016-02-03 15:00:57 -08:00
Wale Ogunwale
26b7b43d17 Fixed some issues with layer adjustment for special windows.
- Adjust layers of all windows in pinned stack.
The surface view of a pinned activity will be hidden during transition
animations because we were only adjusting the layer of the main app
window when we adjust special windows in WindowLayersController.
We now adjust the layers of all windows in the pinned stack.
- Also adjust layers for all windows in the docked stack for the same
reasons
- Adjust layers for replacing windows that was lost when the code
was moved to the separate class.

Bug: 26697719
Change-Id: I42fc3f9a51de9999157bcc7fee25a334b3e93ea1
2016-02-03 22:55:20 +00:00
Aga Wronska
d8c25f8908 Merge "Stop current root reloading when it is clicked again" 2016-02-03 22:55:14 +00:00
Jason Monk
bacab47918 Merge "QS Visuals work" 2016-02-03 22:25:02 +00:00
Omkar Kolangade
66742f217e IMS: Constants For Audio Quality, Supp. Services
Adding:
1. Constants for audio quality (EVS standard).
2. Service class memeber to CallForwardInfo.
3. Call Fail Cause for emergency call and handover
   scenarios, and supplementary services.

Change-Id: I7cc23acd01144def0bb725c4f6312318421027c8
2016-02-03 14:24:45 -08:00
Chong Zhang
3442c1232c Merge "Do not adjust for IME window if docked stack is not visible" 2016-02-03 22:20:42 +00:00