OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 11 Jan 2018 05:52:17 +0000 (05:52 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "More adjustments to the loadtest app."
TreeHugger Robot [Thu, 11 Jan 2018 05:44:52 +0000 (05:44 +0000)]
Merge "More adjustments to the loadtest app."

6 years agoMerge "Check that recoverySecretTypes contains TYPE_LOCKSCREEN during unlock."
Dmitry Dementyev [Thu, 11 Jan 2018 05:31:47 +0000 (05:31 +0000)]
Merge "Check that recoverySecretTypes contains TYPE_LOCKSCREEN during unlock."

6 years agoMerge "Add public ApnSetting in android.telephony." am: f9063b378b am: f68992a6a7
yuemingw [Thu, 11 Jan 2018 05:21:32 +0000 (05:21 +0000)]
Merge "Add public ApnSetting in android.telephony." am: f9063b378b am: f68992a6a7
am: e3d4b7d3d2

Change-Id: Ia4100787507887692c6aa5df4e331fba59993255

6 years agoMerge "Add public ApnSetting in android.telephony." am: f9063b378b
yuemingw [Thu, 11 Jan 2018 05:12:34 +0000 (05:12 +0000)]
Merge "Add public ApnSetting in android.telephony." am: f9063b378b
am: f68992a6a7

Change-Id: I959e4cc4f252b1a503dca11d83672257b93f97a4

6 years agoMerge "Add public ApnSetting in android.telephony."
yuemingw [Thu, 11 Jan 2018 05:06:13 +0000 (05:06 +0000)]
Merge "Add public ApnSetting in android.telephony."
am: f9063b378b

Change-Id: I6608e1666b3e078f3b5786638e9050a2d2d3b762

6 years agoMerge "Added runtime flag for forced-app-standby"
TreeHugger Robot [Thu, 11 Jan 2018 04:24:28 +0000 (04:24 +0000)]
Merge "Added runtime flag for forced-app-standby"

6 years agoMerge "Move more core networking tests to framework/base/tests/net." am: d6c3813c08...
Lorenzo Colitti [Thu, 11 Jan 2018 04:17:51 +0000 (04:17 +0000)]
Merge "Move more core networking tests to framework/base/tests/net." am: d6c3813c08 am: 8f852c341f
am: 56dba0323a

Change-Id: I1eb98a82426d7b7e085316f8a67cdd1e81912538

6 years agoMerge "Move more core networking tests to framework/base/tests/net." am: d6c3813c08
Lorenzo Colitti [Thu, 11 Jan 2018 04:10:01 +0000 (04:10 +0000)]
Merge "Move more core networking tests to framework/base/tests/net." am: d6c3813c08
am: 8f852c341f

Change-Id: Iab87e7ce5b62a1ff21c7aee5d0f25597713f6c65

6 years agoMerge "Refactor to InterfaceParams utility class" am: 6a91687bcd am: fe83298cd5
Erik Kline [Thu, 11 Jan 2018 04:09:49 +0000 (04:09 +0000)]
Merge "Refactor to InterfaceParams utility class" am: 6a91687bcd am: fe83298cd5
am: 2be133a54e

Change-Id: I878be7b33afcad9544515e90da4db02fe85b92cc

6 years agoMerge "Refactor to InterfaceParams utility class" am: 6a91687bcd
Erik Kline [Thu, 11 Jan 2018 04:02:15 +0000 (04:02 +0000)]
Merge "Refactor to InterfaceParams utility class" am: 6a91687bcd
am: fe83298cd5

Change-Id: Icb708a5ea7c3b41cb9d23885018b088c65ee427b

6 years agoMerge "Add public ApnSetting in android.telephony."
Treehugger Robot [Thu, 11 Jan 2018 04:01:32 +0000 (04:01 +0000)]
Merge "Add public ApnSetting in android.telephony."

6 years agoMerge "Move more core networking tests to framework/base/tests/net."
Lorenzo Colitti [Thu, 11 Jan 2018 03:58:57 +0000 (03:58 +0000)]
Merge "Move more core networking tests to framework/base/tests/net."
am: d6c3813c08

Change-Id: Ic1ad8ba5a4180ef6a798d4330c72920984d5040c

6 years agoMerge "Refactor to InterfaceParams utility class"
Erik Kline [Thu, 11 Jan 2018 03:55:41 +0000 (03:55 +0000)]
Merge "Refactor to InterfaceParams utility class"
am: 6a91687bcd

Change-Id: Ia8ea85890c86cf57b0bc701c2624762144af301e

6 years agoMerge "Move more core networking tests to framework/base/tests/net."
Lorenzo Colitti [Thu, 11 Jan 2018 03:09:40 +0000 (03:09 +0000)]
Merge "Move more core networking tests to framework/base/tests/net."

6 years agoMerge changes from topic "messaging_people"
TreeHugger Robot [Thu, 11 Jan 2018 03:07:09 +0000 (03:07 +0000)]
Merge changes from topic "messaging_people"

* changes:
  Clipping to the top roundness when scrolling
  Made the notification side paddings consistent
  Changing messaging style and overall visual adoption
  Improved the MessagingStyle API with Person
  Added People to the Notification API

6 years agoCheck that recoverySecretTypes contains TYPE_LOCKSCREEN during unlock.
Dmitry Dementyev [Thu, 11 Jan 2018 02:56:36 +0000 (18:56 -0800)]
Check that recoverySecretTypes contains TYPE_LOCKSCREEN during unlock.

Bug: 66499222
Test: adb shell am instrument -w -e package \
com.android.server.locksettings.recoverablekeystore \
com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner

Change-Id: I55e8518c92704655d96eb1cddf84bb7956ea5912

6 years agoMerge "Refactor to InterfaceParams utility class"
Treehugger Robot [Thu, 11 Jan 2018 02:52:00 +0000 (02:52 +0000)]
Merge "Refactor to InterfaceParams utility class"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 11 Jan 2018 02:51:39 +0000 (02:51 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Support 4k chunk based signature algorithms"
TreeHugger Robot [Thu, 11 Jan 2018 02:43:26 +0000 (02:43 +0000)]
Merge "Support 4k chunk based signature algorithms"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 11 Jan 2018 02:28:30 +0000 (02:28 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoAdded runtime flag for forced-app-standby
Suprabh Shukla [Tue, 9 Jan 2018 00:27:10 +0000 (16:27 -0800)]
Added runtime flag for forced-app-standby

Added a global setting which can be configured to get metrics on the
battery savings from this feature.

Test: atest \
FrameworksServicesTests:\
com.android.server.job.BackgroundRestrictionsTest

Fixes: 70579515
Change-Id: I541f2aac39847f9bf372240cafc4e0f0e5ebdc86

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 11 Jan 2018 02:18:27 +0000 (02:18 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 11 Jan 2018 02:05:37 +0000 (02:05 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 11 Jan 2018 02:00:52 +0000 (02:00 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 11 Jan 2018 01:45:11 +0000 (17:45 -0800)]
Import translations. DO NOT MERGE

Change-Id: I28c45387fb290bfaa89b9cded4b213dc28261f16
Auto-generated-cl: translation import

6 years agoMerge "Cap the low battery threshold at config_lowBatteryWarningLevel (=15)"
TreeHugger Robot [Thu, 11 Jan 2018 01:14:35 +0000 (01:14 +0000)]
Merge "Cap the low battery threshold at config_lowBatteryWarningLevel (=15)"

6 years agoMerge "Add remove method to RecoverableKeyStoreLoader."
TreeHugger Robot [Thu, 11 Jan 2018 00:53:31 +0000 (00:53 +0000)]
Merge "Add remove method to RecoverableKeyStoreLoader."

6 years agoRefactor to InterfaceParams utility class
Erik Kline [Fri, 8 Dec 2017 08:47:50 +0000 (17:47 +0900)]
Refactor to InterfaceParams utility class

NetworkInterface throws Exceptions every time you look at it askance.
Try to make something we instantiate fully, once, and pass it around.

Partial MacAddress-ification as well, for good measure.

Test: as follows
    - built
    - flashed
    - booted
    - runtest frameworks-net passes
    - basic IPv6 tethering works
Bug: 32163131
Bug: 62476366
Change-Id: I16c145fddb4e76387370338d792a438eed886d7f

6 years agoMerge "make incidentd run in its own uid under log group for reading logs."
TreeHugger Robot [Thu, 11 Jan 2018 00:18:09 +0000 (00:18 +0000)]
Merge "make incidentd run in its own uid under log group for reading logs."

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 11 Jan 2018 00:02:50 +0000 (16:02 -0800)]
Import translations. DO NOT MERGE

Change-Id: Ie659c61493a5d9ce4e8c0f62d429b3ad3ea50ad4
Auto-generated-cl: translation import

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 10 Jan 2018 23:52:38 +0000 (15:52 -0800)]
Import translations. DO NOT MERGE

Change-Id: Ibc676d8c81624d866f00685bf1b1e3cdf1c69a4c
Auto-generated-cl: translation import

6 years agoMerge "Inline noti blocking is now in the form of a question"
TreeHugger Robot [Wed, 10 Jan 2018 23:49:14 +0000 (23:49 +0000)]
Merge "Inline noti blocking is now in the form of a question"

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 10 Jan 2018 23:32:08 +0000 (15:32 -0800)]
Import translations. DO NOT MERGE

Change-Id: Iba7b49ee731f786e7152b608bdc92a8eb9cd8fb6
Auto-generated-cl: translation import

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 10 Jan 2018 23:21:36 +0000 (15:21 -0800)]
Import translations. DO NOT MERGE

Change-Id: Id226c480d6ca22d31a995a5149a93aa7ca8c124b
Auto-generated-cl: translation import

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 10 Jan 2018 23:16:11 +0000 (15:16 -0800)]
Import translations. DO NOT MERGE

Change-Id: I2922e99b328e7ca26cbf00f4debc9a97c42e39dc
Auto-generated-cl: translation import

6 years agoMerge "DecorView#mNavigationGuard is gone"
TreeHugger Robot [Wed, 10 Jan 2018 23:14:51 +0000 (23:14 +0000)]
Merge "DecorView#mNavigationGuard is gone"

6 years agoMerge "FRP: Make SystemAPI"
TreeHugger Robot [Wed, 10 Jan 2018 23:09:19 +0000 (23:09 +0000)]
Merge "FRP: Make SystemAPI"

6 years agoMerge "Fix links in SERVICE string constants javadoc"
Zhi An Ng [Wed, 10 Jan 2018 23:01:35 +0000 (23:01 +0000)]
Merge "Fix links in SERVICE string constants javadoc"

6 years agoMerge "Allow Voicemails to be inserted as not new."
TreeHugger Robot [Wed, 10 Jan 2018 23:00:54 +0000 (23:00 +0000)]
Merge "Allow Voicemails to be inserted as not new."

6 years agoClipping to the top roundness when scrolling
Selim Cinek [Fri, 22 Dec 2017 00:15:53 +0000 (16:15 -0800)]
Clipping to the top roundness when scrolling

We are now clipping properly to the top roundness,
such that the scrolling works properly and you never
see a hard edge on the top.

Test: add notifications, scroll, observe nice clipping
Bug: 69168591
Change-Id: I991eb33337eee8f0e1cee56e01e4e457146cb145

6 years agoMerge "Add API EuiccController#startOtaUpdatingIfNecessary" am: 999d998fb0 am: a043a1c924
Qingxi Li [Wed, 10 Jan 2018 22:48:36 +0000 (22:48 +0000)]
Merge "Add API EuiccController#startOtaUpdatingIfNecessary" am: 999d998fb0 am: a043a1c924
am: 360d2cb494  -s ours

Change-Id: Id461586c002f9862affaa61d8238e368da79ad5a

6 years agoMerge "Set current frame during status bar layout"
Wale Ogunwale [Wed, 10 Jan 2018 22:44:04 +0000 (22:44 +0000)]
Merge "Set current frame during status bar layout"

6 years agoMerge "mediaformat: Expose frame reordering to application."
TreeHugger Robot [Wed, 10 Jan 2018 22:42:27 +0000 (22:42 +0000)]
Merge "mediaformat: Expose frame reordering to application."

6 years agoMerge "Add API EuiccController#startOtaUpdatingIfNecessary" am: 999d998fb0
Qingxi Li [Wed, 10 Jan 2018 22:40:21 +0000 (22:40 +0000)]
Merge "Add API EuiccController#startOtaUpdatingIfNecessary" am: 999d998fb0
am: a043a1c924

Change-Id: Ibf66b8ee23ad81d4119c5f94ad4caacf5abdf3ec

6 years agoMerge "Rename onException to onPartialImage"
TreeHugger Robot [Wed, 10 Jan 2018 22:39:28 +0000 (22:39 +0000)]
Merge "Rename onException to onPartialImage"

6 years agoMerge "Add API EuiccController#startOtaUpdatingIfNecessary"
Qingxi Li [Wed, 10 Jan 2018 22:34:35 +0000 (22:34 +0000)]
Merge "Add API EuiccController#startOtaUpdatingIfNecessary"
am: 999d998fb0

Change-Id: If42a792cf2185452d2e654df7ef059cf88e23221

6 years agoAdd remove method to RecoverableKeyStoreLoader.
Dmitry Dementyev [Wed, 10 Jan 2018 20:26:05 +0000 (12:26 -0800)]
Add remove method to RecoverableKeyStoreLoader.

Bug: 66499222
Test: GTS tests will be added.
Change-Id: If352d75fbabe33e3453baed806f569931dbd8ad7

6 years agoSupport 4k chunk based signature algorithms
Victor Hsieh [Thu, 4 Jan 2018 21:36:15 +0000 (13:36 -0800)]
Support 4k chunk based signature algorithms

This change makes APK signature verifier accept the 4k-based signature
algorithms.

Test: build, install apk with such algorithm by apksig
Bug: 30972906

Change-Id: I90f32a6779f258605668e44f0d66f53e6890cfa7

6 years agoMerge "Avoid unnecessary division in TextView.Marquee.tick."
TreeHugger Robot [Wed, 10 Jan 2018 21:31:19 +0000 (21:31 +0000)]
Merge "Avoid unnecessary division in TextView.Marquee.tick."

6 years agoMerge "Add API EuiccController#startOtaUpdatingIfNecessary"
Treehugger Robot [Wed, 10 Jan 2018 21:29:02 +0000 (21:29 +0000)]
Merge "Add API EuiccController#startOtaUpdatingIfNecessary"

6 years agoMerge "Adopt robolectric 3.6.1"
TreeHugger Robot [Wed, 10 Jan 2018 21:28:41 +0000 (21:28 +0000)]
Merge "Adopt robolectric 3.6.1"

6 years agomake incidentd run in its own uid under log group for reading logs.
Yi Jin [Tue, 9 Jan 2018 19:29:38 +0000 (11:29 -0800)]
make incidentd run in its own uid under log group for reading logs.

Test: manual
Change-Id: I7106614c0bed1e862fbc80e42a87b43efc063145

6 years agoDecorView#mNavigationGuard is gone
Yohei Yukawa [Wed, 10 Jan 2018 21:18:09 +0000 (13:18 -0800)]
DecorView#mNavigationGuard is gone

With this CL, DecorView#mNavigationGuard that handles navigation bar
only for IME windows [1] is finally gone and replaced with the
standard mechanism to handle navigation bar layout padding /
background color.

This CL addresses multiple anomalies regarding how the following APIs
work for IME windows.

 * Window#setNavigationBarColor()
   * Previous behavior:
    - Only works for Color#TRANSPARENT [2].
    - Ignores FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS.
   * New behavior:
    - Works as documented.
    - Requires FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS to work.

 * SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION flag
   * Previous behavior:
    - The system automatically sets
      SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION to the IME windows [3].
    - Does not work as documented. Content area is not extended to the
      navigation bar area.
    - Manually unsetting SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION can cause
      unexpected layout, because the system expects that this flag is
      always set to the IME window.
    - Had a special logic for FLAG_LAYOUT_IN_OVERSCAN [4].
   * New behavior:
    - Works as documented.
    - Can set/unset as necessary.

From the viewpoint of IME developers, this CL enables IME windows to
 * correctly extend the input view to the navigation bar region by
   using SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION as documented, instead of
   relying on a special hack with FLAG_LAYOUT_IN_OVERSCAN hack.
 * use Window#setNavigationBarColor() to easily change the navigation
   bar background color, like other non-floating windows.

Note that SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR is not yet supported for
IME windows, which will be implemented in a subsequent CL.

 [1]: I6a93f30aec83f1cecfb854073046cbc87ab4aa66
      ae3349e1c34f7aceddc526cd11d9ac44951e97b6
 [2]: Iea77915ecc55eedaf19899e72c44f704ba9d852c
      0a9d1ea015af24056018ec02f6d9afd2f62243ba
 [3]: I460912ee7c117480c57b947ed31eca330819f32c
      c68d577f29604d205573ee4253704c5b2c5e4f81
 [4]: Ic38f204a892bf34e8dae65990d5aa8c95af555d8
      9b32a35aa7d47d39da919e777e2fe271cc83fa1c
 [5]: I4b10a19641bd3ce6c43e7629404b6f202d4186e8

Fix: 25706186
Bug: 69002467
Test: ThemedNavBarKeyboard sample [5] works for the following cases
      * Extended Dark Navigation Bar
      * Separate Dark Navigation Bar
      * Floating Mode (if the target app uses dark navigation bar)
Change-Id: I664630099b6eb3fe31675444ba94944cb0eb98b0

6 years agoMerge "Swap "foreground service" and "bound foreground service" proc states."
Dianne Hackborn [Wed, 10 Jan 2018 21:14:31 +0000 (21:14 +0000)]
Merge "Swap "foreground service" and "bound foreground service" proc states."

6 years agoMerge "Revert "Move zygote's seccomp setup to post-fork"" am: 54da93b981 am: 8fffe22ab1
Victor Hsieh [Wed, 10 Jan 2018 21:11:47 +0000 (21:11 +0000)]
Merge "Revert "Move zygote's seccomp setup to post-fork"" am: 54da93b981 am: 8fffe22ab1
am: 5e1a526cf4  -s ours

Change-Id: I11e888498254518ae3d269bdd0582b3d16fb8959

6 years agoMerge "Added Cell identity for TD-SCDMA and a base class CellIdentity" am: 5e90553bcf...
Jack Yu [Wed, 10 Jan 2018 21:01:52 +0000 (21:01 +0000)]
Merge "Added Cell identity for TD-SCDMA and a base class CellIdentity" am: 5e90553bcf am: 18bd9922fb
am: d1cd07afe2

Change-Id: I073ef7a8efb94c64d4640c64463f4088025213f2

6 years agoMerge "Guard against crash on startup"
TreeHugger Robot [Wed, 10 Jan 2018 20:48:43 +0000 (20:48 +0000)]
Merge "Guard against crash on startup"

6 years agoMerge changes I9bf357f3,Ia83b74fc
Chavi Weingarten [Wed, 10 Jan 2018 20:47:53 +0000 (20:47 +0000)]
Merge changes I9bf357f3,Ia83b74fc

* changes:
  Revert "Call prepareSurfaces in applySurfacesChangesTransaction"
  Revert "Revert "Revert "Avoid setting size/position on Transaction if not needed"""

6 years agoMerge "Use correct lock screen type in KeyStoreRecoveryMetadata constructor."
Dmitry Dementyev [Wed, 10 Jan 2018 20:47:46 +0000 (20:47 +0000)]
Merge "Use correct lock screen type in KeyStoreRecoveryMetadata constructor."

6 years agoRevert "Call prepareSurfaces in applySurfacesChangesTransaction"
chaviw [Wed, 10 Jan 2018 20:31:21 +0000 (12:31 -0800)]
Revert "Call prepareSurfaces in applySurfacesChangesTransaction"

This reverts commit 6b0f8461cfcd6eafa31e5bad0c46048a76a2d616.

Fixes: 71789344

6 years agoRevert "Revert "Revert "Avoid setting size/position on Transaction if not needed"""
chaviw [Wed, 10 Jan 2018 20:31:08 +0000 (12:31 -0800)]
Revert "Revert "Revert "Avoid setting size/position on Transaction if not needed"""

This reverts commit 1e8c4c8c0c9111b7ae90e110c73122c7bff1df81.

Fixes: 71789344

6 years agoMerge "Make sure correct default values for ActivityStarter."
Bryce Lee [Wed, 10 Jan 2018 20:23:35 +0000 (20:23 +0000)]
Merge "Make sure correct default values for ActivityStarter."

6 years agoMade the notification side paddings consistent
Selim Cinek [Thu, 21 Dec 2017 21:03:32 +0000 (13:03 -0800)]
Made the notification side paddings consistent

The rounding and paddings are now consistent
throughout the shade. Before the notifications
were only rounded on the top, but the design
didn't work perfectly in all situations.

Bug: 69168591
Test: add notifications, observe consistent paddings
Change-Id: Idc60cb7d448193c65f77bafebb2d110809ecb725

6 years agoChanging messaging style and overall visual adoption
Selim Cinek [Wed, 13 Dec 2017 01:32:44 +0000 (17:32 -0800)]
Changing messaging style and overall visual adoption

The messaging style is changed to a bubble-less design.
In addition are we also updating a few spacings in
order for it to look nicer / more balanced.

Test: manual
Change-Id: I43326bd8a23cd1f1d5964d2d6740fde99d29c7e4

6 years agoAdd API EuiccController#startOtaUpdatingIfNecessary
Qingxi Li [Thu, 14 Dec 2017 23:36:06 +0000 (15:36 -0800)]
Add API EuiccController#startOtaUpdatingIfNecessary

This function requests calling app has WRITE_EMBEDDED_SUBSCRIPTIONS
permission. It will check whether the OTA update needed to be done
first. If current eUICC OS isn't latest one and OTA needed to be
performed, it will update eUICC OS. When the OS update is started or
finished, a broadcast will be sent.

Bug: 37279356
Test: E2E
Merged-In: Iea86add4bdc01c79a8714af4b3a89735ba78ee74
Change-Id: Iea86add4bdc01c79a8714af4b3a89735ba78ee74

6 years agoMerge "Revert "Move zygote's seccomp setup to post-fork"" am: 54da93b981
Victor Hsieh [Wed, 10 Jan 2018 19:57:17 +0000 (19:57 +0000)]
Merge "Revert "Move zygote's seccomp setup to post-fork"" am: 54da93b981
am: 8fffe22ab1

Change-Id: Ic6b927ab28f75fb46f60dd77d5ae4ccf98c0b329

6 years agoMerge "Revamp USB tethering startup flow." am: 90fddefd5e am: 375c0a55d8
Jerry Zhang [Wed, 10 Jan 2018 19:51:20 +0000 (19:51 +0000)]
Merge "Revamp USB tethering startup flow." am: 90fddefd5e am: 375c0a55d8
am: 49df4a5d3d

Change-Id: I36cca56eb93767d23f2d08b708208ba8ff1db06d

6 years agoMerge "Added Cell identity for TD-SCDMA and a base class CellIdentity" am: 5e90553bcf
Jack Yu [Wed, 10 Jan 2018 19:50:34 +0000 (19:50 +0000)]
Merge "Added Cell identity for TD-SCDMA and a base class CellIdentity" am: 5e90553bcf
am: 18bd9922fb

Change-Id: Ic5802a6f39715f042d18bb25dd3481c4c79b508f

6 years agoMerge "Merge "Don't wait for Bluetooth when shutting down" am: d9b3322e88 am: 9ae00d9...
Android Build Merger (Role) [Wed, 10 Jan 2018 19:43:01 +0000 (19:43 +0000)]
Merge "Merge "Don't wait for Bluetooth when shutting down" am: d9b3322e88 am: 9ae00d9d9a am: 51019ab1d5  -s ours"

6 years agoMerge "Don't wait for Bluetooth when shutting down" am: d9b3322e88 am: 9ae00d9d9a
Myles Watson [Wed, 10 Jan 2018 19:42:16 +0000 (19:42 +0000)]
Merge "Don't wait for Bluetooth when shutting down" am: d9b3322e88 am: 9ae00d9d9a
am: 51019ab1d5  -s ours

Change-Id: I0f2351759a463de8f59036040c58ef706862b0f8

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Wed, 10 Jan 2018 19:40:27 +0000 (19:40 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Revert "Move zygote's seccomp setup to post-fork""
Victor Hsieh [Wed, 10 Jan 2018 19:38:49 +0000 (19:38 +0000)]
Merge "Revert "Move zygote's seccomp setup to post-fork""
am: 54da93b981

Change-Id: Ibdeb9fb6af3525e6329d42c7eef654f14396bcd6

6 years agoMerge "Revamp USB tethering startup flow." am: 90fddefd5e
Jerry Zhang [Wed, 10 Jan 2018 19:36:53 +0000 (19:36 +0000)]
Merge "Revamp USB tethering startup flow." am: 90fddefd5e
am: 375c0a55d8

Change-Id: Ied9a69a24126aab0aae131816fb6bf605e704554

6 years agoMerge "Added Cell identity for TD-SCDMA and a base class CellIdentity"
Jack Yu [Wed, 10 Jan 2018 19:34:50 +0000 (19:34 +0000)]
Merge "Added Cell identity for TD-SCDMA and a base class CellIdentity"
am: 5e90553bcf

Change-Id: I777781ddf78e08373c1e5d4989374847b03800cd

6 years agoMerge "Don't wait for Bluetooth when shutting down" am: d9b3322e88
Myles Watson [Wed, 10 Jan 2018 19:32:21 +0000 (19:32 +0000)]
Merge "Don't wait for Bluetooth when shutting down" am: d9b3322e88
am: 9ae00d9d9a

Change-Id: I005548cc409547cc6bdb7182c6d9ea52b4a4a46d

6 years agoMerge "Revamp USB tethering startup flow."
Jerry Zhang [Wed, 10 Jan 2018 19:26:48 +0000 (19:26 +0000)]
Merge "Revamp USB tethering startup flow."
am: 90fddefd5e

Change-Id: Ica932756d19c7ac874ae822c9785e856dcf81db3

6 years agoMerge "Don't wait for Bluetooth when shutting down"
Myles Watson [Wed, 10 Jan 2018 19:22:23 +0000 (19:22 +0000)]
Merge "Don't wait for Bluetooth when shutting down"
am: d9b3322e88

Change-Id: I31142d6ac6b04d2cfb7fcfc721d251a956c81c11

6 years agoMerge "Added new MANAGE_SCOPED_ACCESS_DIRECTORY_PERMISSIONS permission."
TreeHugger Robot [Wed, 10 Jan 2018 18:59:43 +0000 (18:59 +0000)]
Merge "Added new MANAGE_SCOPED_ACCESS_DIRECTORY_PERMISSIONS permission."

6 years agoMerge "Map isolated uid to host uid when processing log event in statsD."
TreeHugger Robot [Wed, 10 Jan 2018 18:50:55 +0000 (18:50 +0000)]
Merge "Map isolated uid to host uid when processing log event in statsD."

6 years agoMerge "Revert "Move zygote's seccomp setup to post-fork""
Treehugger Robot [Wed, 10 Jan 2018 18:46:36 +0000 (18:46 +0000)]
Merge "Revert "Move zygote's seccomp setup to post-fork""

6 years agoFix links in SERVICE string constants javadoc
Ng Zhi An [Mon, 8 Jan 2018 19:18:08 +0000 (11:18 -0800)]
Fix links in SERVICE string constants javadoc

Bug: 68820728
Test: make docs, view docs
Change-Id: I51f89e1ca348cb54165a863dce2b21b332108e19

6 years agoMerge "Added Cell identity for TD-SCDMA and a base class CellIdentity"
Jack Yu [Wed, 10 Jan 2018 18:39:53 +0000 (18:39 +0000)]
Merge "Added Cell identity for TD-SCDMA and a base class CellIdentity"

6 years agoMerge "Revamp USB tethering startup flow."
Jerry Zhang [Wed, 10 Jan 2018 18:38:44 +0000 (18:38 +0000)]
Merge "Revamp USB tethering startup flow."

6 years agoRevamp USB tethering startup flow.
Jerry Zhang [Wed, 20 Dec 2017 22:26:39 +0000 (14:26 -0800)]
Revamp USB tethering startup flow.

Modify usb tethering flow to no longer require
mUsbTetherRequested. The new simplified flow is:

1. Usb rndis function is set through UsbManager
2. Usb is configured with rndis enabled
3. We tether the USB interface
4. Usb is disconnected
5. We untether the USB interface

This allows USB tethering to be enabled through
either UsbManager or ConnectivityManager and aligns
the flow to be similar to other usb function services
such as MTP.

Bug: 62876645
Test: Enable and disable tethering through connectivity and with `svc
usb setFunction rndis`

Change-Id: Ica4203a499db177999302e099e28948b06ef2298

6 years agoMerge "Don't wait for Bluetooth when shutting down"
Treehugger Robot [Wed, 10 Jan 2018 18:19:03 +0000 (18:19 +0000)]
Merge "Don't wait for Bluetooth when shutting down"

6 years agoMerge "Remove use of preference-v14 res directory that is removed."
TreeHugger Robot [Wed, 10 Jan 2018 18:16:24 +0000 (18:16 +0000)]
Merge "Remove use of preference-v14 res directory that is removed."

6 years agoDon't wait for Bluetooth when shutting down
Myles Watson [Sat, 6 Jan 2018 00:12:54 +0000 (16:12 -0800)]
Don't wait for Bluetooth when shutting down

Bluetooth doesn't need to be shut down cleanly; shutting it down just
slows down the shutdown process.

Change-Id: I91fc9b26930a392f0c4462c76626a966051aea7b
Merged-In: Ic2ed89dd618806adc6646066ab0956dea4a94d8e
Bug: 70855323
Test: Boot, shut down, boot, shut down.

6 years agoMerge "Remove user state in onUserRemoved"
TreeHugger Robot [Wed, 10 Jan 2018 17:59:23 +0000 (17:59 +0000)]
Merge "Remove user state in onUserRemoved"

6 years agoInline noti blocking is now in the form of a question
Julia Reynolds [Wed, 3 Jan 2018 17:27:24 +0000 (12:27 -0500)]
Inline noti blocking is now in the form of a question

And has an 'undo' flow that matches snoozing.

Test: runtest systemui
Bug: 63927402
Change-Id: Idc17b8d950bc3da7ec9fe035dc8a65146d12c456

6 years agoMake sure correct default values for ActivityStarter.
Bryce Lee [Tue, 9 Jan 2018 23:44:24 +0000 (15:44 -0800)]
Make sure correct default values for ActivityStarter.

Request#reset() used different default values for the calling uid
and pid. Since reset is called before use, these the default values
were incorrect.

This changelist corrects this issue.

Change-Id: I1a04ed443fb5d9d6b248bbb1b2031d87f83f9774
Fixes: 70507511
Test: atest OsHostTests#testNonExportedActivities

6 years agoMerge "Add window tracing functions to WindowMangerService"
Vishnu Nair [Wed, 10 Jan 2018 17:50:48 +0000 (17:50 +0000)]
Merge "Add window tracing functions to WindowMangerService"

6 years agoMerge "Adding support for overriding app-awidget properties at runtime"
Sunny Goyal [Wed, 10 Jan 2018 17:46:07 +0000 (17:46 +0000)]
Merge "Adding support for overriding app-awidget properties at runtime"

6 years agoMerge "Add precise disconnect cause in DisconnectCause" am: 8098078edf am: e77087994d
Jordan Liu [Wed, 10 Jan 2018 17:34:40 +0000 (17:34 +0000)]
Merge "Add precise disconnect cause in DisconnectCause" am: 8098078edf am: e77087994d
am: 35abe14435

Change-Id: Id1f9fe432c37fb8e34912b428f7b36c8d8c8403d

6 years agoMore adjustments to the loadtest app.
Stefan Lafon [Sat, 6 Jan 2018 16:56:39 +0000 (08:56 -0800)]
More adjustments to the loadtest app.

- Add ability to set the replication factor by intent.
- Add shell script to automate the loadtesting.

Test: Loadtest app works.

Change-Id: I7263a3c23049f3ed20144e4e15b6a54ac5fddcc8

6 years agoMerge "Add precise disconnect cause in DisconnectCause" am: 8098078edf
Jordan Liu [Wed, 10 Jan 2018 17:23:05 +0000 (17:23 +0000)]
Merge "Add precise disconnect cause in DisconnectCause" am: 8098078edf
am: e77087994d

Change-Id: I1aae0435aa09faaeae396242fcd01cd6c7480527

6 years agoRevert "Move zygote's seccomp setup to post-fork"
Victor Hsieh [Wed, 10 Jan 2018 17:22:25 +0000 (17:22 +0000)]
Revert "Move zygote's seccomp setup to post-fork"

This reverts commit 6a4a3398325787f6cb1b93db17a7bf50d353e2a5.

Reason for revert: caused some SELinux error

Bug: 71768585
Change-Id: I0ef270ec6fed1d5d96b4257ec1a2dd6a55a816ed
Merged-In: Ic1b81e146b52b68445ba634de39657f199107da3

6 years agoAdded new MANAGE_SCOPED_ACCESS_DIRECTORY_PERMISSIONS permission.
Felipe Leme [Wed, 10 Jan 2018 01:29:24 +0000 (17:29 -0800)]
Added new MANAGE_SCOPED_ACCESS_DIRECTORY_PERMISSIONS permission.

Test: m update-api
Bug: 63720392

Change-Id: I1c77c94597b98f72e210d3a8e3fe00c12a149b8a

6 years agoMerge "Add precise disconnect cause in DisconnectCause"
Jordan Liu [Wed, 10 Jan 2018 17:15:17 +0000 (17:15 +0000)]
Merge "Add precise disconnect cause in DisconnectCause"
am: 8098078edf

Change-Id: Idac4f27406b359bf51ae33f483d651e9e8316504

6 years agoMerge "Add precise disconnect cause in DisconnectCause"
Jordan Liu [Wed, 10 Jan 2018 17:06:14 +0000 (17:06 +0000)]
Merge "Add precise disconnect cause in DisconnectCause"