OSDN Git Service

android-x86/frameworks-base.git
4 years agoMerge "docs: Added desc. of launcher app criteria in Q" into qt-dev
Kevin Hufnagle [Thu, 29 Aug 2019 00:16:27 +0000 (17:16 -0700)]
Merge "docs: Added desc. of launcher app criteria in Q" into qt-dev
am: b14d2dede2

Change-Id: Ie0f494cf950278cf1f0ed634fa5bc852852213f3

4 years agoMerge "docs: Added desc. of launcher app criteria in Q" into qt-dev
Kevin Hufnagle [Wed, 28 Aug 2019 22:08:47 +0000 (22:08 +0000)]
Merge "docs: Added desc. of launcher app criteria in Q" into qt-dev

4 years agoMerge "Docs: clarify getSharedPreferences behavior" into qt-dev
Andrew Solovay [Wed, 28 Aug 2019 20:14:39 +0000 (13:14 -0700)]
Merge "Docs: clarify getSharedPreferences behavior" into qt-dev
am: 3791f9b071

Change-Id: I016d0a42219a21833b98432869607c0b41f71c0b

4 years agoMerge "Docs: clarify getSharedPreferences behavior" into qt-dev
Andrew Solovay [Wed, 28 Aug 2019 18:11:44 +0000 (18:11 +0000)]
Merge "Docs: clarify getSharedPreferences behavior" into qt-dev

4 years agodocs: Added desc. of launcher app criteria in Q
Kevin Hufnagle [Thu, 15 Aug 2019 00:23:58 +0000 (17:23 -0700)]
docs: Added desc. of launcher app criteria in Q

As of Android Q, an app is included in the return value of
LauncherApps#getActivityList() unless it fulfills specific criteria.
This CL describes the conditions necessary for an app's activities
to *not* appear in the list.

Test: make ds-docs -j32

Bug: 130352392
Change-Id: I6a6e17351a6c1234229d1d7eb8147ee2c24ee2c9

4 years agoMerge "aw: Correct doc of addJavascriptInterface()" into qt-dev
Shimi Zhang [Wed, 28 Aug 2019 01:59:46 +0000 (18:59 -0700)]
Merge "aw: Correct doc of addJavascriptInterface()" into qt-dev
am: 62c764e29b

Change-Id: Ib1d1aa6262c3571c4c4f284b12dfe1ec5b40e3c8

4 years agoMerge "aw: Correct doc of addJavascriptInterface()" into qt-dev
TreeHugger Robot [Wed, 28 Aug 2019 01:39:59 +0000 (01:39 +0000)]
Merge "aw: Correct doc of addJavascriptInterface()" into qt-dev

4 years agoUse mContext directly
Daniel Rosenberg [Wed, 28 Aug 2019 01:10:41 +0000 (18:10 -0700)]
Use mContext directly
am: dd3737611c

Change-Id: Icf6e6216a789f8f7899eeae39cd253e285d7c98e

4 years agoDocs: clarify getSharedPreferences behavior
Nate Fischer [Tue, 27 Aug 2019 23:37:00 +0000 (16:37 -0700)]
Docs: clarify getSharedPreferences behavior

No change to logic, only documentation.

This updates Context#getSharedPreferences docs:

 * Fix a typo ("thead" -> "thread")
 * Formatting: use <p> when appropriate, {@link} to other APIs, limit
   the @param to only a single sentence
 * Mention getSharedPreferences() may actually perform disk IO (this was
   undocumented)
 * Mention Editor#apply() as well as #commit()

Fixes: 140137651
Test: make docs
Change-Id: I245371d13d4f317c6c522debcdf7938ab783f897

4 years agoMerge "5GE Icon: Show 5G subscript E (italics)" into qt-r1-dev
Jayachandran Chinnakkannu [Tue, 27 Aug 2019 21:46:01 +0000 (21:46 +0000)]
Merge "5GE Icon: Show 5G subscript E (italics)" into qt-r1-dev

4 years agoUse mContext directly
Daniel Rosenberg [Tue, 27 Aug 2019 02:29:45 +0000 (19:29 -0700)]
Use mContext directly

We already have the context saved, so we can just use that.

Test: Edited code to force expection path to be called, confirmed
      reboot happens
Bug: 138952436
Bug: 140111727

Change-Id: I40e95d72c63f864131f0028c47f121463d0f6dff

4 years agoMerge "docs: Added content desc in ImageView example." into qt-dev
Kevin Hufnagle [Mon, 26 Aug 2019 22:10:39 +0000 (15:10 -0700)]
Merge "docs: Added content desc in ImageView example." into qt-dev
am: eba5156095

Change-Id: I08a66c2da26833978d2ed4b77de175b3bfe78931

4 years agoMerge "docs: Added content desc in ImageView example." into qt-dev
Kevin Hufnagle [Mon, 26 Aug 2019 21:05:37 +0000 (21:05 +0000)]
Merge "docs: Added content desc in ImageView example." into qt-dev

4 years agoaw: Correct doc of addJavascriptInterface()
Shimi Zhang [Mon, 26 Aug 2019 18:01:12 +0000 (11:01 -0700)]
aw: Correct doc of addJavascriptInterface()

The Javadoc of addJavascriptInterface() mentioned that the injected
Java object will be injected to main frame, but this is not telling
a full picture. The current implementation will inject the Java
object to all the frames actually.

This CL corrected the misleading wording and add a new warning to
explicitly call it out as a security risk.

Bug: 113336656
Test: make ds-docs
Change-Id: Ia79381d1ab38afa963ea7365526749c14e25238c

4 years agoAdd SocketUtils CTS tests
Paul Hu [Mon, 26 Aug 2019 03:21:52 +0000 (20:21 -0700)]
Add SocketUtils CTS tests
am: 0141ef0948

Change-Id: I92a6b3e5cb1fa993dfaeacb442cbf6b401dd5996

4 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 25 Aug 2019 07:48:06 +0000 (00:48 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ida726221a394a3d372b293f4023dfe53658ab926

4 years agoAdd SocketUtils CTS tests
Paul Hu [Tue, 18 Jun 2019 11:26:29 +0000 (04:26 -0700)]
Add SocketUtils CTS tests

Test APIs below:
makeNetlinkSocketAddress(int, int)
makePacketSocketAddress(short, int)
makePacketSocketAddress(int, byte[])
closeSocket(java.io.FileDescriptor)

Bug:129200596
Test: atest FrameworksNetTests
      atest CtsNetTestCases --instant
Merged-In: I36252fdf516cf4a9d4506b615cdb38f5413739e5
(cherry picked from commit 93a53224d3a1cd6fc1de7d94955e03116b744e4a)

Change-Id: I0963acaf00c5bdd93db0503c426f190f409ca076

4 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Fri, 23 Aug 2019 00:38:24 +0000 (00:38 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev

4 years ago5GE Icon: Show 5G subscript E (italics)
vagdevi [Thu, 22 Aug 2019 19:02:47 +0000 (12:02 -0700)]
5GE Icon: Show 5G subscript E (italics)

URL: https://screenshot.googleplex.com/SpTnerVCnQZ.png

Bug: 139776677
Test: manual using PARIS Override for
show_carrier_data_icon_pattern_string
Change-Id: I69e32c89558fba884bb12d29cb8ff81470591bb0

4 years agoMerge "Revert "Hold Display suspend blocker until doze starts"" into qt-r1-dev
Adrian Salido [Thu, 22 Aug 2019 22:53:56 +0000 (22:53 +0000)]
Merge "Revert "Hold Display suspend blocker until doze starts"" into qt-r1-dev

4 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 22 Aug 2019 22:35:19 +0000 (15:35 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I10ae69007f380648f07514a5ffb7de97bb7471d5

4 years agoRevert "Hold Display suspend blocker until doze starts"
Adrian Salido [Thu, 22 Aug 2019 20:41:15 +0000 (20:41 +0000)]
Revert "Hold Display suspend blocker until doze starts"

This reverts commit 93e164726f2d243eb75351b4e52d683573f9f802.

Reason for revert: This is causing wake lock to remain held
while screen is off

Bug: 139875245
Change-Id: I0ff714a0cf2496d141d355de68761ab720a09539

4 years agoMerge "DO NOT MERGE DMD: Support minimum refresh rate" into qt-r1-dev
Adrian Salido [Thu, 22 Aug 2019 02:09:34 +0000 (02:09 +0000)]
Merge "DO NOT MERGE DMD: Support minimum refresh rate" into qt-r1-dev

4 years agoMerge "Hold Display suspend blocker until doze starts" into qt-r1-dev
TreeHugger Robot [Thu, 22 Aug 2019 00:22:43 +0000 (00:22 +0000)]
Merge "Hold Display suspend blocker until doze starts" into qt-r1-dev

4 years agoMerge "Only delay bouncer if bypass is off" into qt-r1-dev
TreeHugger Robot [Wed, 21 Aug 2019 23:54:25 +0000 (23:54 +0000)]
Merge "Only delay bouncer if bypass is off" into qt-r1-dev

4 years agoHold Display suspend blocker until doze starts
Santos Cordon [Wed, 21 Aug 2019 21:25:44 +0000 (22:25 +0100)]
Hold Display suspend blocker until doze starts

When transitioning to DOZE, there is a race condition between the
release of the display suspend blocker and calling startDream. This
creates a gap where the device can suspend before the dream actually
starts.  In practice, this can cause gestures, which are nitialized
from the Dream Service, to not function until something else
temporarily wakes up the device enough for the CPU to run a few
cycles.

This change delays the release of the display suspend blocker if
there is a pending recalculation of the sleep/doze state.

Bug: 138828701
Test: Manual testing - was 1 in 5 chance of reproing.  Tested up to
0 out of 50 after the fix.
Test: atest PowerManagerServiceTest

Change-Id: Ic6df469972dc5765a8c4507404d1dc33f13ec0c3

4 years agoOnly delay bouncer if bypass is off
Lucas Dupin [Thu, 15 Aug 2019 18:41:52 +0000 (11:41 -0700)]
Only delay bouncer if bypass is off

Test: pull up bouncer with bypass on and off
Test: atest KeyguardBouncerTest
Fixes: 137563419
Change-Id: I5ca00ebacda2c893bf62d5c882fe0a244b77f4fc
Merged-In: I5ca00ebacda2c893bf62d5c882fe0a244b77f4fc
(cherry picked from commit d969b7622420482a4836378a8ad5d61b38e6755c)

4 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 21 Aug 2019 20:53:24 +0000 (13:53 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: If6e4358b08995e5caaaaa90bba9fff23f4e4a486

4 years agoDO NOT MERGE DMD: Support minimum refresh rate
Long Ling [Sun, 18 Aug 2019 01:02:46 +0000 (18:02 -0700)]
DO NOT MERGE DMD: Support minimum refresh rate

Bug: 139685237
Change-Id: Ib41dee351276d70733fffa18620455e4e6f9ddfc

4 years agoMerge changes from topic "device_config_for_display_90" into qt-r1-dev
Long Ling [Wed, 21 Aug 2019 19:35:12 +0000 (19:35 +0000)]
Merge changes from topic "device_config_for_display_90" into qt-r1-dev

* changes:
  DO NOT MERGE Move device config key high_refresh_rate_blacklist to display_manager
  DO NOT MERGE Allow DeviceConfig to change display settings
  DO NOT MERGE DeviceConfig: Add Name space and keys for Display Manager

4 years agoMerge "Mark USAGE_NOTIFICATION_EVENT vibrations as notifications" into qt-r1-dev
TreeHugger Robot [Wed, 21 Aug 2019 19:04:49 +0000 (19:04 +0000)]
Merge "Mark USAGE_NOTIFICATION_EVENT vibrations as notifications" into qt-r1-dev

4 years agoMerge "Add carrier config for ignoring user RTT setting" into qt-r1-dev
Hall Liu [Wed, 21 Aug 2019 18:28:20 +0000 (18:28 +0000)]
Merge "Add carrier config for ignoring user RTT setting" into qt-r1-dev

4 years agoDO NOT MERGE Move device config key high_refresh_rate_blacklist to display_manager
Long Ling [Tue, 13 Aug 2019 23:07:14 +0000 (16:07 -0700)]
DO NOT MERGE Move device config key high_refresh_rate_blacklist to display_manager

high_refresh_rate_blacklist belongs to smooth display feature. Move the
key from namespace window_manager to display_manager.

Bug: 139138964
Test: atest WmTests:HighRefreshRateBlacklistTest
Test: Manual adb shell device_config/dumpsys window
Change-Id: I3ae8ecce80ef97c4683a1c18ad81dc78456e9d57

4 years agoDO NOT MERGE Allow DeviceConfig to change display settings
Long Ling [Thu, 8 Aug 2019 23:05:44 +0000 (16:05 -0700)]
DO NOT MERGE Allow DeviceConfig to change display settings

Allow DeviceConfig to change default refresh rate and 60 hz only
thresholds.

Bug: 139138964
Change-Id: I3bf5f8cf7a99e4723265138004fbbd08102119d9

4 years agoDO NOT MERGE DeviceConfig: Add Name space and keys for Display Manager
Long Ling [Thu, 8 Aug 2019 23:05:19 +0000 (16:05 -0700)]
DO NOT MERGE DeviceConfig: Add Name space and keys for Display Manager

Bug: 139138964
Change-Id: I077380583f0daf650b17832a6cec4919b41ac155

4 years agoMerge "Treat SENSOR_DIRTY as user not detected" into qt-r1-dev
TreeHugger Robot [Wed, 21 Aug 2019 17:25:15 +0000 (17:25 +0000)]
Merge "Treat SENSOR_DIRTY as user not detected" into qt-r1-dev

4 years agoTreat SENSOR_DIRTY as user not detected
Ilya Matyukhin [Tue, 20 Aug 2019 22:38:57 +0000 (15:38 -0700)]
Treat SENSOR_DIRTY as user not detected

Bug: 139620163
Test: no double vibration on authentication timeout while the sensor
is covered.

Change-Id: I26ec9ca0f911fb029eb9175fe1923c8e9a27e693

4 years ago[automerger skipped] Merge "DO NOT MERGE: Fixed an issue where the notification icons...
Selim Cinek [Wed, 21 Aug 2019 00:14:38 +0000 (17:14 -0700)]
[automerger skipped] Merge "DO NOT MERGE: Fixed an issue where the notification icons wouldn't show while docked" into qt-dev
am: cceea08cc7 -s ours
am skip reason: change_id I8f7bd7a6a0562942ed3e12f28705043722d177e8 with SHA1 65c96f2fd4 is in history

Change-Id: I5451e6467e8ffebd08360abfab9f86a429ed0721

4 years agoMerge "EglDisplay may be null and cause Null point exception" into qt-r1-dev
Selim Cinek [Tue, 20 Aug 2019 23:40:41 +0000 (23:40 +0000)]
Merge "EglDisplay may be null and cause Null point exception" into qt-r1-dev

4 years agoMerge "DO NOT MERGE: Fixed an issue where the notification icons wouldn't show while...
Selim Cinek [Tue, 20 Aug 2019 23:39:13 +0000 (23:39 +0000)]
Merge "DO NOT MERGE: Fixed an issue where the notification icons wouldn't show while docked" into qt-dev

4 years agoDO NOT MERGE: Fixed an issue where the notification icons wouldn't show while docked
Selim Cinek [Mon, 19 Aug 2019 18:57:11 +0000 (11:57 -0700)]
DO NOT MERGE: Fixed an issue where the notification icons wouldn't show while docked

Since we're using the pulsing state for docking, the icons would now
become clipped while pulsing.

Fixes: 139096431
Test: dock, observe notification icons showing
Change-Id: If251e6b18c03b2824b4d3ea4dab82d4a403565f1
Merged-In: I8f7bd7a6a0562942ed3e12f28705043722d177e8

4 years agoMerge "Fixed null callback issue" into qt-r1-dev
Jayachandran Chinnakkannu [Tue, 20 Aug 2019 17:37:03 +0000 (17:37 +0000)]
Merge "Fixed null callback issue" into qt-r1-dev

4 years agoMark USAGE_NOTIFICATION_EVENT vibrations as notifications
Alexey Kuzmin [Tue, 20 Aug 2019 17:02:14 +0000 (18:02 +0100)]
Mark USAGE_NOTIFICATION_EVENT vibrations as notifications

Non-notification background vibrations are ignored. However, we don't
want to ignore notifications that represent various events, such as
reminders.
Test: Create a calendar event with a reminder. Close calendar and wait
for reminder. The device should vibrate when the reminder pops up.
Bug: 139523314

Change-Id: I231239daf7cc85bf69aaeef1da31218a23fcf311

4 years agoMerge "Remove unused setting" into qt-r1-dev
Kevin Chyn [Mon, 19 Aug 2019 21:50:22 +0000 (21:50 +0000)]
Merge "Remove unused setting" into qt-r1-dev

4 years agoMerge "Increased precision of Lat/Lng decoder and enabled BSSID list to be explicit...
TreeHugger Robot [Mon, 19 Aug 2019 20:37:12 +0000 (20:37 +0000)]
Merge "Increased precision of Lat/Lng decoder and enabled BSSID list to be explicit (client)" into qt-r1-dev

4 years agoMerge "WebView: prettyprint docs" into qt-dev
Nate Fischer [Mon, 19 Aug 2019 20:22:49 +0000 (13:22 -0700)]
Merge "WebView: prettyprint docs" into qt-dev
am: 20f2f0b5ea

Change-Id: Iad51d33c434a42272c448ba7a807bdcbe6cb51d0

4 years agoMerge "Fixing a bug where content capture sessions with child sessions could get...
Mihir Patel [Mon, 19 Aug 2019 20:11:44 +0000 (20:11 +0000)]
Merge "Fixing a bug where content capture sessions with child sessions could get stuck in a state where no event flushing other than forced flushes would occur" into qt-r1-dev

4 years agoMerge "WebView: prettyprint docs" into qt-dev
TreeHugger Robot [Mon, 19 Aug 2019 19:06:32 +0000 (19:06 +0000)]
Merge "WebView: prettyprint docs" into qt-dev

4 years agoFixed null callback issue
Jack Yu [Mon, 19 Aug 2019 01:51:30 +0000 (18:51 -0700)]
Fixed null callback issue

Fixed the vendor data/network service non-responsive
issue. The callback binder passed from frameworks
might be GC'd so that vendor data/network service skipped
calling the callback. This eventually caused data
connection state machine messed up.

Fixed by turning the weak refernce to the callback into
a strong reference. This ensure the binder alive when
vendor service needs to invoke the callback.

Test: Telephony sanity tests
Bug: 139076980
Change-Id: Ica0b7b810ffd5416ffd1b2b61f7ebc4af0dcb8ce

4 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Sun, 18 Aug 2019 06:47:23 +0000 (06:47 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev

4 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 18 Aug 2019 05:33:19 +0000 (22:33 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ic933893725676e939dff7615cbdae520d0597e84

4 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Sun, 18 Aug 2019 01:42:27 +0000 (01:42 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev

4 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 17 Aug 2019 19:52:27 +0000 (12:52 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I1007992fe397102078f19c63aa04cb63fe7c8765

4 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Sat, 17 Aug 2019 16:37:30 +0000 (16:37 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev

4 years agoMerge "Get resource based on subId for multi-SIM" into qt-r1-dev
TreeHugger Robot [Sat, 17 Aug 2019 13:58:53 +0000 (13:58 +0000)]
Merge "Get resource based on subId for multi-SIM" into qt-r1-dev

4 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 17 Aug 2019 05:55:20 +0000 (22:55 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I94e4a89f9517f1991432295abba850d842d07877

4 years agoRemove unused setting
Kevin Chyn [Fri, 16 Aug 2019 23:51:47 +0000 (16:51 -0700)]
Remove unused setting

Bug: 139554930

Test: manual
Change-Id: I5c4af200b0c61efb9a0f76d00c2f047d4880d77b
Merged-In: I5c4af200b0c61efb9a0f76d00c2f047d4880d77b

4 years agoIncreased precision of Lat/Lng decoder and enabled BSSID list to be explicit (client)
Roy Want [Thu, 15 Aug 2019 18:14:19 +0000 (11:14 -0700)]
Increased precision of Lat/Lng decoder and enabled BSSID list to be explicit (client)

Bug: 139448024
Bug: 139448573
Test: All tests pass (with increased precision), end-to-end tests pass.
Change-Id: I1e1dd3b26df707279e6cc2d59951f28d7878efe8

4 years agoMerge "Do not stop idmap2d after OMS initialization" into qt-r1-dev
TreeHugger Robot [Fri, 16 Aug 2019 19:43:52 +0000 (19:43 +0000)]
Merge "Do not stop idmap2d after OMS initialization" into qt-r1-dev

4 years agoMerge "API: Explicitly track incompatibilities with previous API versions" into qt-dev
Adrian Roos [Thu, 15 Aug 2019 20:20:20 +0000 (13:20 -0700)]
Merge "API: Explicitly track incompatibilities with previous API versions" into qt-dev
am: d3b53e080d

Change-Id: I6da708a8b05f762af1b781db75aa2511aa895abf

4 years agoMerge "API: Explicitly track incompatibilities with previous API versions" into qt-dev
TreeHugger Robot [Thu, 15 Aug 2019 18:07:32 +0000 (18:07 +0000)]
Merge "API: Explicitly track incompatibilities with previous API versions" into qt-dev

4 years agoMerge "Allow for more wiggle room (literally) in BrightlineFalsingManager." into...
Dave Mankoff [Thu, 15 Aug 2019 14:37:06 +0000 (14:37 +0000)]
Merge "Allow for more wiggle room (literally) in BrightlineFalsingManager." into qt-r1-dev

4 years agoMerge "Fix interfaceVersion in DhcpServerCallbacks" into qt-r1-dev
TreeHugger Robot [Thu, 15 Aug 2019 03:27:35 +0000 (03:27 +0000)]
Merge "Fix interfaceVersion in DhcpServerCallbacks" into qt-r1-dev

4 years agoMerge "Added debug messages and watchdog" into qt-r1-dev
Jack Yu [Thu, 15 Aug 2019 03:15:12 +0000 (03:15 +0000)]
Merge "Added debug messages and watchdog" into qt-r1-dev

4 years agodocs: Added content desc in ImageView example.
Kevin Hufnagle [Thu, 15 Aug 2019 00:50:17 +0000 (17:50 -0700)]
docs: Added content desc in ImageView example.

The example ImageView at the beginning of the class description now
includes a content description attribute. Also updated the links in
the first paragraph where code fonts aren't necessary.

Test: make ds-docs -j32

Bug: 138856073
Change-Id: I33a75dc31d68289d955979d2fe8afe2ae3d4770e

4 years agoMerge "Revert "docs: Added desc. of launcher app criteria in Q"" into qt-dev
Kevin Hufnagle [Thu, 15 Aug 2019 00:35:05 +0000 (17:35 -0700)]
Merge "Revert "docs: Added desc. of launcher app criteria in Q"" into qt-dev
am: 81d74c6c72

Change-Id: I964a029a53fb5f14d872baceee9883391da24cd3

4 years agoAdded debug messages and watchdog
Jack Yu [Wed, 14 Aug 2019 09:32:17 +0000 (02:32 -0700)]
Added debug messages and watchdog

Added debug messages and watchdog to catch
unresponsive data service issue.

Bug: 139076980
Test: Manual
Change-Id: I52dd126fddc1b1e8b18d5388a92aabaa3e2e48d5

4 years agoMerge "Revert "docs: Added desc. of launcher app criteria in Q"" into qt-dev
Kevin Hufnagle [Wed, 14 Aug 2019 23:32:22 +0000 (23:32 +0000)]
Merge "Revert "docs: Added desc. of launcher app criteria in Q"" into qt-dev

4 years agoMerge "Enables back gesture nav in screen pinning" into qt-r1-dev
Hongwei Wang [Wed, 14 Aug 2019 20:50:57 +0000 (20:50 +0000)]
Merge "Enables back gesture nav in screen pinning" into qt-r1-dev

4 years agoMerge "docs: Added desc. of launcher app criteria in Q" into qt-dev
Kevin Hufnagle [Wed, 14 Aug 2019 20:23:33 +0000 (13:23 -0700)]
Merge "docs: Added desc. of launcher app criteria in Q" into qt-dev
am: a5e5c177d1

Change-Id: I270a33ab91ec0185bda3c82e600b18c9cca6c8ec

4 years agoMerge "docs: Correct sensor runtime permission documentation" into qt-dev
Brian Duddie [Wed, 14 Aug 2019 20:09:45 +0000 (13:09 -0700)]
Merge "docs: Correct sensor runtime permission documentation" into qt-dev
am: 119f1220cd

Change-Id: I380c1dab916509ac0878e8a60712e7f08e7451a5

4 years agoRevert "docs: Added desc. of launcher app criteria in Q"
Kevin Hufnagle [Wed, 14 Aug 2019 19:22:59 +0000 (19:22 +0000)]
Revert "docs: Added desc. of launcher app criteria in Q"

This reverts commit 786f22e4169126c82358490ad6e9c70028fc102b.

Reason for revert: Need further feedback from SMEs

Bug: 130352392

Change-Id: I51b3bd19e27d28fe3aea300893da50bbf889ec73

4 years agoMerge "docs: Added desc. of launcher app criteria in Q" into qt-dev
Kevin Hufnagle [Wed, 14 Aug 2019 19:22:11 +0000 (19:22 +0000)]
Merge "docs: Added desc. of launcher app criteria in Q" into qt-dev

4 years agoDo not stop idmap2d after OMS initialization
Ryan Mitchell [Wed, 14 Aug 2019 17:25:26 +0000 (10:25 -0700)]
Do not stop idmap2d after OMS initialization

The OMS was calling stopIdmapService after OMS initialization finished.
This method was not setting the cached service binder to null and the
service binder was being reused when an overlay is enabled or disabled
within the 10 seconds the connection to the service is still opened.

This change no longer calls stopIdmapService and makes startIdmapService
and stopIdmapService private to IdmapDaemon.

Bug: 139307780
Test: enabled overlay within 10 seconds of OMS startup ending and
      observed state STATE_ENABLED.
Change-Id: I46b6a3631278c4dbdf5e5d373e085bac5186ed9a

4 years agoMerge "docs: Correct sensor runtime permission documentation" into qt-dev
Brian Duddie [Wed, 14 Aug 2019 17:32:05 +0000 (17:32 +0000)]
Merge "docs: Correct sensor runtime permission documentation" into qt-dev

4 years agoAllow for more wiggle room (literally) in BrightlineFalsingManager.
Dave Mankoff [Tue, 13 Aug 2019 21:52:01 +0000 (17:52 -0400)]
Allow for more wiggle room (literally) in BrightlineFalsingManager.

Bug: 138812628
Change-Id: I8590b2daff0337a395d333c07c2231cc10d236a3
Test: manual testing with different people to find better values.

4 years agoGet resource based on subId for multi-SIM
Chiachang Wang [Wed, 14 Aug 2019 11:54:59 +0000 (04:54 -0700)]
Get resource based on subId for multi-SIM

The resource loading is done based on the last SIM to come up
which is not a deterministic design. Thus, update the way to get
the resource based on the subId.

Test: atest FrameworksNetTests
Test: manually test with avoid bad wifi feature supported sim
Bug: 138956509
Change-Id: Ib5b085d97103889600773d269e03b939c29ca47d
Merged-In: Ib5b085d97103889600773d269e03b939c29ca47d
(cherry picked from commit 5e994ea02c7a820543f3726186240548676f4b4e)

4 years agoMerge "apply empty transaction in startActivitySync" into qt-dev
Prabir Pradhan [Wed, 14 Aug 2019 08:40:41 +0000 (01:40 -0700)]
Merge "apply empty transaction in startActivitySync" into qt-dev
am: f928b661d9

Change-Id: Ic4b27be6729a3a7627a8fc499cd99fdec42cad35

4 years agoMerge "apply empty transaction in startActivitySync" into qt-dev
TreeHugger Robot [Wed, 14 Aug 2019 06:42:05 +0000 (06:42 +0000)]
Merge "apply empty transaction in startActivitySync" into qt-dev

4 years agoWebView: prettyprint docs
Nate Fischer [Tue, 13 Aug 2019 03:44:51 +0000 (20:44 -0700)]
WebView: prettyprint docs

No change to logic, only docs.

Use class=prettyprint so docs are syntax highlighted. This also fixes a
section which should have been an ordered list but abused <pre> instead.

Bug: 125526827
Test: make -j4 docs
Change-Id: Iac780ace066be35620d5121b1977df404eaf18c1

4 years agoMerge "[AT&T] Add key to show 4g for 3g RAT." into qt-r1-dev
Vagdevi Kondeti [Tue, 13 Aug 2019 18:57:29 +0000 (18:57 +0000)]
Merge "[AT&T] Add key to show 4g for 3g RAT." into qt-r1-dev

4 years agodocs: Correct sensor runtime permission documentation
Brian Duddie [Tue, 13 Aug 2019 18:42:19 +0000 (11:42 -0700)]
docs: Correct sensor runtime permission documentation

The ACTIVITY_RECOGNITION permission applies to TYPE_STEP_DETECTOR, not
TYPE_GEOMAGNETIC_ROTATION_VECTOR.

Bug: 139363621
Test: n/a, comment update only
Change-Id: Ibce74be1e704ded04ae710988d0e03df43ab1cf9

4 years agoEnables back gesture nav in screen pinning
Hongwei Wang [Mon, 12 Aug 2019 18:26:14 +0000 (11:26 -0700)]
Enables back gesture nav in screen pinning

Bug: 138969972
Test: Back gesture in screen pinning mode
Change-Id: I0ddb7a6e7978e7ec82d7949048e75147c5ece3c8

4 years agoMerge "bootanimation: Change bootanim ioprio to highest in IOPRIO_CLASS_RT" into...
TreeHugger Robot [Tue, 13 Aug 2019 17:45:57 +0000 (17:45 +0000)]
Merge "bootanimation: Change bootanim ioprio to highest in IOPRIO_CLASS_RT" into qt-r1-dev

4 years agoEglDisplay may be null and cause Null point exception
Bill Lin [Mon, 12 Aug 2019 03:45:27 +0000 (11:45 +0800)]
EglDisplay may be null and cause Null point exception

Add null check on EglDisplay in case unexpected NPE

Fixes: 139195633
Fixes: 139113237
Test: Run Forest for CTS  x86 CtsAppTestCases on cf_x86_phone-userdebug
Test: atest com.android.systemui.glwallpaper.EglHelperTest

Change-Id: Iefb17082746bacf46b664b253a8baa8ee4b7cd68

4 years agoMerge "Freezing screen when dismiss pip if orientation is going to change." into...
TreeHugger Robot [Tue, 13 Aug 2019 04:09:12 +0000 (04:09 +0000)]
Merge "Freezing screen when dismiss pip if orientation is going to change." into qt-r1-dev

4 years agoMerge "Fix sensor triggering issue" into qt-r1-dev
TreeHugger Robot [Tue, 13 Aug 2019 00:24:14 +0000 (00:24 +0000)]
Merge "Fix sensor triggering issue" into qt-r1-dev

4 years agodocs: Added desc. of launcher app criteria in Q
Kevin Hufnagle [Mon, 12 Aug 2019 23:52:41 +0000 (16:52 -0700)]
docs: Added desc. of launcher app criteria in Q

As of Android Q, an app is included in the return value of
LauncherApps#getActivityList() unless it fulfills specific criteria.
This CL describes the conditions necessary for an app's activities
to *not* appear in the list.

Test: make ds-docs -j32

Bug: 130352392
Change-Id: Iad888a7a7f47d090da1b143ac152705577144d20

4 years agoMerge "Log various types of back gesture using StatsLog Bug: 135152789 Test: m statsd...
TreeHugger Robot [Mon, 12 Aug 2019 23:18:04 +0000 (23:18 +0000)]
Merge "Log various types of back gesture using StatsLog Bug: 135152789 Test: m statsd_testdrive -j31 Test: out/host/linux-x86/bin/statsd_testdrive 224" into qt-r1-dev

4 years agoMerge "Using the keyguard fading away duration for the scrim" into qt-r1-dev
TreeHugger Robot [Mon, 12 Aug 2019 22:44:56 +0000 (22:44 +0000)]
Merge "Using the keyguard fading away duration for the scrim" into qt-r1-dev

4 years agoFix sensor triggering issue
Lucas Dupin [Mon, 12 Aug 2019 21:14:08 +0000 (14:14 -0700)]
Fix sensor triggering issue

Code duplication was causing the wrong sensor to be re-registered,
also, binned brightness isn't a drop-in replacement for proximity
as expected.

Brightness can be low when prox is not covered, the correct behavior
is to verify if brightness is not 0

Test: manual, covering sensor
Test: atest DozeSensorsTest
Fixes: 139298207
Change-Id: I8673e7d9bcb56d7a34741cfad35cf397d976c18d

4 years agoAPI: Explicitly track incompatibilities with previous API versions
Adrian Roos [Mon, 12 Aug 2019 15:47:39 +0000 (17:47 +0200)]
API: Explicitly track incompatibilities with previous API versions

Bug: 139128921
Test: make checkapi
Change-Id: I1f17b57705e2f7350b55ab278e06fc4e988771ff
Merged-In: I1f17b57705e2f7350b55ab278e06fc4e988771ff

4 years agoMerge "Disable falsing manager when face-authed." into qt-r1-dev
Dave Mankoff [Mon, 12 Aug 2019 15:17:39 +0000 (15:17 +0000)]
Merge "Disable falsing manager when face-authed." into qt-r1-dev

4 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
Bill Yi [Mon, 12 Aug 2019 04:31:51 +0000 (21:31 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 8931739c16 -s ours
am skip reason: subject contains skip directive

Change-Id: I968bb1d6987ac3baab44a20b642ef4196026a408

4 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Mon, 12 Aug 2019 04:00:48 +0000 (04:00 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

4 years agoUsing the keyguard fading away duration for the scrim
Selim Cinek [Sat, 10 Aug 2019 00:19:57 +0000 (17:19 -0700)]
Using the keyguard fading away duration for the scrim

Previously we were using a fixed duration and as a result the
scrims duration was much shorter right after boot when the
fading away duration takes 2 seconds. We're now always using
the fading away duration which simplifies also the bypass
transition.

Fixes: 138305791
Test: atest SystemUITests
Change-Id: I2eba68c75c9777ab1ba6ffadadafed3836eb74e3

5 years ago[AT&T] Add key to show 4g for 3g RAT.
vagdevi [Fri, 9 Aug 2019 16:45:14 +0000 (09:45 -0700)]
[AT&T] Add key to show 4g for 3g RAT.

This key is introduced for AT&T

This will also require a carrier-config side change
to set show_4g_for_3g_data_icon_bool to true.

This will replace H/H+ that is shown by AT&T today.

Bug: 138655095
Test: manually

Change-Id: I480e14be41f8edbe607472351efd39d6d91b81b0

5 years ago[automerger skipped] Merge "Ensure isTopBucket() gets set when there is just one...
Ned Burns [Fri, 9 Aug 2019 22:38:03 +0000 (15:38 -0700)]
[automerger skipped] Merge "Ensure isTopBucket() gets set when there is just one notification" into qt-dev
am: 68f3bb1305 -s ours
am skip reason: change_id I615b2f7fddca30dae67dbaab0e5d54a824a4c441 with SHA1 2d35980e72 is in history

Change-Id: I37cdb13b72ac7c4da5df1db6ee07209ed20353db

5 years agoMerge "Ensure isTopBucket() gets set when there is just one notification" into qt-dev
Ned Burns [Fri, 9 Aug 2019 22:21:45 +0000 (22:21 +0000)]
Merge "Ensure isTopBucket() gets set when there is just one notification" into qt-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 9 Aug 2019 22:06:46 +0000 (15:06 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ibb92c8650e8f63fd70e7a23dcbde26ce19868d4a