OSDN Git Service

android-x86/frameworks-base.git
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 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 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 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 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 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 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"

6 years agoMerge "ShutdownThread: Don't wait for Bluetooth"
TreeHugger Robot [Wed, 10 Jan 2018 16:30:19 +0000 (16:30 +0000)]
Merge "ShutdownThread: Don't wait for Bluetooth"

6 years agoMerge "Deprecate WifiManager EXTRA_BSSID, EXTRA_WIFI_INFO"
Michael Plass [Wed, 10 Jan 2018 16:23:49 +0000 (16:23 +0000)]
Merge "Deprecate WifiManager EXTRA_BSSID, EXTRA_WIFI_INFO"

6 years agoGuard against crash on startup
Julia Reynolds [Tue, 9 Jan 2018 14:21:44 +0000 (09:21 -0500)]
Guard against crash on startup

Change-Id: I06f4ccba63cef7eb0971d8b0bfa143de2ed5e53a
Fixes: 71636566
Test: manual; boottest

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

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

6 years agoMerge "Add ImageDecoder.ImageInfo.getMimeType"
TreeHugger Robot [Wed, 10 Jan 2018 14:38:32 +0000 (14:38 +0000)]
Merge "Add ImageDecoder.ImageInfo.getMimeType"

6 years agoMerge "WorkSource: Fix corner-case in equals method."
TreeHugger Robot [Wed, 10 Jan 2018 13:01:38 +0000 (13:01 +0000)]
Merge "WorkSource: Fix corner-case in equals method."

6 years agoMerge "Mark AppOpsManager.setMode() @TestApi."
Peter Visontay [Wed, 10 Jan 2018 12:54:40 +0000 (12:54 +0000)]
Merge "Mark AppOpsManager.setMode() @TestApi."

6 years agoMerge "Additions and cleanups for ImageDecoder API"
TreeHugger Robot [Wed, 10 Jan 2018 12:53:04 +0000 (12:53 +0000)]
Merge "Additions and cleanups for ImageDecoder API"

6 years agoMerge "Correct synthetic password test assertions."
TreeHugger Robot [Wed, 10 Jan 2018 12:34:17 +0000 (12:34 +0000)]
Merge "Correct synthetic password test assertions."

6 years agoMerge "Add a new API android.icu.util.LocaleData"
Victor Chang [Wed, 10 Jan 2018 10:56:45 +0000 (10:56 +0000)]
Merge "Add a new API android.icu.util.LocaleData"

6 years agoCorrect synthetic password test assertions.
Andrew Scull [Fri, 5 Jan 2018 18:33:58 +0000 (18:33 +0000)]
Correct synthetic password test assertions.

assertNotSame() compares object references not integer values which are
auto-boxed and so are never the same object.

Test: runtest frameworks-services -p com.android.server.locksettings
Change-Id: I70b54474004e7be843a5a0d352fe555f9d81cf75

6 years agoMerge "YAAFFFCR - Yet Another Android Autofill Framework Field Classification Refacto...
TreeHugger Robot [Wed, 10 Jan 2018 09:49:25 +0000 (09:49 +0000)]
Merge "YAAFFFCR - Yet Another Android Autofill Framework Field Classification Refactoring."

6 years agoAdded Cell identity for TD-SCDMA and a base class CellIdentity
Jack Yu [Thu, 28 Dec 2017 22:41:12 +0000 (14:41 -0800)]
Added Cell identity for TD-SCDMA and a base class CellIdentity

Added CellIdentityTdscdma for TDS-CDMA cell identity. Also added
a base class for existing CellIdentityXxx so that the network
service can return specific RAT cell identity through the
network service callback API which takes generic cell identity
as the parameter.

This is the preliminary change for IWLAN refactoring since cell
identity is part of the CS/PS network registration.

bug: 64132030
Test: Unit tests
Change-Id: I3ca405d687667b6c43e782339edec26a6f6edfc9

6 years agoMerge "More DexLoggerIntegrationTests tweaks."
Alan Stokes [Wed, 10 Jan 2018 09:26:06 +0000 (09:26 +0000)]
Merge "More DexLoggerIntegrationTests tweaks."

6 years agoMerge "[API review] Add ShortcutInfo.DISABLED_REASON_UNKNOWN"
TreeHugger Robot [Wed, 10 Jan 2018 07:07:37 +0000 (07:07 +0000)]
Merge "[API review] Add ShortcutInfo.DISABLED_REASON_UNKNOWN"

6 years agoMerge "Merge EuiccProfile into EuiccProfileInfo." am: b01bd54b11 am: 6a5dc32ac3
Holly Jiuyu Sun [Wed, 10 Jan 2018 05:58:24 +0000 (05:58 +0000)]
Merge "Merge EuiccProfile into EuiccProfileInfo." am: b01bd54b11 am: 6a5dc32ac3
am: 20f35f962e

Change-Id: I8f7cc7e81fc163119ffa15666f054b298d47fff1

6 years agoMerge "Merge EuiccProfile into EuiccProfileInfo." am: b01bd54b11
Holly Jiuyu Sun [Wed, 10 Jan 2018 05:49:06 +0000 (05:49 +0000)]
Merge "Merge EuiccProfile into EuiccProfileInfo." am: b01bd54b11
am: 6a5dc32ac3

Change-Id: I3d6df6f2bce5b6e19ce0ef2c13adc39fa1b9a862

6 years agoMap isolated uid to host uid when processing log event in statsD.
Yangster-mac [Wed, 10 Jan 2018 00:29:22 +0000 (16:29 -0800)]
Map isolated uid to host uid when processing log event in statsD.

Test: added test case for isolated uid in Attribution e2e test.
Change-Id: I63d16ebee3e611b1ef0c910e5154cf27766cb330

6 years agoMerge "Merge EuiccProfile into EuiccProfileInfo."
Holly Jiuyu Sun [Wed, 10 Jan 2018 05:35:48 +0000 (05:35 +0000)]
Merge "Merge EuiccProfile into EuiccProfileInfo."
am: b01bd54b11

Change-Id: I98c726fc7d6fb91e16234773fe6423b7e111126e

6 years agoMerge "Merge EuiccProfile into EuiccProfileInfo."
Holly Jiuyu Sun [Wed, 10 Jan 2018 05:21:35 +0000 (05:21 +0000)]
Merge "Merge EuiccProfile into EuiccProfileInfo."

6 years agoMerge "Check null before calling clone()" am: e1bdd513d0 am: 1c60aa03fc
yinxu [Wed, 10 Jan 2018 03:38:21 +0000 (03:38 +0000)]
Merge "Check null before calling clone()" am: e1bdd513d0 am: 1c60aa03fc
am: 910cf3219c

Change-Id: I51ee6e90e464bfa1bae74ff8aacdf12378e15449

6 years agoMerge "Check null before calling clone()" am: e1bdd513d0
yinxu [Wed, 10 Jan 2018 03:28:45 +0000 (03:28 +0000)]
Merge "Check null before calling clone()" am: e1bdd513d0
am: 1c60aa03fc

Change-Id: Ie06c696c8805e188d1af3121c66f3180a9845c16

6 years agoMerge "Check null before calling clone()"
yinxu [Wed, 10 Jan 2018 03:18:37 +0000 (03:18 +0000)]
Merge "Check null before calling clone()"
am: e1bdd513d0

Change-Id: Ifabe6352c950f9d6ead4cbdd4345ef1fb20f065d

6 years agoMerge "Check null before calling clone()"
Treehugger Robot [Wed, 10 Jan 2018 03:07:26 +0000 (03:07 +0000)]
Merge "Check null before calling clone()"

6 years agoUse correct lock screen type in KeyStoreRecoveryMetadata constructor.
Dmitry Dementyev [Tue, 9 Jan 2018 23:08:13 +0000 (15:08 -0800)]
Use correct lock screen type in KeyStoreRecoveryMetadata constructor.

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

Change-Id: Ib06a9fe4c1182bfd3f4eb0d5f3f3b50c0bf71f25

6 years agoRemove user state in onUserRemoved
Fyodor Kupolov [Wed, 10 Jan 2018 02:51:59 +0000 (18:51 -0800)]
Remove user state in onUserRemoved

Test: manual
Bug: 67959359
Change-Id: I63b1afea9e32c9a102b5b45c1ca8ba1419a93696

6 years agoMerge "Exposed CDMA SID/NID get APIs" am: 0cb936a855 am: 46ffa48122
Jack Yu [Wed, 10 Jan 2018 02:49:44 +0000 (02:49 +0000)]
Merge "Exposed CDMA SID/NID get APIs" am: 0cb936a855 am: 46ffa48122
am: e936a81557

Change-Id: I357f89c8d8ab7032710063e5cd6d2f761c9e1bb4

6 years agoMerge "Exposed CDMA SID/NID get APIs" am: 0cb936a855
Jack Yu [Wed, 10 Jan 2018 02:39:54 +0000 (02:39 +0000)]
Merge "Exposed CDMA SID/NID get APIs" am: 0cb936a855
am: 46ffa48122

Change-Id: I4693b44d59a312def9f26ad54badd5533cd36dfd

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

6 years agoMerge "Exposed CDMA SID/NID get APIs"
Jack Yu [Wed, 10 Jan 2018 02:33:16 +0000 (02:33 +0000)]
Merge "Exposed CDMA SID/NID get APIs"
am: 0cb936a855

Change-Id: Iec76a777a126a10c012363247acb4b6a3516c008

6 years agoMerge "Revert "Move zygote's seccomp setup to post-fork""
TreeHugger Robot [Wed, 10 Jan 2018 02:31:08 +0000 (02:31 +0000)]
Merge "Revert "Move zygote's seccomp setup to post-fork""

6 years agoMerge "Update recovery snapshot version."
TreeHugger Robot [Wed, 10 Jan 2018 02:20:33 +0000 (02:20 +0000)]
Merge "Update recovery snapshot version."

6 years agoMerge "Exposed CDMA SID/NID get APIs"
Treehugger Robot [Wed, 10 Jan 2018 02:19:20 +0000 (02:19 +0000)]
Merge "Exposed CDMA SID/NID get APIs"

6 years agoMerge "Remove obsolete workaround." am: f448371208 am: 365604c300
Elliott Hughes [Wed, 10 Jan 2018 01:55:14 +0000 (01:55 +0000)]
Merge "Remove obsolete workaround." am: f448371208 am: 365604c300
am: 8ca799e22f

Change-Id: I6afd17cacebc896831f3b6049e850d671c2d7f73

6 years agoMerge "Avoid binder call on getAlwaysOn()"
TreeHugger Robot [Wed, 10 Jan 2018 01:47:27 +0000 (01:47 +0000)]
Merge "Avoid binder call on getAlwaysOn()"

6 years agoMerge "Remove obsolete workaround." am: f448371208
Elliott Hughes [Wed, 10 Jan 2018 01:46:14 +0000 (01:46 +0000)]
Merge "Remove obsolete workaround." am: f448371208
am: 365604c300

Change-Id: Ia153c371b8833b926b3e643bf265e67a438dfd91

6 years agoMerge "Merge "Expose a new public column network_type_bitmask and deprecate bearer_bi...
Android Build Merger (Role) [Wed, 10 Jan 2018 01:35:37 +0000 (01:35 +0000)]
Merge "Merge "Expose a new public column network_type_bitmask and deprecate bearer_bitmask gradually." am: 72acefa6d8 am: b51df90f28 am: 23274614da"

6 years agoMerge "Remove obsolete workaround."
Elliott Hughes [Wed, 10 Jan 2018 01:35:34 +0000 (01:35 +0000)]
Merge "Remove obsolete workaround."
am: f448371208

Change-Id: I2bd057c12b9915b9e45b206b9839d1a57b296f26

6 years agoMerge "Expose a new public column network_type_bitmask and deprecate bearer_bitmask...
Cassie Han [Wed, 10 Jan 2018 01:33:29 +0000 (01:33 +0000)]
Merge "Expose a new public column network_type_bitmask and deprecate bearer_bitmask gradually." am: 72acefa6d8 am: b51df90f28
am: 23274614da

Change-Id: Id1b1667359a45259aea7d32cf7426f843ba0f33f

6 years agoMerge "Add setScreenUnlockedFunctions method to UsbManager"
Jerry Zhang [Wed, 10 Jan 2018 01:30:03 +0000 (01:30 +0000)]
Merge "Add setScreenUnlockedFunctions method to UsbManager"