Commit Graph

301953 Commits

Author SHA1 Message Date
Yohann Roussel
dd6f64e3af Merge "Fix LOCAL_SDK_VERSION of 3 multidex apks" am: 43c98c74fe am: ef5d1cb3b4 am: 1c0070aa5d
am: 46848cada3

Change-Id: I8703a23d833bd54cff281e4ba29b236dc9d76125
2017-01-06 09:53:42 +00:00
Yohann Roussel
46848cada3 Merge "Fix LOCAL_SDK_VERSION of 3 multidex apks" am: 43c98c74fe am: ef5d1cb3b4
am: 1c0070aa5d

Change-Id: I94912d6e633d7869f31a0f6323d4bc7d8e901db8
2017-01-06 09:50:07 +00:00
Narayan Kamath
6453db68ca PackageManagerService: Enable package parse cache.
Bug: 30792387
Test: FrameworksServicesTests

Change-Id: I817adea928832993afa6182d0510be8abf38e4bb
2017-01-06 09:47:44 +00:00
Yohann Roussel
1c0070aa5d Merge "Fix LOCAL_SDK_VERSION of 3 multidex apks" am: 43c98c74fe
am: ef5d1cb3b4

Change-Id: Ia2f1b08cf63b6543be1e50786ba9090ffedc1431
2017-01-06 09:42:44 +00:00
Yohann Roussel
ef5d1cb3b4 Merge "Fix LOCAL_SDK_VERSION of 3 multidex apks"
am: 43c98c74fe

Change-Id: I8475d98d4d4eaf3801c9c13570f36a10c525daa3
2017-01-06 09:38:33 +00:00
Yohann Roussel
43c98c74fe Merge "Fix LOCAL_SDK_VERSION of 3 multidex apks" 2017-01-06 09:29:26 +00:00
Narayan Kamath
3aea733059 Merge "PackageManagerService: Implement packageParser cache in ParallelPackageParser." 2017-01-06 09:14:03 +00:00
Alain Vongsouvanh
c4046b5542 bools: fix use_lock_pattern_drawable javadoc.
Change-Id: If135544edb499ee64117bf81c6e3d0eebbfcff00
2017-01-05 22:54:07 -08:00
Lorenzo Colitti
9f19a7f3b9 Merge "Temporarily restore the net.dnsX system properties." 2017-01-06 03:15:28 +00:00
Lorenzo Colitti
e3b85dfbc1 Temporarily restore the net.dnsX system properties.
This will limit app breakage in dogfood. The plan is to remove
these obsolete system properties again in O developer preview
builds so that application developers can move away from them.

Test: marlin boots and net.dnsX exists and is updated correctly

Bug: 33308258
Bug: 33807046
Bug: 34028616
Bug: 34115651
Change-Id: Iaf2fa213c314b7ba251c065b304e7e9869bafe9f
2017-01-06 03:09:18 +00:00
TreeHugger Robot
a4a3e9df7a Merge "Null checks on content resolver query" 2017-01-06 02:42:05 +00:00
Ajay Panicker
d02e1c3024 Merge "Prevent LocalSocket from creating an fd if fd is already there" am: 616910fd53 am: d76576b6d1 am: e0211af867
am: af525ff403

Change-Id: I564721fb1ba889cd159f10e769aee4a5bee3db67
2017-01-06 01:57:10 +00:00
Ajay Panicker
af525ff403 Merge "Prevent LocalSocket from creating an fd if fd is already there" am: 616910fd53 am: d76576b6d1
am: e0211af867

Change-Id: I5ac57ca6439359fc65622254090a3ea6cc2aec18
2017-01-06 01:50:03 +00:00
Ajay Panicker
e0211af867 Merge "Prevent LocalSocket from creating an fd if fd is already there" am: 616910fd53
am: d76576b6d1

Change-Id: I0b59b10a095bf23d4f26856690bf6be2a5304cbc
2017-01-06 01:46:10 +00:00
Ajay Panicker
d76576b6d1 Merge "Prevent LocalSocket from creating an fd if fd is already there"
am: 616910fd53

Change-Id: I90192dd7e656b9bec62815ad628fc4e67f806240
2017-01-06 01:41:09 +00:00
Julia Reynolds
d791bbcf81 Merge "Wait 100 ms for assistant response before posting." 2017-01-06 01:30:47 +00:00
Treehugger Robot
616910fd53 Merge "Prevent LocalSocket from creating an fd if fd is already there" 2017-01-06 01:29:47 +00:00
Yorke Lee
64fd1ce256 Fix for onTaskRemovalStarted callback being sent incorrectly
Bug: 34114125
Test: Manual - onTaskRemovalStarted is not sent when
activity requests different orientation.

Change-Id: I76e907b299ebf95de73e1f4ba142bb9857d6eda4
2017-01-06 01:27:52 +00:00
Steven Moreland
80239f6cc3 Merge "HwBinder: get/register checked exceptions." am: 9ec4fec5ca am: 3290ba072b am: 94924f38fb
am: 4d3caf3938

Change-Id: I122d2793b188278a29bd78be0e59aa541a007e8a
2017-01-06 01:20:32 +00:00
Steven Moreland
4d3caf3938 Merge "HwBinder: get/register checked exceptions." am: 9ec4fec5ca am: 3290ba072b
am: 94924f38fb

Change-Id: I3b871a941856fdeb0e989aeaadc5fdbc7732b681
2017-01-06 01:16:02 +00:00
Alain Vongsouvanh
2c47660da3 Merge "resolve merge conflicts of cb29c97907 to nyc-mr2-dev-plus-aosp" into nyc-mr2-dev-plus-aosp
am: 9b89e5b02c

Change-Id: Ic8b7884517db042123f6e86a36461dc75d913cde
2017-01-06 01:12:14 +00:00
Alain Vongsouvanh
cb882390e3 resolve merge conflicts of cb29c97907 to nyc-mr2-dev-plus-aosp
am: c89202e177  -s ours

Change-Id: I3ff67feedc356ba2690f0702df77e842d95611e9
2017-01-06 01:12:06 +00:00
Steven Moreland
94924f38fb Merge "HwBinder: get/register checked exceptions." am: 9ec4fec5ca
am: 3290ba072b

Change-Id: I49ee88cca2b2da0eac8d73cf408d2c5bfb409ce9
2017-01-06 01:09:26 +00:00
Steven Moreland
3290ba072b Merge "HwBinder: get/register checked exceptions."
am: 9ec4fec5ca

Change-Id: Id6abc10992428af2e55cb5228c298b69c111c621
2017-01-06 01:05:02 +00:00
sergeyv
6e3658a638 Hidden method to get a graphic buffer from a hardware bitmap
Test: locally tested Bitmap.getGraphicBuffer()
bug:30999911
Change-Id: I68d56d769045bada6a5db90ed884a570c49be4fd
2017-01-05 17:03:48 -08:00
TreeHugger Robot
0a454c39cb Merge "Only parse new IA category when needed." 2017-01-06 01:00:18 +00:00
Treehugger Robot
9ec4fec5ca Merge "HwBinder: get/register checked exceptions." 2017-01-06 00:58:17 +00:00
Evgenii Stepanov
2a0c0fd40c Merge "Fix stack-buffer-overflow detected by AddressSanitizer." am: 1d8995aa9c am: bd38f6f4f8 am: 97e98f18b7
am: ac87a46d0b  -s ours

Change-Id: Ib289e3c25ecafb23c13c9ee034c62167855de225
2017-01-06 00:47:32 +00:00
Andrew Sapperstein
7518471ab6 Add temperature config for high temp warning.
Adds an integer resource (config_warningTemperature) that is used
to display the high temp warning. If it is set to less than 0,
the value from HardwarePropertiesManager#getDeviceTemperatures(
HardwarePropertiesManager.DEVICE_TEMPERATURE_SKIN,
HardwarePropertiesManager.TEMPERATURE_THROTTLING) is used instead.

Test: manual
Bug: 30995038
Change-Id: I05aa1b5930c6c151ebac439dfd5c00b3305dc46d
2017-01-05 16:45:37 -08:00
TreeHugger Robot
9b89e5b02c Merge "resolve merge conflicts of cb29c97907 to nyc-mr2-dev-plus-aosp" into nyc-mr2-dev-plus-aosp 2017-01-06 00:42:35 +00:00
Evgenii Stepanov
ac87a46d0b Merge "Fix stack-buffer-overflow detected by AddressSanitizer." am: 1d8995aa9c am: bd38f6f4f8
am: 97e98f18b7

Change-Id: I9bf7d8e447796196d44055a29936de3d68f9ece9
2017-01-06 00:36:33 +00:00
Amin Shaikh
cf9ad83520 Merge "Fix NetworkScorerAppManager#isCallerActiveScorer." am: 48eecdcbc4 am: 7495cf633c am: d7f371813a
am: ea7931d107

Change-Id: I193abae0fef7cb976ef970085363822f4770215c
2017-01-06 00:29:31 +00:00
Evgenii Stepanov
97e98f18b7 Merge "Fix stack-buffer-overflow detected by AddressSanitizer." am: 1d8995aa9c
am: bd38f6f4f8

Change-Id: Id28b9734e27b62f2eb642a4193482e9026f8f3b7
2017-01-06 00:29:29 +00:00
Evgenii Stepanov
bd38f6f4f8 Merge "Fix stack-buffer-overflow detected by AddressSanitizer."
am: 1d8995aa9c

Change-Id: I65a468b94b1bc927bb4cff8b08a08dc6a8aca09e
2017-01-06 00:25:28 +00:00
Amin Shaikh
ea7931d107 Merge "Fix NetworkScorerAppManager#isCallerActiveScorer." am: 48eecdcbc4 am: 7495cf633c
am: d7f371813a

Change-Id: I8fc3a45a910294c46982bac9a3f6e183977aad16
2017-01-06 00:21:56 +00:00
Treehugger Robot
1d8995aa9c Merge "Fix stack-buffer-overflow detected by AddressSanitizer." 2017-01-06 00:17:00 +00:00
Amin Shaikh
d7f371813a Merge "Fix NetworkScorerAppManager#isCallerActiveScorer." am: 48eecdcbc4
am: 7495cf633c

Change-Id: Ie6913526fbc1b0ae63eb7c0c7be7d9eac5772f50
2017-01-06 00:15:01 +00:00
Alain Vongsouvanh
c89202e177 resolve merge conflicts of cb29c97907 to nyc-mr2-dev-plus-aosp
Change-Id: I22ff2e61c0d46310e62fa45f98e11a5bba3d5f1a
2017-01-05 16:11:25 -08:00
TreeHugger Robot
4471609235 Merge "Add Theme and ThemeOverride for new Settings" 2017-01-06 00:10:28 +00:00
Amin Shaikh
7495cf633c Merge "Fix NetworkScorerAppManager#isCallerActiveScorer."
am: 48eecdcbc4

Change-Id: I6b9ecd35dbc0758cd45b804dc9586287428af293
2017-01-06 00:08:19 +00:00
Treehugger Robot
48eecdcbc4 Merge "Fix NetworkScorerAppManager#isCallerActiveScorer." 2017-01-05 23:57:54 +00:00
Makoto Onuki
f6f244bae7 Merge "Bugreport sharing is now work profile aware" 2017-01-05 23:57:46 +00:00
Ajay Panicker
7a8c36aa4e Prevent LocalSocket from creating an fd if fd is already there
Any LocalSocket created with a FileDescriptor will throw IOExceptions
when performing most opperations due to the fact that the LocalSocket
tries to create an implementation but fails since there is a FileDescriptor
already set.

Bug: 34095140
Test: Setup using tap&go
Change-Id: Ie8f50def6156c16617697d939d6c0ab570281642
2017-01-05 23:52:30 +00:00
Fan Zhang
8bfb3eac94 Only parse new IA category when needed.
Bug: 34103984
Test: RunSettingsLibRoboTests
Change-Id: I66dd023dc119e06fded9409f03fb8e12200857db
2017-01-05 15:30:42 -08:00
Alain Vongsouvanh
5549258eea resolve merge conflicts of 2fda2ce159 to nyc-mr1-dev-plus-aosp
Change-Id: Ia35164bd4ea262fa72afb7b78a47b0e4f0ef96ba
2017-01-05 15:27:37 -08:00
Jeff Sharkey
e8cece9f20 Initial API shape for storage statistics.
This API is designed to provide both UID-level stats and overall
summary data for a given storage device, as identified by UUID.

The use of UID-level granularity might appear a bit clunky, but it
matches other usage statistics (such as network and battery), and it
allows us to implement it using an extremely fast quota kernel
feature.

A future CL will wire up the implementation to installd.

Test: builds, boots
Bug: 32206268
Change-Id: I7b51877682d0370c2402c19346f57809f0e7ac53
2017-01-05 15:39:16 -07:00
TreeHugger Robot
54217e5c25 Merge "Added SystemServerInitThreadPool" 2017-01-05 22:37:44 +00:00
Fan Zhang
9db32f35fb Add Theme and ThemeOverride for new Settings
Bug: 33558692
Test: visual inspection

The new action bar theme has
- light background
- colorAccent as textColorPrimary
- no elevation

Change-Id: I4c1b88410701a35b0e2305d9162ba448d1f5d67b
2017-01-05 14:29:23 -08:00
Amin Shaikh
2cd918a63e Fix NetworkScorerAppManager#isCallerActiveScorer.
The current implementation checks whether the caller's uid has the
SCORE_NETWORKS permission instead of checking the passed in callingUid. I
removed this check entirely because the getActiveScorer method already checks
whether the scorer's package has the SCORE_NETWORKS permission. There is no way
callingUid can equal the active scoring package's uid without also having the
SCORE_NETWORKS permission.

Bug: 34107721
Test: runtest --path core/tests/coretests/src/android/net/NetworkScorerAppManagerTest.java
Change-Id: Ifd427792169837c84a10a76b208c76137db06ae9
2017-01-05 14:28:47 -08:00
Makoto Onuki
ff329c4329 Bugreport sharing is now work profile aware
Now we look at work profile too, if available, when looking for a preferred
email address.

TODO: The chooser activity should default to work profile too, but it seems
to require a lot more work, so not done yet.

Test: manual tests
Test: adb shell am instrument -w -e class com.android.shell.BugreportProgressServiceTest com.android.shell.tests

Bug 30865666

Change-Id: I9b4776d53455a23bfdc4960da25e98bd1dc1b2a1
2017-01-05 14:14:51 -08:00