808 Commits

Author SHA1 Message Date
Michael Wright
4cb42f3894 There is only one Generic.kl.
Generic.kl is a special file that defines the default mappings for all
devices. There can only be one and it cannot change regardless of the
product area the device is in. This should *never* have been checked in,
especially not without someone on the input team looking at it.

Also, add support for the POUND and STAR keys, which is why it was
forked in the first place.

Test: N/A
Change-Id: I894cbefe20fc77d827dc500daa3a380f252eb8b6
2017-12-05 18:45:41 +00:00
Fan Zhang
c3a6ed25a6 Whitelist SettingsIntelligence to manage fingerprint
This permission used to be Settings. With new settings suggestion
system we need the permission in the unbundled app (SettingsIntelligence)

Bug: 69427300
Test: rebuild
Change-Id: Iaf8dd3281f4cdf5460dd544f50391ca241716d37
2017-11-30 15:50:54 -08:00
TreeHugger Robot
1e70100877 Merge "Add OWNERS to system_server services." 2017-11-21 21:28:03 +00:00
Michael Wright
9fc31ee1f8 Add OWNERS to system_server services.
Test: N/A
Change-Id: I60174fcbbf2a061df2961239ec1b45df2e6b20ed
2017-11-21 18:35:16 +00:00
TreeHugger Robot
8cfd3d03de Merge "Use serif fonts for serif fallback." 2017-11-21 01:40:34 +00:00
Seigo Nonaka
99a7b60e51 Use serif fonts for serif fallback.
Bug: 31491668
Test: m -j1024 fontchain_lint
Change-Id: Ic1d356aa684f2284b0b0fc8de5d0e36380eb44bc
2017-11-20 14:46:31 -08:00
Colin Cross
4db5cb7ba3 Merge "Add output file and dependencies to fontchain_lint" am: b0a3e9dc83 am: 4db8be0bb3
am: c181b06021

Change-Id: Id001092f532e66c896dfb7baf83aa4e810d2cd6e
2017-11-20 20:54:14 +00:00
Colin Cross
4db8be0bb3 Merge "Add output file and dependencies to fontchain_lint"
am: b0a3e9dc83

Change-Id: I835565031398b97c995260a0bfc9c8f1f50cef2e
2017-11-20 20:36:15 +00:00
Nan Zhang
24c9924797 Merge "Build fontchain_lint using python_binary_host" am: 7ecac139ea am: 7ade558ad2
am: 67695d3aff

Change-Id: I850304f79c1c35bfeb6951307b8ca2365da0330b
2017-11-17 22:30:37 +00:00
Nan Zhang
7ade558ad2 Merge "Build fontchain_lint using python_binary_host"
am: 7ecac139ea

Change-Id: I4fef971c8fc8837f73644667988ddc3e7f4305ec
2017-11-17 22:12:58 +00:00
Colin Cross
f5de525ee3 Add output file and dependencies to fontchain_lint
Keep fontchain_lint from rerunning on every make checkbuild by
making it touch an output file and giving it dependencies on
anything that should cause it to rerun.

Bug: 27727331
Test: m checkbuild
Change-Id: I0d8a41b308cac04844e27beb51c12dbf46cb1a4a
2017-11-17 18:11:09 +00:00
Nan Zhang
2db709de30 Build fontchain_lint using python_binary_host
Test: out/host/linux-x86/bin/fontchain_lint
out/target/product/generic/system true external/unicode
Bug: b/27727331

Change-Id: Ib9353d2338c3b939027069f49e3e847c65526581
2017-11-17 09:22:12 -08:00
Xin Li
220871a697 Merge commit '98e12851336b7db16e583f9afac63ecc97465980' from
oc-mr1-dev-plus-aosp-without-vendor into stage-aosp-master.

Change-Id: Ia7b8da4a00d215160e4a4fa40f6044208d1297b7
Merged-In: I19846d2a3ee27aecbae2367a74ee49082eea154d
2017-11-14 12:31:11 -08:00
Fan Zhang
b0e44af1d4 Whitelist SettingsIntelligence to read search indexables.
This permission used to be Settings. With moving ranking to
SettingsIntelligence we need to move permission whitelisting as well

In a follow up we will remove the permission from Settings list.

Bug: 65065268
Test: flash with a clean build
Change-Id: I81fafe0b390df5990989da81629e4c6d67f1480a
2017-11-09 09:48:32 -08:00
TreeHugger Robot
b119f85d34 Merge "Custom message in AoD" 2017-11-07 17:24:27 +00:00
Amith Yamasani
4a76a3f32a Merge "Make CHANGE_APP_IDLE_STATE a system API" 2017-11-03 15:34:25 +00:00
Amith Yamasani
4470ab9c33 Make CHANGE_APP_IDLE_STATE a system API
Allows a privileged app to set standby bucket states for apps.

Bug: 63527785
Test: adb shell am set-standby-bucket com.example.foo 0
Change-Id: I613f8872ae816e39b167aad1c289187362aa6094
2017-11-02 21:12:18 -07:00
Siarhei Vishniakou
46429ecd93 Add keylayout for xbox controller over bt
When connected over bluetooth, the device
registers with vendorId=045e, productId=02e0.
Add the keylayout for this here.

Bug: 37115804
Bug: 37115820
Test: connect the controller, use
'getevent' to keep track of the generated events

Change-Id: Ia4b80e54a547e5d6716ff0f83b068e4cc87dfbb0
2017-11-02 19:45:31 -07:00
Lucas Dupin
957e50ccdf Custom message in AoD
Optional message that lives under the clock and also
in AoD. Implemented using a slice.

Test: launch sysui, look at the date in AoD
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/keyguard/KeyguardSliceProviderTest.java
Change-Id: I9dbc827bd48c6a3d1b25b0a481ffaecc0dd37f25
2017-11-02 18:03:40 -07:00
Jeff Sharkey
d877f14834 Merge "Define OWNERS for permission grant changes." am: 8d2a5bd42a am: 4ab5a3f8cd
am: e2ef47f1bd

Change-Id: I32c2ddf0f6c5f21651750579e045198438045d12
2017-10-30 03:42:16 +00:00
Jeff Sharkey
e2ef47f1bd Merge "Define OWNERS for permission grant changes." am: 8d2a5bd42a
am: 4ab5a3f8cd

Change-Id: Ie27d6ee76a7ab6585881d5f83c197ab99f7d26f4
2017-10-30 03:26:54 +00:00
Jeff Sharkey
e40d8409bd Define OWNERS for permission grant changes.
Permission grant changes need explicit approval from product and
SWE leadership to ensure that CTS/CDD requirements are met.

Change-Id: I0a84712b5c5b4e11e72bf5921b72ef6a47e7fdc1
2017-10-29 19:32:02 -06:00
Fyodor Kupolov
7e7c48ae9c Updated the whitelist to match the state of platform apps
Some apps in frameworks/base are only included in AOSP targets and
discrepancies weren't discovered by CI tests.

Test: manual
Bug: 67718369
Change-Id: If88aa90f4dcab51b6e11562cadbe003948b6c149
2017-10-20 14:42:24 -07:00
Kang Li
21ec85f12a Update package name for ExtServices to whitelist permissions.
Test: shared images in Camera to verify this.

Change-Id: Iebbe7405afa7de5246e02d7dbdb84fb0f319db5f
2017-10-19 15:02:11 -07:00
Fyodor Kupolov
c56106a13e Crash if not all privileged permissions are whitelisted
Test: reboot device - no crashes
Test: Ran privapp_permissions.py for fugu/marlin/taimen
Bug: 64693550
Change-Id: I9522ccaa75858b9a3d153c95c529eff70cd13994
2017-10-09 14:27:47 -07:00
Shubang
8a56855ec4 Merge "Add permissions for LiveTv (AOSP)" into oc-mr1-dev am: 4dc2938418
am: e13b57b3b9

Change-Id: I91925da75262c8980d27e3e33f5822aa0b4495b4
2017-10-07 01:22:28 +00:00
Shubang
d06de348b6 Add permissions for LiveTv (AOSP)
It crashes without the permissions

Bug: 67474061
Test: make; flashall; install and open LiveTv;
Change-Id: Ifec8bfb4ee93ac6b9189a9c337fdd2ef9ec34537
2017-10-06 14:06:26 -07:00
Sunny Goyal
158c98cee1 Merge "Fixing Launcher package name for privilege permission" into oc-mr1-dev am: 22f7ae8d07
am: 1c56c23331

Change-Id: I00aca55b29ff96f5db393b1130727d6dec5e612a
2017-09-29 23:14:54 +00:00
Sunny Goyal
71d4bcc053 Fixing Launcher package name for privilege permission
Test: None
Bug: 67017745
Change-Id: I37b903c0c771e54a68bf4dac42a0ce39641b7933
2017-09-29 20:08:15 +00:00
Robert Quattlebaum
df41b3eecd Ensure lowpan UID can manage LoWPAN interfaces
Bug: b/64399805
Change-Id: Idd0bd7ef0c4de48c95699efc43324bc4dce8e70a
2017-09-20 23:36:12 +00:00
Daniel Cardenas
f7a938af30 Merge "Revert "Revert "Create new Audio include for TVs that doesn't have ringtones.""" into oc-mr1-dev am: cbda4cf6fb
am: 445581b5d4

Change-Id: Iafb2c9fe56a89c087e22bfb3588f3a6afa62cce8
2017-09-14 02:05:23 +00:00
TreeHugger Robot
8b2ec0387a Merge "Add keylayout file for Sony DS4 v1 joystick" 2017-09-13 13:58:56 +00:00
Daniel Cardenas
8ad428a94b Revert "Revert "Create new Audio include for TVs that doesn't have ringtones.""
This saves 5944K or almost 6MB on system partition.
Bug: 65572669
Test: build

This reverts commit 9deba686fa77696cff1e0bfed22080950cd86a1e.
2017-09-12 17:12:08 -07:00
Siarhei Vishniakou
c8f4acb6ba Add keylayout file for Sony DS4 v1 joystick
This file is a copy of Vendor_054c_Product_09cc.kl,
which is a v2 version of the same joystick.
They have the same layout.

Bug: 36693940
Test: mapped with getevent, works OK
Change-Id: I439caf97f2c51d643753e1fc8d5dd0213131927a
2017-09-12 15:19:26 -07:00
Narayan Kamath
2b219baf14 Merge "AudioPackageGo: Add misc. other sounds required by the system." into oc-mr1-dev am: c0e6aa4233
am: 1b31be026d

Change-Id: I43970535a3a3e614fa9acd990035f73dca80ba88
2017-09-12 07:54:57 +00:00
Siarhei Vishniakou
4dc796f180 Merge "Add keylayout file for Sony DS4 joystick." 2017-09-11 18:18:33 +00:00
Narayan Kamath
94d0d0db31 AudioPackageGo: Add misc. other sounds required by the system.
Bug: 65204114
Test: make
Change-Id: I7a6b7ec18716c912a5ace9b448c3db0b8c34b167
2017-09-11 15:20:42 +01:00
Paul Duffin
0a22778237 Remove org.apache.http.legacy from bootclasspath
Updated data/etc/platform.xml to make the org.apache.http.legacy library
usable by applications. The runtime location of the
org.apache.http.legacy library is
/system/framework/org.apache.http.legacy.boot.jar not
/system/framework/org.apache.http.legacy.jar.

Stop removing org.apache.http.legacy from the required and optional
shared library lists and instead add it to the required list if it is
not present in either and the package is targeted at SDK
version <= O_MR1.

Bug: 18027885
Test: make FrameworksCoreTests, install and run
Change-Id: I686e3c20f5860e58825e1b88f220f9b8c335849c
2017-09-11 11:28:41 +01:00
Sudheer Shanka
9404fb8f72 Merge "Add PACKAGE_USAGE_STATS permission to shell." into oc-mr1-dev am: 471656b6d8
am: 1605878d62

Change-Id: Icaad605d492ae86a29596f202f4ddaac416bcb89
2017-09-06 05:11:56 +00:00
Michael Wright
7185881062 Quiet keymap validation.
Adds a quiet option to validatekeyamps and uses it for the platform
build.

Bug: 35672363
Test: m -j12; see no messages about succesful keymap validation
Change-Id: I902a9f5813ae612ee48ee3df210ae8fa2988c4b3
2017-09-04 15:18:44 +01:00
Sudheer Shanka
93bfd052a8 Add PACKAGE_USAGE_STATS permission to shell.
This is needed for calling AM.registerUidObserver.

Fixes: 64400666
Test: cts-tradefed run singleCommand cts-dev -m CtsAppTestCases -t \
      android.app.cts.ActivityManagerProcessStateTest
Change-Id: I4f500d0d8d516b6b8961ea2f8c083add3ae949a9
2017-09-01 16:48:05 -07:00
Narayan Kamath
949db7f2a6 Merge "sounds : Add a makefile for Android Go specific sounds." into oc-mr1-dev am: 0d9c30cf88
am: 95477fe682

Change-Id: Ib4799af8021787d8d52e159bf9edb0da5f006b6f
2017-08-24 11:37:39 +00:00
Narayan Kamath
cb6dff8181 sounds : Add a makefile for Android Go specific sounds.
Bug: 64276740
Bug: 64542579
Test: make

Change-Id: I64e0bc8d4db5fafe0370977ccc8eb1c711aa5534
2017-08-23 19:37:42 +01:00
Christopher Tate
226057ab02 Merge "Add Audio effect session intent to config file" into oc-mr1-dev am: 51baf77a48
am: 0ab5fd69e0

Change-Id: I28f6032da9f882e3babd58421b09ac222e894c6b
2017-08-18 03:36:05 +00:00
Christopher Tate
615b37fbac Add Audio effect session intent to config file
Currently audio effect panel can't receive session
intent if app targetSdkVersion is Android O or later.
Because the intent is limited on background.
However this kind of application needs to receive
the intent when application plays music.

Bug: 62777192
Test: manual

Cherrypick of partner CL 870245

Change-Id: Ibcebb938fa9177a9b0a7be079b1c7374ba9424ee
2017-08-17 17:24:09 -07:00
Roozbeh Pournader
c9c6ee667f Merge "Support multiple languages per font in fonts.xml" 2017-08-11 23:27:50 +00:00
Roozbeh Pournader
99975a3e25 Support multiple languages per font in fonts.xml
Minikin already supports multiple languages specified per font in
I7f13b51464c9b01982bb573251d77052b9ddbd70. This CL adds a couple of
such cases into fonts.xml and clarifies in the method and the
variable names and parameters that the frameworks is handling a
multi-language string when it is.

Fixes: 26687969
Test: make -j checkbuild
Test: bit FrameworksCoreTests:android.graphics.TypefaceSystemFallbackTest
Change-Id: Ifa540a95f87921983f9069330d1dd0892538a8df
2017-08-11 12:34:26 -07:00
Beverly
ceb18985bc Merge "Pleasant sound implemented for in-call notif." into oc-mr1-dev am: 2593d707f7
am: 6e23bfc386

Change-Id: Ie046074ea546764115677c5ca3e0163c2e90641b
2017-08-11 17:14:00 +00:00
Beverly
5d463b6c88 Pleasant sound implemented for in-call notif.
Replacing tone generator with an audio file for in-call notifications from text messages.

Fixes: 38194285
Test: runtest -x frameworks/base/services/tests/notification/src/com/android/server/notification/BuzzBeepBlinkTest.java
Change-Id: I9ec28ff54ae259ae906b3db08ece7059707c7edb
2017-08-10 21:27:20 +00:00
Roozbeh Pournader
2d8961d99f Fix various Hangul Jamo bugs in DroidSansFallback
Various Jamo characters were off-by-one, missing from the cmap table,
or incorrect.

Change-Id: Iaae427f1b3973b1a08629b6dceec0e805a9352aa
Fixes: 64481267
Test: compared TTF files by looking at their TTX dump
2017-08-09 13:49:31 -07:00