Commit Graph

309172 Commits

Author SHA1 Message Date
Adrian Roos
8d2ffaefaa Merge "MessagingStyle: Fix buggy measure in MessagingLinearLayout" into nyc-mr2-dev
am: ae5d4ff831

Change-Id: Ib76e1da3dbd8b55ff55b3df2f040380e86fd3c35
2017-01-25 00:30:43 +00:00
Adrian Roos
c0f4f0a1dc MessagingStyle: Fix buggy measure in MessagingLinearLayout
am: 4749930c37

Change-Id: Id664ebb3c07271ff5282daedd29c7f38e79c8776
2017-01-25 00:30:35 +00:00
TreeHugger Robot
ae5d4ff831 Merge "MessagingStyle: Fix buggy measure in MessagingLinearLayout" into nyc-mr2-dev 2017-01-25 00:24:38 +00:00
Winson Chung
2af04b31d9 Fix issue with PiP hiding when dragging divider.
- Prevent the PiP windows from being set to drag resizing and getting
  clipped.

Test: Open PiP, dock a window, and start interacting with the divider.
Change-Id: I6a28a139261f1c3c09ec2b027e438df0411987c1
2017-01-24 16:24:17 -08:00
Peter Qiu
444dc5d099 hotspot2: add support for complete PerProviderSubscription/Credential subtree
Added missing fields in Credential subtree for supporting Release 2
and added parsing support for the new fields.

Bug: 34198926
Test: frameworks/base/wifi/test/runtests.sh
Change-Id: Ic3665c963ab77ddc4b9a03262517a3c7a4ec3ffc
2017-01-24 16:18:31 -08:00
Adam Lesinski
fa1e9d7ad0 AAPT: Fix --feature-of to allow non-public symbol visibility
Test: manual
Change-Id: Iada18b201c6463011002f96285a64c64565a6e1c
2017-01-24 16:16:09 -08:00
Peter Qiu
e6e7baa600 hotspot2: add support for complete HomeSP subtree
Added missing fields in HomeSP subtree for supporting Release 2
and added parsing support for the new fields.

Bug: 34198926
Test: frameworks/base/wifi/test/runtests.sh
Change-Id: Id2766b6b48be8bd97b56eb7c57a0e8527f38e06c
2017-01-24 16:07:26 -08:00
Chien-Yu Chen
e449171fc1 camera: Add enableZsl key
Add enableZsl key so the apps can choose to allow or disallow out of
order frame contents and metadata like timestamp.

Test: Camera CTS tests on Marlin
Bug: 30983997
Change-Id: I009c53a2cc63ac74a4467c26aa8de018a3e6b7aa
2017-01-24 16:06:17 -08:00
TreeHugger Robot
8773a8d0be Merge "Make SettingsProvider reset no-op for now." 2017-01-25 00:00:09 +00:00
Romain Guy
4832745b84 Add color mode to activity/window
The color mode lets an application request a wide color gamut for
a specific window. This will also be used in the future to request
HDR. The color mode is currently either default (sRGB) or an undefined
wide gamut color space chosen by the platform. These attributes could
later be used to choose a specific color space if we deem this important
or useful.

This change also renames the various "colorimetry" attributes and
constants to "color mode" for consistency. These symbols were
added in O and can be safely renamed.

Test: CtsColorModeTestCases
Bug: 32984164
Change-Id: I4d4691dd12dbe3f3aa6a5cf893cff39aa16c739e
2017-01-24 15:55:09 -08:00
Android Build Merger (Role)
c58119fe2e Merge "Merge "unbindBackupAgent and initialize inFullBackup" am: 36654ffef5 am: 3a13bb43f6 am: 6793b1f0b8 am: c8d9b32db8" 2017-01-24 23:53:20 +00:00
Chris Tate
dfbba3e790 Merge "unbindBackupAgent and initialize inFullBackup" am: 36654ffef5 am: 3a13bb43f6 am: 6793b1f0b8
am: c8d9b32db8

Change-Id: I19a58876417cd00019c3d5fead9ee6bb48eb3f8d
2017-01-24 23:52:35 +00:00
TreeHugger Robot
2268f459de Merge "Enable kernel UID state updates." 2017-01-24 23:52:29 +00:00
Abodunrinwa Toki
6b76675248 Implement TextClassifierImpl.getLinks
This is a simple implementation of getLinks that works. I plan to
improve on the algorithm later.

Bug: 34661057
Test: See: Ic2a5eceeaec4cd2943c6c753084df46d30511fee
Change-Id: Icb9d4678e19a72ff89556dcaef5940ffab5d95d5
2017-01-24 15:51:33 -08:00
George Burgess IV
2df0c67152 Fix a use-of-uninitialized-value warning.
Caught by clang's static analyzer:
frameworks/base/core/jni/android_hardware_SoundTrigger.cpp:660:20:
warning: Assigned value is garbage or undefined
        nHandle[0] = (jint)handle;

Given that we return an error code anyway, we can just set it to 0 and
move on.

Bug: None
Test: Still builds; static analyzer doesn't complain.
Change-Id: I9a5be562a0d96fd6c48bb98eca0867fc754bba63
2017-01-24 15:48:28 -08:00
Frank Barchard
39a1fce439 media volume allow --get to be combined with --set and --adj
Bug: 33819516
Test: adb shell media volume --stream 3 --adj lower --get
Change-Id: Ie30f5c0ea54bfac59c2e05513da61a98658f7d0e
2017-01-24 23:47:19 +00:00
Chris Tate
c8d9b32db8 Merge "unbindBackupAgent and initialize inFullBackup" am: 36654ffef5 am: 3a13bb43f6
am: 6793b1f0b8

Change-Id: I16e1b48e818023243f2c05e43599432f59203a19
2017-01-24 23:46:58 +00:00
Badhri Jagan Sridharan
d979398983 Merge "Refactor UsbPortManager to use the binderised USB HAL" 2017-01-24 23:46:25 +00:00
Chris Tate
6793b1f0b8 Merge "unbindBackupAgent and initialize inFullBackup" am: 36654ffef5
am: 3a13bb43f6

Change-Id: I44fcb1ff849d39ff528adb85f8d76563eb9b9d52
2017-01-24 23:42:33 +00:00
Makoto Onuki
454a9777b8 Merge "Add client package name to WTF message" 2017-01-24 23:42:31 +00:00
Chris Tate
3a13bb43f6 Merge "unbindBackupAgent and initialize inFullBackup"
am: 36654ffef5

Change-Id: I5ba75075e2fb2dae0dcabbb0cee3b83c3d0c15ea
2017-01-24 23:38:12 +00:00
Chris Tate
36654ffef5 Merge "unbindBackupAgent and initialize inFullBackup" 2017-01-24 23:31:35 +00:00
Matthew Snider
c755fb64f6 Merge "Introducing clear package data intent" 2017-01-24 23:31:12 +00:00
Ralph Nathan
b8e0dee9af Add FEATURE_EMBEDDED to PackageManager
This CL adds FEATURE_EMBEDDED to PackageManager to identify Android
Things devices.

BUG: 34644059
Test: built using make update-api

Change-Id: Ife4430e4a445f6afdd969e94db5fe5c9098ee145
2017-01-24 15:30:50 -08:00
TreeHugger Robot
b878348382 Merge "Don't mark query+cancellationSignal final." 2017-01-24 23:26:24 +00:00
Wale Ogunwale
1666e317dc Added StackWindowContainerController
For linking ActivityStack in AMS to TaskStack window container in WMS.

Change-Id: I8b9eaef49e62854d59b22d27f80f5935a5a4d7fc
Bug: 30060889
Test: bit FrameworksServicesTests:com.android.server.wm.StackWindowContainerControllerTests
Test: bit FrameworksServicesTests:com.android.server.wm.TaskWindowContainerControllerTests
Test: Existing test pass and manual testing.
2017-01-24 15:23:37 -08:00
Hongming Jin
a0c4d1d6bf Test: AccountManagerService APCT test.
More APCT tests for AccountManagerService for session based functions:
hasFeatures, removeAccountAsUser, getAuthTokenLabel, getAuthToken,
addAccountAsUser

Bug: 31346530
Change-Id: Ie57973547aa676b83b56ee8664dd2de661ec4a7e
2017-01-24 15:23:27 -08:00
Sundeep Ghuman
d57f324776 Update Status Bar with Badged Wifi Icons.
This change inserts badged wifi icons into the status bar to indicate
historical network strength. The existing callback handler was modified
to explicitly pass the drawable as currently the icon is a rendered from
two separate resources, composited together in a LayeredDrawable.

Badging is controlled by Settings.Global.NETWORK_RECOMMENDATIONS_ENABLED
and can be enabled from the Wifi Settings page.

Bug: 34056846
Test: runtest --path
frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerWifiTest.java
Change-Id: I33b736d4543e380887513cbb5937f49945794c09
2017-01-24 15:18:32 -08:00
Matthew Ng
72800a9373 Remove accessibility labels of application info and dimiss
After moving application info and dismiss actions into custom actions
this will remove the talkback options by removing their labels.

Test: listened to options with talkback
Fixes: 29360763
Change-Id: Ia2cc788b22d1fcede58cb43cdbfe23c055604105
2017-01-24 15:10:38 -08:00
Android Build Merger (Role)
6cdd505398 Merge "Merge "Vodafone SIMs should treat Spain as roaming" am: a9c27b348c am: 8e9cf51db3 am: 3cd1f5bac7 am: 17674b6115" 2017-01-24 23:02:55 +00:00
Torbjorn Eklund
4898a1d12f Merge "Vodafone SIMs should treat Spain as roaming" am: a9c27b348c am: 8e9cf51db3 am: 3cd1f5bac7
am: 17674b6115

Change-Id: I12e3aa291057a30cdc64c5413e10f18d38b17148
2017-01-24 23:02:18 +00:00
Hyunyoung Song
8d07bfa437 Merge "Adds MaskableIconDrawable class to android.graphics.drawable package" 2017-01-24 23:01:40 +00:00
TreeHugger Robot
4afaad887f Merge "Disable RescueParty on -eng builds, or with flag." 2017-01-24 22:59:57 +00:00
TreeHugger Robot
171a0abae4 Merge "Fixes for new QS" 2017-01-24 22:58:08 +00:00
Torbjorn Eklund
17674b6115 Merge "Vodafone SIMs should treat Spain as roaming" am: a9c27b348c am: 8e9cf51db3
am: 3cd1f5bac7

Change-Id: I7f6c497adfb1dcbfeb5342c639008af5d28d1892
2017-01-24 22:57:27 +00:00
Torbjorn Eklund
3cd1f5bac7 Merge "Vodafone SIMs should treat Spain as roaming" am: a9c27b348c
am: 8e9cf51db3

Change-Id: I7fbc47d01539202c4a9d022dc6609bc88e1d4621
2017-01-24 22:52:59 +00:00
TreeHugger Robot
f070b4ef55 Merge "Snoozing API changes" 2017-01-24 22:52:43 +00:00
Matt Sarett
02b0d40547 Merge "Fix renderOverdraw() test" 2017-01-24 22:49:43 +00:00
Torbjorn Eklund
8e9cf51db3 Merge "Vodafone SIMs should treat Spain as roaming"
am: a9c27b348c

Change-Id: Ia57e460220a5f8e53f47f2454f5c1a005830a3e6
2017-01-24 22:49:27 +00:00
Julia Reynolds
573c653708 Make one method slightly less useful to save others
Specifically, adding the record to the enqueued list outside of
the handler meant that a cancelAll followed by a repost could
prevent the repost from succeeding.

Test: cts verifier
Change-Id: I4faf15f39f8fe7455c389c455420c22c763e23bd
2017-01-24 17:44:38 -05:00
Treehugger Robot
a9c27b348c Merge "Vodafone SIMs should treat Spain as roaming" 2017-01-24 22:43:32 +00:00
TreeHugger Robot
fffa2eb046 Merge "Deliver MEDIA_SCANNER_SCAN_FILE to background receivers" 2017-01-24 22:40:17 +00:00
Vladislav Kaznacheev
18b317cf98 Merge "Revert "Remove View.setTooltip/getTooltip"" 2017-01-24 22:38:01 +00:00
TreeHugger Robot
13c8c869d2 Merge "Enabled backup/restore of Wifi Wakeup and Network Recommendations Settings." 2017-01-24 22:36:44 +00:00
Amin Shaikh
15902eef8b Create an API for retrieving a badged wifi icon.
Bug: 34202067
Test: ./gts-tradefed run gts -m GtsNetTestCases -t com.google.android.net.gts.wifi.NetworkBadgingTest
Change-Id: Ia3bf9c0a489ae08de8d635aa620cbccca22af1b2
2017-01-24 14:34:19 -08:00
Siyamed Sinir
ae407c9193 Merge "Make SpannableStringBuilder.getSpans thread-safe" into nyc-mr2-dev am: 9e1f4e8891
am: 043f036f98  -s ours

Change-Id: I0f90dc34ac35cf1d2ce9c9898945d74a88033f19
2017-01-24 22:34:05 +00:00
Siyamed Sinir
6c88a261e4 Make SpannableStringBuilder.getSpans thread-safe am: 4234144a2b
am: 9ab25678f9  -s ours

Change-Id: Icc925bba5f080e9c244910314065695d4e5957a2
2017-01-24 22:33:00 +00:00
Siyamed Sinir
043f036f98 Merge "Make SpannableStringBuilder.getSpans thread-safe" into nyc-mr2-dev
am: 9e1f4e8891

Change-Id: If12164005160599947f591ee97a1d0a9af2f732e
2017-01-24 22:27:36 +00:00
Siyamed Sinir
9ab25678f9 Make SpannableStringBuilder.getSpans thread-safe
am: 4234144a2b

Change-Id: I9d1c2d93d6f22465c88e35df28d75f07bcc687b3
2017-01-24 22:27:28 +00:00
Winson Chung
6d2fe9e96d Merge "Remove dependency on resizable activity to enter PiP." 2017-01-24 22:26:47 +00:00