314629 Commits

Author SHA1 Message Date
Andrew Scull
17e1b5da53 Expand abbreviation in constant identifier.
The abbreviation is not in common use. Also remove FBE from
documentation as it also isn't used elsewhere.

Test: Build success
Bug: 37621349
Change-Id: Icf19be5e96e71dcd45aa7cac8f58b05b6d77d02b
2017-04-28 11:49:50 +01:00
TreeHugger Robot
0c21500920 Merge "Notify WifiManager of interface state changes" into oc-dev 2017-04-28 09:49:45 +00:00
TreeHugger Robot
dc326a883e Merge "Apply static RRO when parsing Android manifest of a target package" into oc-dev 2017-04-28 09:48:48 +00:00
TreeHugger Robot
b63d261f9c Merge "Refactored Autofill to move starting flag out of Session." into oc-dev 2017-04-28 09:25:06 +00:00
Narayan Kamath
048306f318 Merge "AppErrors: Refine notion of "interesting" processes for b/g ANRs." into oc-dev 2017-04-28 08:42:41 +00:00
Erik Kline
080f9734d6 Notify WifiManager of interface state changes
Test: as follows
    - built
    - flashed
    - booted
    - "runtest frameworks-net" passes
      (except for an unrelated IpConnectivityMetricsTest error)
Bug: 31466854
Bug: 32163131
Change-Id: I702ea79eb2c02604761e4e1ebcd5f9e445178efb
2017-04-28 16:19:54 +09:00
Jaekyun Seok
30dc2a0866 Apply static RRO when parsing Android manifest of a target package
This CL creates idmaps for static RROs right before parsing a target
package. Those idmaps will be used to parse correctly the Android
manifest of the target package.

Later, OverlayManagerService will update each idmap with the correct
gid from the target package app id.
Note that the idmaps generated here will be used by OverlayManagerService
as well until they are outdated (http://ag/2127839).

Additionally a target package should be parsed again if its overlays are
updated to apply the changes.

Test: building succeeded and tested with sailfish-userdebug.
Bug: 37179531

Change-Id: Ie0d5e92ae6e06b2d377ebd4cfdb0a8519b49a944
2017-04-28 15:51:20 +09:00
TreeHugger Robot
3dfd827574 Merge "Changed HtmlInfo.getAttributes() to return List instead of ArrayList" into oc-dev 2017-04-28 06:42:22 +00:00
Felipe Leme
0aa4c5065d Refactored Autofill to move starting flag out of Session.
Otherwise, all onFillRequest() calls in the same partition would use
the same flags.

Fixes: 37675138
Test: existing CtsAutoFillServiceTestCases pass
Test: CtsAssistTestCases pass
Test: PartitionedActivityTest.testAutofill4ParitionsMixManualAndAuto() pass

Change-Id: I03c8a036637bae534904d4f41265e451088cf940
2017-04-27 23:38:14 -07:00
Svetoslav Ganov
70c0221813 Merge "Implement the rest of autofill importance modes" into oc-dev 2017-04-28 06:30:07 +00:00
Svetoslav Ganov
64cf2bb19b Merge "Force autofill on overflow only if empty" into oc-dev 2017-04-28 06:29:25 +00:00
Felipe Leme
09a70628da Changed HtmlInfo.getAttributes() to return List instead of ArrayList
Fixes: 37747396
Test: CtsAutoFillServiceTestCases pass

Change-Id: Ief53e6d71805f561577b73e57a9d36bc3769862a
2017-04-28 04:56:29 +00:00
Lorenzo Colitti
ce8eae73af Merge "Address ConnectivityManager API comments." into oc-dev 2017-04-28 03:58:16 +00:00
TreeHugger Robot
cfbe105e4b Merge "Rename FingerprintGestureCallback.onGesture" into oc-dev 2017-04-28 03:42:01 +00:00
TreeHugger Robot
4b426d799f Merge "@NonNull on AccessibilityButtonController methods" into oc-dev 2017-04-28 03:41:33 +00:00
TreeHugger Robot
e3d3ffcb19 Merge "FP won't wake device if daemon dies" into oc-dev 2017-04-28 03:40:43 +00:00
TreeHugger Robot
97c1d58ea4 Merge "AudioService: unmute media on connection of new audio accessory" into oc-dev 2017-04-28 03:27:48 +00:00
Erik Kline
f0913324ba Merge "Switch to WifiManager.{start,stop}SoftAp()" into oc-dev 2017-04-28 03:01:12 +00:00
TreeHugger Robot
81d9230c88 Merge "Follow acronym convention for Companion BLE filter" into oc-dev 2017-04-28 02:21:45 +00:00
Erik Kline
95581dacb2 Merge "WifiManager: add updateInterfaceIpState" into oc-dev 2017-04-28 01:57:03 +00:00
TreeHugger Robot
17238a3f1a Merge "Fixed requestAutofill()." into oc-dev 2017-04-28 01:36:10 +00:00
TreeHugger Robot
81c591b77e Merge "Fix LoginActivityTest#testIsServiceEnabled" into oc-dev 2017-04-28 01:21:53 +00:00
Selim Gurun
a7045f59e0 Merge "Hide onMovedToDisplay for WebView" into oc-dev 2017-04-28 01:20:32 +00:00
TreeHugger Robot
a896d6abf4 Merge "Do not autofill twice" into oc-dev 2017-04-28 01:19:45 +00:00
Svet Ganov
fd31f85d0c Implement the rest of autofill importance modes
Test: CTS tests pass; augmented tests to verify new behavior

bug:36171235

Change-Id: Ieff2b8d7e1c3a3eba456deca7bed70c8e29c415e
2017-04-27 18:16:08 -07:00
Jean-Michel Trivi
1ab43f6b03 AudioService: unmute media on connection of new audio accessory
When plugging in a new audio device:
  - if the device is considered an external accessory
  - and media volume is muted
  - and the media volume is non-zero for this device
  - and it is used for media playback
  then unmute STREAM_MUSIC.
Log when AVRCP absolute volume is supported.

Test: mute media volume with icon, insert headset then play music, music should not be muted
Bug: 30440012

Change-Id: I102f26c435fa5cbd1e1bc4c14f51629d3cc51fb3
2017-04-27 18:13:13 -07:00
Winson Chung
a2f102b175 Merge "Only sublist array by size or limit, whichever is smaller." into oc-dev 2017-04-28 00:58:23 +00:00
TreeHugger Robot
4108aa77e8 Merge "Expose missing accessibility settings to instant apps" into oc-dev 2017-04-28 00:41:28 +00:00
Winson Chung
90853251f3 Only sublist array by size or limit, whichever is smaller.
Bug: 37756537
Test: Set < 3 actions, ensure no crash...
Change-Id: I93a5ac78292fcdd870ebd897441c2cef0774d134
2017-04-27 17:38:21 -07:00
Mathias Agopian
b9a2e32130 Merge "Plumb gralloc producer/consumer bits correctly" into oc-dev 2017-04-28 00:29:33 +00:00
Selim Cinek
e44061f9e7 Merge changes from topic 'music_extraction' into oc-dev
* changes:
  Make music notifications not dimmable
  Implementing gradual image fade for the media template
  Extracting the notification colors based on the album art
  Moved notification builder creation to the background
2017-04-28 00:24:55 +00:00
Mathias Agopian
910ab13e66 Plumb gralloc producer/consumer bits correctly
Bug: 33350696
Test: compile, boot device, its
Change-Id: I6129cedce0b35acfef1702afdd178ba043dd53cb
2017-04-28 00:13:29 +00:00
TreeHugger Robot
fc61f37341 Merge "Bluetooth: Add constants to ScanResult" into oc-dev 2017-04-28 00:04:13 +00:00
TreeHugger Robot
9a5dfd393b Merge "Remove reference to removed string" into oc-dev 2017-04-27 23:57:44 +00:00
Android Build Merger (Role)
1702c33ceb Merge "Add logging around dream start/stop am: 4769b54d49 am: b50a0cdd5e" into oc-dev 2017-04-27 23:52:59 +00:00
Erik Wolsheimer
1294bb1b53 Add logging around dream start/stop am: 4769b54d49
am: b50a0cdd5e

Change-Id: I0db4f7ff4c7782e71ff7a4e7528776462132d3ed
2017-04-27 23:51:45 +00:00
TreeHugger Robot
38b58abaac Merge "add 'changes' cmd to dumpsys" into oc-dev 2017-04-27 23:51:34 +00:00
TreeHugger Robot
e7172ff9fb Merge "AAPT2: Add workaround for non-standard package IDs" into oc-dev 2017-04-27 23:45:44 +00:00
Erik Wolsheimer
b50a0cdd5e Add logging around dream start/stop
am: 4769b54d49

Change-Id: If77de68a0c775b32b6df7e95462f698efc2f84ee
2017-04-27 23:43:19 +00:00
TreeHugger Robot
afd8d9e2b2 Merge "Throttle wifi scan requests from background apps (1/2)." into oc-dev 2017-04-27 23:38:28 +00:00
TreeHugger Robot
2b6bf2f221 Merge "Remove FontsContract.buildTypeface with weight/italic argument." into oc-dev 2017-04-27 23:17:11 +00:00
Joe Onorato
f516251453 Merge "Turn off log spew, and make it use Slog.w instead of e.printStackTrace" into oc-dev 2017-04-27 23:15:13 +00:00
TreeHugger Robot
c1aaede528 Merge "Fixing service notification on secondary users" into oc-dev 2017-04-27 23:02:37 +00:00
TreeHugger Robot
ad9412cf8a Merge "Change snoozing behavior for notifications in groups" into oc-dev 2017-04-27 22:56:09 +00:00
Chad Brubaker
d9285b5a19 Expose missing accessibility settings to instant apps
Fixes: 37631050
Test: EphemeralTest#testWebViewLoads
Change-Id: I9c4c6d5dd4b8f2c1e27009d77f6f11035d4f1667
2017-04-27 15:31:19 -07:00
Selim Cinek
63edaf2a2c Make music notifications not dimmable
For contrast requirements and for the image effect
to work properly, music notifications should not be
dimmable.

Test: add music notification, look at lockscreen
Fixes: 36561228
Merged-In: I58313e1828c64d34737390ad03e1deef078a7059
Change-Id: I58313e1828c64d34737390ad03e1deef078a7059
2017-04-27 22:31:05 +00:00
Jakub Pawlowski
56d8f786a5 Bluetooth: Add constants to ScanResult
Add TX_POWER_NOT_PRESENT and PERIODIC_INTERVAL_NOT_PRESENT

Test: none
Bug: 37536707
Change-Id: Ia48a30f44a961c6e0babd17ecaed0eb93c98ecad
(cherry-picked from commit c7c01a28774e431a408744b443a674f2622fde9f)
2017-04-27 22:22:36 +00:00
Selim Cinek
0847acd4d4 Implementing gradual image fade for the media template
Test: play music
Merged-In: I525513ce1da1237c4edad32c0ed31e79d5eacd32
Change-Id: I525513ce1da1237c4edad32c0ed31e79d5eacd32
Fixes: 36561228
2017-04-27 22:21:50 +00:00
Selim Cinek
5fb73f8629 Extracting the notification colors based on the album art
Media notifications are now extracting the background and
foreground colors from the album art.

Test: manual, play different songs
Bug: 36561228
Merged-In: I9c3c962fa59eb70ef9b2d4893b939be6e1ee1ab0
Change-Id: I9c3c962fa59eb70ef9b2d4893b939be6e1ee1ab0
2017-04-27 22:21:17 +00:00
Jakub Pawlowski
9a4b756c9b Merge changes from topic 'bt5-cherry-pickerry-3' into oc-dev
* changes:
  Fix NPE when accessing mCallback in BluetoothGatt
  Expose LE advertiser address for easier PTS tests (1/6)
  Read by UUID for PTS tests (1/5)
2017-04-27 22:20:43 +00:00