OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Rename BluetoothManufacturerInfoReported to BluetoothDeviceInfoReported" into...
TreeHugger Robot [Fri, 5 Apr 2019 00:40:36 +0000 (00:40 +0000)]
Merge "Rename BluetoothManufacturerInfoReported to BluetoothDeviceInfoReported" into qt-dev

5 years agoMerge "Camera: Clarify camera1 API behavior for getNumberOfCameras" into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 00:13:29 +0000 (00:13 +0000)]
Merge "Camera: Clarify camera1 API behavior for getNumberOfCameras" into qt-dev

5 years agoMerge "media: fix documentation for MediaFormat.KEY_PREPEND_HEADERS_TO_SYNC_FRAMES...
Wonsik Kim [Fri, 5 Apr 2019 00:05:02 +0000 (00:05 +0000)]
Merge "media: fix documentation for MediaFormat.KEY_PREPEND_HEADERS_TO_SYNC_FRAMES" into qt-dev

5 years agoMerge "Change ISE to AssertException, which is more suitable." into qt-dev
Makoto Onuki [Thu, 4 Apr 2019 23:56:29 +0000 (23:56 +0000)]
Merge "Change ISE to AssertException, which is more suitable." into qt-dev

5 years agoMerge "WifiManager: Restore network pin behavior on enableNetwork" into qt-dev
TreeHugger Robot [Thu, 4 Apr 2019 23:54:13 +0000 (23:54 +0000)]
Merge "WifiManager: Restore network pin behavior on enableNetwork" into qt-dev

5 years agoMerge "Fixup App Compaction CL nits." into qt-dev
TreeHugger Robot [Thu, 4 Apr 2019 23:43:30 +0000 (23:43 +0000)]
Merge "Fixup App Compaction CL nits." into qt-dev

5 years agoMerge "Don't show dnd suppressed icons on aod" into qt-dev
TreeHugger Robot [Thu, 4 Apr 2019 23:42:57 +0000 (23:42 +0000)]
Merge "Don't show dnd suppressed icons on aod" into qt-dev

5 years agoMerge "Introduce a result class for IStatusBarService#registerStatusBar()" into qt-dev
TreeHugger Robot [Thu, 4 Apr 2019 23:22:55 +0000 (23:22 +0000)]
Merge "Introduce a result class for IStatusBarService#registerStatusBar()" into qt-dev

5 years agoMerge "Update systemui wifi icons to GM2." into qt-dev
TreeHugger Robot [Thu, 4 Apr 2019 23:10:28 +0000 (23:10 +0000)]
Merge "Update systemui wifi icons to GM2." into qt-dev

5 years agoMerge "Fix for NetworkStats/Telephony deadlock" into qt-dev
TreeHugger Robot [Thu, 4 Apr 2019 22:48:01 +0000 (22:48 +0000)]
Merge "Fix for NetworkStats/Telephony deadlock" into qt-dev

5 years agoRename BluetoothManufacturerInfoReported to BluetoothDeviceInfoReported
Jack He [Thu, 4 Apr 2019 18:19:48 +0000 (11:19 -0700)]
Rename BluetoothManufacturerInfoReported to BluetoothDeviceInfoReported

* Rename this atom to match the atom's field name

Bug: 112969790
Test: make
Change-Id: Idb54766703f47a5eb6cd7f0cdff1c41e1a92cfb1

5 years agoUpdate systemui wifi icons to GM2.
Amin Shaikh [Tue, 2 Apr 2019 11:50:27 +0000 (07:50 -0400)]
Update systemui wifi icons to GM2.

Remove unneeded NeutralGoodDrawable.

Bug: 124106839
Test: make; used sysui demo mode
Change-Id: Ib3e903d83be140b00410e3adbb31f217b562d372

5 years agoChange ISE to AssertException, which is more suitable.
Makoto Onuki [Thu, 4 Apr 2019 20:39:55 +0000 (13:39 -0700)]
Change ISE to AssertException, which is more suitable.

Bug: 129139241
Bug: 129721058
Test: Treehugger
Change-Id: I12e97f37a58e1d88731a9bddd933abeb8c1169c1

5 years agomedia: fix documentation for MediaFormat.KEY_PREPEND_HEADERS_TO_SYNC_FRAMES
Wonsik Kim [Mon, 1 Apr 2019 21:48:10 +0000 (14:48 -0700)]
media: fix documentation for MediaFormat.KEY_PREPEND_HEADERS_TO_SYNC_FRAMES

Bug: 32746212
Test: builds
Change-Id: I38ecfa879091bc4016fbae04eab77ed6fd9eb1c1

5 years agoIntroduce a result class for IStatusBarService#registerStatusBar()
Yohei Yukawa [Thu, 4 Apr 2019 18:49:02 +0000 (11:49 -0700)]
Introduce a result class for IStatusBarService#registerStatusBar()

This is a preparation to fix an issue that IME cannot enable light
navigation bar on direct-reply.

The initial state of StatusBar client is provided as return values of
IStatusBarService#registerStatusBar().  However, the way for the
client to receive the return values is to rely on "out" parameters in
the Binder method as follows.

    void registerStatusBar(IStatusBar callbacks,
            out List<String> iconSlots,
            out List<StatusBarIcon> iconList,
            out int[] switches,
            out List<IBinder> binders,
            out Rect fullscreenStackBounds,
            out Rect dockedStackBounds);

The issue is that if I want to add a new parameter into
StatusBarManagerService to fix Bug 122439339, then it needs to be
notified back to the client via one of these out values, e.g. a new
element in "switches", which is hard to understand and maintain.

It'd be better to introduce a dedicated return object as follows.

    RegisterStatusBarResult registerStatusBar(IStatusBar callbacks);

This is a purely mechanical code clean-up.  Hence there should be no
behavior change.

Bug: 122439339
Test: presubmit
Change-Id: Ib1c0ae8f591ca09d0bce7a39f85ba57aad386e47

5 years agoTest flaky test: Always wait for handle task to complete
Keun young Park [Thu, 4 Apr 2019 00:59:07 +0000 (17:59 -0700)]
Test flaky test: Always wait for handle task to complete

- Previous logic of checking queue to wait or not has race as queue can be
  emptied while posted task is not complete.
- Do not check queue and always wait for new post to complete.

Bug: 129896850
Test: Run the test many times
Change-Id: Ie0e4447cf997cbe343c7e00a8dfd0757b061b547
(cherry picked from commit 819d7406acc2b9c3ccf8e4a16c67f2d605017620)

5 years agoCamera: Clarify camera1 API behavior for getNumberOfCameras
Shuzhen Wang [Thu, 28 Mar 2019 21:30:33 +0000 (14:30 -0700)]
Camera: Clarify camera1 API behavior for getNumberOfCameras

Expose at most 1 camera ID per facing for all logical-physical camera ID
groups.

Test: Build and read docs
Bug: 113705942
Change-Id: I86a06562eafd600d351d8db2582a613b3323404c

5 years agoDon't show dnd suppressed icons on aod
Beverly [Thu, 4 Apr 2019 13:59:33 +0000 (09:59 -0400)]
Don't show dnd suppressed icons on aod

The aod icons are from the shelf. When DND is suppressing
status bar icons and aod is on (mFullyDark), still don't show
the icons that would show on AOD (if DND wasn't on).

Test: manual
Test: atest NotificationIconAreaControllerTest
Fixes: 122636236
Change-Id: I4680ea1c88427207274da48a6ab69f0c00a3ac69

5 years agoFix for NetworkStats/Telephony deadlock
Amith Yamasani [Tue, 19 Feb 2019 17:57:32 +0000 (09:57 -0800)]
Fix for NetworkStats/Telephony deadlock

Call into NetworkStatsService to update uid foreground
state without the NPMS lock held. Both calls are from
the handler thread, so no sequencing issues.

Bug: 123274986
Bug: 74007921
Test: atest CtsHostsideNetworkTests
Change-Id: I9e8449e5a75db616e646f55c930ff82982fc9083

5 years agoWifiManager: Restore network pin behavior on enableNetwork
Roshan Pius [Thu, 4 Apr 2019 14:22:23 +0000 (07:22 -0700)]
WifiManager: Restore network pin behavior on enableNetwork

This code is mostly a NO-OP for most apps & OEM's. The pinner only takes
effect if the app's target SDK < Android L. But, there might
be some OEM's who may want to enable this for all apps.

Bug: 129906426
Test: Compiles
Change-Id: Iccf67ba0d4ea8d9c5d3561a128908611636b420e

5 years agoMerge "Fix a possible crash when the listener is null" into qt-dev
TreeHugger Robot [Thu, 4 Apr 2019 13:50:10 +0000 (13:50 +0000)]
Merge "Fix a possible crash when the listener is null" into qt-dev

5 years agoFixup App Compaction CL nits.
Ben Murdoch [Thu, 4 Apr 2019 13:29:49 +0000 (14:29 +0100)]
Fixup App Compaction CL nits.

A couple of nits to cleanup from change I71fffc52a232cd5608742d9f36965a4de6494b56

 - remove unused method
 - remove unnecessary null check.

BUG: 128427978
Test: atest FrameworksMockingServicesTests:AppCompactorTest
Change-Id: I363c57fc78529207585f5d1e004770d967ce87b9

5 years agoFix a possible crash when the listener is null
Chalard Jean [Thu, 4 Apr 2019 09:39:32 +0000 (18:39 +0900)]
Fix a possible crash when the listener is null

Test: manual
Bug: 129930804
Change-Id: Id598ae1d98154b19d156e52973cf379669e7060c

5 years agoMerge "Force app to draw navigation bar background" into qt-dev
TreeHugger Robot [Thu, 4 Apr 2019 09:24:31 +0000 (09:24 +0000)]
Merge "Force app to draw navigation bar background" into qt-dev

5 years agoMerge "Ime in gestural mode will have ime switcher and down arrow" into qt-dev
TreeHugger Robot [Thu, 4 Apr 2019 08:40:31 +0000 (08:40 +0000)]
Merge "Ime in gestural mode will have ime switcher and down arrow" into qt-dev

5 years agoForce app to draw navigation bar background
Jorim Jaggi [Mon, 11 Mar 2019 21:23:16 +0000 (14:23 -0700)]
Force app to draw navigation bar background

For gestural navigation, having a small bar drawn by SystemUI
looks really really weird. Since we force the status bar
background to be drawn in the client, we can also force the
navigation bar background without expecting any compat issues.

Bug: 129751541
Test: Open legacy app, ensure black is drawn in the client
Change-Id: I9cd4c5dd799324ff10bf9d28750e8f238ab1e459
(cherry picked from commit 461bb11371e956ab1ab2e19940d393d9d729be54)

5 years agoMerge "Camera: add QCIF resolution exception" into pi-dev
Yin-Chia Yeh [Thu, 4 Apr 2019 07:14:38 +0000 (00:14 -0700)]
Merge "Camera: add QCIF resolution exception" into pi-dev
am: 5b09928b22

Change-Id: I20e60ef6d84c969b1651e449f5a076183d38a7c9

5 years ago[automerger skipped] Merge "DO NOT MERGE Make a copy of data stored in LockSettingsSt...
Rich Cannings [Thu, 4 Apr 2019 07:06:47 +0000 (00:06 -0700)]
[automerger skipped] Merge "DO NOT MERGE Make a copy of data stored in LockSettingsStorage cache" into pi-dev
am: 9bdc35b2df -s ours
am skip reason: subject contains skip directive

Change-Id: Iec753dfc9cebc31463c427d5ad2bae47205ed11e

5 years ago[automerger skipped] Merge "DO NOT MERGE Refactor passwords/pins/patterns to byte...
Rich Cannings [Thu, 4 Apr 2019 07:05:25 +0000 (00:05 -0700)]
[automerger skipped] Merge "DO NOT MERGE Refactor passwords/pins/patterns to byte[]" into pi-dev
am: 157f05eb04 -s ours
am skip reason: subject contains skip directive

Change-Id: I33d588642ad1fb9a4820507f1ea39c9eccc0c9f8

5 years ago[automerger skipped] DO NOT MERGE Make a copy of data stored in LockSettingsStorage...
Rubin Xu [Thu, 4 Apr 2019 06:55:44 +0000 (23:55 -0700)]
[automerger skipped] DO NOT MERGE Make a copy of data stored in LockSettingsStorage cache
am: 567f2357f9 -s ours
am skip reason: subject contains skip directive

Change-Id: I6cd88a157c5de9109215ec52ecad66687446d2ab

5 years ago[automerger skipped] DO NOT MERGE Refactor passwords/pins/patterns to byte[]
Rich Cannings [Thu, 4 Apr 2019 06:53:40 +0000 (23:53 -0700)]
[automerger skipped] DO NOT MERGE Refactor passwords/pins/patterns to byte[]
am: 820b2504f3 -s ours
am skip reason: subject contains skip directive

Change-Id: Ia8e21b690d4966e3334db646d12bfe7e2bad4151

5 years agoIme in gestural mode will have ime switcher and down arrow
Matthew Ng [Wed, 3 Apr 2019 20:52:57 +0000 (13:52 -0700)]
Ime in gestural mode will have ime switcher and down arrow

When in gestural mode, the navigation bar will inset the ime window
higher to raise up revealing the original height of the navigation bar.
In place will be the (alt) back button (pointing down), the handle and
ime switcher (if should be shown).

Fixes: 128928130
Bug: 113952590
Bug: 112934365
Test: manual
Change-Id: I28cc4def846cb09eb2d7ab00d12561f0c198dbbc

5 years ago[automerger skipped] Merge "Clean up a few names of Telephony intent extra." am:...
Xiangyu/Malcolm Chen [Thu, 4 Apr 2019 00:13:58 +0000 (17:13 -0700)]
[automerger skipped] Merge "Clean up a few names of Telephony intent extra." am: 63bf486921 am: 2cadf8e9f9
am: 3722b6907f -s ours
am skip reason: change_id Iaf004d6881964bd19072e9ef623f2e89f2529639 with SHA1 2e1f945a6c is in history

Change-Id: Ic1bf053d7233e1068aa3d2d5b4512e6626d9a4cf

5 years agoMerge "Add logging for direct share target"
Susi Kharraz-Post [Thu, 4 Apr 2019 00:03:56 +0000 (00:03 +0000)]
Merge "Add logging for direct share target"

5 years agoMerge "Atom: Keep obfuscated_id name in BluetoothConnectionStateChanged"
Jack He [Thu, 4 Apr 2019 00:01:16 +0000 (00:01 +0000)]
Merge "Atom: Keep obfuscated_id name in BluetoothConnectionStateChanged"

5 years agoMerge "Make KeyguardSliceView title tappable"
Lucas Dupin [Thu, 4 Apr 2019 00:00:23 +0000 (00:00 +0000)]
Merge "Make KeyguardSliceView title tappable"

5 years agoMerge "Convert core/tests/BroadcastRadioTests/Android.mk file to Android.bp"
TreeHugger Robot [Wed, 3 Apr 2019 23:57:20 +0000 (23:57 +0000)]
Merge "Convert core/tests/BroadcastRadioTests/Android.mk file to Android.bp"

5 years agoMerge "Disallow pruning system shared static libraries"
TreeHugger Robot [Wed, 3 Apr 2019 23:57:10 +0000 (23:57 +0000)]
Merge "Disallow pruning system shared static libraries"

5 years agoMerge "Clean up a few names of Telephony intent extra." am: 63bf486921
Xiangyu/Malcolm Chen [Wed, 3 Apr 2019 23:49:33 +0000 (16:49 -0700)]
Merge "Clean up a few names of Telephony intent extra." am: 63bf486921
am: 2cadf8e9f9

Change-Id: I1026c87f73abc5dccee6c1b5a1747c53e436b5f0

5 years agoMerge "Make get/set feature async between settings and service"
Kevin Chyn [Wed, 3 Apr 2019 23:46:14 +0000 (23:46 +0000)]
Merge "Make get/set feature async between settings and service"

5 years agoAtom: Keep obfuscated_id name in BluetoothConnectionStateChanged
Jack He [Wed, 3 Apr 2019 23:08:21 +0000 (16:08 -0700)]
Atom: Keep obfuscated_id name in BluetoothConnectionStateChanged

Bug: 112969790
Test: make, test drive with statsd
Change-Id: Ic732d48b69799f241a0e96c159b06c778392d2bf

5 years agoMerge "Move NetworkStatsFactory into service directory"
TreeHugger Robot [Wed, 3 Apr 2019 23:44:26 +0000 (23:44 +0000)]
Merge "Move NetworkStatsFactory into service directory"

5 years agoMerge master@5406228 into git_qt-dev-plus-aosp.
Bill Rassieur [Wed, 3 Apr 2019 23:41:27 +0000 (16:41 -0700)]
Merge master@5406228 into git_qt-dev-plus-aosp.
am: bf3de50711

Change-Id: I684e995988f5a8ef330fbbf55da7ae9230f0cfc2

5 years agoMerge "Reserve display white balance metric"
Christine Franks [Wed, 3 Apr 2019 23:37:32 +0000 (23:37 +0000)]
Merge "Reserve display white balance metric"

5 years ago[automerger skipped] Merge "Modify the deprecation of PhoneNumberUtil isEmergencyNumb...
Shuo Qian [Wed, 3 Apr 2019 23:28:45 +0000 (16:28 -0700)]
[automerger skipped] Merge "Modify the deprecation of PhoneNumberUtil isEmergencyNumber" am: b8c7afacec am: 4362b01d2c
am: 47fdabe9fa -s ours
am skip reason: change_id If82bfc5102a9ac1d7e07ff744c0775a1dc95ba2c with SHA1 c6d55453ee is in history

Change-Id: I1f15c088f35ec60918c7296317969907c2699297

5 years agoMerge "Clean up a few names of Telephony intent extra."
Xiangyu/Malcolm Chen [Wed, 3 Apr 2019 23:24:23 +0000 (16:24 -0700)]
Merge "Clean up a few names of Telephony intent extra."
am: 63bf486921

Change-Id: If08d387b21a4e4cb71e7026ca781a472db51e2d1

5 years agoMerge "Differentiate the edge sensitivity from the edge panel size"
Winson Chung [Wed, 3 Apr 2019 23:24:07 +0000 (23:24 +0000)]
Merge "Differentiate the edge sensitivity from the edge panel size"

5 years agoMerge "Delete unnecessary cache"
Lucas Dupin [Wed, 3 Apr 2019 23:15:50 +0000 (23:15 +0000)]
Merge "Delete unnecessary cache"

5 years agoMerge "Modify the deprecation of PhoneNumberUtil isEmergencyNumber" am: b8c7afacec
Shuo Qian [Wed, 3 Apr 2019 23:15:05 +0000 (16:15 -0700)]
Merge "Modify the deprecation of PhoneNumberUtil isEmergencyNumber" am: b8c7afacec
am: 4362b01d2c

Change-Id: I74e90fc150b6928e244a35aabeb865b6ad521810

5 years agoMerge "Clean up a few names of Telephony intent extra."
Xiangyu/Malcolm Chen [Wed, 3 Apr 2019 23:06:47 +0000 (23:06 +0000)]
Merge "Clean up a few names of Telephony intent extra."

5 years agoMerge "Add per-file owner for CursorWindow.cpp"
TreeHugger Robot [Wed, 3 Apr 2019 23:05:48 +0000 (23:05 +0000)]
Merge "Add per-file owner for CursorWindow.cpp"

5 years agoMerge "Update default for silent-notifs-in-statusbar"
TreeHugger Robot [Wed, 3 Apr 2019 23:05:21 +0000 (23:05 +0000)]
Merge "Update default for silent-notifs-in-statusbar"

5 years agoMerge "Modify the deprecation of PhoneNumberUtil isEmergencyNumber"
Shuo Qian [Wed, 3 Apr 2019 23:04:48 +0000 (16:04 -0700)]
Merge "Modify the deprecation of PhoneNumberUtil isEmergencyNumber"
am: b8c7afacec

Change-Id: I5a41e63ee113447f75178bf3bfd996431046799a

5 years agoDifferentiate the edge sensitivity from the edge panel size
Winson Chung [Mon, 1 Apr 2019 20:39:21 +0000 (13:39 -0700)]
Differentiate the edge sensitivity from the edge panel size

Bug: 129492856
Test: Swipe from edge
Change-Id: I3b2ce3dd6b3633da1f83c8943538f0f4af5ce481

5 years agoMerge "Return the update timestamp in getStagedSessions()"
Todd Kennedy [Wed, 3 Apr 2019 22:57:48 +0000 (22:57 +0000)]
Merge "Return the update timestamp in getStagedSessions()"

5 years agoMerge "Audio: Check if BluetoothDevice.getName() returns null"
TreeHugger Robot [Wed, 3 Apr 2019 22:44:10 +0000 (22:44 +0000)]
Merge "Audio: Check if BluetoothDevice.getName() returns null"

5 years agoMerge "Add logging callback for back action"
Winson Chung [Wed, 3 Apr 2019 22:40:47 +0000 (22:40 +0000)]
Merge "Add logging callback for back action"

5 years agoMerge "Another redesign of notification guts"
TreeHugger Robot [Wed, 3 Apr 2019 22:36:34 +0000 (22:36 +0000)]
Merge "Another redesign of notification guts"

5 years agoMerge "Fix Global Actions animations, and use old power menu when panel is disabled...
TreeHugger Robot [Wed, 3 Apr 2019 22:36:29 +0000 (22:36 +0000)]
Merge "Fix Global Actions animations, and use old power menu when panel is disabled. Also tweak feature flags setup to use old flag as a force option for debugging."

5 years agoMerge "Adds Zygote.initNativeState"
Christian Wailes [Wed, 3 Apr 2019 22:35:35 +0000 (22:35 +0000)]
Merge "Adds Zygote.initNativeState"

5 years agoMake KeyguardSliceView title tappable
Lucas Dupin [Wed, 3 Apr 2019 20:14:11 +0000 (13:14 -0700)]
Make KeyguardSliceView title tappable

Bug: 129877485
Test: manual with caldendar event
Change-Id: I413f9c92541f7b7d8ee8a766a43f3086b88aa7f8

5 years agoMerge "Implement AIDL fanout from v2 HAL BroadcastRadioService"
George Lu [Wed, 3 Apr 2019 22:30:03 +0000 (22:30 +0000)]
Merge "Implement AIDL fanout from v2 HAL BroadcastRadioService"

5 years agoMerge "Add auto-mirror to help icon"
TreeHugger Robot [Wed, 3 Apr 2019 22:28:29 +0000 (22:28 +0000)]
Merge "Add auto-mirror to help icon"

5 years agoMerge "Add app compaction throttling."
TreeHugger Robot [Wed, 3 Apr 2019 22:24:24 +0000 (22:24 +0000)]
Merge "Add app compaction throttling."

5 years agoMerge "Fetch roundIcon|icon depending on RRO overlayed config_useRoundIcon"
Hyunyoung Song [Wed, 3 Apr 2019 22:18:35 +0000 (22:18 +0000)]
Merge "Fetch roundIcon|icon depending on RRO overlayed config_useRoundIcon"

5 years agoMerge "Modify the deprecation of PhoneNumberUtil isEmergencyNumber"
Shuo Qian [Wed, 3 Apr 2019 22:18:31 +0000 (22:18 +0000)]
Merge "Modify the deprecation of PhoneNumberUtil isEmergencyNumber"

5 years agoMerge "SDK API doesSwitchModemConfigTriggerReboot"
Chen Xu [Wed, 3 Apr 2019 22:17:47 +0000 (22:17 +0000)]
Merge "SDK API doesSwitchModemConfigTriggerReboot"

5 years agoMerge "Temporary hack until we have dynamic remounting."
Jeff Sharkey [Wed, 3 Apr 2019 22:17:08 +0000 (22:17 +0000)]
Merge "Temporary hack until we have dynamic remounting."

5 years agoMerge "Move product only fonts out of AOSP."
TreeHugger Robot [Wed, 3 Apr 2019 22:14:48 +0000 (22:14 +0000)]
Merge "Move product only fonts out of AOSP."

5 years agoDisallow pruning system shared static libraries
Winson [Tue, 26 Mar 2019 18:39:46 +0000 (11:39 -0700)]
Disallow pruning system shared static libraries

Shared libraries on the system image are assumed to always exist,
so do not prune them to free storage space.

Also fixes invalid uses of PackageSettingBase#getUserState

Bug: 128426859

Test: atest StaticSharedLibsHostTests
Test: atest EphemeralTest

Change-Id: I096749af6d7a5916ced433df60a33e2d5b8a7975

5 years agoMerge "Fix NPE in RNA#callOnFinished"
TreeHugger Robot [Wed, 3 Apr 2019 22:06:55 +0000 (22:06 +0000)]
Merge "Fix NPE in RNA#callOnFinished"

5 years agoMerge "MultiUserPerfTest - test restart profile"
TreeHugger Robot [Wed, 3 Apr 2019 22:03:51 +0000 (22:03 +0000)]
Merge "MultiUserPerfTest - test restart profile"

5 years agoMerge "Removed data and voice RAT from service state"
Jack Yu [Wed, 3 Apr 2019 22:02:30 +0000 (22:02 +0000)]
Merge "Removed data and voice RAT from service state"

5 years agoMerge "Add support for /odm/overlay"
TreeHugger Robot [Wed, 3 Apr 2019 21:56:39 +0000 (21:56 +0000)]
Merge "Add support for /odm/overlay"

5 years agoAdd logging for direct share target
Susi Kharraz-Post [Mon, 1 Apr 2019 15:07:59 +0000 (11:07 -0400)]
Add logging for direct share target

To answer the question if users share mainly with 1 or 2 direct targets
or with a multitude of contacts, we need to log the direct target +
package name. For privacy, this gets hashed with a salt that expires by
default every 7 days. The PH flag will allow us to change the expiration
time if we obtain PWG permission for that.

Bug: 126365511
Test: New test in ChooserActivityTest + manual testing of consistency
and flag rollout using adb shell device_config put systemui
hash_salt_max_days with multiple values

Change-Id: Ib4255b3eb39ca91ccb5803dc036ffe0ea83a27c9

5 years agoReserve display white balance metric
Christine Franks [Thu, 28 Mar 2019 18:47:00 +0000 (11:47 -0700)]
Reserve display white balance metric

Bug: 123930917
Test: n/a
Change-Id: Ieb7fb22566dee89b9128756ec2e2c06cc0211f9a

5 years agoMerge "Don't show the dismiss target if trying to drag the flyout."
TreeHugger Robot [Wed, 3 Apr 2019 21:47:38 +0000 (21:47 +0000)]
Merge "Don't show the dismiss target if trying to drag the flyout."

5 years agoMerge "With native FBE, lock user directories when framework is started"
Eric Biggers [Wed, 3 Apr 2019 21:38:28 +0000 (21:38 +0000)]
Merge "With native FBE, lock user directories when framework is started"

5 years agoMerge "MultiUserPerfTest test switch to pre-existing user"
TreeHugger Robot [Wed, 3 Apr 2019 21:34:44 +0000 (21:34 +0000)]
Merge "MultiUserPerfTest test switch to pre-existing user"

5 years agoAdd per-file owner for CursorWindow.cpp
Makoto Onuki [Wed, 3 Apr 2019 21:32:35 +0000 (14:32 -0700)]
Add per-file owner for CursorWindow.cpp

(Need to merge it first to avoid merge conflict)

Test: N/A
Change-Id: I075ac3ec47743f5d9cd2acbd0cc01ce55cd1a8e3

5 years agoModify the deprecation of PhoneNumberUtil isEmergencyNumber
sqian [Tue, 2 Apr 2019 02:26:18 +0000 (19:26 -0700)]
Modify the deprecation of PhoneNumberUtil isEmergencyNumber

1) Telephony API is still called by a bunch of Util methods in Android that
don't have context, therefore the service can be null. Throwing an
 exception can cause crash.
2) Fix the usage of isEmergencyNumber and isPotentialEmergencyNumber.

Test: Manual
Fixes: 129721537
Change-Id: If82bfc5102a9ac1d7e07ff744c0775a1dc95ba2c
Merged-In: If82bfc5102a9ac1d7e07ff744c0775a1dc95ba2c
(cherry picked from commit c6d55453ee9a4c352be873eb73c4ec433be11faf)

5 years agoMove NetworkStatsFactory into service directory
Chenbo Feng [Fri, 1 Mar 2019 23:07:24 +0000 (15:07 -0800)]
Move NetworkStatsFactory into service directory

In order to notify netd to swap eBPF maps before pulling the
networkStats from eBPF maps, NetworkStatsFactory need to use the
NetdServices to issue binder calls. So it need to be moved from
framework/base/core to framework/base/service since object in
framework/base/core cannot get any system services. This change is also
necessary for setting up a lock inside NetworkStatsFactory to prevent
racing between two netstats caller since the lock need to be hold before
netd trigger the map swap.

Also fix the compile problem caused by moving the NetworkStatsFactory
and the related tests. Rename the packages and the jni functions to a
more proper name.

Bug: 124764595
Bug: 128900919
Test: NetworkStatsFactoryTest
      android.app.usage.cts.NetworkUsageStatsTest
      android.net.cts.TrafficStatsTest

Change-Id: Ifcfe4df81caf8ede2e4e66a76552cb3200378fa8

5 years agoMerge "Check cardId in EuiccManager#isEnabled."
Jiuyu Sun [Wed, 3 Apr 2019 21:24:45 +0000 (21:24 +0000)]
Merge "Check cardId in EuiccManager#isEnabled."

5 years agoMerge "Modify the deprecation of PhoneNumberUtil isEmergencyNumber"
Shuo Qian [Wed, 3 Apr 2019 21:23:44 +0000 (21:23 +0000)]
Merge "Modify the deprecation of PhoneNumberUtil isEmergencyNumber"

5 years agoMerge "Use Class.forName instead of ClassLoader.loadClass." am: dc489aba0e am: 1b7fb8f7ae
Nicolas Geoffray [Wed, 3 Apr 2019 21:22:03 +0000 (14:22 -0700)]
Merge "Use Class.forName instead of ClassLoader.loadClass." am: dc489aba0e am: 1b7fb8f7ae
am: cb6605192c

Change-Id: I953c2bb97dda4ca654e552d58bf56d884d609fc0

5 years agoMerge "Add AudioAttribute flag missing in FLAG_ALL"
TreeHugger Robot [Wed, 3 Apr 2019 21:18:17 +0000 (21:18 +0000)]
Merge "Add AudioAttribute flag missing in FLAG_ALL"

5 years agoMerge "Update the system font implementation for new API change"
TreeHugger Robot [Wed, 3 Apr 2019 21:11:44 +0000 (21:11 +0000)]
Merge "Update the system font implementation for new API change"

5 years agoMerge changes Iaad5b04d,Ic810dda6
TreeHugger Robot [Wed, 3 Apr 2019 21:10:31 +0000 (21:10 +0000)]
Merge changes Iaad5b04d,Ic810dda6

* changes:
  Add null check before setting min size
  Remove assist capture on swipe up

5 years agoMerge "[automerger skipped] Merge "libmedia2_jni: link to libcgrouprc" am: 847de83188...
Android Build Merger (Role) [Wed, 3 Apr 2019 21:03:32 +0000 (21:03 +0000)]
Merge "[automerger skipped] Merge "libmedia2_jni: link to libcgrouprc" am: 847de83188 am: 751f3484ed am: de2654be88 -s ours am skip reason: change_id Ieebba36417d1f83a5946f927043f15dc8abc188a with SHA1 f7cbc11d0c is in history"

5 years ago[automerger skipped] Merge "libmedia2_jni: link to libcgrouprc" am: 847de83188 am...
Yifan Hong [Wed, 3 Apr 2019 20:54:58 +0000 (13:54 -0700)]
[automerger skipped] Merge "libmedia2_jni: link to libcgrouprc" am: 847de83188 am: 751f3484ed
am: de2654be88 -s ours
am skip reason: change_id Ieebba36417d1f83a5946f927043f15dc8abc188a with SHA1 f7cbc11d0c is in history

Change-Id: I6d7adf483a51c120be3b16aa780c50bd20b83656

5 years agoMerge "Notify caller about cancellation"
Alex Salo [Wed, 3 Apr 2019 20:54:57 +0000 (20:54 +0000)]
Merge "Notify caller about cancellation"

5 years agoMerge "Remove 'Sensors Off' tile as it is now a developer QS tile"
Michael Groover [Wed, 3 Apr 2019 20:54:17 +0000 (20:54 +0000)]
Merge "Remove 'Sensors Off' tile as it is now a developer QS tile"

5 years agoMerge "[automerger skipped] Merge "Convert Android.mk file to Android.bp" am: e6bcf62...
Android Build Merger (Role) [Wed, 3 Apr 2019 20:47:26 +0000 (20:47 +0000)]
Merge "[automerger skipped] Merge "Convert Android.mk file to Android.bp" am: e6bcf626be am: 7f0a256a78 am: e280e2e614 -s ours am skip reason: change_id I92f7584aeaf502336f67e04fbc22634784c9305d with SHA1 b61bab6a58 is in history"

5 years ago[automerger skipped] Merge "Convert Android.mk file to Android.bp" am: e6bcf626be...
Sasha Smundak [Wed, 3 Apr 2019 20:46:57 +0000 (13:46 -0700)]
[automerger skipped] Merge "Convert Android.mk file to Android.bp" am: e6bcf626be am: 7f0a256a78
am: e280e2e614 -s ours
am skip reason: change_id I92f7584aeaf502336f67e04fbc22634784c9305d with SHA1 b61bab6a58 is in history

Change-Id: If1e555e8549034a31fa346b7b81aac30231e9e74

5 years agoMerge "Deprecate runOnBinderBlocking()"
TreeHugger Robot [Wed, 3 Apr 2019 20:44:32 +0000 (20:44 +0000)]
Merge "Deprecate runOnBinderBlocking()"

5 years agoAdds Zygote.initNativeState
Chris Wailes [Wed, 3 Apr 2019 20:00:52 +0000 (13:00 -0700)]
Adds Zygote.initNativeState

This patch replaces three seperate native initialization functions with
a single function, reducing the number of times we need to cross the JNI
boundary.  In addition this loads an empty performance profile for the
zygote to address b/129704892.

Bug: 129704892
Test: make & boot
Test: Treehugger
Change-Id: I0413f554e0963a714e0b4de3196d31ffe6775a3a

5 years agoMerge "Refactor PowerWhitelistBackend"
TreeHugger Robot [Wed, 3 Apr 2019 20:41:21 +0000 (20:41 +0000)]
Merge "Refactor PowerWhitelistBackend"

5 years agoAudio: Check if BluetoothDevice.getName() returns null
Jack He [Wed, 3 Apr 2019 07:48:49 +0000 (00:48 -0700)]
Audio: Check if BluetoothDevice.getName() returns null

* BluetoothDevice.getName() could return null if Bluetooth process
  is not running. This patch uses empty string "" to replace the null
  value returned from BluetoothDevice.getName(). The logic is wrapped
  in BtHelper#getName(BluetoothDevice) method

Fixes: 129806133
Test: atest BluetoothInstrumentationTests on eng build
Change-Id: If44e675aafa779fa86451742aa917404987fc15a

5 years agoFix Global Actions animations, and use old power menu when panel is disabled.
Aaron Heuckroth [Tue, 2 Apr 2019 18:21:57 +0000 (14:21 -0400)]
Fix Global Actions animations, and use old power menu when panel is disabled.
Also tweak feature flags setup to use old flag as a force option for debugging.

Test: Automated tests pass. Long-press power menu without plugin installed from different device orientations -- menu should animate in from the closest screen edge in all orientations and rotate correctly when device is rotated. Repeat after enabling the settings_global_actions_force_grid_enabled option in Feature Flags to ensure the correct behavior persists when using the new grid layout.

Fixes: 126444760
Fixes: 129698948

Change-Id: I9ac387244a5904f832c5d8b6c40362c00c6a22a2

5 years agoMerge "Convert core/tests/featureflagtests/Android.mk file to Android.bp"
TreeHugger Robot [Wed, 3 Apr 2019 20:31:10 +0000 (20:31 +0000)]
Merge "Convert core/tests/featureflagtests/Android.mk file to Android.bp"