Commit Graph

80804 Commits

Author SHA1 Message Date
Tomasz Wasilczyk
24250ef948 Deprecate onMetadataChanged.
All ProgramInfo changes are passed now by onProgramInfoChanged callback.

The onMetadataChanged callback is still called for compatibility reasons.

Bug: b/32621193
Test: instrumentalization (none added)
Change-Id: I80be8d3b55614c618514ac1e081a3ba60f4060b3
2017-07-17 16:28:17 -07:00
Tomasz Wasilczyk
8cfb0e81fd Implement ProgramSelector for font-end Java APIs.
Bug: b/32621193
Test: instrumentalization
Change-Id: Ibb9841fed76ef3568c2e36ca28ea31addf9175f1
2017-07-17 16:23:05 -07:00
Tomasz Wasilczyk
e83dbb90fa Merge "Publish new Broadcast Radio APIs." 2017-07-13 20:50:10 +00:00
Christopher Ferris
f003ae0f25 Merge "Implement dumpheap -m." 2017-07-13 20:10:47 +00:00
Abodunrinwa Toki
a49d2eedc9 Merge "TextClassification.text is nullable" 2017-07-13 20:06:12 +00:00
Seigo Nonaka
6fef520af5 Merge "Implement family fallback." 2017-07-13 20:02:29 +00:00
Timur Iskhakov
221024bead Merge "Add configureRpcThreadpool to java interface" am: d8dab11547 am: 791a698a6a am: 9cdec3943c
am: 1cdcaa8cf3

Change-Id: Iea02cb61c0a77eb3d94b9ebe63687457b6a5032c
2017-07-13 19:39:36 +00:00
Timur Iskhakov
1cdcaa8cf3 Merge "Add configureRpcThreadpool to java interface" am: d8dab11547 am: 791a698a6a
am: 9cdec3943c

Change-Id: Id3e2523a755e8ce207ac6bd85dbf6d5a69070207
2017-07-13 19:33:29 +00:00
Timur Iskhakov
9cdec3943c Merge "Add configureRpcThreadpool to java interface" am: d8dab11547
am: 791a698a6a

Change-Id: I9b98013a894aa01268ed69a14c6b425e04771936
2017-07-13 19:27:37 +00:00
Timur Iskhakov
791a698a6a Merge "Add configureRpcThreadpool to java interface"
am: d8dab11547

Change-Id: I958ef6fc2d667a691e39e9fadd07303085a499f9
2017-07-13 19:21:42 +00:00
Qingxi Li
02eab5653d Merge "Fix the error that the broadcast receiver cannot be registered" into oc-dr1-dev am: b7febbb727
am: 11ba1cb60a

Change-Id: Iebb4844baf119ae51749aab524184f35c208853d
2017-07-13 19:17:03 +00:00
Treehugger Robot
d8dab11547 Merge "Add configureRpcThreadpool to java interface" 2017-07-13 19:11:39 +00:00
Qingxi Li
11ba1cb60a Merge "Fix the error that the broadcast receiver cannot be registered" into oc-dr1-dev
am: b7febbb727

Change-Id: Ia16b14971d474bdab739368a83b5b119faeaa381
2017-07-13 19:08:27 +00:00
TreeHugger Robot
7db6b9778f Merge "Add metrics to log performance of different ranker services in ChooserActivity." 2017-07-13 19:04:45 +00:00
Qingxi Li
b7febbb727 Merge "Fix the error that the broadcast receiver cannot be registered" into oc-dr1-dev 2017-07-13 19:02:24 +00:00
Bryce Lee
8f18579afe Merge "Do not use rotation as indicator to relaunch from config change." into oc-dr1-dev am: fa62d79a02
am: b3d51770d1

Change-Id: I267b6be7a95c19b927e8ecb01e597342e6bee1d3
2017-07-13 18:47:11 +00:00
Bryce Lee
b3d51770d1 Merge "Do not use rotation as indicator to relaunch from config change." into oc-dr1-dev
am: fa62d79a02

Change-Id: Iaff54dcb133a4169f70f7ea2d7ded68cc313e946
2017-07-13 18:34:30 +00:00
Bryce Lee
fa62d79a02 Merge "Do not use rotation as indicator to relaunch from config change." into oc-dr1-dev 2017-07-13 18:28:09 +00:00
Bryce Lee
90ab6ba03f Merge "Allow max aspect ratio to be specified by meta-data tag." into oc-dr1-dev am: a926dbf5d2
am: d0bc21efd5

Change-Id: Idf2bfb1d6c2b70a53ebe46df300be6fe3fce3258
2017-07-13 17:55:05 +00:00
Bryce Lee
d0bc21efd5 Merge "Allow max aspect ratio to be specified by meta-data tag." into oc-dr1-dev
am: a926dbf5d2

Change-Id: I3f1dd4938ed37af093d326a951b9eb1854e60611
2017-07-13 17:47:52 +00:00
Seigo Nonaka
0d253e46aa Implement family fallback.
Introduce new attribute "fallbackFor" to font element.
By specifying name of the family to this attribute, that font is used
when the developer specifies the font family.
For example, if fonts.xml has the following family entry,
  <family lang="ja">
    <font fallbackFor="serif">NotoSerifJP-Regular.ttf</font>
    <font>NotoSansJP-Regular.ttf</font>
  </family>
the Japanese text is rendered by NotoSansJP-Regular.ttf by default.
Then, if developer specifies fontFamily="serif" in TextView, the Japanese
text is rendered by NotoSerifJP-Regular.ttf.

Bug: 37328609
Bug: 31491668
Test: bit FrameworksCoreTests:android.graphics.TypefaceSystemFallbackTest

Change-Id: I2744db7384c8056795e841c88b387545434131f4
2017-07-13 10:47:48 -07:00
Bryce Lee
a926dbf5d2 Merge "Allow max aspect ratio to be specified by meta-data tag." into oc-dr1-dev 2017-07-13 17:38:48 +00:00
Lucas Dupin
c7a0402c6e Merge "In-app gradient color based on systemui theme." into oc-dr1-dev am: 717dd58c52
am: de3597c769

Change-Id: I929d33ba540d03cdd823f0cf9a1b22b365fd9f2f
2017-07-13 17:19:05 +00:00
Lucas Dupin
de3597c769 Merge "In-app gradient color based on systemui theme." into oc-dr1-dev
am: 717dd58c52

Change-Id: I35c7baae2e373f4d8bea87d1afc175833de7f59e
2017-07-13 17:09:59 +00:00
Kang Li
2c57189130 Add metrics to log performance of different ranker services in
ChooserActivity.

bug: 63353389

Test: tested by GmsCore debug logs.

Change-Id: Iacfef00531953344af190d3bd381c0ea38c37fe2
2017-07-13 10:06:08 -07:00
Lucas Dupin
717dd58c52 Merge "In-app gradient color based on systemui theme." into oc-dr1-dev 2017-07-13 17:03:47 +00:00
Tenghui Zhu
cd2d38d65e Merge "Update the annotation for getAnimation" 2017-07-13 16:46:35 +00:00
TreeHugger Robot
b12dc4296d Merge "IpManager: define InitialConfiguration" 2017-07-13 15:36:34 +00:00
Tomasz Wasilczyk
05392d6360 Publish new Broadcast Radio APIs.
Also, rename FEATURE_RADIO to FEATURE_BROADCASTRADIO.

Bug: b/34348946
Bug: b/63405337
Test: instrumentalization
Change-Id: Ibf5851a10b94f9e82db85f740fde6f28efe48666
2017-07-13 07:46:25 -07:00
Hugo Benichi
2757fcf3a1 IpManager: define InitialConfiguration
This patch adds a InitialConfiguration class to IpManager for specifying
IP information in IpManager ProvisioningConfiguration at IpManager
startup.

At the moment this InitialConfiguration is not used, but is validated in
startProvsiioning if ProvisioningConfiguration includes one. It will be
integrated into IpManager IP provisioning logic in follow-up patches.

This patch also includes an example of data driven unit tests using a
table of test case. The highlights of this methodology are:
  1) easy extensibility for new test case,
  2) rich and informative error messages,
Unfortunately Java support for inlined data structure literals is poor
and some companion static methods for data generation are required for
enabling this methodology.

Bug: 62988545
Test: added new test in FrameworksNetTests,
      $ runtest frameworks-net
      $ runtest frameworks-wifi

Change-Id: I060b02603af7d73a6407df89344bf0c000574af2
2017-07-13 22:42:50 +09:00
Adrian Roos
e3fd65f9e5 Merge "AOD: Implement long press gesture to launch assist" into oc-dr1-dev am: 3fbd93056e
am: 6d626acdbf

Change-Id: Iabff9ca955aef414ad7e62e0c68e2774ff01c9b7
2017-07-13 12:17:44 +00:00
Adrian Roos
6d626acdbf Merge "AOD: Implement long press gesture to launch assist" into oc-dr1-dev
am: 3fbd93056e

Change-Id: I8bc8e01a97711fdd30ff59aeb72d38e8acaa7c75
2017-07-13 12:10:21 +00:00
Adrian Roos
3fbd93056e Merge "AOD: Implement long press gesture to launch assist" into oc-dr1-dev 2017-07-13 12:01:52 +00:00
Robert Berry
c2ecd9c336 Merge "Improve logging when restore fails to load Package Manager." 2017-07-13 08:43:02 +00:00
TreeHugger Robot
953daa0a78 Merge "WebView: update docs for WebView#initSafeBrowsing" 2017-07-13 06:35:00 +00:00
Nate Fischer
465104817d Merge "WebView: Fix SafeBrowsingResponse API" 2017-07-13 05:17:39 +00:00
Nate Fischer
ebb6049f72 Merge "WebView: fix WebView#setSafeBrowsingWhiteList" 2017-07-13 05:16:53 +00:00
Fyodor Kupolov
54538b0f85 Merge "Revert "Fix ContentObserver unregister issue"" am: 31419a4ad4 am: 8625194c19 am: cd816c1853
am: c2a76d16f0

Change-Id: I6916fbf80f86419a264b4645d29c9167777543e8
2017-07-13 04:07:09 +00:00
Fyodor Kupolov
c2a76d16f0 Merge "Revert "Fix ContentObserver unregister issue"" am: 31419a4ad4 am: 8625194c19
am: cd816c1853

Change-Id: I278d9449ab47f9bdecac8ad1075daed7d718544a
2017-07-13 04:02:11 +00:00
Fyodor Kupolov
cd816c1853 Merge "Revert "Fix ContentObserver unregister issue"" am: 31419a4ad4
am: 8625194c19

Change-Id: I5025d99e35dd267ffc3a0c0393a24ebb87cc0546
2017-07-13 03:56:09 +00:00
Fyodor Kupolov
8625194c19 Merge "Revert "Fix ContentObserver unregister issue""
am: 31419a4ad4

Change-Id: I455be72533c24ceb5ea352774ded30d0c0a2367f
2017-07-13 03:49:36 +00:00
Andrii Kulian
917a641101 Merge "Position app with short aspect ratio opposite of nav bar" into oc-dr1-dev am: a40af83c32
am: 8d99ed44f2

Change-Id: I28cee4719647f5c1746e62fe8c73ebdc99be6c65
2017-07-13 03:47:30 +00:00
Andrii Kulian
8d99ed44f2 Merge "Position app with short aspect ratio opposite of nav bar" into oc-dr1-dev
am: a40af83c32

Change-Id: I08967a79847a0d42a0a5c67d2bb178d2717eae33
2017-07-13 03:41:34 +00:00
Treehugger Robot
31419a4ad4 Merge "Revert "Fix ContentObserver unregister issue"" 2017-07-13 03:38:46 +00:00
Andrii Kulian
a40af83c32 Merge "Position app with short aspect ratio opposite of nav bar" into oc-dr1-dev 2017-07-13 03:34:52 +00:00
Nate Fischer
3ca196a12d WebView: update docs for WebView#initSafeBrowsing
This fixes the documentation to specify that an application Context will
be used instead of an Activity Context (since only application Context
is needed).

Bug: 62192626, 63616213
Test: N/A
Change-Id: Ia34d2172be8cca7cb0751286c6c2388ff34d3f4a
2017-07-12 18:46:50 -07:00
Fyodor Kupolov
5d5f04b004 Revert "Fix ContentObserver unregister issue"
This reverts commit 2df4e144a9. 
It was causing failures in packages/apps/DocumentsUI tests

Bug: 63638102
Bug: 63154326
Change-Id: I51fb54f705f58f159f4fcc30bfed41ababcba950
2017-07-13 01:46:23 +00:00
Timur Iskhakov
b6a6283ce4 Add configureRpcThreadpool to java interface
Bug: 36233029
Test: links, compiles, hidl_test_java

Change-Id: I7e2ec88b2098886983b1d93ab100a77db63f3976
2017-07-12 17:56:39 -07:00
Nate Fischer
520a8ba279 WebView: fix WebView#setSafeBrowsingWhiteList
This corrects the WebView#setSafeBrowsingWhiteList method to accept a
List<String> instead of a String[], as per API council recommendation.

Bug: 63084528, 63615148
Test: N/A
Change-Id: I53f490c6ab9c10fffe6c89010d7509747ac8f95f
2017-07-12 17:37:07 -07:00
Nate Fischer
6aabdc4dbc WebView: Fix SafeBrowsingResponse API
The methods were previously package-private by mistake. This fixes them
to be public.

Bug: 63615582, 62723291
Test: N/A
Change-Id: Ie9095f861213a70fd655561f911385bdd06632b3
2017-07-12 17:20:55 -07:00