OSDN Git Service

android-x86/frameworks-base.git
7 years agoPropagate revoked permissions in permission review mode
Svet Ganov [Tue, 17 Jan 2017 03:22:37 +0000 (19:22 -0800)]
Propagate revoked permissions in permission review mode

In permission review mode we represent install permissions for legacy
apps as constantly granted runtime ones since we need to keep per
user flags associated with a permission. We were not propagating
a revoked permission for a legacy app when the later is upgraded to
a modern app when permission review is enabled.

Test: CTS test passes and manual testing worked fine

Change-Id: I32b8ffee89cc034661f8eb5a172dbe2349ea4a18

7 years agoMerge "Fix documentaiton formatting errors."
Ashutosh Joshi [Tue, 17 Jan 2017 03:25:00 +0000 (03:25 +0000)]
Merge "Fix documentaiton formatting errors."

7 years agoCreate GraphicsEnvironment for communicating with driver loaders am: 79bf392dc6 ...
Jesse Hall [Tue, 17 Jan 2017 01:58:39 +0000 (01:58 +0000)]
Create GraphicsEnvironment for communicating with driver loaders am: 79bf392dc6  -s ours
am: f389983277  -s ours

Change-Id: I8000b70ea5acbfc5c4b0d3c07b97734a2de3696f

7 years agoCreate GraphicsEnvironment for communicating with driver loaders
Jesse Hall [Tue, 17 Jan 2017 01:56:59 +0000 (01:56 +0000)]
Create GraphicsEnvironment for communicating with driver loaders
am: 17ee3aac28

Change-Id: I7ff1c3b646a7b71595e7daac90caefcc55020727

7 years agoMerge "Stop preloading EGL/GLES in Zygote" into nyc-mr2-dev am: a959ccbc33 -s ours
Jesse Hall [Tue, 17 Jan 2017 01:55:50 +0000 (01:55 +0000)]
Merge "Stop preloading EGL/GLES in Zygote" into nyc-mr2-dev am: a959ccbc33  -s ours
am: 5274672467  -s ours

Change-Id: I37c8b54bc4cfbb6c9a823002a0052ea1ba84e089

7 years agoStop preloading EGL/GLES in Zygote am: 93f630e1c3
Jesse Hall [Tue, 17 Jan 2017 01:52:07 +0000 (01:52 +0000)]
Stop preloading EGL/GLES in Zygote am: 93f630e1c3
am: 4f6a5b7c43  -s ours

Change-Id: Iad1675753bf2c5034b64e2fe1b6db858b4cd0ea9

7 years agoMerge "Merge "Add WearCellularMediatorService to the system server." into cw-f-dev...
Wei Liu [Tue, 17 Jan 2017 01:44:52 +0000 (01:44 +0000)]
Merge "Merge "Add WearCellularMediatorService to the system server." into cw-f-dev am: 7a6c54128a am: 692089376b" into nyc-mr2-dev-plus-aosp
am: 9b02272ce5

Change-Id: I8027b976059f8a653ad62eef5d5ef13500999e81

7 years agoMerge "Add WearCellularMediatorService to the system server." into cw-f-dev am: 7a6c5...
Wei Liu [Tue, 17 Jan 2017 01:44:41 +0000 (01:44 +0000)]
Merge "Add WearCellularMediatorService to the system server." into cw-f-dev am: 7a6c54128a am: 692089376b
am: fc1eb260ea

Change-Id: I206437deb7870706912acdfe7ddfe3e108ba3020

7 years agoMerge "Add WearCellularMediatorService to the system server." into cw-f-dev am: 7a6c5...
Wei Liu [Tue, 17 Jan 2017 01:43:30 +0000 (01:43 +0000)]
Merge "Add WearCellularMediatorService to the system server." into cw-f-dev am: 7a6c54128a am: 8ca47c7746
am: d2ee16096f

Change-Id: I9a3747bca5ea4eff8a8c7d81cb98c41f8a34e983

7 years agoMerge "Add WearCellularMediatorService to the system server. am: d741f3de81 am: e0d2c...
Wei Liu [Tue, 17 Jan 2017 01:41:13 +0000 (01:41 +0000)]
Merge "Add WearCellularMediatorService to the system server. am: d741f3de81 am: e0d2c77a50" into nyc-mr2-dev-plus-aosp
am: 6a5bf5ef71

Change-Id: I72d10becb6deecc259dbb888c59f3449f0a1cf22

7 years agoAdd WearCellularMediatorService to the system server. am: d741f3de81 am: e0d2c77a50
Wei Liu [Tue, 17 Jan 2017 01:39:12 +0000 (01:39 +0000)]
Add WearCellularMediatorService to the system server. am: d741f3de81 am: e0d2c77a50
am: bd538c2e96

Change-Id: I7dbc21fed9cd72b13e02d50dc63993f6ba4656ff

7 years agoMerge "resolve merge conflicts of 989b267015b9 to master"
TreeHugger Robot [Tue, 17 Jan 2017 01:35:29 +0000 (01:35 +0000)]
Merge "resolve merge conflicts of 989b267015b9 to master"

7 years agoresolve merge conflicts of 989b267015b9 to master
Zach Johnson [Mon, 16 Jan 2017 23:15:25 +0000 (15:15 -0800)]
resolve merge conflicts of 989b267015b9 to master

Change-Id: I0c967e85eb73664e236c0b7286ed14facdb327fa

7 years agoMerge "Add supportsDismissingSelfWindow attribute of IME"
TreeHugger Robot [Mon, 16 Jan 2017 23:09:43 +0000 (23:09 +0000)]
Merge "Add supportsDismissingSelfWindow attribute of IME"

7 years agoMerge "Adds annotations to Intent, and enables ChooserActivity to rank apps according...
Kang Li [Mon, 16 Jan 2017 21:36:06 +0000 (21:36 +0000)]
Merge "Adds annotations to Intent, and enables ChooserActivity to rank apps according to annotations."

7 years agoMerge "Use screenshotToBuffer"
TreeHugger Robot [Mon, 16 Jan 2017 18:26:20 +0000 (18:26 +0000)]
Merge "Use screenshotToBuffer"

7 years agoMerge "Make device wide DO features available if all users affiliated"
TreeHugger Robot [Mon, 16 Jan 2017 18:09:47 +0000 (18:09 +0000)]
Merge "Make device wide DO features available if all users affiliated"

7 years agoMerge changes Ia7a8a27f,I0646aab6,Ia324f18d,I38c6c6df,Ic9214929, ...
Diego Perez [Mon, 16 Jan 2017 18:05:48 +0000 (18:05 +0000)]
Merge changes Ia7a8a27f,I0646aab6,Ia324f18d,I38c6c6df,Ic9214929, ...

* changes:
  Add missing attributes to old themes
  Fix plurals support in layoutlib
  Do not log errors while loading string arrays
  Hack to deal with android:pointerIcon in layoutlib
  Force animateFirstValue to false
  Avoid passing antialias when measuring scaled text
  Catch all exceptions in NativeAllocationRegistry free

7 years agoMerge "Call layout when doing an only-measure pass"
Jerome Gaillard [Mon, 16 Jan 2017 17:40:12 +0000 (17:40 +0000)]
Merge "Call layout when doing an only-measure pass"

7 years agoUse screenshotToBuffer
Jorim Jaggi [Wed, 11 Jan 2017 23:44:33 +0000 (00:44 +0100)]
Use screenshotToBuffer

To avoid copying buffers. Yay!

Test: Open app, go to recents, make sure screenshot is showing.
Bug: 31339431
Change-Id: I62736b8ba9ca45155d602286de8280304160bbd6

7 years agoAdd missing attributes to old themes
Diego Perez [Fri, 9 Dec 2016 13:59:57 +0000 (13:59 +0000)]
Add missing attributes to old themes

Because we always use the latest framework code, some resources might
fail to resolve when using old themes (they haven't been backported).
Since this is an artifact caused by us using always the latest code, we
check for some of those values and replace them here.

Bug: http://b.android.com/225105
Test: Included new testActivityOnOldTheme
Change-Id: Ia7a8a27fb81fe0b4a1e0c9610a2033a87720864d

7 years agoFix plurals support in layoutlib
Diego Perez [Mon, 5 Dec 2016 17:47:23 +0000 (17:47 +0000)]
Fix plurals support in layoutlib

Bug: http://b.android.com/213000
Test: Manually tested on Android Studio. Adding tests for this specific
case requires bringing a new sdk-common prebuilt to the the maintenance
branch so it's not really practical.

Change-Id: I0646aab656d5d5769355c6cc026e877b8784d173

7 years agoDo not log errors while loading string arrays
Diego Perez [Fri, 2 Dec 2016 11:16:26 +0000 (11:16 +0000)]
Do not log errors while loading string arrays

When arrays contain references, if we can not resolve them, just return
the reference string. This matches the behaviour of resource resolution
in BridgeTypeArray.

Bug: http://b.android.com/228620
Test: Updates existing tests
Change-Id: Ia324f18d9128b8abf2ba676a83d4b424914e2c88

7 years agoHack to deal with android:pointerIcon in layoutlib
Jerome Gaillard [Fri, 25 Nov 2016 17:28:05 +0000 (17:28 +0000)]
Hack to deal with android:pointerIcon in layoutlib

android:pointerIcon is a View attribute that can be an enum or a
reference. Layoutlib cannot easily deal with the way that is handled
in the platform. As the property would not have any impact on the
result in layoutlib, that property is bypassed.

Test: Main.testAllWidgets
Change-Id: I38c6c6df45c1836d44b4f80245a453fb432ea251

7 years agoForce animateFirstValue to false
Diego Perez [Thu, 10 Nov 2016 16:29:22 +0000 (16:29 +0000)]
Force animateFirstValue to false

This CL forces both animateFirstValue and animateLayoutChanges to false
in themes when running layoutlib. This helps with the rendering of some
widgets so they do not rely on animations.

Test: Test as part of testActivity
Change-Id: Ic9214929d3582bc3e0a196d198cc4fb36347c782

7 years agoAvoid passing antialias when measuring scaled text
Diego Perez [Tue, 2 Aug 2016 12:48:08 +0000 (13:48 +0100)]
Avoid passing antialias when measuring scaled text

This is a workaround for a JDK bug that crashes the VM when
measuring scaled antialsed text.
This disables antialiasing when measuring scaled text in a specific
version of the VM.

Bug: http://b.android.com/211659
Change-Id: I637ed03cf827b65c993550998ac55d42869237ad

7 years agoCatch all exceptions in NativeAllocationRegistry free
Diego Perez [Thu, 21 Jul 2016 16:54:42 +0000 (17:54 +0100)]
Catch all exceptions in NativeAllocationRegistry free

The NativeAllocationRegistry delegate free calls might run in the
context of the finalizer thread. If a crash happens during the free
call, it might bring down the finalizer thread and the VM.

Bug: http://b.android.com/213927
Change-Id: I8d4b8ab5b8d0532aad46f27d039a943894e021a0

7 years agoDelete Canvas_Delegate.nClipRegion after Change I71f9bd68
Jerome Gaillard [Mon, 16 Jan 2017 15:16:20 +0000 (15:16 +0000)]
Delete Canvas_Delegate.nClipRegion after Change I71f9bd68

Test: layoutlib tests
Change-Id: I9c04fa258cdaf06972b205e5dd5d3b505e5bea17

7 years agoCall layout when doing an only-measure pass
Diego Perez [Mon, 21 Nov 2016 15:10:34 +0000 (15:10 +0000)]
Call layout when doing an only-measure pass

Test: Modified testScrolled to check the only-measure behaviour
Change-Id: Ie86c329e0f7d9135d53274977e24f431f5edc201
(cherry picked from commit 2d657bc344717281e470430b05adaa32fbd0af00)

7 years agoMerge "Update layoutlib following Change Id10ca97f on FontFamily"
Jerome Gaillard [Mon, 16 Jan 2017 14:24:51 +0000 (14:24 +0000)]
Merge "Update layoutlib following Change Id10ca97f on FontFamily"

7 years agoMerge "Add measure only call to layoutlib"
Jerome Gaillard [Mon, 16 Jan 2017 14:24:09 +0000 (14:24 +0000)]
Merge "Add measure only call to layoutlib"

7 years agoMerge "Create a mock Display Mode"
Jerome Gaillard [Mon, 16 Jan 2017 14:20:46 +0000 (14:20 +0000)]
Merge "Create a mock Display Mode"

7 years agoMerge "PackageParser: Disable package cache on "eng" builds."
Narayan Kamath [Mon, 16 Jan 2017 13:28:44 +0000 (13:28 +0000)]
Merge "PackageParser: Disable package cache on "eng" builds."

7 years agoMake device wide DO features available if all users affiliated
Esteban Talavera [Thu, 15 Dec 2016 08:51:45 +0000 (08:51 +0000)]
Make device wide DO features available if all users affiliated

Currently, those features are available on single user devices only
(since they collect privacy sensitive data device wide). Now making
them available as long as all users are affiliated.

It'll take a certain amount of time between user creation and the DPC
of that new user setting the appropriate affiliation ids. The DO won't
be able to access the logs during that time (and won't get any "logs
ready" callback). Once the affiliation ids are set, if they match,
logs become available again - this includes logs collected while the
user was being setup. Some logs might be lost though if the amount of
data exceeds the internal limit.

Test: runtest -c com.android.server.devicepolicy.DevicePolicyManagerTest frameworks-services

Test: cts-tradefed run cts -a armeabi-v7a --module CtsDevicePolicyManagerTestCases --test com.android.cts.devicepolicy.DeviceOwnerTest

Bug: 32326223

Change-Id: Idfe881dd6497d3ad2bead10addfd37b98b8a6e2b

7 years agoMerge "IP connectivity metrics: fix tests"
Hugo Benichi [Mon, 16 Jan 2017 08:28:43 +0000 (08:28 +0000)]
Merge "IP connectivity metrics: fix tests"

7 years agoStricter NetworkNotificationManagerTest
Hugo Benichi [Tue, 20 Dec 2016 00:57:43 +0000 (09:57 +0900)]
Stricter NetworkNotificationManagerTest

This patch changes NetworkNotificationManagerTest to populate extraInfo
of NetworkInfo in order to catch regressions in malformed format Strings
of log statements in NetworkNotificationManager.

Test: verified that the test fails when reintroducing the format String
bug.
Bug: 33737715

(cherry picked from commit a865790a5b30a2d5e29e3d443e7b02a5d8aa01a4)

Change-Id: Ic2f23e860a17cb83b90edcfd2ba365134cacfe36

7 years agoIP connectivity metrics: fix tests
Hugo Benichi [Mon, 16 Jan 2017 05:42:56 +0000 (14:42 +0900)]
IP connectivity metrics: fix tests

Change 4e89a026292338761838b33fc83b250f3519819c did not update the unit
tests checking serialization of ipconnectivity.proto protobufs.

This patch updates the tests expectations to make them pass again

Test: $ runtest frameworks-net
Bug: 34232829
Change-Id: Iccc4e1a7714c9ce1eba995dc47a2961216efc87d

7 years agoMerge "GNSS O Features according to go/o-gps-hal"
TreeHugger Robot [Mon, 16 Jan 2017 03:38:56 +0000 (03:38 +0000)]
Merge "GNSS O Features according to go/o-gps-hal"

7 years agoAdd supportsDismissingSelfWindow attribute of IME
Tadashi G. Takaoka [Wed, 11 Jan 2017 06:51:44 +0000 (15:51 +0900)]
Add supportsDismissingSelfWindow attribute of IME

When a virtual keyboard is shown on some configurations (e.g. Phone),
the System UI may change the back navigation button to a different UI
element in order to dismiss the virtual keyboard. Such UI modification
is unnecessary when the virtual keyboard has a dismissing button on
its own window. This new attribute hints the System UI that the
virtual keyboard may have a UI element to dismiss itself. This will be
also useful for Tablet System UI which may not show a navigation bar
when a virtual keyboard is shown.

Bug: 34133139
Test: Add unit test InputMethodInfoTest
Change-Id: I0f6b130a7df57557e40b52a7b7ac00be965a17c3

7 years agoGNSS O Features according to go/o-gps-hal
gomo [Wed, 11 Jan 2017 21:20:13 +0000 (13:20 -0800)]
GNSS O Features according to go/o-gps-hal

Added "Tow Known" as a possible gnss measurement state. As well added Automatic Gain Control (AGC)
to allow jammer detection. Also added the GNSS carrier frequeny to SV status. Also added vertical
GPS position uncertainty, speed uncertainty and bearing uncertainty. Also propagate locaton new
fields to geofence engine.
Test: Existing unit tests still pass.

Change-Id: I472b2fd2516cb7614877dea4bb054a34f50844dc

7 years agoCreate GraphicsEnvironment for communicating with driver loaders
Jesse Hall [Sun, 15 Jan 2017 05:58:41 +0000 (05:58 +0000)]
Create GraphicsEnvironment for communicating with driver loaders
am: 79bf392dc6  -s ours

Change-Id: I05f1376ac2fcf5ae59aac213b39bd3b8f4d02ed9

7 years agoCreate GraphicsEnvironment for communicating with driver loaders
Jesse Hall [Mon, 12 Dec 2016 20:53:02 +0000 (12:53 -0800)]
Create GraphicsEnvironment for communicating with driver loaders

The GraphicsEnvironment class is given information during application
start, and makes it available to EGL/GLES/Vulkan loaders that don't
have easy access to the VM or to the application Context. Currently
only the driver path is handled, but the existing support for setting
library paths (for Vulkan extensions) and cache directory information
should move here.

Bug: 33531483
Test: various apps w/ and w/o driver package installed
Change-Id: I5820d3d1301d5461e10706f551b268c54d4f8926
(cherry picked from commit b12249b67193df07a8ffc3cad0c41643662b887b)

7 years agoCreate GraphicsEnvironment for communicating with driver loaders
Jesse Hall [Mon, 12 Dec 2016 20:53:02 +0000 (12:53 -0800)]
Create GraphicsEnvironment for communicating with driver loaders

The GraphicsEnvironment class is given information during application
start, and makes it available to EGL/GLES/Vulkan loaders that don't
have easy access to the VM or to the application Context. Currently
only the driver path is handled, but the existing support for setting
library paths (for Vulkan extensions) and cache directory information
should move here.

Bug: 33531483
Change-Id: I4e4e7fb21f1bcc67122e9173514af5f18c063991
Merged-In: I5820d3d1301d5461e10706f551b268c54d4f8926

7 years agoCreate GraphicsEnvironment for communicating with driver loaders
Jesse Hall [Mon, 12 Dec 2016 20:53:02 +0000 (12:53 -0800)]
Create GraphicsEnvironment for communicating with driver loaders

The GraphicsEnvironment class is given information during application
start, and makes it available to EGL/GLES/Vulkan loaders that don't
have easy access to the VM or to the application Context. Currently
only the driver path is handled, but the existing support for setting
library paths (for Vulkan extensions) and cache directory information
should move here.

Bug: 33531483
Test: various apps w/ and w/o driver package installed
Change-Id: I5820d3d1301d5461e10706f551b268c54d4f8926

7 years agoMerge "AudioPlaybackConfiguration has a player control interface"
Jean-Michel Trivi [Sat, 14 Jan 2017 23:39:08 +0000 (23:39 +0000)]
Merge "AudioPlaybackConfiguration has a player control interface"

7 years agoMerge "Send EXTRA_USER with DevicePolicy lock broadcasts"
TreeHugger Robot [Sat, 14 Jan 2017 17:12:53 +0000 (17:12 +0000)]
Merge "Send EXTRA_USER with DevicePolicy lock broadcasts"

7 years agoMerge "Add install reason"
Bartosz Fabianowski [Sat, 14 Jan 2017 12:58:16 +0000 (12:58 +0000)]
Merge "Add install reason"

7 years agoMerge "Update bluetooth device type icon color"
TreeHugger Robot [Sat, 14 Jan 2017 08:30:18 +0000 (08:30 +0000)]
Merge "Update bluetooth device type icon color"

7 years agoMerge "Stop preloading EGL/GLES in Zygote" into nyc-mr2-dev
Jesse Hall [Sat, 14 Jan 2017 06:03:34 +0000 (06:03 +0000)]
Merge "Stop preloading EGL/GLES in Zygote" into nyc-mr2-dev
am: a959ccbc33  -s ours

Change-Id: I1ab396d5cfa65efa831ac4c7cfa5ec99fa7849a8

7 years agoStop preloading EGL/GLES in Zygote
Jesse Hall [Sat, 14 Jan 2017 06:00:12 +0000 (06:00 +0000)]
Stop preloading EGL/GLES in Zygote
am: 93f630e1c3

Change-Id: Ia177980a2e97a50e7001068aee02372335c09497

7 years agoMerge "Stop preloading EGL/GLES in Zygote" into nyc-mr2-dev
TreeHugger Robot [Sat, 14 Jan 2017 05:54:14 +0000 (05:54 +0000)]
Merge "Stop preloading EGL/GLES in Zygote" into nyc-mr2-dev

7 years agoMerge "Treble GNSS - Removing FlpHardwareProvider"
TreeHugger Robot [Sat, 14 Jan 2017 04:47:03 +0000 (04:47 +0000)]
Merge "Treble GNSS - Removing FlpHardwareProvider"

7 years agoStop preloading EGL/GLES in Zygote
Jesse Hall [Mon, 12 Dec 2016 05:22:16 +0000 (21:22 -0800)]
Stop preloading EGL/GLES in Zygote

It's not clear this actually makes much difference on modern
devices/drivers. With updatable graphics drivers, we'd have to be able
to unload the preloaded driver from processes that don't use the
system driver, which is additional complexity and risk.

On bullhead and sailfish, meminfo actually showed slightly more memory
available while sitting at launcher just after boot with this change
than previously. Looking at detailed stats, the differences appeared
to mostly within run-to-run variation, but there wasn't evidence of a
regression.

Bug: 33531483
Test: boot through lockscreen/launcher
Change-Id: I1892302c1750cdbeaf5b9979f8da4dc6bd7b3e75
Merged-In: I1892302c1750cdbeaf5b9979f8da4dc6bd7b3e75

7 years agoMerge "Also scale down thumbnail in app transitions for grid recents"
TreeHugger Robot [Sat, 14 Jan 2017 04:07:18 +0000 (04:07 +0000)]
Merge "Also scale down thumbnail in app transitions for grid recents"

7 years agoMerge "Merge "Add WearCellularMediatorService to the system server." into cw-f-dev...
Android Build Merger (Role) [Sat, 14 Jan 2017 04:03:28 +0000 (04:03 +0000)]
Merge "Merge "Add WearCellularMediatorService to the system server." into cw-f-dev am: 7a6c54128a am: 692089376b" into nyc-mr2-dev-plus-aosp

7 years agoMerge "Add WearCellularMediatorService to the system server." into cw-f-dev am: 7a6c5...
Wei Liu [Sat, 14 Jan 2017 04:02:50 +0000 (04:02 +0000)]
Merge "Add WearCellularMediatorService to the system server." into cw-f-dev am: 7a6c54128a
am: 692089376b

Change-Id: I03f51ffef66b19616dd2f40cced2a165a9e39ba7

7 years agoMerge "Add WearCellularMediatorService to the system server." into cw-f-dev am: 7a6c5...
Wei Liu [Sat, 14 Jan 2017 04:01:24 +0000 (04:01 +0000)]
Merge "Add WearCellularMediatorService to the system server." into cw-f-dev am: 7a6c54128a
am: 8ca47c7746

Change-Id: I7be81841000fc3de36c88abf2937212d8791bc1c

7 years agoMerge "Add WearCellularMediatorService to the system server." into cw-f-dev
Wei Liu [Sat, 14 Jan 2017 03:58:32 +0000 (03:58 +0000)]
Merge "Add WearCellularMediatorService to the system server." into cw-f-dev
am: 7a6c54128a

Change-Id: I5f905ec5bdd73d75bc84021125b4db5383ddfde1

7 years agoMerge "Add WearCellularMediatorService to the system server. am: d741f3de81 am: e0d2c...
Android Build Merger (Role) [Sat, 14 Jan 2017 03:58:21 +0000 (03:58 +0000)]
Merge "Add WearCellularMediatorService to the system server. am: d741f3de81 am: e0d2c77a50" into nyc-mr2-dev-plus-aosp

7 years agoMerge "Add WearCellularMediatorService to the system server." into cw-f-dev
Wei Liu [Sat, 14 Jan 2017 03:58:19 +0000 (03:58 +0000)]
Merge "Add WearCellularMediatorService to the system server." into cw-f-dev
am: 7a6c54128a

Change-Id: Ide990adaf580e1e5b06a24484c13c090746d65fa

7 years agoMerge "2D Recents: Make sure thumbnail fills task view in all orientations"
TreeHugger Robot [Sat, 14 Jan 2017 03:57:05 +0000 (03:57 +0000)]
Merge "2D Recents: Make sure thumbnail fills task view in all orientations"

7 years agoAdd WearCellularMediatorService to the system server. am: d741f3de81
Wei Liu [Sat, 14 Jan 2017 03:57:00 +0000 (03:57 +0000)]
Add WearCellularMediatorService to the system server. am: d741f3de81
am: e0d2c77a50

Change-Id: I586eec797d0d6f5cf5b893c7cacb8028b0b511fa

7 years agoAdd WearCellularMediatorService to the system server. am: d741f3de81
Wei Liu [Sat, 14 Jan 2017 03:56:52 +0000 (03:56 +0000)]
Add WearCellularMediatorService to the system server. am: d741f3de81
am: 6760890c38

Change-Id: I30d792533da4051300d15ee0567e4c09da68e21e

7 years agoAdd WearCellularMediatorService to the system server.
Wei Liu [Sat, 14 Jan 2017 03:51:58 +0000 (03:51 +0000)]
Add WearCellularMediatorService to the system server.
am: d741f3de81

Change-Id: I6f3f0e2ea19f995f81816689c80b0bc865cc991e

7 years agoAdd WearCellularMediatorService to the system server.
Wei Liu [Sat, 14 Jan 2017 03:51:52 +0000 (03:51 +0000)]
Add WearCellularMediatorService to the system server.
am: d741f3de81

Change-Id: Ica3d90c3748d79b28bf9cad1b3b5468f919e7299

7 years agoMerge "Add WearCellularMediatorService to the system server." into cw-f-dev
TreeHugger Robot [Sat, 14 Jan 2017 03:46:06 +0000 (03:46 +0000)]
Merge "Add WearCellularMediatorService to the system server." into cw-f-dev

7 years agoMerge "Stop preloading EGL/GLES in Zygote"
TreeHugger Robot [Sat, 14 Jan 2017 02:35:53 +0000 (02:35 +0000)]
Merge "Stop preloading EGL/GLES in Zygote"

7 years agoAdd WearCellularMediatorService to the system server.
Wei Liu [Tue, 13 Dec 2016 23:44:55 +0000 (15:44 -0800)]
Add WearCellularMediatorService to the system server.

Bug: 33589216
Change-Id: Icfee08b27c03567ed45e136fc407b51c768515c2

7 years agoAdds annotations to Intent, and enables ChooserActivity to rank apps
Kang Li [Fri, 6 Jan 2017 21:33:24 +0000 (13:33 -0800)]
Adds annotations to Intent, and enables ChooserActivity to rank apps
according to annotations.

Test: Unit tests and manul tests. More unit tests to be added.
Change-Id: I3cbfd0cc10007290585fa3e7e3c92e1731f1f7b8

7 years agoMerge "Remove unused classes from com.android.internal.widget"
Aurimas Liutikas [Sat, 14 Jan 2017 01:23:06 +0000 (01:23 +0000)]
Merge "Remove unused classes from com.android.internal.widget"

7 years agoMerge "Treat Latin American locales specially" into nyc-mr2-dev am: 0e099a283e
Roozbeh Pournader [Sat, 14 Jan 2017 01:16:43 +0000 (01:16 +0000)]
Merge "Treat Latin American locales specially" into nyc-mr2-dev am: 0e099a283e
am: bdb68feffd

Change-Id: Ic51c4a45b77e227ace457b9665050be99af56ffc

7 years agoTreat Latin American locales specially am: cf246af30d
Roozbeh Pournader [Sat, 14 Jan 2017 01:15:30 +0000 (01:15 +0000)]
Treat Latin American locales specially am: cf246af30d
am: 4115c64313

Change-Id: I3f6bb444b185df0998b3dc4e4aaa8e8db2db79cf

7 years agoMerge "Treat Latin American locales specially" into nyc-mr2-dev
Roozbeh Pournader [Sat, 14 Jan 2017 01:10:30 +0000 (01:10 +0000)]
Merge "Treat Latin American locales specially" into nyc-mr2-dev
am: 0e099a283e

Change-Id: I2af561b25f9023bc7970d653386b6ca94430be73

7 years agoMerge "BBinder -> BHwBinder." am: fe4d257887 am: 051b14106f am: 24b33094f6
Yifan Hong [Sat, 14 Jan 2017 01:10:29 +0000 (01:10 +0000)]
Merge "BBinder -> BHwBinder." am: fe4d257887 am: 051b14106f am: 24b33094f6
am: 1bc9d241f6

Change-Id: I872c4f18f1a9c8fa8247f9c2b0f40107c1b51daa

7 years agoTreat Latin American locales specially
Roozbeh Pournader [Sat, 14 Jan 2017 01:10:25 +0000 (01:10 +0000)]
Treat Latin American locales specially
am: cf246af30d

Change-Id: I98ff3b1774e6cc3511fcd296d9cec5ccfce03c40

7 years agoFix documentaiton formatting errors.
Ashutosh Joshi [Sat, 14 Jan 2017 01:06:41 +0000 (17:06 -0800)]
Fix documentaiton formatting errors.

 i) Fix documentation formatting errors converting a
     major part of the documentation into a link.
ii) Remove the DEVICE_ORIENTATION type documentation. Its
         a hidden sensor type, and links to the sensor fail.

Test: Compile build, generate docs, visually verify change.
Change-Id: I2659d18e35b60f5939ba18c6b3d752a990621447

7 years agoMerge "BBinder -> BHwBinder." am: fe4d257887 am: 051b14106f
Yifan Hong [Sat, 14 Jan 2017 01:05:04 +0000 (01:05 +0000)]
Merge "BBinder -> BHwBinder." am: fe4d257887 am: 051b14106f
am: 24b33094f6

Change-Id: I4781adad935ca77148226e0ed7df5f0b5b953daa

7 years agoMerge "Treat Latin American locales specially" into nyc-mr2-dev
TreeHugger Robot [Sat, 14 Jan 2017 01:02:43 +0000 (01:02 +0000)]
Merge "Treat Latin American locales specially" into nyc-mr2-dev

7 years agoMerge "BBinder -> BHwBinder." am: fe4d257887
Yifan Hong [Sat, 14 Jan 2017 01:00:31 +0000 (01:00 +0000)]
Merge "BBinder -> BHwBinder." am: fe4d257887
am: 051b14106f

Change-Id: I148771849faf22aabdcd3861e867913408d84c11

7 years agoMerge "BBinder -> BHwBinder."
Yifan Hong [Sat, 14 Jan 2017 00:55:55 +0000 (00:55 +0000)]
Merge "BBinder -> BHwBinder."
am: fe4d257887

Change-Id: Iefe63e614d5c90f33d807aba8fac3f2095972ae8

7 years agoMerge "BBinder -> BHwBinder."
Yifan Hong [Sat, 14 Jan 2017 00:49:22 +0000 (00:49 +0000)]
Merge "BBinder -> BHwBinder."

7 years agoMerge "Emulator: Fix CTS failure caused by removed MANAGE_USERS permission in Shell...
Sudheer Shanka [Sat, 14 Jan 2017 00:40:09 +0000 (00:40 +0000)]
Merge "Emulator: Fix CTS failure caused by removed MANAGE_USERS permission in Shell" into nyc-mr2-dev am: bdd0a2b14a
am: 3102b3c37f

Change-Id: Ia069a59715a6057aba0c742a806cf73fe85489f9

7 years agoEmulator: Fix CTS failure caused by removed MANAGE_USERS permission in Shell am:...
bohu [Sat, 14 Jan 2017 00:38:57 +0000 (00:38 +0000)]
Emulator: Fix CTS failure caused by removed MANAGE_USERS permission in Shell am: d91dd06591
am: 906a21ba08

Change-Id: I592165bf4b159a93c388bc55b0a930667fdc1377

7 years agoMerge "update navbar assets for sw900dp device." into nyc-mr2-dev am: 659a650141
Muyuan Li [Sat, 14 Jan 2017 00:38:04 +0000 (00:38 +0000)]
Merge "update navbar assets for sw900dp device." into nyc-mr2-dev am: 659a650141
am: 8139b9f0dd

Change-Id: Ib0b87365a5dff779ff103b76f20aea559153c21a

7 years agoupdate navbar assets for sw900dp device. am: b3152ab966
Muyuan Li [Sat, 14 Jan 2017 00:37:01 +0000 (00:37 +0000)]
update navbar assets for sw900dp device. am: b3152ab966
am: dd804d6b3a

Change-Id: Ia6a13f26bee3341482bad0606afd670ca89d0cc3

7 years agoMerge "Support shadows and reordering in ViewOverlay" into nyc-mr2-dev am: 4638ef17d5
Chris Craik [Sat, 14 Jan 2017 00:36:02 +0000 (00:36 +0000)]
Merge "Support shadows and reordering in ViewOverlay" into nyc-mr2-dev am: 4638ef17d5
am: f56832a949

Change-Id: I0dd2a5226276dc74addf01d683d2a64cb55fa9a4

7 years agoSupport shadows and reordering in ViewOverlay am: 36d9a6dfba
Chris Craik [Sat, 14 Jan 2017 00:35:02 +0000 (00:35 +0000)]
Support shadows and reordering in ViewOverlay am: 36d9a6dfba
am: 2369a6d753

Change-Id: I1f6574a4b9a1d24ccd4fc78cbc7e3368d815f8f5

7 years agoMerge "Merge "Don't save password metrics to disk." into nyc-dev am: 97848fc473 am...
Andrew Scull [Sat, 14 Jan 2017 00:33:43 +0000 (00:33 +0000)]
Merge "Merge "Don't save password metrics to disk." into nyc-dev am: 97848fc473 am: ea9463f542 am: 66d66dd50c am: b2db3761cd am: eadd29ffa6" into nyc-mr2-dev-plus-aosp
am: e688b70eb2

Change-Id: I48bfc9548432bdf41021d956617b1b37cc3c46ff

7 years agoMerge "Don't save password metrics to disk." into nyc-dev am: 97848fc473 am: ea9463f5...
Andrew Scull [Sat, 14 Jan 2017 00:33:31 +0000 (00:33 +0000)]
Merge "Don't save password metrics to disk." into nyc-dev am: 97848fc473 am: ea9463f542 am: 66d66dd50c am: b2db3761cd am: eadd29ffa6
am: 833bed16ba

Change-Id: I67c391cd59f53682267b98a4db961cc9f9cf08fa

7 years agoMerge "resolve merge conflicts of ad4aa1ce7d3d to nyc-mr1-dev am: eb35ad9969 am:...
Andrew Scull [Sat, 14 Jan 2017 00:31:59 +0000 (00:31 +0000)]
Merge "resolve merge conflicts of ad4aa1ce7d3d to nyc-mr1-dev am: eb35ad9969 am: 3aac3ebee1 am: 9af145dcc4" into nyc-mr2-dev-plus-aosp
am: 6d85c8a833

Change-Id: I39820d0ae4d6f7b9c04451bb0969976004e6f133

7 years agoresolve merge conflicts of ad4aa1ce7d3d to nyc-mr1-dev am: eb35ad9969 am: 3aac3ebee1...
Andrew Scull [Sat, 14 Jan 2017 00:31:51 +0000 (00:31 +0000)]
resolve merge conflicts of ad4aa1ce7d3d to nyc-mr1-dev am: eb35ad9969 am: 3aac3ebee1 am: 9af145dcc4
am: 4c349b67aa

Change-Id: I4718d7e2c73a5f84ca43789a09db5f3ab9a6b5d6

7 years agoMerge "Merge "Don't save password metrics to disk." into nyc-dev am: 97848fc473 am...
Andrew Scull [Sat, 14 Jan 2017 00:30:22 +0000 (00:30 +0000)]
Merge "Merge "Don't save password metrics to disk." into nyc-dev am: 97848fc473 am: ea9463f542 am: 66d66dd50c am: b2db3761cd am: 32992b4049" into nyc-mr2-dev-plus-aosp
am: c697ffe98b

Change-Id: I79d4ec95100e09eb6225cbfe900bceb357ee6b71

7 years agoMerge "Don't save password metrics to disk." into nyc-dev am: 97848fc473 am: ea9463f5...
Andrew Scull [Sat, 14 Jan 2017 00:30:15 +0000 (00:30 +0000)]
Merge "Don't save password metrics to disk." into nyc-dev am: 97848fc473 am: ea9463f542 am: 66d66dd50c am: b2db3761cd am: 32992b4049
am: bc94427593

Change-Id: I7e3cc5845ddafa4299f3bec1c2d40c05a66ffa99

7 years agoMerge "resolve merge conflicts of ad4aa1ce7d3d to nyc-mr1-dev am: eb35ad9969 am:...
Andrew Scull [Sat, 14 Jan 2017 00:28:46 +0000 (00:28 +0000)]
Merge "resolve merge conflicts of ad4aa1ce7d3d to nyc-mr1-dev am: eb35ad9969 am: 3aac3ebee1 am: 3c9b36482f" into nyc-mr2-dev-plus-aosp
am: 0877a45f02

Change-Id: I8b4a708f5204346e791f5450bfaa4501afa3704b

7 years agoresolve merge conflicts of ad4aa1ce7d3d to nyc-mr1-dev am: eb35ad9969 am: 3aac3ebee1...
Andrew Scull [Sat, 14 Jan 2017 00:28:39 +0000 (00:28 +0000)]
resolve merge conflicts of ad4aa1ce7d3d to nyc-mr1-dev am: eb35ad9969 am: 3aac3ebee1 am: 3c9b36482f
am: 8203155664  -s ours

Change-Id: I920c10e52faef95e0d3d55e075fdc85610b358c0

7 years agoMerge "Emulator: Fix CTS failure caused by removed MANAGE_USERS permission in Shell...
Sudheer Shanka [Sat, 14 Jan 2017 00:17:40 +0000 (00:17 +0000)]
Merge "Emulator: Fix CTS failure caused by removed MANAGE_USERS permission in Shell" into nyc-mr2-dev
am: bdd0a2b14a

Change-Id: I4697f24ecef7cc439c94352ba2aaf98cf34bbe61

7 years agoEmulator: Fix CTS failure caused by removed MANAGE_USERS permission in Shell
bohu [Sat, 14 Jan 2017 00:17:33 +0000 (00:17 +0000)]
Emulator: Fix CTS failure caused by removed MANAGE_USERS permission in Shell
am: d91dd06591

Change-Id: Ie178b790e11eb081857cd67c7f9af7fa95914868

7 years agoMerge "Emulator: Fix CTS failure caused by removed MANAGE_USERS permission in Shell...
Sudheer Shanka [Sat, 14 Jan 2017 00:10:05 +0000 (00:10 +0000)]
Merge "Emulator: Fix CTS failure caused by removed MANAGE_USERS permission in Shell" into nyc-mr2-dev

7 years agoAudioPlaybackConfiguration has a player control interface
Jean-Michel Trivi [Fri, 6 Jan 2017 02:06:03 +0000 (18:06 -0800)]
AudioPlaybackConfiguration has a player control interface

An AudioPlaybackConfiguration contains an IPlayer
  interface for system control of a player. It is not
  exposed to non-system signature components.
AudioService, through PlaybackActivityMonitor, is monitoring
  the death of the IPlayer so the matching player can get
  unregistered  in case it meets its maker.

Test: use vendor/google_toolbox/team/audio/cmds/ClPlaybackActivity
Bug: 30258418

Change-Id: Ibf3bceba91882ff16bffbf1219c55a1f89ccb13f

7 years agoStop preloading EGL/GLES in Zygote
Jesse Hall [Mon, 12 Dec 2016 05:22:16 +0000 (21:22 -0800)]
Stop preloading EGL/GLES in Zygote

It's not clear this actually makes much difference on modern
devices/drivers. With updatable graphics drivers, we'd have to be able
to unload the preloaded driver from processes that don't use the
system driver, which is additional complexity and risk.

On bullhead and sailfish, meminfo actually showed slightly more memory
available while sitting at launcher just after boot with this change
than previously. Looking at detailed stats, the differences appeared
to mostly within run-to-run variation, but there wasn't evidence of a
regression.

Bug: 33531483
Test: boot through lockscreen/launcher
Change-Id: I1892302c1750cdbeaf5b9979f8da4dc6bd7b3e75