OSDN Git Service

android-x86/frameworks-base.git
6 years agoRevert "When ringer changes to vibrate, phone vibrates"
Beverly Tai [Tue, 15 May 2018 23:49:05 +0000 (23:49 +0000)]
Revert "When ringer changes to vibrate, phone vibrates"
Fixes: 79773317
Bug: 78665512

This reverts commit d253f98c0e2357307e5ae352d26e077ed7259b9b.

Reason for revert: b/79773317

Change-Id: I6f3eebd64b94436748986422906006686351cc4b

6 years agoWhen ringer changes to vibrate, phone vibrates
Beverly [Mon, 14 May 2018 20:48:40 +0000 (16:48 -0400)]
When ringer changes to vibrate, phone vibrates

Change-Id: I382e1ba9bd4aef05dc0a8e093870a04b2795fa7f
Fixes: 78665512
Test: manual

6 years agoMerge "Fix QS secondary text color." into pi-dev
TreeHugger Robot [Mon, 14 May 2018 13:54:24 +0000 (13:54 +0000)]
Merge "Fix QS secondary text color." into pi-dev

6 years agoMerge "Fix height of keyguard status bar" into pi-dev
TreeHugger Robot [Mon, 14 May 2018 13:48:34 +0000 (13:48 +0000)]
Merge "Fix height of keyguard status bar" into pi-dev

6 years agoMerge "Remove custom schema parsing in favor of Uri" into pi-dev
Jan Althaus [Mon, 14 May 2018 08:21:40 +0000 (08:21 +0000)]
Merge "Remove custom schema parsing in favor of Uri" into pi-dev

6 years agoMerge "Do not parcel legacy TextClassification fields" into pi-dev
TreeHugger Robot [Sun, 13 May 2018 21:32:20 +0000 (21:32 +0000)]
Merge "Do not parcel legacy TextClassification fields" into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Sun, 13 May 2018 04:52:28 +0000 (04:52 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 12 May 2018 17:29:46 +0000 (10:29 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I8b4031e16a8aaf7ae199721f134c90a023a5e563

6 years agoMerge "Guardrail the max gauge atoms per dimension in one bucket." into pi-dev
TreeHugger Robot [Sat, 12 May 2018 03:03:01 +0000 (03:03 +0000)]
Merge "Guardrail the max gauge atoms per dimension in one bucket." into pi-dev

6 years agoMerge "Fixes statsd reports missing strings and SCS." into pi-dev
TreeHugger Robot [Sat, 12 May 2018 02:42:40 +0000 (02:42 +0000)]
Merge "Fixes statsd reports missing strings and SCS." into pi-dev

6 years agoMerge "autofill save: do not focus on custom sub title for TV" into pi-dev
Dake Gu [Sat, 12 May 2018 01:50:03 +0000 (01:50 +0000)]
Merge "autofill save: do not focus on custom sub title for TV" into pi-dev

6 years agoMerge "Fixes splitscreen when executed from fullscreen app" into pi-dev
Matthew Ng [Sat, 12 May 2018 00:27:28 +0000 (00:27 +0000)]
Merge "Fixes splitscreen when executed from fullscreen app" into pi-dev

6 years agoMerge "Prevent IME from targeting home when closing app is still animating" into...
TreeHugger Robot [Sat, 12 May 2018 00:25:43 +0000 (00:25 +0000)]
Merge "Prevent IME from targeting home when closing app is still animating" into pi-dev

6 years agoGuardrail the max gauge atoms per dimension in one bucket.
Yangster-mac [Fri, 11 May 2018 00:13:12 +0000 (17:13 -0700)]
Guardrail the max gauge atoms per dimension in one bucket.

Test: statsd
BUG: b/78603347
Change-Id: Ide77cc8ff0cde6cf6cc9e56034727ed27dd7be88

6 years agoFilter instant app resolution based on logical UID
Svet Ganov [Fri, 11 May 2018 00:25:29 +0000 (17:25 -0700)]
Filter instant app resolution based on logical UID

Test: cts-tradefed run cts-dev -m CtsAppSecurityHostTestCases
          -t android.appsecurity.cts.EphemeralTest
      cts-tradefed run cts-dev -m CtsActivityManagerDeviceTestCases

bug: 79487366

Change-Id: I51157410d944bc3252de29b4143bb2c7fe7fcefe

6 years agoFixes statsd reports missing strings and SCS.
David Chen [Fri, 11 May 2018 23:00:22 +0000 (16:00 -0700)]
Fixes statsd reports missing strings and SCS.

Reports written to disk don't contain the strings used, which will
make this report unusable if there are strings that don't show up
again. We should always include the strings, so this option is
removed entirely.

Also, we hard-coded the wrong number of fields when pulling
ModemActivityInfo. There are actually 10 fields, not 6.

Bug: 79601503
Test: Tested unit-tests pass on marlin-eng.
Change-Id: I6834b096ced77418a9cc2ddd79b08d1c9c447fae

6 years agoautofill save: do not focus on custom sub title for TV
Dake Gu [Fri, 11 May 2018 23:46:30 +0000 (16:46 -0700)]
autofill save: do not focus on custom sub title for TV

Custom sub title is put in a ScrollView, which steals the
initial focus from Yes/No button when lauching save dialog.

The ScrollView is focusable so it can scroll large views.
But it's quite useless at this point because layout use
"wrap_content" in height, unless the custom subtitle is
higher than fullscreen, we never uses the ScrollView's scroll
feature.

The problem for using ScrollView is:
- TV UX does not allow custom sub title to be focusable or
  scrollable.
- If changes TV UX to allow scrollable custom title view,
  focus indicator of ScrollView is missing, needs to be fixed.

Based on these reasons, disable scrollable feature for TV.

Bug: 79591730
Test: manually tested on AndroidTV
Change-Id: Ib6022daf822b8b977e9a2d4a831a8ba714fb321c

6 years agoMerge "Wait for the user to fully stop before starting" into pi-dev
Fyodor Kupolov [Fri, 11 May 2018 23:57:14 +0000 (23:57 +0000)]
Merge "Wait for the user to fully stop before starting" into pi-dev

6 years agoMerge "BluetoothManager: Continue when BLE not supported" into pi-dev
TreeHugger Robot [Fri, 11 May 2018 23:30:34 +0000 (23:30 +0000)]
Merge "BluetoothManager: Continue when BLE not supported" into pi-dev

6 years agoFix QS secondary text color.
Amin Shaikh [Fri, 11 May 2018 23:10:35 +0000 (19:10 -0400)]
Fix QS secondary text color.

Should be 54% black.

Change-Id: Ie9dafe2f185b201b4d4d8670518c6197ea1febb3
Fixes: 79582302
Test: visual

6 years agoMerge "Make right nav button container unselectable" into pi-dev
Mike Digman [Fri, 11 May 2018 22:24:21 +0000 (22:24 +0000)]
Merge "Make right nav button container unselectable" into pi-dev

6 years agoPrevent IME from targeting home when closing app is still animating
chaviw [Fri, 11 May 2018 16:32:22 +0000 (09:32 -0700)]
Prevent IME from targeting home when closing app is still animating

There were a few issues that caused the IME target to get set to home.
1. Home is considered above the other apps since it's getting launched.
However, the visual representation is actually below the closing app.
IME tries to target the highest app, but it's not necessarily the
highest visual app
2. computeIme was called before all apps were set up. This caused the
IME target to get recomputed before adding the closing apps
3. The condition for a WS.isClosing was based on previous versions so
it was incorrect

Test: IME closes on top of current target when going home with IME open
Change-Id: Id3bee8b8b6c0fba98159b65784b4b8c5b66c27fb
Fixes: 78214125

6 years agoMerge changes from topic "sysui_flags_drop" into pi-dev
Winson Chung [Fri, 11 May 2018 22:18:37 +0000 (22:18 +0000)]
Merge changes from topic "sysui_flags_drop" into pi-dev

* changes:
  Clean up Recents animation api
  Expose the system ui visibility flags and translucent state with snapshot

6 years agoMerge "Pass Uri in SliceBroadcastRelay" into pi-dev
TreeHugger Robot [Fri, 11 May 2018 22:05:36 +0000 (22:05 +0000)]
Merge "Pass Uri in SliceBroadcastRelay" into pi-dev

6 years agoBluetoothManager: Continue when BLE not supported
Myles Watson [Fri, 11 May 2018 15:47:24 +0000 (08:47 -0700)]
BluetoothManager: Continue when BLE not supported

Bluetooth should turn on completely (without GATT) when the chip
does not support Bluetooth Low Energy.

Bug: 77495521
Test: Remove vendor/etc/permissions/android.hardware.bluetooth_le.xml
      Reboot
      Toggle Bluetooth
Change-Id: I9314ee473b4a5a158196bab3037b1452247ba466
(cherry picked from commit 5123ebd75647d3e67487de69cd0381f325a0adc9)

6 years agoMerge "GM2 icon updates" into pi-dev
TreeHugger Robot [Fri, 11 May 2018 21:38:21 +0000 (21:38 +0000)]
Merge "GM2 icon updates" into pi-dev

6 years agoFix height of keyguard status bar
Evan Laird [Fri, 11 May 2018 21:16:17 +0000 (17:16 -0400)]
Fix height of keyguard status bar

The keyguard status bar was getting set to the height of the regular
status bar, and aligning itself with the top of the screen, causing
alignment issues

Test: visual
Change-Id: I5d75f89585010dc73bdedb133246412704706c64
Fixes: 77563515

6 years agoMerge "Show settings suggestion" into pi-dev
Beverly Tai [Fri, 11 May 2018 20:59:49 +0000 (20:59 +0000)]
Merge "Show settings suggestion" into pi-dev

6 years agoMerge "[Notif] Fix a11y when guts is open" into pi-dev
TreeHugger Robot [Fri, 11 May 2018 20:54:34 +0000 (20:54 +0000)]
Merge "[Notif] Fix a11y when guts is open" into pi-dev

6 years agoMerge "Rename settings category." into pi-dev
TreeHugger Robot [Fri, 11 May 2018 20:49:35 +0000 (20:49 +0000)]
Merge "Rename settings category." into pi-dev

6 years agoFixes splitscreen when executed from fullscreen app
Matthew Ng [Fri, 13 Apr 2018 18:36:34 +0000 (11:36 -0700)]
Fixes splitscreen when executed from fullscreen app

Fixes splitscreen from the right for launching splitscreen from
fullscreen app including pixel launcher and 3rd party launchers. With
3rd party launchers, the experience is the same as Android O. With pixel
launcher since launcher and recents are merged, it will split to
minimized mode. When pixel launcher is used, the recents stack is
ignored.

Fixes: 73250406
Fixes: 78247419
Test: use split screen; invoke command with supportapp.apk in b/78247419
adb shell am broadcast -a launcher-acc --ei cmd 1
Change-Id: I70b0551c517465b3a059ff7d0641c27f71e8114e

6 years agoMerge "Fix issue #79541100: [Blueline][PI][SPT]: Watchdog killing process and SIGSEGV...
Makoto Onuki [Fri, 11 May 2018 20:08:16 +0000 (20:08 +0000)]
Merge "Fix issue #79541100: [Blueline][PI][SPT]: Watchdog killing process and SIGSEGV" into pi-dev

6 years agoMake right nav button container unselectable
Mike Digman [Fri, 11 May 2018 19:27:32 +0000 (12:27 -0700)]
Make right nav button container unselectable

Container can be selected via Talkback with no visible children.
Ensure container will never be selected.

Change-Id: I09d2f0a587fe4ecc71f73bb7f8be098abfbb11d5
Fixes: 79488376
Test: manual: empty and visible a11y, rotate, IME button

6 years agoMerge "Add Bluetooth callback for device connection state changed" into pi-dev
Ryan Lin [Fri, 11 May 2018 19:53:19 +0000 (19:53 +0000)]
Merge "Add Bluetooth callback for device connection state changed" into pi-dev

6 years agoMerge "Fix first-time slice permission grants" into pi-dev
Jason Monk [Fri, 11 May 2018 19:40:10 +0000 (19:40 +0000)]
Merge "Fix first-time slice permission grants" into pi-dev

6 years agoMerge "Detach children in transaction." into pi-dev
TreeHugger Robot [Fri, 11 May 2018 19:37:00 +0000 (19:37 +0000)]
Merge "Detach children in transaction." into pi-dev

6 years agoMerge "Add charging metrics" into pi-dev
TreeHugger Robot [Fri, 11 May 2018 19:14:31 +0000 (19:14 +0000)]
Merge "Add charging metrics" into pi-dev

6 years agoMerge "Add limits to App Usage Observer Api" into pi-dev
Amith Yamasani [Fri, 11 May 2018 19:03:11 +0000 (19:03 +0000)]
Merge "Add limits to App Usage Observer Api" into pi-dev

6 years agoMerge "Fix TextClassifier logging." into pi-dev
TreeHugger Robot [Fri, 11 May 2018 18:29:31 +0000 (18:29 +0000)]
Merge "Fix TextClassifier logging." into pi-dev

6 years agoGM2 icon updates
Evan Laird [Fri, 20 Apr 2018 16:55:46 +0000 (12:55 -0400)]
GM2 icon updates

(2nd of many)

Pushing this up to close out a few bugs and get these into rotation

- ic_qs_cancel (x icon)
- ic_delete & ic_screenshot_delete (trash cans)
- stat_sys_dnd, ic_qs_dnd, ic_dnd (dnd obviously)
- ic_mode_edit & ic_screenshot_edit (pencil)
- ic_feedback (feedback for app-crashing dialog)
- ic_signal_flashlight (qs flashlight)
- ic_headset & ic_headset_mic
- ic_help_actionbar (question mark in settings)
- ic_info_outline_24dp (SettingsLib info icon)
- ic_volume* (volume rocker icons)
- ringer + vibrate (volume rocker, status bar, qs)
- Global actions menu (restart, power, screenshot)
- settings icons

Test: visual
Bug: 74344964
Bug: 74418623
Fixes: 76150662
Fixes: 76150721
Change-Id: I4cd9959de0156074b0d1e2978163984f7b761671

6 years agoMerge "Fall back to checking packages if one is not provided" into pi-dev
Chad Brubaker [Fri, 11 May 2018 18:13:35 +0000 (18:13 +0000)]
Merge "Fall back to checking packages if one is not provided" into pi-dev

6 years agoRename settings category.
Doris Ling [Fri, 11 May 2018 17:53:57 +0000 (10:53 -0700)]
Rename settings category.

- from night light to night display.

Change-Id: Ib09e1b9299478dc4e8dcee935e29c6886d9dc7b8
Fixes: 79530682
Test: make RunSettingsLibRoboTests

6 years agoMerge "Don't crash if SoundTriggerDetectionService client is gone or if there is...
Michael Dooley [Fri, 11 May 2018 17:46:41 +0000 (17:46 +0000)]
Merge "Don't crash if SoundTriggerDetectionService client is gone or if there is a remote exception while finishing an opperation" into pi-dev

6 years agoMerge changes from topic "b_78809704" into pi-dev
Todd Kennedy [Fri, 11 May 2018 17:44:53 +0000 (17:44 +0000)]
Merge changes from topic "b_78809704" into pi-dev

* changes:
  OMS: teach the OMS about static RROs
  OMS: rebase settings when overlays update

6 years agoMerge "Don't allow non-showOnLock activity to be next on finish." into pi-dev
TreeHugger Robot [Fri, 11 May 2018 17:39:36 +0000 (17:39 +0000)]
Merge "Don't allow non-showOnLock activity to be next on finish." into pi-dev

6 years agoMerge "Fix active permission touch target too small" into pi-dev
Dieter Hsu [Fri, 11 May 2018 17:37:35 +0000 (17:37 +0000)]
Merge "Fix active permission touch target too small" into pi-dev

6 years ago[Notif] Fix a11y when guts is open
Rohan Shah [Fri, 11 May 2018 04:49:04 +0000 (21:49 -0700)]
[Notif] Fix a11y when guts is open

The content in the back is showing while guts is up since we never make
the content invisible. To avoid making a semi-risky change before the
GAR cutoff, we're listening to guts open/close and toggling the content
views' important for accessibility values.

After guts is closed, this will also re-focus the notification that the
user had long-pressed instead of leaving them without a target/making
them lose track.

Fixes: 75284298
Test: Manually with single and group notif
Change-Id: I57c3ac27e0c134ce04b681717b185eceba19a7a8

6 years agoMerge "Do not hide keyguard message when fp" into pi-dev
TreeHugger Robot [Fri, 11 May 2018 17:31:24 +0000 (17:31 +0000)]
Merge "Do not hide keyguard message when fp" into pi-dev

6 years agoMerge "Allow onGetSliceDescendants to be slow" into pi-dev
TreeHugger Robot [Fri, 11 May 2018 17:21:28 +0000 (17:21 +0000)]
Merge "Allow onGetSliceDescendants to be slow" into pi-dev

6 years agoMerge "Support generic filters when EXTERNAL flag is set" into pi-dev
TreeHugger Robot [Fri, 11 May 2018 17:16:37 +0000 (17:16 +0000)]
Merge "Support generic filters when EXTERNAL flag is set" into pi-dev

6 years agoFall back to checking packages if one is not provided
Chad Brubaker [Wed, 9 May 2018 21:05:57 +0000 (14:05 -0700)]
Fall back to checking packages if one is not provided

Test: atest GsmCdmaPhoneTest.java
Change-Id: I81df49fd2f751ce28d834fc5d9cd254623930770
Fixes: 75450505

6 years agoAdd charging metrics
Beverly [Thu, 10 May 2018 19:46:03 +0000 (15:46 -0400)]
Add charging metrics

Change-Id: Icef477c99cb9e53faff852cf6003f912ab8b10c3
Fixes: 78463707
Test: manual

6 years agoFix issue #79541100: [Blueline][PI][SPT]: Watchdog killing process and SIGSEGV
Dianne Hackborn [Fri, 11 May 2018 16:46:13 +0000 (09:46 -0700)]
Fix issue #79541100: [Blueline][PI][SPT]: Watchdog killing process and SIGSEGV

Bug: 79541100
Test: manual
Change-Id: I1456d27938d99d8ee56e5cde843f505a46c9fc72

6 years agoMerge "Revert "Revert "Change the root of trust for CryptAuth Vault Service""" into...
Bo Zhu [Fri, 11 May 2018 16:46:16 +0000 (16:46 +0000)]
Merge "Revert "Revert "Change the root of trust for CryptAuth Vault Service""" into pi-dev

6 years agoMerge "Fix focusable on entire notification area if QS is expanded" into pi-dev
Riddle Hsu [Fri, 11 May 2018 16:36:29 +0000 (16:36 +0000)]
Merge "Fix focusable on entire notification area if QS is expanded" into pi-dev

6 years agoFix first-time slice permission grants
Jason Monk [Fri, 11 May 2018 16:26:51 +0000 (09:26 -0700)]
Fix first-time slice permission grants

Test: Added a test
Change-Id: Ib4c0b65c6fec6fcb97bccb2f3d35f5c35ede3786
Fixes: 79567935

6 years agoDo not hide keyguard message when fp
Lucas Dupin [Thu, 10 May 2018 22:31:20 +0000 (15:31 -0700)]
Do not hide keyguard message when fp

Test: atest packages/SystemUI/tests/src/com/android/keyguard/KeyguardPinBasedInputViewTest.java
Change-Id: I5d76b688b0eb7c1df6a36c1cb910f2b0ec98bc46
Fixes: 78235570

6 years agoSupport generic filters when EXTERNAL flag is set
Patrick Baumann [Thu, 3 May 2018 20:16:01 +0000 (13:16 -0700)]
Support generic filters when EXTERNAL flag is set

This change opts instant app resolution out of hash prefix matching if
the intent filter being tested does not define an authority only when
the MATCH_EXTERNAL flag is set. This allows for a class of instant apps
that generically handle certain mime types or actions, but aren't tied
to a particular authority / domain.

This also moves the null check for resolution to a higher level,
accounting for connection-related failures to ensure that the installer
always gets a properly formatted intent.

Bug: 63117034
Test: manual - force connection timeouts and observe correct install intent
Test: manual - launch a generic type handler for a made up mime type;
               observe correct resolution
Test: atest EphemeralTest
Change-Id: I0101e3219f543897a488ddd3d7c4c884f7d6cac3

6 years agoMerge "Add APIs from public requests." into pi-dev
Mathew Inwood [Fri, 11 May 2018 15:44:53 +0000 (15:44 +0000)]
Merge "Add APIs from public requests." into pi-dev

6 years agoAllow onGetSliceDescendants to be slow
Jason Monk [Fri, 11 May 2018 15:23:59 +0000 (08:23 -0700)]
Allow onGetSliceDescendants to be slow

Because sometimes it needs to be

Test: existing tests
Bug: 79132845
Bug: 77873463
Change-Id: I93aa8553c48c856bf96c347a229be6e770751708

6 years agoMerge "AAPT2: Insert platformBuild information" into pi-dev
Ryan Mitchell [Fri, 11 May 2018 15:18:56 +0000 (15:18 +0000)]
Merge "AAPT2: Insert platformBuild information" into pi-dev

6 years agoMerge "Include in hidden API dark greylist based on package name" into pi-dev
David Brazdil [Fri, 11 May 2018 15:11:23 +0000 (15:11 +0000)]
Merge "Include in hidden API dark greylist based on package name" into pi-dev

6 years agoMerge "Make sure KeyguardUpdateMonitor uses main thread" into pi-dev
TreeHugger Robot [Fri, 11 May 2018 14:39:29 +0000 (14:39 +0000)]
Merge "Make sure KeyguardUpdateMonitor uses main thread" into pi-dev

6 years agoAdd APIs from public requests.
Mathew Inwood [Fri, 11 May 2018 14:04:36 +0000 (15:04 +0100)]
Add APIs from public requests.

Bug: 79477176
Bug: 79461371
Bug: 75254051
Bug: 77840247
Bug: 78456545
Test: m
Change-Id: I6588b65d4f4dccd5fe8bd8420b88c7830803c978

6 years agoMerge "Fix issue with compressed smart replies." into pi-dev
TreeHugger Robot [Fri, 11 May 2018 14:19:40 +0000 (14:19 +0000)]
Merge "Fix issue with compressed smart replies." into pi-dev

6 years agoAdd Bluetooth callback for device connection state changed
ryanywlin [Wed, 2 May 2018 07:15:37 +0000 (15:15 +0800)]
Add Bluetooth callback for device connection state changed

With the new Multi-A2DP/HFP support, need to add profile connection state
changed callback for every BT device connect/disconnect to profile.

Bug: 76447449
Test: make RunSettingsLibRoboTests ROBOTEST_FILTER=LocalBluetoothProfileManagerTest -j28
Test: make RunSettingsLibRoboTests ROBOTEST_FILTER=BluetoothEventManagerTest -j28
Change-Id: Iaaec369e8d10f9b1270491632fb5c91de1e28571

6 years agoMerge "Battery saver color changes" into pi-dev
TreeHugger Robot [Fri, 11 May 2018 13:48:43 +0000 (13:48 +0000)]
Merge "Battery saver color changes" into pi-dev

6 years agoShow settings suggestion
Beverly [Fri, 27 Apr 2018 13:43:05 +0000 (09:43 -0400)]
Show settings suggestion

Bug: 78445134
Test: Settings tests
Change-Id: Ib66ebb3af3328ac1ffa9949282afaf800e1f1019

6 years agoInclude in hidden API dark greylist based on package name
David Brazdil [Thu, 10 May 2018 14:50:02 +0000 (15:50 +0100)]
Include in hidden API dark greylist based on package name

Dark greylist has so far been populated with the remaining class
members of classes listed on the light greylist. This patch changes
the rule to include all remaining classes and class members in the
same package (sub-packages not included).

Bug: 64382372
Test: make -j64 out/target/common/obj/PACKAGING/hiddenapi-dark-greylist.txt
Change-Id: Icf3f60f1e776f092103c612fc3995ce0e66617ea

6 years agoMerge "Changed interceptor dialog text for suspended apps" into pi-dev
TreeHugger Robot [Fri, 11 May 2018 12:21:39 +0000 (12:21 +0000)]
Merge "Changed interceptor dialog text for suspended apps" into pi-dev

6 years agoFix active permission touch target too small
Dieter Hsu [Thu, 10 May 2018 12:07:52 +0000 (20:07 +0800)]
Fix active permission touch target too small

- Set buttons non-clickable to not consume events
- Add a11y contentDescription for active permissions buttons

Bug: 78198386
Test: manually receive messenger video call and verify touch targets
Test: manually record screen and verify with talkback/keyboard
Change-Id: I1b53cd1d7a88e44bd6e188b1055c8572c9d5731d

6 years agoRevert "Revert "Add static analysis data.""
Nicolas Geoffray [Fri, 11 May 2018 10:17:37 +0000 (10:17 +0000)]
Revert "Revert "Add static analysis data.""

bug: 64382372

Merged-in: I188a69ad05fffa69be79fec36b180fc9f76998fa
Merged-in: Ie0696a5eecf610165c4b9c339a789f76964a0623
Test: m

This reverts commit a11a78549d0930ddfc27746ab67b64f3e64f6004.

Change-Id: I8e82aa8cb30052555cbc4020ebe8a0c1157dc6e6

6 years agoMerge "Move registration of AssetManager.mObject to zygote." into pi-dev
Nicolas Geoffray [Fri, 11 May 2018 10:13:42 +0000 (10:13 +0000)]
Merge "Move registration of AssetManager.mObject to zygote." into pi-dev

6 years agoGreylist hidden methods for exempting trusted test code
David Brazdil [Wed, 9 May 2018 17:02:03 +0000 (18:02 +0100)]
Greylist hidden methods for exempting trusted test code

Bug: 64382372
Test: N/A
Merged-In: I8bcc3d23d0b942e70a16a9d28ea0d21ce4fe75a2
Change-Id: I8bcc3d23d0b942e70a16a9d28ea0d21ce4fe75a2
(cherry picked from commit 0e348c5013b37843302fb2d3c558fd7961c592a4)

6 years agoMerge "Add new type into metrics_constants.proto" into pi-dev
TreeHugger Robot [Fri, 11 May 2018 09:33:20 +0000 (09:33 +0000)]
Merge "Add new type into metrics_constants.proto" into pi-dev

6 years agoRevert "Revert "Change the root of trust for CryptAuth Vault Service""
Bo Zhu [Fri, 11 May 2018 05:10:28 +0000 (05:10 +0000)]
Revert "Revert "Change the root of trust for CryptAuth Vault Service""

This reverts commit be4f735cb199d184431d718b245ac51c4e7a70bf.

Reason for revert: Resubmit the CL http://ag/3983388 that was reverted. The server side change has been deployed now.

Bug: 78920513
Change-Id: If676799176ecf90fd51a97027a9ff83bec5d4bed

6 years agoFix focusable on entire notification area if QS is expanded
Riddle Hsu [Thu, 10 May 2018 15:14:19 +0000 (23:14 +0800)]
Fix focusable on entire notification area if QS is expanded

Notifications are shown as shelf if QS is expanded. Because none
of notification contents are visible, the notification scroll
layout should be unscrollable and non-focusable.

Test: Use TalkBack to perform go/sysui-stackscroll-test
Change-Id: Icf27546fa43241b267be84761b7847a6e25c9a7a
Fixes: 72956614

6 years agoMerge "Treat fg service alarms like bg service alarms under FAS" into pi-dev
TreeHugger Robot [Fri, 11 May 2018 03:14:33 +0000 (03:14 +0000)]
Merge "Treat fg service alarms like bg service alarms under FAS" into pi-dev

6 years agoMerge "Add a path to allow detection of task changes to the top of the ActivityView...
TreeHugger Robot [Fri, 11 May 2018 02:45:25 +0000 (02:45 +0000)]
Merge "Add a path to allow detection of task changes to the top of the ActivityView" into pi-dev

6 years agoMerge "Document system activity intents that may not be implemented" into pi-dev
TreeHugger Robot [Fri, 11 May 2018 02:42:38 +0000 (02:42 +0000)]
Merge "Document system activity intents that may not be implemented" into pi-dev

6 years agoMake sure KeyguardUpdateMonitor uses main thread
Jason Monk [Fri, 11 May 2018 02:38:18 +0000 (19:38 -0700)]
Make sure KeyguardUpdateMonitor uses main thread

It might be affecting some tests in bad ways.

Test: runtest systemui
Bug: 79550837
Change-Id: Ifcd746f8b0131bcc21772d0b722cca9700bf5afc

6 years agoMerge "Cannot add null callbacks to ZenController" into pi-dev
TreeHugger Robot [Fri, 11 May 2018 02:03:55 +0000 (02:03 +0000)]
Merge "Cannot add null callbacks to ZenController" into pi-dev

6 years agoDocument system activity intents that may not be implemented
Christopher Tate [Thu, 10 May 2018 20:09:48 +0000 (13:09 -0700)]
Document system activity intents that may not be implemented

All of these activity-start intents might be unimplemented on some
Android products.  Document this to make sure that developers are
aware of the need to safeguard against this.

Bug: 68300743
Bug: 62201251
Bug: 69587018
Fixes: 77282739
Test: atest CtsContentTestCases:.AvailableIntentsTest
Change-Id: Ia2346d03ccb7f2bdad2b84ba9efff72413fdc3c2

6 years agoMerge "Add new category keys." into pi-dev
TreeHugger Robot [Fri, 11 May 2018 00:46:42 +0000 (00:46 +0000)]
Merge "Add new category keys." into pi-dev

6 years agoMerge "Added support to run autofill service from instant apps." into pi-dev
TreeHugger Robot [Fri, 11 May 2018 00:06:37 +0000 (00:06 +0000)]
Merge "Added support to run autofill service from instant apps." into pi-dev

6 years agoBattery saver color changes
Evan Laird [Thu, 3 May 2018 21:00:25 +0000 (17:00 -0400)]
Battery saver color changes

Outline the battery with 1dp colorError border when in powersave mode to
make it more obvious.

Also un-bold the '+'. Doesn't look so wonderful

Test: turn on power save mode; look at it
Fixes: visual
Bug: 78638798
Change-Id: I9c649814764c41893c972d707449ad30095a131d

6 years agoMerge "Allow mobile status bar icon to overflow" into pi-dev
TreeHugger Robot [Thu, 10 May 2018 23:44:33 +0000 (23:44 +0000)]
Merge "Allow mobile status bar icon to overflow" into pi-dev

6 years agoAAPT2: Insert platformBuild information
Ryan Mitchell [Thu, 10 May 2018 22:35:31 +0000 (15:35 -0700)]
AAPT2: Insert platformBuild information

Inserts platformBuildVersionName and platformBuildVersionName when the
attributes are not currrently present. The attributes are set to
the values of versionName and versionCode.

Bug: 77541121
Test: Build apk using aapt and appt2 and dumped using xmltree to confirm
the presence of the attributes
Change-Id: I5330381905c878fb877214b42f83d7e2e48cd062

6 years agoMerge "Fix User unable to view the keyboard input" into pi-dev
Selim Cinek [Thu, 10 May 2018 22:09:38 +0000 (22:09 +0000)]
Merge "Fix User unable to view the keyboard input" into pi-dev

6 years agoMerge "Update documentation of ApnSetting with V5 example" into pi-dev
Jordan Liu [Thu, 10 May 2018 22:09:16 +0000 (22:09 +0000)]
Merge "Update documentation of ApnSetting with V5 example" into pi-dev

6 years agoMerge "Fix failure in ExifInterface on certain HEIF files" into pi-dev
TreeHugger Robot [Thu, 10 May 2018 22:03:41 +0000 (22:03 +0000)]
Merge "Fix failure in ExifInterface on certain HEIF files" into pi-dev

6 years agoMerge "Remove failsafe runnable once the animation finishes." into pi-dev
Winson Chung [Thu, 10 May 2018 21:33:53 +0000 (21:33 +0000)]
Merge "Remove failsafe runnable once the animation finishes." into pi-dev

6 years agoMerge "Expose rotation button as hit target for deferring recents animation." into...
Winson Chung [Thu, 10 May 2018 21:33:49 +0000 (21:33 +0000)]
Merge "Expose rotation button as hit target for deferring recents animation." into pi-dev

6 years agoCannot add null callbacks to ZenController
Beverly [Thu, 10 May 2018 20:43:52 +0000 (16:43 -0400)]
Cannot add null callbacks to ZenController

- In StatusBar: remove callback on destroy

Bug: 79418729
Test: atest ZenModeControllerImplTest
Change-Id: I92729b0c0414d0ed8f844371cbf357b613ced0b5

6 years agoAdded support to run autofill service from instant apps.
Felipe Leme [Wed, 9 May 2018 17:17:50 +0000 (10:17 -0700)]
Added support to run autofill service from instant apps.

Bug: 79422318
Test: m -j CtsAutoFillServiceTestCases && \
      cts-tradefed run commandAndExit cts-instant-dev \
      -m CtsAutoFillServiceTestCases
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases

Change-Id: I1e885fe7edcbc0ace3a0f60abacb9cea9b6c03e7

6 years agoMerge "[automerger] clearCallingIdentity before calling into getPackageUidAsUser...
Android Build Merger (Role) [Thu, 10 May 2018 21:07:45 +0000 (21:07 +0000)]
Merge "[automerger] clearCallingIdentity before calling into getPackageUidAsUser am: 857326e373 am: b1f2848510 am: 884d2c7360 am: 6a42ea18b3 am: 42ded39df8 am: fb67a0f5f3 am: 2cb239cf3c am: 8914d11b15 am: 675ad12059 am: ed2d7b7d62 am: e4204fa020 am: 5f26706929" into pi-dev

6 years ago[automerger] clearCallingIdentity before calling into getPackageUidAsUser am: 857326e...
Tony Mak [Thu, 10 May 2018 21:07:25 +0000 (14:07 -0700)]
[automerger] clearCallingIdentity before calling into getPackageUidAsUser am: 857326e373 am: b1f2848510 am: 884d2c7360 am: 6a42ea18b3 am: 42ded39df8 am: fb67a0f5f3 am: 2cb239cf3c am: 8914d11b15 am: 675ad12059 am: ed2d7b7d62 am: e4204fa020
am: 5f26706929

Change-Id: Ibd4fff1bb0266441b7245bea886826aa0b18765d

6 years agoMerge "Fix notificationinfo test breakage" into pi-dev
TreeHugger Robot [Thu, 10 May 2018 21:04:41 +0000 (21:04 +0000)]
Merge "Fix notificationinfo test breakage" into pi-dev

6 years agoMerge "SyncManager: Suppress WTF until ready to sync" into pi-dev
Makoto Onuki [Thu, 10 May 2018 21:00:51 +0000 (21:00 +0000)]
Merge "SyncManager: Suppress WTF until ready to sync" into pi-dev

6 years ago[automerger] Nullcheck to fix Autofill CTS am: 6c68a69288 am: 743abb939a am: a99414f5...
Eugene Susla [Thu, 10 May 2018 20:56:56 +0000 (13:56 -0700)]
[automerger] Nullcheck to fix Autofill CTS am: 6c68a69288 am: 743abb939a am: a99414f51f am: 6b95503960 am: 9e291fe8c2 am: 97f7498c18 am: 232f42c7b8 am: 76a04ff670 am: 2bd91daa06 am: 3543522564 am: 775b8adf7b
am: dd7d1ca671

Change-Id: I6e03797e8b08d7ee74554745e67489034a8ac953