232208 Commits

Author SHA1 Message Date
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
Chong Zhang
3442c1232c Merge "Do not adjust for IME window if docked stack is not visible" 2016-02-03 22:20:42 +00:00
Doris Liu
d86da08531 Merge "Fix NPE for invalid target exception" 2016-02-03 22:19:40 +00:00
Felipe Leme
3f52cd5f2a Propagate changes when uids are added or removed to the restricted
background whitelist.

BUG: 26451391
Change-Id: I21eb4959d9f60e83ef96d8d7d1c92e38ddeb2b78
2016-02-03 14:11:01 -08:00
Chong Zhang
feea9ca7d0 Do not adjust for IME window if docked stack is not visible
getDockSide() will tell us the stack is docked on bottom even when
we're not in docked mode. So we have to check if docked stack is
visible first.

bug: 26940656
Change-Id: I8729b2502e2fa78ae51e97f5599c23f3d3ea62fc
2016-02-03 14:10:58 -08:00
Calin Juravle
0cf8cc66ec Fix useProfiles usage in PackageDexOptimizer
When useProfiles is set we should always try to recompile.

Change-Id: Ide2aaf1cfbe7ccad28f653e544b5d04457dc14a9
2016-02-03 22:08:43 +00:00
Julia Reynolds
555c86f944 Merge "Make 'total silence' more silent." 2016-02-03 22:03:49 +00:00
Alan Viverette
3caad43a1f Merge "Preserve TextView mDrawables if it has metadata (ex. tint or padding)" 2016-02-03 22:03:21 +00:00
Vladislav Kaznacheev
383b7aa01b Merge "Make pointer-icon attrs public" 2016-02-03 21:51:48 +00:00
Zach Kuznia
55fd569c1b Merge "Improve gesture recognition state change for TouchExplorer." 2016-02-03 21:48:27 +00:00
Jan Nordqvist
f52a8f6ef7 Fixed API merge issue in master.
Change-Id: I4bf0104ee703daa4da78d6637c1fa82ace57f073
2016-02-03 13:01:03 -08:00
Jason Monk
db204e9ada Merge "String updates - touch to tap" 2016-02-03 20:44:28 +00:00
Jason Monk
50b4b1eb39 String updates - touch to tap
Bug: 26749895
Change-Id: I5a6d44269e48aa89076199a825b65329c735437c
2016-02-03 15:43:01 -05:00
Alan Viverette
5e8d837894 Multi-user support for display density changes
Bug: 26942569
Change-Id: Ie44aed00619c5e5604b3d48a3a9d0fc38b0ef0eb
2016-02-03 15:38:59 -05:00
Jason Monk
db50de8073 QS Visuals work
Mostly just resizing and placement of things.

Change-Id: I28dbe22b0b0633bbe2bd484879e29349510dde29
2016-02-03 15:34:54 -05:00
Zachary Kuznia
28239e8a61 Improve gesture recognition state change for TouchExplorer.
This increases the tolerace for detecting a user interaction as a
gesture in Touch exploration mode.  The detection should also be more
consistant between devices, as the threshold is based on physical
units.

Change-Id: Iec935e862d2634fba0fea6dc6d81e62ed2213cbc
2016-02-03 12:06:13 -08:00