OSDN Git Service

android-x86/frameworks-base.git
7 years agoAdd OverlayManagerService#setEnableExclusive
Jason Monk [Tue, 7 Mar 2017 21:01:20 +0000 (16:01 -0500)]
Add OverlayManagerService#setEnableExclusive

This lets settings use one call to set the current theme overlay
for the "android" package.

Test: Change theme in Settings -> Display
Change-Id: Ia566e58c5479dedb7184f4218151f8080f8ebc0f

7 years agoMerge "request{LinkProperties,NetworkCapabilities} no longer needed" am: 75dfc5bd91...
Erik Kline [Tue, 7 Mar 2017 13:42:11 +0000 (13:42 +0000)]
Merge "request{LinkProperties,NetworkCapabilities} no longer needed" am: 75dfc5bd91 am: 0f901af920
am: bb54baba04

Change-Id: Id2aa8aeff6d299edb85955c12ab0a04023458597

7 years agoMerge "request{LinkProperties,NetworkCapabilities} no longer needed" am: 75dfc5bd91
Erik Kline [Tue, 7 Mar 2017 13:38:07 +0000 (13:38 +0000)]
Merge "request{LinkProperties,NetworkCapabilities} no longer needed" am: 75dfc5bd91
am: 0f901af920

Change-Id: I891abf2a1a4138b9d80b8544ac6d09deda8d3d62

7 years agoMerge "request{LinkProperties,NetworkCapabilities} no longer needed"
Erik Kline [Tue, 7 Mar 2017 13:33:29 +0000 (13:33 +0000)]
Merge "request{LinkProperties,NetworkCapabilities} no longer needed"
am: 75dfc5bd91

Change-Id: I79b9323be242ed5d2bf83962f78c613a465a20b8

7 years agoMerge "request{LinkProperties,NetworkCapabilities} no longer needed"
Treehugger Robot [Tue, 7 Mar 2017 13:27:09 +0000 (13:27 +0000)]
Merge "request{LinkProperties,NetworkCapabilities} no longer needed"

7 years agoMerge "Prevent crashes when in insertion mode."
Abodunrinwa Toki [Tue, 7 Mar 2017 12:54:47 +0000 (12:54 +0000)]
Merge "Prevent crashes when in insertion mode."

7 years agoMerge "Allow user with a profile owner to have escrow tokens"
Rubin Xu [Tue, 7 Mar 2017 10:59:47 +0000 (10:59 +0000)]
Merge "Allow user with a profile owner to have escrow tokens"

7 years agorequest{LinkProperties,NetworkCapabilities} no longer needed
Erik Kline [Tue, 7 Mar 2017 06:25:32 +0000 (15:25 +0900)]
request{LinkProperties,NetworkCapabilities} no longer needed

Test: as follows
    - built (bullhead)
    - flashed
    - booted
    - runtest frameworks-net passes
    - manual USB tethering toggling between WiFi and mobile
Bug: 32163131
Change-Id: I57edf5114b6361f320577c7870e40f8b3cdf74ce

7 years agoMerge "Handle null NetworkState updates" am: ae758b2c7f am: 4cf8f7a8cd
Erik Kline [Tue, 7 Mar 2017 06:40:24 +0000 (06:40 +0000)]
Merge "Handle null NetworkState updates" am: ae758b2c7f am: 4cf8f7a8cd
am: b48eb4f71a

Change-Id: Idd5cf1b8de35cca3a7518d6ed76d87044c8846b4

7 years agoMerge "Handle null NetworkState updates" am: ae758b2c7f
Erik Kline [Tue, 7 Mar 2017 06:36:13 +0000 (06:36 +0000)]
Merge "Handle null NetworkState updates" am: ae758b2c7f
am: 4cf8f7a8cd

Change-Id: I47cdb040baed8c4c700ff7412a01d79f8edccbd2

7 years agoMerge "Handle null NetworkState updates"
Erik Kline [Tue, 7 Mar 2017 06:31:48 +0000 (06:31 +0000)]
Merge "Handle null NetworkState updates"
am: ae758b2c7f

Change-Id: I9d8d5c176804344a40f6646acf65d2d8a5cd976f

7 years agoMerge "Handle null NetworkState updates"
Treehugger Robot [Tue, 7 Mar 2017 06:24:16 +0000 (06:24 +0000)]
Merge "Handle null NetworkState updates"

7 years agoMerge "Always send all available state when calling onAvailable()." am: affbb8b6a9...
Erik Kline [Tue, 7 Mar 2017 06:08:40 +0000 (06:08 +0000)]
Merge "Always send all available state when calling onAvailable()." am: affbb8b6a9 am: e0a62a4398
am: 3765538bab

Change-Id: Ic82e3cb92841ea99972faad6ae004d77c725831b

7 years agoMerge "Always send all available state when calling onAvailable()." am: affbb8b6a9
Erik Kline [Tue, 7 Mar 2017 06:04:13 +0000 (06:04 +0000)]
Merge "Always send all available state when calling onAvailable()." am: affbb8b6a9
am: e0a62a4398

Change-Id: Ie9bd779526e967790cbc51de52a64bbf7cd493a5

7 years agoMerge "Always send all available state when calling onAvailable()."
Erik Kline [Tue, 7 Mar 2017 06:00:09 +0000 (06:00 +0000)]
Merge "Always send all available state when calling onAvailable()."
am: affbb8b6a9

Change-Id: I81e70fecf060a4103b51084a60a32c78f6219f6b

7 years agoMerge "Always send all available state when calling onAvailable()."
Treehugger Robot [Tue, 7 Mar 2017 05:51:40 +0000 (05:51 +0000)]
Merge "Always send all available state when calling onAvailable()."

7 years agoMerge changes Iefcaf262,I9c397d83
TreeHugger Robot [Tue, 7 Mar 2017 05:44:49 +0000 (05:44 +0000)]
Merge changes Iefcaf262,I9c397d83

* changes:
  Fixed a bug where the expand icon could show but nothing happens
  Improved expand accessibility experience

7 years agoMerge "Waiting for reinflating the notifications until the user switched"
TreeHugger Robot [Tue, 7 Mar 2017 05:24:06 +0000 (05:24 +0000)]
Merge "Waiting for reinflating the notifications until the user switched"

7 years agoMerge "Small fixes and tweaks to PiP transition."
Winson Chung [Tue, 7 Mar 2017 05:02:14 +0000 (05:02 +0000)]
Merge "Small fixes and tweaks to PiP transition."

7 years agoMerge "Update how PIP size is determined"
Winson Chung [Tue, 7 Mar 2017 05:01:20 +0000 (05:01 +0000)]
Merge "Update how PIP size is determined"

7 years agoMerge "Initial changes to support expanded PiP"
Winson Chung [Tue, 7 Mar 2017 05:00:54 +0000 (05:00 +0000)]
Merge "Initial changes to support expanded PiP"

7 years agoMerge "AOD: Refactor always on configuration"
TreeHugger Robot [Tue, 7 Mar 2017 04:40:26 +0000 (04:40 +0000)]
Merge "AOD: Refactor always on configuration"

7 years agoHandle null NetworkState updates
Erik Kline [Tue, 7 Mar 2017 04:17:39 +0000 (13:17 +0900)]
Handle null NetworkState updates

Test: as follows
    - built (bullhead)
    - flashed
    - booted
    - runtest frameworks-net passes
    - manual USB tethering to WiFi and mobile switching works
Bug: 32163131
Change-Id: I2d4ef7c135ae6eb50cc31236f2fd20080536ea6a

7 years agoMerge "Move requestKeyboardShortcuts intent to com.android"
TreeHugger Robot [Tue, 7 Mar 2017 03:59:43 +0000 (03:59 +0000)]
Merge "Move requestKeyboardShortcuts intent to com.android"

7 years agoAlways send all available state when calling onAvailable().
Erik Kline [Wed, 15 Feb 2017 10:59:17 +0000 (19:59 +0900)]
Always send all available state when calling onAvailable().

The state that needs to be transferred includes:
    - NetworkCapabilities
    - LinkProperties
    - whether the network is currently suspended

Additionally:
    - Rename notifyNetworkCallback() to notifyNetworkAvailable()
      in order to clarify its real function.
    - fix previous copy/paste error in unittest

Test: as follows
    - built (bullhead)
    - flashed
    - booted
    - runtest frameworks-net passes
    - USB tethering with mobile and Wi-Fi upstream toggling
Bug: 32163131
Change-Id: Ib4460bcd5d08863a9feac9e8ab41a238897bb3ea

7 years agoMerge "API review cleanups/changes." am: 9324d6513b am: dd4bc7c69c
Tyler Gunn [Tue, 7 Mar 2017 03:05:23 +0000 (03:05 +0000)]
Merge "API review cleanups/changes." am: 9324d6513b am: dd4bc7c69c
am: c49b011151

Change-Id: Ib3d76474bef8c911b2ec6a61b916e38af0a3b861

7 years agoMerge "nfc: First chunked NDEF record of TNF doesn't contain the type field" am:...
Ruchi Kandoi [Tue, 7 Mar 2017 02:59:38 +0000 (02:59 +0000)]
Merge "nfc: First chunked NDEF record of TNF doesn't contain the type field" am: 7b0d16249c am: 9377a53aa9
am: 61d2a43fa9

Change-Id: Ibb35611f958bf9d1525e0b491860cbc87f1e1273

7 years agoMerge "API review cleanups/changes." am: 9324d6513b
Tyler Gunn [Tue, 7 Mar 2017 02:57:41 +0000 (02:57 +0000)]
Merge "API review cleanups/changes." am: 9324d6513b
am: dd4bc7c69c

Change-Id: I40b7b0f025de54e6f92764949ba3d06370d45cd6

7 years agoMerge "Start of tethering OffloadController" am: 121006f428 am: 4568fa4a82
Erik Kline [Tue, 7 Mar 2017 02:57:10 +0000 (02:57 +0000)]
Merge "Start of tethering OffloadController" am: 121006f428 am: 4568fa4a82
am: afc5f223e9

Change-Id: Ia918bd348462aefaf0474dfe9a66ec9fa7ef76b8

7 years agoMerge "nfc: First chunked NDEF record of TNF doesn't contain the type field" am:...
Ruchi Kandoi [Tue, 7 Mar 2017 02:53:09 +0000 (02:53 +0000)]
Merge "nfc: First chunked NDEF record of TNF doesn't contain the type field" am: 7b0d16249c
am: 9377a53aa9

Change-Id: Ib8196c580da8fc8602e2a88945050b84545576e8

7 years agoMerge "Start of tethering OffloadController" am: 121006f428
Erik Kline [Tue, 7 Mar 2017 02:52:09 +0000 (02:52 +0000)]
Merge "Start of tethering OffloadController" am: 121006f428
am: 4568fa4a82

Change-Id: Ib1a7b2cad37e85335d498a12d36f0209b33d5c26

7 years agoMerge "API review cleanups/changes."
Tyler Gunn [Tue, 7 Mar 2017 02:49:54 +0000 (02:49 +0000)]
Merge "API review cleanups/changes."
am: 9324d6513b

Change-Id: Iaeb4bbb5e551bf4206ea2ab4372d1ba0533c4709

7 years agoMerge "nfc: First chunked NDEF record of TNF doesn't contain the type field"
Ruchi Kandoi [Tue, 7 Mar 2017 02:46:54 +0000 (02:46 +0000)]
Merge "nfc: First chunked NDEF record of TNF doesn't contain the type field"
am: 7b0d16249c

Change-Id: I35ccc367fc1182c1cf8c470d8bfcf6dcf27d2825

7 years agoMerge "Start of tethering OffloadController"
Erik Kline [Tue, 7 Mar 2017 02:45:51 +0000 (02:45 +0000)]
Merge "Start of tethering OffloadController"
am: 121006f428

Change-Id: I590569818c7d7ac50dcc61bd7058bd7c5cad4e77

7 years agoMerge "Init of OverlayManagerService on a parallel thread"
TreeHugger Robot [Tue, 7 Mar 2017 02:03:38 +0000 (02:03 +0000)]
Merge "Init of OverlayManagerService on a parallel thread"

7 years agoMerge "Fixed a crash when creating a public notification group"
TreeHugger Robot [Tue, 7 Mar 2017 02:01:03 +0000 (02:01 +0000)]
Merge "Fixed a crash when creating a public notification group"

7 years agoMerge "Add logging constants for pref change tracking in Settings."
TreeHugger Robot [Tue, 7 Mar 2017 02:00:27 +0000 (02:00 +0000)]
Merge "Add logging constants for pref change tracking in Settings."

7 years agoMerge "API review cleanups/changes."
Tyler Gunn [Tue, 7 Mar 2017 01:55:58 +0000 (01:55 +0000)]
Merge "API review cleanups/changes."

7 years agoMerge "Prevent creation of default channel."
TreeHugger Robot [Tue, 7 Mar 2017 01:54:10 +0000 (01:54 +0000)]
Merge "Prevent creation of default channel."

7 years agoMerge "Customizable minimum suffix/prefix length for hyphenation"
TreeHugger Robot [Tue, 7 Mar 2017 01:45:56 +0000 (01:45 +0000)]
Merge "Customizable minimum suffix/prefix length for hyphenation"

7 years agoMerge "nfc: First chunked NDEF record of TNF doesn't contain the type field"
Treehugger Robot [Tue, 7 Mar 2017 01:27:17 +0000 (01:27 +0000)]
Merge "nfc: First chunked NDEF record of TNF doesn't contain the type field"

7 years agoMerge "Accessibility settings refresh."
Saige McVea [Tue, 7 Mar 2017 01:16:47 +0000 (01:16 +0000)]
Merge "Accessibility settings refresh."

7 years agoMerge "Start of tethering OffloadController"
Treehugger Robot [Tue, 7 Mar 2017 01:00:55 +0000 (01:00 +0000)]
Merge "Start of tethering OffloadController"

7 years agoMerge "Merge "BluetoothManagerService: continue teardown when BLE apps registered...
Android Build Merger (Role) [Tue, 7 Mar 2017 00:47:18 +0000 (00:47 +0000)]
Merge "Merge "BluetoothManagerService: continue teardown when BLE apps registered" am: ba0992f4c4 am: 9b3d4cb3a7 am: 6af673dd01"

7 years agoMerge "BluetoothManagerService: continue teardown when BLE apps registered" am: ba099...
Andre Eisenbach [Tue, 7 Mar 2017 00:46:44 +0000 (00:46 +0000)]
Merge "BluetoothManagerService: continue teardown when BLE apps registered" am: ba0992f4c4 am: 9b3d4cb3a7
am: 6af673dd01

Change-Id: Id01c3121207b0bdd07bfd4c8a0ebd179a2737ade

7 years agoMerge "Merge "Removed close guards for Element and Type objects" am: 97c9b57cec am...
Android Build Merger (Role) [Tue, 7 Mar 2017 00:46:13 +0000 (00:46 +0000)]
Merge "Merge "Removed close guards for Element and Type objects" am: 97c9b57cec am: 25684ceff5 am: 04d8f0c843"

7 years agoMerge "Add further Connection-side APIs for RTT (part 2)"
Hall Liu [Tue, 7 Mar 2017 00:46:06 +0000 (00:46 +0000)]
Merge "Add further Connection-side APIs for RTT (part 2)"

7 years agoMerge "Removed close guards for Element and Type objects" am: 97c9b57cec am: 25684ceff5
Yang Ni [Tue, 7 Mar 2017 00:45:31 +0000 (00:45 +0000)]
Merge "Removed close guards for Element and Type objects" am: 97c9b57cec am: 25684ceff5
am: 04d8f0c843

Change-Id: I036507ba5241fcd0e5ce6f7bb3599cb0720b0cfb

7 years agoMerge "BluetoothManagerService: continue teardown when BLE apps registered" am: ba099...
Andre Eisenbach [Tue, 7 Mar 2017 00:41:56 +0000 (00:41 +0000)]
Merge "BluetoothManagerService: continue teardown when BLE apps registered" am: ba0992f4c4
am: 9b3d4cb3a7

Change-Id: I4274d7908d09401496782005b560634376d820cf

7 years agoMerge "Removed close guards for Element and Type objects" am: 97c9b57cec
Yang Ni [Tue, 7 Mar 2017 00:40:57 +0000 (00:40 +0000)]
Merge "Removed close guards for Element and Type objects" am: 97c9b57cec
am: 25684ceff5

Change-Id: I09f9b62e9d6de92f7114638d4a8fdd82024214da

7 years agoSmall fixes and tweaks to PiP transition.
Winson Chung [Sat, 4 Mar 2017 05:33:44 +0000 (21:33 -0800)]
Small fixes and tweaks to PiP transition.

- Fixing case where default bounds did not account for ime height
- Ensuring that we using the animating/target bounds when calculating
  the new ime-offset bounds
- Tweaking transition interpolators and durations

Bug: 35396882
Test: android.server.cts.ActivityManagerPinnedStackTests
Change-Id: Ia22ea0008d834c47a3f26bf2e1f484c72fae8736

7 years agoUpdate how PIP size is determined
Mady Mellor [Fri, 3 Feb 2017 19:00:20 +0000 (11:00 -0800)]
Update how PIP size is determined

- minSize = 108dp
- defaultSmallestEdge = max(23% of screen width, minSize)
- the shortest edge of the PIP should be minSize and the rest scales
  according to the aspect ratio
- rather than a default PIP size, use default aspect ratio
- adding expand button
- fitting actions to spec

Fixes: 35358504
Test: manually used test app to try different aspect ratios
Change-Id: Ib6890fb7824889b9edeea7efb5b9771e64fc1514
Signed-off-by: Winson Chung <winsonc@google.com>
7 years agoMerge "BluetoothManagerService: continue teardown when BLE apps registered"
Andre Eisenbach [Tue, 7 Mar 2017 00:37:31 +0000 (00:37 +0000)]
Merge "BluetoothManagerService: continue teardown when BLE apps registered"
am: ba0992f4c4

Change-Id: Iac58de264ca48184d2ddd0cf4aeb9a3d5719539c

7 years agoMerge "Removed close guards for Element and Type objects"
Yang Ni [Tue, 7 Mar 2017 00:36:19 +0000 (00:36 +0000)]
Merge "Removed close guards for Element and Type objects"
am: 97c9b57cec

Change-Id: I28b4149b6a0ace42dff2ca4ce9a1803b0baa4430

7 years agoMerge "Add EXTRA_PHONE_ACCOUNT_HANDLE for ACTION_SHOW_VOICEMAIL_NOTIFICATION"
Ta-wei Yen [Tue, 7 Mar 2017 00:31:06 +0000 (00:31 +0000)]
Merge "Add EXTRA_PHONE_ACCOUNT_HANDLE for ACTION_SHOW_VOICEMAIL_NOTIFICATION"

7 years agoPrevent creation of default channel.
Julia Reynolds [Mon, 6 Mar 2017 20:14:50 +0000 (15:14 -0500)]
Prevent creation of default channel.

Test: runtest systemui-notification
Change-Id: Id56debdca2a11bdac5ae11832eaaa04842f0a9be

7 years agoFixed a crash when creating a public notification group
Selim Cinek [Mon, 6 Mar 2017 23:56:37 +0000 (15:56 -0800)]
Fixed a crash when creating a public notification group

The method whether it was showing an icon was wrong

runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/ExpandableNotificationRowTest.java
Fixes: 35981843

Change-Id: Ieffeb7480960586fc644e04baaa0c28e98df7736

7 years agoMerge "OMS: Remove old overlays.xml versions"
TreeHugger Robot [Tue, 7 Mar 2017 00:06:27 +0000 (00:06 +0000)]
Merge "OMS: Remove old overlays.xml versions"

7 years agoMerge "AOD: Wake up fully on gestures by default"
TreeHugger Robot [Tue, 7 Mar 2017 00:03:00 +0000 (00:03 +0000)]
Merge "AOD: Wake up fully on gestures by default"

7 years agoMerge "Change action bar text color back to accent."
TreeHugger Robot [Mon, 6 Mar 2017 23:56:47 +0000 (23:56 +0000)]
Merge "Change action bar text color back to accent."

7 years agoPrevent crashes when in insertion mode.
Abodunrinwa Toki [Mon, 6 Mar 2017 23:51:11 +0000 (23:51 +0000)]
Prevent crashes when in insertion mode.

Test: Manually tested. Automated core tests will be written in another
CL.

Change-Id: If07fa6a81e60de43d8be2cbcf37b355403779fb8

7 years agoMerge "Rename DPM.isDefaultInputMethodSetByOwner()"
TreeHugger Robot [Mon, 6 Mar 2017 23:41:41 +0000 (23:41 +0000)]
Merge "Rename DPM.isDefaultInputMethodSetByOwner()"

7 years agoMerge "Add labelFor attributes to text input mode of TimePicker."
TreeHugger Robot [Mon, 6 Mar 2017 23:40:23 +0000 (23:40 +0000)]
Merge "Add labelFor attributes to text input mode of TimePicker."

7 years agoAdd logging constants for pref change tracking in Settings.
Fan Zhang [Mon, 6 Mar 2017 23:33:10 +0000 (15:33 -0800)]
Add logging constants for pref change tracking in Settings.

Change-Id: I16719ac7749795b9b3772ffe7b8ef1feff53c188
Fix: 34775467
Test: builds

7 years agoMerge changes I546a3133,I5d892b2d
TreeHugger Robot [Mon, 6 Mar 2017 23:12:33 +0000 (23:12 +0000)]
Merge changes I546a3133,I5d892b2d

* changes:
  Don't skip verification of Instant Apps
  Expose ACCESS_INSTANT_APPS to the verifier

7 years agoAccessibility settings refresh.
Saige McVea [Sat, 21 Jan 2017 04:22:35 +0000 (20:22 -0800)]
Accessibility settings refresh.

Categories were added to accessibility service info objects so that they can be grouped
in system Settings. Services can declare a category in their accessibility manifest file,
and if no category is defined, the service is placed under the "Other services" category.

Bug: 30374533

Test: Manually tested with BrailleBack & CTS tests modified to validate proper loading of summary.

Change-Id: I8718556764f2be4a18ce4e80e6bbd4950a41e387

7 years agoInit of OverlayManagerService on a parallel thread
Fyodor Kupolov [Mon, 6 Mar 2017 22:28:20 +0000 (14:28 -0800)]
Init of OverlayManagerService on a parallel thread

Expensive parts of initialization (like idmap) are now done on a separate
init thread.

The service waits for init to complete in PHASE_SYSTEM_SERVICES_READY,
before affected apps can start.

Boot time saving: ~300ms on marlin.

Test: rebooted and verified that OverlayManagerService init is completed
      before any app process is started
Bug: 35949883

Change-Id: Ibdf0174c50cfa95fc8f1cb014ad0a03ff49f4d1f

7 years agoMerge "Add @LargeTest to (Secondary|Managed)UserContentResolverTest classes."
TreeHugger Robot [Mon, 6 Mar 2017 22:45:35 +0000 (22:45 +0000)]
Merge "Add @LargeTest to (Secondary|Managed)UserContentResolverTest classes."

7 years agoMerge "Show help icon in actionbar"
TreeHugger Robot [Mon, 6 Mar 2017 22:41:21 +0000 (22:41 +0000)]
Merge "Show help icon in actionbar"

7 years agoChange action bar text color back to accent.
Fan Zhang [Wed, 22 Feb 2017 00:07:52 +0000 (16:07 -0800)]
Change action bar text color back to accent.

Bug: 34978809
Test: visual

This is a partial rollback of 59d488a1363226c675b8

Based on user feedback we are changing text color back to use accent
in action bar.

Change-Id: Id041a7bf6c6b2552f111c20e8290b70b7801c976

7 years agoAdd labelFor attributes to text input mode of TimePicker.
Aurimas Liutikas [Mon, 6 Mar 2017 21:36:37 +0000 (13:36 -0800)]
Add labelFor attributes to text input mode of TimePicker.

Bug: 30044800
Test: now talkback includes label name when reading EditText values
Change-Id: I2a2e46d803b471afe61777fa98314330e6942771

7 years agoMerge "Add VR_DISPLAY_MODE settings to be backed up."
Santos Cordon [Mon, 6 Mar 2017 21:56:02 +0000 (21:56 +0000)]
Merge "Add VR_DISPLAY_MODE settings to be backed up."

7 years agoCustomizable minimum suffix/prefix length for hyphenation
Roozbeh Pournader [Mon, 27 Feb 2017 18:13:44 +0000 (10:13 -0800)]
Customizable minimum suffix/prefix length for hyphenation

With this change, different languages can have a different minimum
length for suffix and prefixes when hyphenating. Previously, the
defaults used for English, 2 and 3, were used for every language.

Bug: 35712376
Test: Manual: German text can now break after two characters
Change-Id: Ia12d448a42bf2fab7c0bf5e85f8e27a4fb7f77d8

7 years agoInitial changes to support expanded PiP
Winson Chung [Tue, 28 Feb 2017 19:40:41 +0000 (11:40 -0800)]
Initial changes to support expanded PiP

- Prior to this CL, the input consumer and size of the PiP was tightly
  coupled with the visibility of the menu, but with the expanded state,
  the PiP should still move while the menu is visible.

Bug: 35358488
Test: Click on the PiP to expand it

Change-Id: If52208f19af516b2455bde26855c80f44bc9021a

7 years agoMerge "Refactor EphemeralResolverService"
TreeHugger Robot [Mon, 6 Mar 2017 21:39:13 +0000 (21:39 +0000)]
Merge "Refactor EphemeralResolverService"

7 years agoAOD: Wake up fully on gestures by default
Adrian Roos [Mon, 6 Mar 2017 21:38:37 +0000 (13:38 -0800)]
AOD: Wake up fully on gestures by default

Fixes: 35909567
Bug: 30876804
Test: manual
Change-Id: Ie90c451ca3d8fe6ca62853fb3a555401dc322f00

7 years agoMerge "BluetoothManagerService: continue teardown when BLE apps registered"
Andre Eisenbach [Mon, 6 Mar 2017 21:25:40 +0000 (21:25 +0000)]
Merge "BluetoothManagerService: continue teardown when BLE apps registered"

7 years agoBluetoothManagerService: continue teardown when BLE apps registered
Martin Brabham [Tue, 28 Feb 2017 00:55:07 +0000 (16:55 -0800)]
BluetoothManagerService: continue teardown when BLE apps registered

    When the adapter is toggled off; when there are BLE apps registered, a
request is sent to unregister all of the BLE apps.  Upon unregister each app
will call through to this function via a callback.  When this gets called if
the ble app count is 0, we can disable everything.  I am keeping track of the
flag so that we know explicitly where we are coming from.

Bug: 34707848
Test: Compile
Change-Id: I9a8322a6fa918e7b410770894c257ec9f7d8d1f5

7 years agoMerge "Removed close guards for Element and Type objects"
Yang Ni [Mon, 6 Mar 2017 21:25:29 +0000 (21:25 +0000)]
Merge "Removed close guards for Element and Type objects"

7 years agoDon't skip verification of Instant Apps
Chad Brubaker [Mon, 6 Mar 2017 21:24:54 +0000 (13:24 -0800)]
Don't skip verification of Instant Apps

Test: builds
Change-Id: I546a31334b8f15f360ca5599d96ac8783496fc92

7 years agoMerge "PlaybackActivityMonitor: fix comment typo"
TreeHugger Robot [Mon, 6 Mar 2017 21:18:36 +0000 (21:18 +0000)]
Merge "PlaybackActivityMonitor: fix comment typo"

7 years agoExpose ACCESS_INSTANT_APPS to the verifier
Chad Brubaker [Mon, 6 Mar 2017 21:14:01 +0000 (13:14 -0800)]
Expose ACCESS_INSTANT_APPS to the verifier

The package verifier needs to be able to see Instant Apps in order to do
its job. It already sees them on first install so no new information
about what Instant Apps are installed is leaked.

Test: builds
Change-Id: I5d892b2d7aa820a9c0c00ac357f20a3210cf3395

7 years agonfc: First chunked NDEF record of TNF doesn't contain the type field
Ruchi Kandoi [Fri, 3 Feb 2017 22:01:09 +0000 (14:01 -0800)]
nfc: First chunked NDEF record of TNF doesn't contain the type field

Test: CTS test passes
Bug: 34943312
Change-Id: I08f37ee76810f642b35ae8bde05ef0e2eff921e0
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
7 years agoShow help icon in actionbar
Fan Zhang [Fri, 3 Mar 2017 23:25:37 +0000 (15:25 -0800)]
Show help icon in actionbar

Fix: 35955986
Test: RunSettingsLibRoboTests
Change-Id: If4c328cacf1e3c9a5f66eeb248749c97c80cdb6c

7 years agoMerge "Null check before calling TrustAgentService and throw Security exception if...
Lingjun Li [Mon, 6 Mar 2017 21:01:31 +0000 (21:01 +0000)]
Merge "Null check before calling TrustAgentService and throw Security exception if the API is not allowed. Test: manual"

7 years agoAdd @LargeTest to (Secondary|Managed)UserContentResolverTest classes.
Sudheer Shanka [Mon, 6 Mar 2017 20:57:57 +0000 (12:57 -0800)]
Add @LargeTest to (Secondary|Managed)UserContentResolverTest classes.

Test: runtest -c android.content.SecondaryUserContentResolverTest frameworks-core
      runtest -c android.content.ManagedUserContentResolverTest frameworks-core

Change-Id: I2e9c944c03d1b8a99105b90348634939cea9fc7f

7 years agoOMS: Remove old overlays.xml versions
Adam Lesinski [Mon, 6 Mar 2017 20:52:58 +0000 (12:52 -0800)]
OMS: Remove old overlays.xml versions

In order to allow the default theme to take effect, older
versions of overlays.xml need to be purged.

Bug: 35757608
Test: manual
Change-Id: Ib8719567455038e8d61bf75968a1842edc34edee

7 years agoMerge "Check for spurious wake ups" am: 3a3cd0a27f am: c2dcebe6e6
Tom Cherry [Mon, 6 Mar 2017 20:14:37 +0000 (20:14 +0000)]
Merge "Check for spurious wake ups" am: 3a3cd0a27f am: c2dcebe6e6
am: 1344c034c5

Change-Id: I8ffc749ab6fbd825ce238fff4ba1d12609585c04

7 years agoMerge "Check for spurious wake ups" am: 3a3cd0a27f
Tom Cherry [Mon, 6 Mar 2017 20:06:31 +0000 (20:06 +0000)]
Merge "Check for spurious wake ups" am: 3a3cd0a27f
am: c2dcebe6e6

Change-Id: I6777a0845cbfbef3681e3f3779779c83001c0456

7 years agoMerge "AAPT2: Fix parsing ResTable_type"
TreeHugger Robot [Mon, 6 Mar 2017 20:01:13 +0000 (20:01 +0000)]
Merge "AAPT2: Fix parsing ResTable_type"

7 years agoMerge "Check for spurious wake ups"
Tom Cherry [Mon, 6 Mar 2017 19:57:18 +0000 (19:57 +0000)]
Merge "Check for spurious wake ups"
am: 3a3cd0a27f

Change-Id: Ia445070278f5a80c85b48e06ddf614d462db45af

7 years agoMerge "Limit instant app access to clipboard"
TreeHugger Robot [Mon, 6 Mar 2017 19:48:14 +0000 (19:48 +0000)]
Merge "Limit instant app access to clipboard"

7 years agoMerge "Fix Loader bugs"
TreeHugger Robot [Mon, 6 Mar 2017 19:31:25 +0000 (19:31 +0000)]
Merge "Fix Loader bugs"

7 years agoMerge "Check for spurious wake ups"
Tom Cherry [Mon, 6 Mar 2017 19:25:58 +0000 (19:25 +0000)]
Merge "Check for spurious wake ups"

7 years agoPlaybackActivityMonitor: fix comment typo
Jean-Michel Trivi [Mon, 6 Mar 2017 19:19:47 +0000 (11:19 -0800)]
PlaybackActivityMonitor: fix comment typo

Test: no test for typo
Change-Id: If2c5cc6c634d044c2b92347783c068aedbfbd890

7 years agoMerge "Frameworks support for hyphenation for various complex cases"
Roozbeh Pournader [Mon, 6 Mar 2017 19:19:06 +0000 (19:19 +0000)]
Merge "Frameworks support for hyphenation for various complex cases"

7 years agoAPI review cleanups/changes.
Tyler Gunn [Thu, 2 Mar 2017 17:28:37 +0000 (09:28 -0800)]
API review cleanups/changes.

- Change onCreateIncomingConnectionFailed/onCreateOutgoingConnectionFailed
to accept the connection mgr phone account as the first parameter.
- For the video APIs, pass the target SDK of the caller into along so
that the Telecom permission check can have fallback behavior for older API
versions.
- Add guidance for how UX should be shown in onShowIncomingCallUi API.
API guidance follows how the Dialer app shows its notification and full
screen UX.

Test: Manual, CTS.
Bug: 35767711
Bug: 35767096
Change-Id: Ib343f0eda1a4d067a38c553f33f140b4efcf3e48

7 years agoMerge "Declare new com.android.phone permission in whitelist."
Jeff Davidson [Mon, 6 Mar 2017 18:57:42 +0000 (18:57 +0000)]
Merge "Declare new com.android.phone permission in whitelist."

7 years agoMerge "Removing check for launched-from package to expand PiP."
TreeHugger Robot [Mon, 6 Mar 2017 18:46:03 +0000 (18:46 +0000)]
Merge "Removing check for launched-from package to expand PiP."

7 years agoMerge "Bluetooth: Use content observer for airplane mode" am: 8871623b8d -s ours...
Ajay Panicker [Mon, 6 Mar 2017 18:35:08 +0000 (18:35 +0000)]
Merge "Bluetooth: Use content observer for airplane mode" am: 8871623b8d  -s ours am: 4ddee9722d
am: a38d289d8a

Change-Id: I8f4d104bef04919b0ca74394a94d2d75b65ced6e