OSDN Git Service

android-x86/frameworks-base.git
5 years agoConvert Android.mk to Android.bp
Jaewoong Jung [Wed, 27 Mar 2019 23:54:43 +0000 (16:54 -0700)]
Convert Android.mk to Android.bp

Bug: 122332340
Test: full build & flash on a Pixel + manual inspection + TreeHugger
Change-Id: I80688006411dcf32f8f329556044d25ad12af1ac

5 years agoMerge "Preload non-bootclasspath Java lib ClassLoaders." am: 213812ba28 am: 625d63ed64
Steven Moreland [Wed, 27 Mar 2019 23:49:42 +0000 (16:49 -0700)]
Merge "Preload non-bootclasspath Java lib ClassLoaders." am: 213812ba28 am: 625d63ed64
am: 62814d83bd

Change-Id: Id36423644efdfdda452d08fc9824320c7c4dee31

5 years agoMerge "Preload non-bootclasspath Java lib ClassLoaders." am: 213812ba28
Steven Moreland [Wed, 27 Mar 2019 23:32:12 +0000 (16:32 -0700)]
Merge "Preload non-bootclasspath Java lib ClassLoaders." am: 213812ba28
am: 625d63ed64

Change-Id: Ie3c5931c981095e574e9dcadf8ed88686749116a

5 years agoMerge "Preload non-bootclasspath Java lib ClassLoaders."
Steven Moreland [Wed, 27 Mar 2019 23:18:22 +0000 (16:18 -0700)]
Merge "Preload non-bootclasspath Java lib ClassLoaders."
am: 213812ba28

Change-Id: Ie16e82383bab53b5f92258289bf50ba9d7a897cd

5 years agoMerge "Pass Bitmap's native instance to JNI where feasible"
TreeHugger Robot [Wed, 27 Mar 2019 23:08:42 +0000 (23:08 +0000)]
Merge "Pass Bitmap's native instance to JNI where feasible"

5 years agoMerge "Move battery icon back to bottom of the screen"
TreeHugger Robot [Wed, 27 Mar 2019 23:06:55 +0000 (23:06 +0000)]
Merge "Move battery icon back to bottom of the screen"

5 years agoMerge "Enabling users to dismiss the heap dump notification."
TreeHugger Robot [Wed, 27 Mar 2019 23:06:10 +0000 (23:06 +0000)]
Merge "Enabling users to dismiss the heap dump notification."

5 years agoMerge "Preload non-bootclasspath Java lib ClassLoaders."
Steven Moreland [Wed, 27 Mar 2019 22:59:49 +0000 (22:59 +0000)]
Merge "Preload non-bootclasspath Java lib ClassLoaders."

5 years agoMerge "Fix foreground service evaluation"
Amith Yamasani [Wed, 27 Mar 2019 22:47:33 +0000 (22:47 +0000)]
Merge "Fix foreground service evaluation"

5 years agoMerge "Adjust setComponentEnabled broadcast delay."
Varun Shah [Wed, 27 Mar 2019 22:32:06 +0000 (22:32 +0000)]
Merge "Adjust setComponentEnabled broadcast delay."

5 years agoMerge "Couple fixes to HardwareBitmapUploader."
TreeHugger Robot [Wed, 27 Mar 2019 22:10:19 +0000 (22:10 +0000)]
Merge "Couple fixes to HardwareBitmapUploader."

5 years agoMerge "[automerger skipped] Merge "Enable Telecom to bind third party InCallServices...
Android Build Merger (Role) [Wed, 27 Mar 2019 21:59:19 +0000 (21:59 +0000)]
Merge "[automerger skipped] Merge "Enable Telecom to bind third party InCallServices." am: 90a9d627aa am: b9bace1656 am: 3dcb1b71ed -s ours am skip reason: change_id I1b4eff28b9dfd61f1c951d14b6c82395b51fe769 with SHA1 8ded93ac94 is in history"

5 years ago[automerger skipped] Merge "Enable Telecom to bind third party InCallServices." am...
Youming Ye [Wed, 27 Mar 2019 21:57:42 +0000 (14:57 -0700)]
[automerger skipped] Merge "Enable Telecom to bind third party InCallServices." am: 90a9d627aa am: b9bace1656
am: 3dcb1b71ed -s ours
am skip reason: change_id I1b4eff28b9dfd61f1c951d14b6c82395b51fe769 with SHA1 8ded93ac94 is in history

Change-Id: I386b27fa1d0280febf515df065b021a330681d6c

5 years agoMerge "Add LSS tests to presubmit."
TreeHugger Robot [Wed, 27 Mar 2019 21:51:33 +0000 (21:51 +0000)]
Merge "Add LSS tests to presubmit."

5 years agoMerge "Enable Telecom to bind third party InCallServices." am: 90a9d627aa
Youming Ye [Wed, 27 Mar 2019 21:42:02 +0000 (14:42 -0700)]
Merge "Enable Telecom to bind third party InCallServices." am: 90a9d627aa
am: b9bace1656

Change-Id: I3c7b9ce9388be00a892c77827b8a599fe1fd291d

5 years agoMerge "Enable Telecom to bind third party InCallServices."
Youming Ye [Wed, 27 Mar 2019 21:30:23 +0000 (14:30 -0700)]
Merge "Enable Telecom to bind third party InCallServices."
am: 90a9d627aa

Change-Id: I021f72505a6e516747dffd31b177bdac9e291d78

5 years agoMerge "Enable Telecom to bind third party InCallServices."
Youming Ye [Wed, 27 Mar 2019 21:12:58 +0000 (21:12 +0000)]
Merge "Enable Telecom to bind third party InCallServices."

5 years agoMerge "Ignore some test cases in RecentLocationAccessesTest"
TreeHugger Robot [Wed, 27 Mar 2019 21:02:07 +0000 (21:02 +0000)]
Merge "Ignore some test cases in RecentLocationAccessesTest"

5 years agoMerge changes I3ecb608e,I13a0ca75
TreeHugger Robot [Wed, 27 Mar 2019 21:01:38 +0000 (21:01 +0000)]
Merge changes I3ecb608e,I13a0ca75

* changes:
  Add cross user perm check - areBubblesAllowedForPackage
  Add cross user permission check - areNotificationsEnabledForPackage

5 years agoMerge "Remove circular dependency in BlendMode.java"
Lei Yu [Wed, 27 Mar 2019 20:52:52 +0000 (20:52 +0000)]
Merge "Remove circular dependency in BlendMode.java"

5 years agoRemove circular dependency in BlendMode.java
jackqdyulei [Wed, 27 Mar 2019 20:44:12 +0000 (13:44 -0700)]
Remove circular dependency in BlendMode.java

For some reason this circular dependency will create crash in
robo tests.

Fixes: 129417525
Test: RunSettingsRoboTests
Change-Id: Ic7641840ecfed9ba0270d7d9ce03622a7053df74

5 years agoMerge "Correctly samples just around the navigation bar handle"
TreeHugger Robot [Wed, 27 Mar 2019 20:48:47 +0000 (20:48 +0000)]
Merge "Correctly samples just around the navigation bar handle"

5 years agoMerge "Introduce a system APC with its corresponding opt-out"
Kevin Rocard [Wed, 27 Mar 2019 20:41:06 +0000 (20:41 +0000)]
Merge "Introduce a system APC with its corresponding opt-out"

5 years agoMerge "media: rename KEY_MAX_BFRAMES to KEY_MAX_B_FRAMES"
TreeHugger Robot [Wed, 27 Mar 2019 20:30:47 +0000 (20:30 +0000)]
Merge "media: rename KEY_MAX_BFRAMES to KEY_MAX_B_FRAMES"

5 years agoMerge "Apps using storage must have runtime permission."
Jeff Sharkey [Wed, 27 Mar 2019 19:56:51 +0000 (19:56 +0000)]
Merge "Apps using storage must have runtime permission."

5 years ago[automerger skipped] Merge changes I592d3538,I791fd630 am: 42914720d8 am: 65b0fb178d
Xiangyu/Malcolm Chen [Wed, 27 Mar 2019 19:50:28 +0000 (12:50 -0700)]
[automerger skipped] Merge changes I592d3538,I791fd630 am: 42914720d8 am: 65b0fb178d
am: 632d489ddb -s ours
am skip reason: change_id I592d35388d88bda1f908441824772fea36d43059 with SHA1 f386bfa13e is in history

Change-Id: I4e1ba1e28076a8123b66c56c2b324dcfd34e882b

5 years agoMerge "Address API council review comments."
TreeHugger Robot [Wed, 27 Mar 2019 19:43:37 +0000 (19:43 +0000)]
Merge "Address API council review comments."

5 years agoMerge "Minor fixes to IntervalStats"
TreeHugger Robot [Wed, 27 Mar 2019 19:41:11 +0000 (19:41 +0000)]
Merge "Minor fixes to IntervalStats"

5 years agoMerge changes I592d3538,I791fd630 am: 42914720d8
Xiangyu/Malcolm Chen [Wed, 27 Mar 2019 19:37:56 +0000 (12:37 -0700)]
Merge changes I592d3538,I791fd630 am: 42914720d8
am: 65b0fb178d

Change-Id: I3dc009832e48e9787db336ab08549a6e0517b61f

5 years agoMerge "Add link for bubble settings."
Julia Reynolds [Wed, 27 Mar 2019 19:36:42 +0000 (19:36 +0000)]
Merge "Add link for bubble settings."

5 years agoMerge "Moving BT SMS logic to internal telephony" am: 2b7db36a14 am: a75c1cdc4d
Hayden Gomes [Wed, 27 Mar 2019 19:32:25 +0000 (12:32 -0700)]
Merge "Moving BT SMS logic to internal telephony" am: 2b7db36a14 am: a75c1cdc4d
am: 65031370d1

Change-Id: Ied62479bdec70dbb3527aa79a64ce9b250fc1454

5 years agoMerge changes I592d3538,I791fd630
Xiangyu/Malcolm Chen [Wed, 27 Mar 2019 19:22:40 +0000 (12:22 -0700)]
Merge changes I592d3538,I791fd630
am: 42914720d8

Change-Id: Iae4c04c2f86d73c711d0ceab710ef1464c149370

5 years agoMerge "Clarified docs for ACTION_QS_TILE_PREFERENCES"
Fabian Kozynski [Wed, 27 Mar 2019 19:20:20 +0000 (19:20 +0000)]
Merge "Clarified docs for ACTION_QS_TILE_PREFERENCES"

5 years agoMerge "Moving BT SMS logic to internal telephony" am: 2b7db36a14
Hayden Gomes [Wed, 27 Mar 2019 19:19:05 +0000 (12:19 -0700)]
Merge "Moving BT SMS logic to internal telephony" am: 2b7db36a14
am: a75c1cdc4d

Change-Id: I0eb4679fac9dc73331051d9e0031b05b9e944649

5 years agoMerge "Moving BT SMS logic to internal telephony"
Hayden Gomes [Wed, 27 Mar 2019 19:09:19 +0000 (12:09 -0700)]
Merge "Moving BT SMS logic to internal telephony"
am: 2b7db36a14

Change-Id: I8bfcbec0a6d2d892831b017349193aae16f0100f

5 years agoMerge changes I592d3538,I791fd630
Xiangyu/Malcolm Chen [Wed, 27 Mar 2019 19:06:12 +0000 (19:06 +0000)]
Merge changes I592d3538,I791fd630

* changes:
  Add @Nullable on SubscriptionInfo#getGroupUuid
  Adding nullability annotation.

5 years agoMerge "Remove bitmap::getBitmapAllocationByteCount"
TreeHugger Robot [Wed, 27 Mar 2019 19:03:27 +0000 (19:03 +0000)]
Merge "Remove bitmap::getBitmapAllocationByteCount"

5 years agoMerge "Moving BT SMS logic to internal telephony"
Hayden Gomes [Wed, 27 Mar 2019 19:01:48 +0000 (19:01 +0000)]
Merge "Moving BT SMS logic to internal telephony"

5 years agoMerge "Revert "Decide the current user after PHASE_THIRD_PARTY boot phase""
Keun-young Park [Wed, 27 Mar 2019 18:58:29 +0000 (18:58 +0000)]
Merge "Revert "Decide the current user after PHASE_THIRD_PARTY boot phase""

5 years agoRevert "Decide the current user after PHASE_THIRD_PARTY boot phase"
Keun-young Park [Wed, 27 Mar 2019 18:49:01 +0000 (18:49 +0000)]
Revert "Decide the current user after PHASE_THIRD_PARTY boot phase"

This reverts commit b90c4d3b6a600cd15ea51255f519a9821778c5e6.

Reason for revert: created crash loop for 1st boot, needs to update the logic in car side before enforcing this.

Change-Id: I8985e63a1f6f5d743bfe56e1ec6a09e959b5a12a

5 years agoMerge "TouchLatency: add 60/90hz mode switch"
Adrian Salido [Wed, 27 Mar 2019 18:40:41 +0000 (18:40 +0000)]
Merge "TouchLatency: add 60/90hz mode switch"

5 years agoEnabling users to dismiss the heap dump notification.
Kweku Adams [Wed, 27 Mar 2019 01:20:25 +0000 (18:20 -0700)]
Enabling users to dismiss the heap dump notification.

1. setOngoing meant that users were not allowed to dismiss the
notification, even though a deleteIntent was added to the notification.

2. showWhen is by default set to false, so calling setWhen had no effect

3. Trying to delete the heap dump accidentally reposted the
notification.

Bug: 127581643
Test: manual
Change-Id: Ifbdb3c9800756b28656bc8175ef8f90902c397c7

5 years agoMerge "Sharesheet - Fix 4->8 direct share expansion glitch"
TreeHugger Robot [Wed, 27 Mar 2019 18:04:58 +0000 (18:04 +0000)]
Merge "Sharesheet - Fix 4->8 direct share expansion glitch"

5 years agoMerge "Allow using display port for window settings"
Andrii Kulian [Wed, 27 Mar 2019 18:01:25 +0000 (18:01 +0000)]
Merge "Allow using display port for window settings"

5 years agoMerge "Also log intent's component name to TRON"
TreeHugger Robot [Wed, 27 Mar 2019 17:40:10 +0000 (17:40 +0000)]
Merge "Also log intent's component name to TRON"

5 years agoPass Bitmap's native instance to JNI where feasible
Leon Scroggins III [Tue, 26 Mar 2019 20:28:41 +0000 (16:28 -0400)]
Pass Bitmap's native instance to JNI where feasible

Test: CtsGraphicsTestCases, CtsUiRenderingTestCases,
      CtsRenderscriptTestCases

This is significantly faster than passing the Java object down and then
calling a JNI method to retrieve the pointer. See
https://buganizer.corp.google.com/issues/16656908#comment19

In some cases this changes what used to be native crashes (due to
android::BitmapWrapper:assertValid's LOG_ALWAYS_FATAL_IF) into
NullPointerExceptions (if a caller used a null Bitmap).

In addition:
- Remove unnecessary JNIEnv param from toBitmap(jlong)
- Change instances of toBitmap(JNIEnv*, jobject) to the above
- Replace calls to GraphicsJNI::getSkBitmap() to inline calls to
  toBitmap/getSkBitmap
- make Canvas#nInitRaster @FastNative (FIXME: Could these be
  @CriticalNative?)

Change-Id: I6194097be1b6e6952eba70e1e7052a5a250eed93

5 years agoMerge "Allow all packages participating in any foreground task start activities from...
Michal Karpinski [Wed, 27 Mar 2019 17:37:24 +0000 (17:37 +0000)]
Merge "Allow all packages participating in any foreground task start activities from background"

5 years agoMerge "Create a new reference of r.curApp to post for the delayed job"
Michal Karpinski [Wed, 27 Mar 2019 17:18:35 +0000 (17:18 +0000)]
Merge "Create a new reference of r.curApp to post for the delayed job"

5 years agoMove battery icon back to bottom of the screen
Lucas Dupin [Wed, 27 Mar 2019 04:23:59 +0000 (21:23 -0700)]
Move battery icon back to bottom of the screen

This partially reverts ag/5073038

Fixes: 129324135
Test: visual
Change-Id: Ie0f9b19e7f6bac9596356e87913a6cc19fb3dafe

5 years agoMerge "[automerger skipped] Merge "Renamed DataSpecificRegistrationState" am: 86675ed...
Android Build Merger (Role) [Wed, 27 Mar 2019 17:17:08 +0000 (17:17 +0000)]
Merge "[automerger skipped] Merge "Renamed DataSpecificRegistrationState" am: 86675ed5c0 am: 5a1db25c73 am: f416a3ed0b -s ours am skip reason: change_id I1a623c18f02cfd19ca1af9df912d859b363f42d1 with SHA1 dba103204c is in history"

5 years ago[automerger skipped] Merge "Renamed DataSpecificRegistrationState" am: 86675ed5c0...
Jack Yu [Wed, 27 Mar 2019 17:16:12 +0000 (10:16 -0700)]
[automerger skipped] Merge "Renamed DataSpecificRegistrationState" am: 86675ed5c0 am: 5a1db25c73
am: f416a3ed0b -s ours
am skip reason: change_id I1a623c18f02cfd19ca1af9df912d859b363f42d1 with SHA1 dba103204c is in history

Change-Id: I4e8c53e541b7ff3f0001ae876d04164ef47bf8ec

5 years agoAdd LSS tests to presubmit.
Pavel Grafov [Wed, 27 Mar 2019 14:55:38 +0000 (14:55 +0000)]
Add LSS tests to presubmit.

Bug: 120536847
Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
Test: insert a fail() into a test, see TH failure for patch set 1
Change-Id: Ic09abf94c1b0fdce29afe70a4fd01f31761c1208

5 years agoMerge "Modify the bar chart for new graph design"
TreeHugger Robot [Wed, 27 Mar 2019 17:07:49 +0000 (17:07 +0000)]
Merge "Modify the bar chart for new graph design"

5 years agoMerge "Renamed DataSpecificRegistrationState" am: 86675ed5c0
Jack Yu [Wed, 27 Mar 2019 17:01:24 +0000 (10:01 -0700)]
Merge "Renamed DataSpecificRegistrationState" am: 86675ed5c0
am: 5a1db25c73

Change-Id: Ibb0ca2e282ff3671d520a9367a65b281e18ca1d7

5 years agoCouple fixes to HardwareBitmapUploader.
Greg Daniel [Wed, 27 Mar 2019 16:52:43 +0000 (12:52 -0400)]
Couple fixes to HardwareBitmapUploader.

When we had to make a copy SkBitmap for an unsupported format, we
were dropping the color space information.

Added a null check in terminate.

Test: manual build and running on blueline
Change-Id: I3cf386231e76b7505a691d006585918d343f6c96

5 years agoMerge "Pull info about apps installed on external storage."
Carmen Agimof [Wed, 27 Mar 2019 16:51:57 +0000 (16:51 +0000)]
Merge "Pull info about apps installed on external storage."

5 years agoMerge "Renamed DataSpecificRegistrationState"
Jack Yu [Wed, 27 Mar 2019 16:51:07 +0000 (09:51 -0700)]
Merge "Renamed DataSpecificRegistrationState"
am: 86675ed5c0

Change-Id: Ice5fa2213a8a1850e6a6842c197d5926c0193b3c

5 years agoMerge "Suppress the initial notification when the app is foreground"
TreeHugger Robot [Wed, 27 Mar 2019 16:49:13 +0000 (16:49 +0000)]
Merge "Suppress the initial notification when the app is foreground"

5 years agoAdjust setComponentEnabled broadcast delay.
Varun Shah [Tue, 12 Mar 2019 17:32:45 +0000 (10:32 -0700)]
Adjust setComponentEnabled broadcast delay.

The original broadcast delay for package changed has been reduced to one
second from ten seconds to avoid a delayed reaction from the receiver.
If package manager service was started within the past minute, the default
delay of ten seconds will remain to avoid thrashing on boot.

Bug: 79778864
Test: manual (observe DW "show icon" setting before and after one minute)
Change-Id: I6faef32e63b5dec70d80a99c08b764d213329f31

5 years agoMerge "Renamed DataSpecificRegistrationState"
Jack Yu [Wed, 27 Mar 2019 16:39:46 +0000 (16:39 +0000)]
Merge "Renamed DataSpecificRegistrationState"

5 years agoMerge "Added framework APIs to leverage new BlendMode API"
Nader Jawad [Wed, 27 Mar 2019 16:39:03 +0000 (16:39 +0000)]
Merge "Added framework APIs to leverage new BlendMode API"

5 years agoAdd cross user perm check - areBubblesAllowedForPackage
Julia Reynolds [Wed, 27 Mar 2019 16:17:23 +0000 (12:17 -0400)]
Add cross user perm check - areBubblesAllowedForPackage

Test: atest
Bug: 129068779
Change-Id: I3ecb608e525206a698484e9cf35f770dc7609d54

5 years agoAdd cross user permission check - areNotificationsEnabledForPackage
Julia Reynolds [Wed, 27 Mar 2019 16:15:57 +0000 (12:15 -0400)]
Add cross user permission check - areNotificationsEnabledForPackage

Test: atest
Fixes: 128599467
Change-Id: I13a0ca7590f8c4b44379730e0ee2088aba400c2a

5 years agoMerge "incidentd sections for userdebug and eng are compiled out"
Joe Onorato [Wed, 27 Mar 2019 16:27:34 +0000 (16:27 +0000)]
Merge "incidentd sections for userdebug and eng are compiled out"

5 years agoAdd link for bubble settings.
Julia Reynolds [Mon, 25 Mar 2019 12:45:45 +0000 (08:45 -0400)]
Add link for bubble settings.

Test: cts
Bug: 129068779
Change-Id: I61613e023e20bc807d04cfc3ab91074249d7f3b7

5 years agoMerge "Remove unused work mode animations"
TreeHugger Robot [Wed, 27 Mar 2019 16:24:25 +0000 (16:24 +0000)]
Merge "Remove unused work mode animations"

5 years agoFix foreground service evaluation
Amith Yamasani [Tue, 26 Mar 2019 22:58:01 +0000 (15:58 -0700)]
Fix foreground service evaluation

Ensure we evaluate all foreground services (removed a break).

Undo and fix in a better way a recent CL that affected reporting
foreground state changes immediately.

Bug: 129167628
Bug: 70812877
Test: atest CtsAppTestCases:ActivityManagerProcessStateTest
Change-Id: I7cc18b8ff3f80d103851645ff5a3064e80b98343

5 years agoMerge "Report the last atom tag, uid in the case of log loss."
Yao Chen [Wed, 27 Mar 2019 16:21:15 +0000 (16:21 +0000)]
Merge "Report the last atom tag, uid in the case of log loss."

5 years agomedia: rename KEY_MAX_BFRAMES to KEY_MAX_B_FRAMES
Wonsik Kim [Wed, 27 Mar 2019 15:49:58 +0000 (08:49 -0700)]
media: rename KEY_MAX_BFRAMES to KEY_MAX_B_FRAMES

Rename it to be consistent with use of I_FRAME.

Bug: 129344870
Test: builds
Change-Id: I816439074837452cdbd9ed2a734ea237517ad26f

5 years agoAlso log intent's component name to TRON
Michal Karpinski [Wed, 27 Mar 2019 15:46:50 +0000 (15:46 +0000)]
Also log intent's component name to TRON

Bug: 129393143
Test: manual, the log line now looks like this:
      03-27 15:46:02.938  1294  4471 I sysui_multi_action: [757,1513,758,4,805,1553701562938,1514,10223,1515,com.google.vr.vrcore,1516,1004,1517,0,1518,10223,1519,1004,1520,0,1526,com.google.vr.vrcore/.daydream.DonPrepareActivity,1527,0,1529,com.google.vr.vrcore,1530,1004,1531,1,1532,0,1533,0,1534,0,1535,0,1536,0,1537,50,1539,4037]
Change-Id: I9639ddcd01733e27bde8a9dab564b5aad5b15799

5 years agoMerge "Add app_compat flags for hidden api logging"
Andrei-Valentin Onea [Wed, 27 Mar 2019 15:31:16 +0000 (15:31 +0000)]
Merge "Add app_compat flags for hidden api logging"

5 years agoEnable Telecom to bind third party InCallServices.
Youming Ye [Tue, 2 Oct 2018 20:24:43 +0000 (13:24 -0700)]
Enable Telecom to bind third party InCallServices.

Changes for Telecom to bind third party companion apps or
automotive ui installed from Play Store. Add new permissions and
settings for the third party InCallService APIs.

Bug: 78174835
Test: Manual
Change-Id: I1b4eff28b9dfd61f1c951d14b6c82395b51fe769
Merged-In: I1b4eff28b9dfd61f1c951d14b6c82395b51fe769

5 years agoMerge "Fix TB bugs in QSCustomizer TileAdapter"
TreeHugger Robot [Wed, 27 Mar 2019 15:24:43 +0000 (15:24 +0000)]
Merge "Fix TB bugs in QSCustomizer TileAdapter"

5 years ago[automerger skipped] Merge "Move tag definitions into policy" am: 3200c0bcb8 am:...
Siarhei Vishniakou [Wed, 27 Mar 2019 15:19:43 +0000 (08:19 -0700)]
[automerger skipped] Merge "Move tag definitions into policy" am: 3200c0bcb8 am: e322940fa9
am: 92e2e05e13 -s ours
am skip reason: change_id I1fde2a2e7451ec67987ad3b09abc28be64410427 with SHA1 4dfa47054e is in history

Change-Id: Iffbb72939a0652adbc4ecc9d5ce795e816f96986

5 years agoRemove unused work mode animations
Amin Shaikh [Tue, 26 Mar 2019 15:19:36 +0000 (11:19 -0400)]
Remove unused work mode animations

Use the status bar icon as the QS icon. No visual change.

Bug: 129398746
Test: make
Change-Id: Ibbd78c678d1b1c5e9c7bff7b974c0e183613724c

5 years agoMerge "Move tag definitions into policy" am: 3200c0bcb8
Siarhei Vishniakou [Wed, 27 Mar 2019 15:05:59 +0000 (08:05 -0700)]
Merge "Move tag definitions into policy" am: 3200c0bcb8
am: e322940fa9

Change-Id: I9e26a191ce5aff6a2ae698fbdd3cbdccfc90a4cd

5 years agoMerge "Fix system crash during RWC#resumeHomeActivity called."
TreeHugger Robot [Wed, 27 Mar 2019 15:00:34 +0000 (15:00 +0000)]
Merge "Fix system crash during RWC#resumeHomeActivity called."

5 years agoMerge "Mobile data can be turned off from keyguard"
Fabian Kozynski [Wed, 27 Mar 2019 14:56:09 +0000 (14:56 +0000)]
Merge "Mobile data can be turned off from keyguard"

5 years agoMerge "Move tag definitions into policy"
Siarhei Vishniakou [Wed, 27 Mar 2019 14:55:01 +0000 (07:55 -0700)]
Merge "Move tag definitions into policy"
am: 3200c0bcb8

Change-Id: I64c8ac2e104c025ee3f4aed88d03e6c9aa9bcabe

5 years agoMerge "Move tag definitions into policy"
Treehugger Robot [Wed, 27 Mar 2019 14:41:12 +0000 (14:41 +0000)]
Merge "Move tag definitions into policy"

5 years agoPull info about apps installed on external storage.
Carmen Agimof [Mon, 4 Mar 2019 14:39:14 +0000 (14:39 +0000)]
Pull info about apps installed on external storage.

Bug: 123688171
Test: Manually tested using statsd_testdrive script
Change-Id: Ie47c69c1177d77993907d7ff8ef52691a0c2eaef

5 years ago[automerger skipped] Merge changes from topic "unsupported-internal" am: 2f573ac6f8...
Andrei-Valentin Onea [Wed, 27 Mar 2019 14:16:58 +0000 (07:16 -0700)]
[automerger skipped] Merge changes from topic "unsupported-internal" am: 2f573ac6f8 am: 6acb2106f7
am: 1a129b474d -s ours
am skip reason: change_id Ia5306f4713298b46ae3aba6fc9d87fae41f8a593 with SHA1 15884391c0 is in history

Change-Id: I962641ad350c2d6602b274d2ee4562b3dc463c75

5 years agoMerge changes from topic "unsupported-internal" am: 2f573ac6f8
Andrei-Valentin Onea [Wed, 27 Mar 2019 14:07:16 +0000 (07:07 -0700)]
Merge changes from topic "unsupported-internal" am: 2f573ac6f8
am: 6acb2106f7

Change-Id: I98fdc3085646e3378560dc66eb7c46dfb74aee13

5 years agoMerge "Update desired heights docs based on feedback from CL after it was submitted"
TreeHugger Robot [Wed, 27 Mar 2019 14:02:41 +0000 (14:02 +0000)]
Merge "Update desired heights docs based on feedback from CL after it was submitted"

5 years agoCreate a new reference of r.curApp to post for the delayed job
Michal Karpinski [Wed, 27 Mar 2019 13:52:38 +0000 (13:52 +0000)]
Create a new reference of r.curApp to post for the delayed job

We were nulling out this field later, resulting in
the token not being removed.

Bug: 129255292
Test: manual
Change-Id: I365b34ead153ab1f5f96ac71387535b44dad6c4d

5 years agoMerge changes from topic "unsupported-internal"
Andrei-Valentin Onea [Wed, 27 Mar 2019 13:56:12 +0000 (06:56 -0700)]
Merge changes from topic "unsupported-internal"
am: 2f573ac6f8

Change-Id: I0fedf5c754a59a9c57b3abd00adff00d58b4930c

5 years agoMerge changes from topic "unsupported-internal"
Andrei-Valentin Onea [Wed, 27 Mar 2019 13:40:15 +0000 (13:40 +0000)]
Merge changes from topic "unsupported-internal"

* changes:
  Add @UnsupportedAppUsage annotations
  Add android internal dirs to hiddenapi-mappings

5 years agoMerge "Add logging to indiciate whether a bubble is read or unread."
Steven Wu [Wed, 27 Mar 2019 13:39:27 +0000 (13:39 +0000)]
Merge "Add logging to indiciate whether a bubble is read or unread."

5 years agoMerge "Add lock icon to bouncer when scrimmed"
TreeHugger Robot [Wed, 27 Mar 2019 13:19:50 +0000 (13:19 +0000)]
Merge "Add lock icon to bouncer when scrimmed"

5 years agoMerge "Filter app-ops from for foreground notifications"
TreeHugger Robot [Wed, 27 Mar 2019 13:11:49 +0000 (13:11 +0000)]
Merge "Filter app-ops from for foreground notifications"

5 years agoAllow all packages participating in any foreground task start
Michal Karpinski [Tue, 26 Mar 2019 17:12:25 +0000 (17:12 +0000)]
Allow all packages participating in any foreground task start
activities from background

Bug: 128772406 (mechanism)
Bug: 123970943 (manifestation)
Test: manual (going through SUW)
Change-Id: Idee58db64357359619b48ebda4afd288a9349fa3

5 years agoFix TB bugs in QSCustomizer TileAdapter
Fabian Kozynski [Thu, 21 Mar 2019 16:09:33 +0000 (12:09 -0400)]
Fix TB bugs in QSCustomizer TileAdapter

* When saving the specs on exit, make sure that TileAdapter is left in a
good state. This meanse removing the placeholder if it exists and
setting it to ACTION_NONE
* Update mTileDividerIndex when adding and removing a place holder. It
doesn't need to be updated manually after a completed add, move or
remove operation as we call #updateDividerLocations in #move
* When adding a tile in the position before last, it gets added one
position before that. This happen because of the fix for off by one that
is not needed anymore.

Fixes: 129059015
Fixes: 129001337
Test: manual using TB. Adding, removing and moving tiles, in particular
to positions near the end.
Change-Id: I010d118b15c1cad3c0ab0544b515eb9c5b53b2ce

5 years agoFilter app-ops from for foreground notifications
Nadav Bar [Wed, 27 Mar 2019 08:16:02 +0000 (10:16 +0200)]
Filter app-ops from for foreground notifications

This fixes inconsistency of showing the app ops indicators in the status bar
and foreground notifications.
Specifically, the issue that were seen is that the microphone indicator was also shown for system apps
without a launcher that have the recording pre-granted.

Bug: 129263222.
Change-Id: I6f6faf1552d3721f6fc34c650b5601e90d172db6
Test: Manually.

5 years agoMerge "Fix AppCompactorTest and add a presubmit TEST_RULE"
TreeHugger Robot [Wed, 27 Mar 2019 12:34:58 +0000 (12:34 +0000)]
Merge "Fix AppCompactorTest and add a presubmit TEST_RULE"

5 years agoSharesheet - Fix 4->8 direct share expansion glitch
Matt Pietal [Fri, 22 Mar 2019 11:59:58 +0000 (07:59 -0400)]
Sharesheet - Fix 4->8 direct share expansion glitch

Fix the drag handle and spacing. Set the initial sharesheet size
properly to allow for 2 rows + space to expand the direct share area.

Bug: 128969671
Test: atest ChooserActivityTest and visual inspection
Change-Id: I24f2ffd027c2edd69d90ab31c287ec773b7a7039

5 years agoMerge "Add ability to take on demand system heap dumps."
TreeHugger Robot [Wed, 27 Mar 2019 12:05:16 +0000 (12:05 +0000)]
Merge "Add ability to take on demand system heap dumps."

5 years agoIgnore some test cases in RecentLocationAccessesTest
tmfang [Wed, 27 Mar 2019 11:43:30 +0000 (19:43 +0800)]
Ignore some test cases in RecentLocationAccessesTest

Bug: 129390255
Test: robotest
Change-Id: I8b42675118de775ae9522ec90ae6c7701ba4112c

5 years agoFix AppCompactorTest and add a presubmit TEST_RULE
Linus Tufvesson [Tue, 26 Mar 2019 17:31:14 +0000 (17:31 +0000)]
Fix AppCompactorTest and add a presubmit TEST_RULE

Test will run as presubmit if AppCompactor.java is modified.

Modifying server/TEST_MAPPING to add "include-filter":
"com.android.server." to make sure it still runs as expected.

Bug: 128613287
Bug: 129341058

Test: atest --test-mapping [while in com/android/server/am/]
Test: atest FrameworksMockingServicesTests:AppCompactorTest
Change-Id: I6238f83c0f94d9a9ca593ddab5169667150a5583

5 years agoAdd @UnsupportedAppUsage annotations
Andrei Onea [Wed, 27 Mar 2019 10:32:55 +0000 (10:32 +0000)]
Add @UnsupportedAppUsage annotations

For packages:
  com.android.internal.app
  com.android.internal.database
  com.android.internal.http
  com.android.internal.os
  com.android.internal.policy
  com.android.internal.util
  com.android.internal.view
  com.android.internal.view.menu
  com.android.internal.widget
  com.android.server.net
  com.android.server
  com.google.android.collect
  com.google.android.util

This is an automatically generated CL. See go/UnsupportedAppUsage
for more details.

Exempted-From-Owner-Approval: Mechanical changes to the codebase
which have been approved by Android API council and announced on
android-eng@

Bug: 110868826
Test: m
Merged-In: Ia5306f4713298b46ae3aba6fc9d87fae41f8a593
Change-Id: Ie26033d486033289ad3e010a534a921d29c3b2ca

5 years agoMerge "Fix NPE when querying serial number of a partial user."
Pavel Grafov [Wed, 27 Mar 2019 11:10:38 +0000 (11:10 +0000)]
Merge "Fix NPE when querying serial number of a partial user."