OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Avoid NPE in printspooler when changing language"
Svetoslav Ganov [Tue, 10 Nov 2015 01:03:05 +0000 (01:03 +0000)]
Merge "Avoid NPE in printspooler when changing language"
am: 8d8515e708

* commit '8d8515e708f0cebf69587750bbb3abcb315cc61e':
  Avoid NPE in printspooler when changing language

8 years agoMerge "Avoid NPE in printspooler when changing language"
Svetoslav Ganov [Tue, 10 Nov 2015 00:58:28 +0000 (00:58 +0000)]
Merge "Avoid NPE in printspooler when changing language"

8 years agoMerge "system_server: allow /proc read access to other UIDs"
Nick Kralevich [Mon, 9 Nov 2015 20:28:30 +0000 (20:28 +0000)]
Merge "system_server: allow /proc read access to other UIDs"
am: 51b48b3877

* commit '51b48b38774b8babe339890e1c888dfd8647ee72':
  system_server: allow /proc read access to other UIDs

8 years agoMerge "system_server: allow /proc read access to other UIDs"
Nick Kralevich [Mon, 9 Nov 2015 20:05:22 +0000 (20:05 +0000)]
Merge "system_server: allow /proc read access to other UIDs"

8 years agosystem_server: allow /proc read access to other UIDs
Nick Kralevich [Sun, 8 Nov 2015 01:04:04 +0000 (17:04 -0800)]
system_server: allow /proc read access to other UIDs

Add system_server to AID_READPROC, to allow system_server to read
/proc entries associated with other UIDs.

Bug: 23310674
Change-Id: I1602b8ee30670cde4ed56e2f901524c105895352

8 years agoMerge "Support nested domain-config elements"
Chad Brubaker [Sat, 7 Nov 2015 22:16:10 +0000 (22:16 +0000)]
Merge "Support nested domain-config elements"
am: 749501e88e

* commit '749501e88e5fa6bdc6594a9db5c232e31bdda867':
  Support nested domain-config elements

8 years agoMerge "Add xml source for network security configuration"
Chad Brubaker [Sat, 7 Nov 2015 22:14:36 +0000 (22:14 +0000)]
Merge "Add xml source for network security configuration"
am: ead46ecc84

* commit 'ead46ecc843e3686ff5ae8008f4452fc79f847e7':
  Add xml source for network security configuration

8 years agoMerge "Support nested domain-config elements"
Chad Brubaker [Sat, 7 Nov 2015 22:11:04 +0000 (22:11 +0000)]
Merge "Support nested domain-config elements"

8 years agoMerge "Add xml source for network security configuration"
Chad Brubaker [Sat, 7 Nov 2015 22:10:50 +0000 (22:10 +0000)]
Merge "Add xml source for network security configuration"

8 years agoSupport nested domain-config elements
Chad Brubaker [Sat, 7 Nov 2015 07:02:37 +0000 (23:02 -0800)]
Support nested domain-config elements

Nested domain-config inherit unset parameters from the domain-config
they are nested in. This helps avoid copy and pasted configs that are
almost the same except a few minor differences for a domain with
slightly different requirements.

For example: Consider a domain-config for example.com that, among other
settings, does not enforce hsts. Now if you want the rules for
example.com to apply to secure.example.com except that hsts _is_
enforced you can make a nested domain-config for secure.example.com
under example.com that sets hstsEnforced="true" and nothing else.

Change-Id: I9e33f7e62127fd7f4f15c3560fff2f2626477bd4

8 years agoAdd xml source for network security configuration
Chad Brubaker [Thu, 5 Nov 2015 07:55:29 +0000 (23:55 -0800)]
Add xml source for network security configuration

XmlConfigSource parses an ApplicationConfig from an xml resource.
Currently this supports app-wide default configuration via the
base-config element, per domain via the domain-config element and
inheritance of unset properties at parse time.

Inheritance of unset properties is currently only:
domain-config -> base-config -> platform default configuration
Where the most specific value is used.
For example: If the base-config specifies trust anchors, all connections
will use those anchors except for connections to a domain which has a
domain-config that specifies trust anchors, in which case the
domain-config's trust anchors will be used. If the domain-config or
base-config don't set trust anchors, or don't exist, then the platform
default trust anchors will be used.

Nested domain-config entries, debug-overrides, and thorough
documentation of the xml format will follow in later commits.

Change-Id: I1232ff1e8079a81b340bc12e142f0889f6947aa0

8 years agoMerge "Fix incorrect hstsEnforced lookup"
Chad Brubaker [Sat, 7 Nov 2015 02:42:05 +0000 (02:42 +0000)]
Merge "Fix incorrect hstsEnforced lookup"
am: 1347cb81f4

* commit '1347cb81f402c628f3346ea350a5862749901d59':
  Fix incorrect hstsEnforced lookup

8 years agoMerge "Fix incorrect hstsEnforced lookup"
Chad Brubaker [Sat, 7 Nov 2015 02:37:45 +0000 (02:37 +0000)]
Merge "Fix incorrect hstsEnforced lookup"

8 years agoFix incorrect hstsEnforced lookup
Chad Brubaker [Sat, 7 Nov 2015 02:08:12 +0000 (18:08 -0800)]
Fix incorrect hstsEnforced lookup

Change-Id: I00364d8c1d3311bebd3ad88e557860e694ba5018

8 years agoMerge "Fix directory check in UserCertificateSource"
Chad Brubaker [Fri, 6 Nov 2015 21:10:54 +0000 (21:10 +0000)]
Merge "Fix directory check in UserCertificateSource"
am: 1483ee3aa5

* commit '1483ee3aa5737f9aff06021b5ec9fe3086ee2e66':
  Fix directory check in UserCertificateSource

8 years agoMerge "Fix incorrect hasPerDomainConfigs check"
Chad Brubaker [Fri, 6 Nov 2015 21:09:11 +0000 (21:09 +0000)]
Merge "Fix incorrect hasPerDomainConfigs check"
am: c5c51dafb3

* commit 'c5c51dafb3ede95622eb350dae0b662abb611925':
  Fix incorrect hasPerDomainConfigs check

8 years agoMerge "Fix directory check in UserCertificateSource"
Chad Brubaker [Fri, 6 Nov 2015 21:02:23 +0000 (21:02 +0000)]
Merge "Fix directory check in UserCertificateSource"

8 years agoMerge "Fix incorrect hasPerDomainConfigs check"
Chad Brubaker [Fri, 6 Nov 2015 21:02:01 +0000 (21:02 +0000)]
Merge "Fix incorrect hasPerDomainConfigs check"

8 years agoFix directory check in UserCertificateSource
Chad Brubaker [Fri, 6 Nov 2015 20:52:12 +0000 (12:52 -0800)]
Fix directory check in UserCertificateSource

If the user has not added any CAs to the user trust store the user-added
directory will not have been created.

Change-Id: I8b5f73af3c0761c56969874231004fedbf7badda

8 years agoFix incorrect hasPerDomainConfigs check
Chad Brubaker [Fri, 6 Nov 2015 20:50:31 +0000 (12:50 -0800)]
Fix incorrect hasPerDomainConfigs check

Change-Id: Iaeedbbcc5f12475d346a77dba84b38a1d3d8d346

8 years agoMerge "Use a builder for NetworkSecurityConfig"
Chad Brubaker [Fri, 6 Nov 2015 20:25:33 +0000 (20:25 +0000)]
Merge "Use a builder for NetworkSecurityConfig"
am: 7e98f2e697

* commit '7e98f2e6976fb38c5c3a7421547d1756ba5faafe':
  Use a builder for NetworkSecurityConfig

8 years agoMerge "Use a builder for NetworkSecurityConfig"
Chad Brubaker [Fri, 6 Nov 2015 20:21:29 +0000 (20:21 +0000)]
Merge "Use a builder for NetworkSecurityConfig"

8 years agoMerge "Take into account default app for default grants"
Svetoslav Ganov [Fri, 6 Nov 2015 00:40:48 +0000 (00:40 +0000)]
Merge "Take into account default app for default grants"
am: 7abb36599d

* commit '7abb36599d9537296d9a51f766152025c6ed0491':
  Take into account default app for default grants

8 years agoMerge "Take into account default app for default grants"
Svetoslav Ganov [Fri, 6 Nov 2015 00:34:21 +0000 (00:34 +0000)]
Merge "Take into account default app for default grants"

8 years agoTake into account default app for default grants
Svetoslav [Fri, 6 Nov 2015 00:33:02 +0000 (16:33 -0800)]
Take into account default app for default grants

Change-Id: Ib78c7dbda65d405bbf74544cad18e5e10bfcdeec

8 years agoMerge "Revert "Take into account default app for default grants""
Svetoslav Ganov [Fri, 6 Nov 2015 00:31:13 +0000 (00:31 +0000)]
Merge "Revert "Take into account default app for default grants""
am: 9ae3aeec53

* commit '9ae3aeec532ce5a7908d395049efb61399875360':
  Revert "Take into account default app for default grants"

8 years agoMerge "Revert "Take into account default app for default grants""
Svetoslav Ganov [Fri, 6 Nov 2015 00:24:59 +0000 (00:24 +0000)]
Merge "Revert "Take into account default app for default grants""

8 years agoRevert "Take into account default app for default grants"
Svetoslav Ganov [Fri, 6 Nov 2015 00:24:47 +0000 (00:24 +0000)]
Revert "Take into account default app for default grants"

Apparently OEMs can set the chooser so this patch is not enough since it assumes the chooser is a platform component.

This reverts commit fce33d58d87fd494686aae4e21332b58ec260b73.

Change-Id: I3b8e499d2f0a731a227d193f6c5d6ed528be2272

8 years agoMerge "When the incoming light source is invalid, don\'t generate any shadow"
Tenghui Zhu [Fri, 6 Nov 2015 00:00:33 +0000 (00:00 +0000)]
Merge "When the incoming light source is invalid, don\'t generate any shadow"
am: 3226c57321

* commit '3226c57321f15384ef7c1e93589c6d2a58cbe86c':
  When the incoming light source is invalid, don't generate any shadow

8 years agoMerge "When the incoming light source is invalid, don't generate any shadow"
Tenghui Zhu [Thu, 5 Nov 2015 23:56:56 +0000 (23:56 +0000)]
Merge "When the incoming light source is invalid, don't generate any shadow"

8 years agoWhen the incoming light source is invalid, don't generate any shadow
Teng-Hui Zhu [Thu, 5 Nov 2015 00:57:53 +0000 (16:57 -0800)]
When the incoming light source is invalid, don't generate any shadow

b/25417885

Change-Id: I4b87e35ca68091fd0409cb9fe9b9400af860a507

8 years agoUse a builder for NetworkSecurityConfig
Chad Brubaker [Thu, 5 Nov 2015 07:36:07 +0000 (23:36 -0800)]
Use a builder for NetworkSecurityConfig

The builder supports all the standard builder set* methods as well as
setting a parent builder to use when values are not set (recursively).
This allows us to have a level of inheretence in configurations without
complicating the lookup and trust checking logic by doing inheretence
when building the configs.

Change-Id: I054af83451e52761227479eadf9cb9803437505f

8 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master
Baligh Uddin [Thu, 5 Nov 2015 19:49:59 +0000 (19:49 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master

8 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master
Baligh Uddin [Thu, 5 Nov 2015 19:49:31 +0000 (19:49 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master

8 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master
Baligh Uddin [Thu, 5 Nov 2015 19:49:27 +0000 (19:49 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master

8 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master
Baligh Uddin [Thu, 5 Nov 2015 19:49:23 +0000 (19:49 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master

8 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master
Baligh Uddin [Thu, 5 Nov 2015 19:49:19 +0000 (19:49 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master

8 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master
Baligh Uddin [Thu, 5 Nov 2015 19:49:17 +0000 (19:49 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master

8 years agoMerge branch 'stage-aosp-master' of /usr/local/google/game/mirror/googleplex-android_...
Dan Albert [Thu, 5 Nov 2015 19:41:33 +0000 (19:41 +0000)]
Merge branch 'stage-aosp-master' of /usr/local/google/game/mirror/googleplex-android_googlesource_com/platform/frameworks/base into stage-aosp-master

8 years agoMerge "Use std::unique_ptr instead of UniquePtr."
Dan Albert [Thu, 5 Nov 2015 19:40:59 +0000 (19:40 +0000)]
Merge "Use std::unique_ptr instead of UniquePtr."
am: 22b7e496c2

* commit '22b7e496c23c76b1f6d94e3ce99f39f9d3bca973':
  Use std::unique_ptr instead of UniquePtr.

8 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master
Baligh Uddin [Thu, 5 Nov 2015 19:40:41 +0000 (19:40 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master

8 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master
Baligh Uddin [Thu, 5 Nov 2015 19:40:25 +0000 (19:40 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master

8 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master
Baligh Uddin [Thu, 5 Nov 2015 19:40:15 +0000 (19:40 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master

8 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master
Baligh Uddin [Thu, 5 Nov 2015 19:40:04 +0000 (19:40 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master

8 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master
Baligh Uddin [Thu, 5 Nov 2015 19:39:20 +0000 (19:39 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master

8 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master
Baligh Uddin [Thu, 5 Nov 2015 19:39:16 +0000 (19:39 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master

8 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master
Baligh Uddin [Thu, 5 Nov 2015 19:39:12 +0000 (19:39 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master

8 years agoMerge "Use std::unique_ptr instead of UniquePtr."
Dan Albert [Thu, 5 Nov 2015 19:32:43 +0000 (19:32 +0000)]
Merge "Use std::unique_ptr instead of UniquePtr."

8 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master
Baligh Uddin [Thu, 5 Nov 2015 19:32:07 +0000 (19:32 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master

8 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master
Baligh Uddin [Thu, 5 Nov 2015 19:32:05 +0000 (19:32 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master

8 years agoMerge "Add initial network security config implementation"
Chad Brubaker [Thu, 5 Nov 2015 18:52:46 +0000 (18:52 +0000)]
Merge "Add initial network security config implementation"
am: 8c35820720

* commit '8c358207206c5e19541c65e3f9761d1adb54550b':
  Add initial network security config implementation

8 years agoMerge "Add initial network security config implementation"
Chad Brubaker [Thu, 5 Nov 2015 18:46:24 +0000 (18:46 +0000)]
Merge "Add initial network security config implementation"

8 years agoMerge "Fixes for sm and pm usage"
Brian Carlstrom [Thu, 5 Nov 2015 18:42:53 +0000 (18:42 +0000)]
Merge "Fixes for sm and pm usage"
am: ffb15da518

* commit 'ffb15da518e35727e218bfba48927902d4368e2f':
  Fixes for sm and pm usage

8 years agoMerge "Fixes for sm and pm usage"
Brian Carlstrom [Thu, 5 Nov 2015 18:38:56 +0000 (18:38 +0000)]
Merge "Fixes for sm and pm usage"

8 years agoFixes for sm and pm usage
Brian Carlstrom [Thu, 5 Nov 2015 18:33:40 +0000 (10:33 -0800)]
Fixes for sm and pm usage

sm showed IllegalArgumentException after usage.
pm inconsistently used "return showUsage()"

Bug: 20948199
Change-Id: I5828489a9d4ef2eabfb97dd408d66e1560a5a983

8 years agoMerge "Don\'t apply clang flag to gcc builds."
Dan Albert [Thu, 5 Nov 2015 18:22:57 +0000 (18:22 +0000)]
Merge "Don\'t apply clang flag to gcc builds."
am: d9a1b35df6

* commit 'd9a1b35df62eddc56f69281aea1534d187b63205':
  Don't apply clang flag to gcc builds.

8 years agoMerge "Don't apply clang flag to gcc builds."
Dan Albert [Thu, 5 Nov 2015 18:18:45 +0000 (18:18 +0000)]
Merge "Don't apply clang flag to gcc builds."

8 years agoAvoid NPE in printspooler when changing language
Masaaki Iwaguchi [Fri, 3 Apr 2015 07:11:39 +0000 (16:11 +0900)]
Avoid NPE in printspooler when changing language

PrintActivity is recreated when the language setting is changed.
As a result of the recreation mCurrentPrinter is null, which causes
a NullPointerException when onActivityResult() is called.

The issue is solved with a simple null check.

Change-Id: Ic58f0ca01577d2ec02d494739f3bc2f06240dd44

8 years agoDon't apply clang flag to gcc builds.
Dan Albert [Thu, 5 Nov 2015 08:59:09 +0000 (00:59 -0800)]
Don't apply clang flag to gcc builds.

For whatever reason GCC doesn't fail the build on unknown flags unless
there is also a warning emitted. Since we're now deprecating
UniquePtr, the warning is thrown here and the build fails (despite not
being -Werror).

Bug: http://b/22403888
Change-Id: I4af7911a51f7af9aa47a596a76f3e9d79535585b

8 years agoUse std::unique_ptr instead of UniquePtr.
Dan Albert [Thu, 5 Nov 2015 08:57:12 +0000 (00:57 -0800)]
Use std::unique_ptr instead of UniquePtr.

We're deprecating UniquePtr, so we need to move to the real thing.

Bug: http://b/22403888
Change-Id: I5b7fdf4924dd8c12a8c7dba89278714ca6fdc60a

8 years agoMerge "Take into account default app for default grants"
Svetoslav Ganov [Thu, 5 Nov 2015 02:25:32 +0000 (02:25 +0000)]
Merge "Take into account default app for default grants"
am: 82eeb2f20c

* commit '82eeb2f20c934ddc97380032b3c8ecacc21d9a04':
  Take into account default app for default grants

8 years agoMerge "Enforce weaker grant if app is default handler for miltiple action"
Svetoslav Ganov [Thu, 5 Nov 2015 02:23:44 +0000 (02:23 +0000)]
Merge "Enforce weaker grant if app is default handler for miltiple action"
am: 035374d7a2

* commit '035374d7a29b4e0b0bc71bdfb3555b2e547ce1da':
  Enforce weaker grant if app is default handler for miltiple action

8 years agoMerge "Take into account default app for default grants"
Svetoslav Ganov [Thu, 5 Nov 2015 02:19:12 +0000 (02:19 +0000)]
Merge "Take into account default app for default grants"

8 years agoMerge "Enforce weaker grant if app is default handler for miltiple action"
Svetoslav Ganov [Thu, 5 Nov 2015 02:19:00 +0000 (02:19 +0000)]
Merge "Enforce weaker grant if app is default handler for miltiple action"

8 years agoEnforce weaker grant if app is default handler for miltiple action
Svetoslav [Tue, 3 Nov 2015 02:40:18 +0000 (18:40 -0800)]
Enforce weaker grant if app is default handler for miltiple action

Change-Id: Ibc46e458e277412ebb276eb5ba6f2765b6b6c5e9

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 4 Nov 2015 23:59:57 +0000 (15:59 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 25433205
Change-Id: I20cf8ac4a5039ead0a65bd2e38ded78542a7a3e8

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 4 Nov 2015 23:57:40 +0000 (15:57 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 25433205
Change-Id: I924e59eeff537a0f66ae7ac7ace1dacd1f89f35e

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 4 Nov 2015 23:48:25 +0000 (15:48 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 25433205
Change-Id: I200b933f68468a0e919d917ac93b33e4526bc1d0

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 4 Nov 2015 23:46:28 +0000 (15:46 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 25433205
Change-Id: I44df802e45a340d7ef7f094c6c06001d350bb0c5

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 4 Nov 2015 23:44:21 +0000 (15:44 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 25433205
Change-Id: I17d9389bfd2a83e57d20cb5de3e227cc34e09cbe

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 4 Nov 2015 23:39:05 +0000 (15:39 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 25433205
Change-Id: I55bd76c512148127b06a36950cf66da55c9295dc

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 4 Nov 2015 23:36:55 +0000 (15:36 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 25433205
Change-Id: I76a9ab65d1fe10e2915e5cd794a5cbce1697a933

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 4 Nov 2015 23:34:55 +0000 (15:34 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 25433205
Change-Id: I924dde8b982ce94128882b484e9c3e9dc5c49013

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 4 Nov 2015 23:32:37 +0000 (15:32 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 25433205
Change-Id: I76cc8d18dd82f9af09310685a88843eeb71a991c

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 4 Nov 2015 23:30:29 +0000 (15:30 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 25433205
Change-Id: Iec5d9e5b20c530e3056e2410af42fd8af8c16788

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 4 Nov 2015 23:28:25 +0000 (15:28 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 25433205
Change-Id: I790f09439e904a82ed90ec07f6bbdab1e8ef42d8

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 4 Nov 2015 23:26:15 +0000 (15:26 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 25433205
Change-Id: I87a141d9b4b2ac688432d52e1bbe15626b1f301b

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 4 Nov 2015 23:24:05 +0000 (15:24 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 25433205
Change-Id: I31e759c6b0da2ecb71418aa3033f832a9ee42250

8 years agoAdd initial network security config implementation
Chad Brubaker [Fri, 23 Oct 2015 22:33:56 +0000 (15:33 -0700)]
Add initial network security config implementation

Initial implementation of a unified application wide static
network security configuration.

This currently encompases:
* Trust decisions such as what trust anchors to use as well as static
  certificate pinning.
* Policy on what to do with cleartext traffic.

In order to prevent issues due to interplay of various components in an
application and their potentially different security requirements
configuration can be specified at a per-domain granularity in addition
to application wide defaults.

This change contains the internal data structures and trust management
code, hooking these up in application startup will come in a future
commit.

Change-Id: I53ce5ba510a4221d58839e61713262a8f4c6699c

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 4 Nov 2015 19:56:04 +0000 (11:56 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 25433205
Change-Id: I3ae0e8f44a5933c708d072f2053dbde77795e411

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 4 Nov 2015 19:51:55 +0000 (11:51 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 25433205
Change-Id: I46efa0b9d7293d80c68cb6a1e21dfaa509c6d7d2

8 years agoMerge "Built-in mic is not used when USB mic is disconnected"
Glenn Kasten [Wed, 4 Nov 2015 16:10:44 +0000 (16:10 +0000)]
Merge "Built-in mic is not used when USB mic is disconnected"
am: ebbdabdb82

* commit 'ebbdabdb826c083769e7d7bc102a59a04c9e0329':
  Built-in mic is not used when USB mic is disconnected

8 years agoMerge "Built-in mic is not used when USB mic is disconnected"
Glenn Kasten [Wed, 4 Nov 2015 16:03:41 +0000 (16:03 +0000)]
Merge "Built-in mic is not used when USB mic is disconnected"

8 years agoBuilt-in mic is not used when USB mic is disconnected
Alejandro Ochoa [Sat, 31 Oct 2015 02:05:00 +0000 (20:05 -0600)]
Built-in mic is not used when USB mic is disconnected

In some cases when the USB microphone is disconnected,
audio stack does not switch to the built-in microphone.
It gets stuck in a state where it still recognizes the
USB mic is still connected. Current device removal
implementation only considers USB output devices such
as headset. The same process should be used for input
USB devices (microphone).

Bug: 24932354
Change-Id: Ic2089ef5a9a318cb47336ade405f79eccd7129f8
Signed-off-by: Alejandro Ochoa <alejandro.ochoa@intel.com>
8 years agoMerge commit 'bce5116b8d10c91436445cd0a0830bb51702bfd4' into HEAD
Bill Yi [Tue, 3 Nov 2015 22:29:59 +0000 (14:29 -0800)]
Merge commit 'bce5116b8d10c91436445cd0a0830bb51702bfd4' into HEAD

8 years agoMerge "[ActivityManager] Fix NullPointerException in startNextMatchingActivity."
Wale Ogunwale [Tue, 3 Nov 2015 15:13:24 +0000 (15:13 +0000)]
Merge "[ActivityManager] Fix NullPointerException in startNextMatchingActivity."
am: 7810aed854

* commit '7810aed85408bddc4cc0c65e5be8d082c638d995':
  [ActivityManager] Fix NullPointerException in startNextMatchingActivity.

8 years agoMerge "[ActivityManager] Fix NullPointerException in startNextMatchingActivity."
Wale Ogunwale [Tue, 3 Nov 2015 15:09:32 +0000 (15:09 +0000)]
Merge "[ActivityManager] Fix NullPointerException in startNextMatchingActivity."

8 years ago[ActivityManager] Fix NullPointerException in startNextMatchingActivity.
joanne_chung [Mon, 2 Nov 2015 04:41:34 +0000 (12:41 +0800)]
[ActivityManager] Fix NullPointerException in startNextMatchingActivity.

Symptom:
NullPointerException crash while call startNextMatchingActivity.

Root Cause:
Activity starts with FLAG_DEBUG_LOG_RESOLUTION for debug dump.
If the current Activity is the last object of resolves list,
  we can not get the next Activity and aInfo is still null.

Solution:
Check null in debug log dump.

Change-Id: I4c5d14d9acd8d47768b36c95354763841579e050

8 years agoTake into account default app for default grants
Svetoslav [Tue, 3 Nov 2015 00:41:53 +0000 (16:41 -0800)]
Take into account default app for default grants

Use the correct API to query activities when granting
default permissions to ensure the preferred apps are
taken into account. This allows OEMs to customize which
app should get default permission grants if there is
more than one resolving to the query intent.

Change-Id: I047f22dfff773a2ba9de1a0144442e372607777c

8 years agoMerge "BluetoothMidiDevice: change write type to support JamStik"
Glenn Kasten [Mon, 2 Nov 2015 23:06:04 +0000 (23:06 +0000)]
Merge "BluetoothMidiDevice: change write type to support JamStik"
am: 6079b990f1

* commit '6079b990f1461011a9dedb47cc65db1ce062e199':
  BluetoothMidiDevice: change write type to support JamStik

8 years agoMerge "BLE-MIDI: change binding for BluetoothMidiService"
Glenn Kasten [Mon, 2 Nov 2015 23:04:42 +0000 (23:04 +0000)]
Merge "BLE-MIDI: change binding for BluetoothMidiService"
am: 5831944a6e

* commit '5831944a6e99eff746e70d6ee9532ec3e3f32918':
  BLE-MIDI: change binding for BluetoothMidiService

8 years agoMerge "MidiBluetoothService: add new device to HashMap"
Glenn Kasten [Mon, 2 Nov 2015 23:03:18 +0000 (23:03 +0000)]
Merge "MidiBluetoothService: add new device to HashMap"
am: 9b07ba4bc3

* commit '9b07ba4bc33319d6db8de173a24eb13b2d7f0b50':
  MidiBluetoothService: add new device to HashMap

8 years agoMerge "MidiManager: fix double BTLE callback"
Glenn Kasten [Mon, 2 Nov 2015 23:01:49 +0000 (23:01 +0000)]
Merge "MidiManager: fix double BTLE callback"
am: bbf34d0bd1

* commit 'bbf34d0bd1bc4f85c9af614291925f5da1fa0459':
  MidiManager: fix double BTLE callback

8 years agoMerge "MidiService: update listener with current status when registered"
Glenn Kasten [Mon, 2 Nov 2015 23:00:15 +0000 (23:00 +0000)]
Merge "MidiService: update listener with current status when registered"
am: d4e9b9e4ac

* commit 'd4e9b9e4ac4196d37b0a5e59867f5a51018f4087':
  MidiService: update listener with current status when registered

8 years agoMerge "BluetoothMidiDevice: change write type to support JamStik"
Glenn Kasten [Mon, 2 Nov 2015 22:51:29 +0000 (22:51 +0000)]
Merge "BluetoothMidiDevice: change write type to support JamStik"

8 years agoMerge "BLE-MIDI: change binding for BluetoothMidiService"
Glenn Kasten [Mon, 2 Nov 2015 22:51:18 +0000 (22:51 +0000)]
Merge "BLE-MIDI: change binding for BluetoothMidiService"

8 years agoMerge "MidiBluetoothService: add new device to HashMap"
Glenn Kasten [Mon, 2 Nov 2015 22:51:12 +0000 (22:51 +0000)]
Merge "MidiBluetoothService: add new device to HashMap"

8 years agoMerge "MidiManager: fix double BTLE callback"
Glenn Kasten [Mon, 2 Nov 2015 22:51:02 +0000 (22:51 +0000)]
Merge "MidiManager: fix double BTLE callback"

8 years agoMerge "MidiService: update listener with current status when registered"
Glenn Kasten [Mon, 2 Nov 2015 22:50:50 +0000 (22:50 +0000)]
Merge "MidiService: update listener with current status when registered"

8 years agoBluetoothMidiDevice: change write type to support JamStik
Phil Burk [Tue, 22 Sep 2015 19:07:31 +0000 (12:07 -0700)]
BluetoothMidiDevice: change write type to support JamStik

Temporarily use a Request instead of a Command so that the JamStik
will be properly enabled.

Bug: 24207964
Change-Id: I3d11732958c46e6039405b5969d5af0db8032fb9
Signed-off-by: Phil Burk <philburk@google.com>
(cherry picked from commit 95129f50c68c734c5ebdf32ff6b8b9c63cc1ada7)