Commit Graph

11910 Commits

Author SHA1 Message Date
randy.jeong
4c2eafc201 Ignore signal registration for debugging
It's difficult to identify native crash/error of 3rd party app.
Because they can control their app with own signal handling.
Therefore I would like to support the way to ignore signal
registration in 3rd party app with the specific property.

To enable this, do just setprop "debug.ignoreappsignalhandler 1".

Test: test app to hook signal, then setprop debug.ignoreappsignalhandler 1

Change-Id: I2af98a0f58e5ac039eab0ebe9c3780357aca7820
Signed-off-by: randy.jeong <randy.jeong@samsung.com>
2019-07-15 12:24:15 +01:00
TreeHugger Robot
6a528472b4 Merge "Throttle calls to grant default roles." 2019-07-12 17:51:11 +00:00
Hai Zhang
fa97060c21 Throttle calls to grant default roles.
Package changes can be very frequent when for instance a new user is
created, and we used to re-run granting default roles every time a
package change is detected. In such cases the grant is inherently
async, so we can throttle it with a certain interval for better
performance.

This CL adds a throttled runnable and makes the async call in
RoleManagerService package change receiver throttled with an interval
of 1 second. The package hash computation is also moved to FgThread in
this case. The original blocking call in onStartUser() is not
affected and still runs on main thread.

Test: manual
Change-Id: I211ee3d4acbdf0662c6dfe4d67b35d253e12a472
2019-07-11 14:50:03 -07:00
Beverly
cca19d0c82 Merge "Adjust window rounded corners" into qt-r1-dev am: dcba632b41
am: 189c662b0e

Change-Id: Ic7e5ad474fcecb99c8b48c499e349bff3cd79c2d
2019-07-11 13:45:07 -07:00
Beverly
189c662b0e Merge "Adjust window rounded corners" into qt-r1-dev
am: dcba632b41

Change-Id: Icbd2513a96469ae187f2624a289982261478d475
2019-07-11 13:34:06 -07:00
TreeHugger Robot
dcba632b41 Merge "Adjust window rounded corners" into qt-r1-dev 2019-07-11 20:01:41 +00:00
Daniel Sandler
ea28adf7de Merge "Q card." into qt-dev am: 13de667fa6
am: 59fdc5ca76

Change-Id: Ia448d7b73d88f69ab53b0cd888bd25c242aa6d4f
2019-07-10 21:31:55 -07:00
Daniel Sandler
59fdc5ca76 Merge "Q card." into qt-dev
am: 13de667fa6

Change-Id: Ia30df6e52c78381860782b282125d9deef9511b5
2019-07-10 21:21:30 -07:00
Dan Sandler
a761337637 Q card.
(Goodbye, hypno-P and your '90s tech magazine color palette.)

Bug: 123903304
Test: adb shell am start -n android/com.android.internal.app.PlatLogoActivity
Test: adb shell am start -c com.android.internal.category.PLATLOGO -a android.intent.action.MAIN
Test: adb shell am start -n com.android.egg/.paint.PaintActivity # still works
Change-Id: I4865024a14b6a78e7a043c56d2330b5f9dd214c6
2019-07-10 15:51:12 -04:00
Beverly
72dbd11ccd Adjust window rounded corners
Test: manual
Fixes: 136652290
Change-Id: I969b00528e269da16021387cb8298e05aeeb63ab
2019-07-10 14:00:17 -04:00
Dan Sandler
8c7b8cbd39 Q card.
(Goodbye, hypno-P and your '90s tech magazine color palette.)

Bug: 123903304
Test: adb shell am start -n android/com.android.internal.app.PlatLogoActivity
Test: adb shell am start -c com.android.internal.category.PLATLOGO -a android.intent.action.MAIN
Test: adb shell am start -n com.android.egg/.paint.PaintActivity # still works
Change-Id: I4865024a14b6a78e7a043c56d2330b5f9dd214c6
Merged-In: I4865024a14b6a78e7a043c56d2330b5f9dd214c6
2019-07-10 17:21:30 +00:00
Hongwei Wang
e4579b2a49 Merge "Fixes the PiP edge intersect for fling" 2019-07-10 17:17:17 +00:00
TreeHugger Robot
fd0082b723 Merge "Move reading time field to inside HistoryItem.readFromParcel()." 2019-07-10 01:23:32 +00:00
Hongwei Wang
02e3c9d0b9 Fixes the PiP edge intersect for fling
Bug: 135896456
Test: Fling the PiP window towards edge
Change-Id: Ia10823b9aa21e32223fbd8938719ebf31dfc936b
2019-07-08 16:54:18 -07:00
Matt Pietal
a8031410eb Merge "Resolver - 'Always' button broken for non VIEW cases" into qt-dev am: 914de104b3 am: ef430bb118
am: 5153eb6f4e

Change-Id: I4ea935b5807f13d6626c45ec5e74b23009520fb4
2019-07-03 20:35:12 -07:00
Ray Essick
4522610802 Merge "Revert "Preload sfplugin_ccodec for performance"" into qt-dev am: fb4fab4fa3 am: de7e7b1e61
am: 5a33417f50

Change-Id: I6267e738560c80c98040f865f9d2c99bdd197615
2019-07-03 20:13:40 -07:00
Matt Pietal
5153eb6f4e Merge "Resolver - 'Always' button broken for non VIEW cases" into qt-dev am: 914de104b3
am: ef430bb118

Change-Id: Ib168d0e8fa6eb436a215b0a0a01119a81627c571
2019-07-03 18:23:30 -07:00
Ray Essick
5a33417f50 Merge "Revert "Preload sfplugin_ccodec for performance"" into qt-dev am: fb4fab4fa3
am: de7e7b1e61

Change-Id: I614d66b28875df8cfa9529db9e7db417b57d9c08
2019-07-03 17:50:54 -07:00
Ray Essick
de7e7b1e61 Merge "Revert "Preload sfplugin_ccodec for performance"" into qt-dev
am: fb4fab4fa3

Change-Id: I6d51b391c335ad4df81073313003576a06c02da1
2019-07-03 16:55:15 -07:00
Matt Pietal
ef430bb118 Merge "Resolver - 'Always' button broken for non VIEW cases" into qt-dev
am: 914de104b3

Change-Id: I5583dde27c46f7130a540fce1476400767e7ec98
2019-07-03 16:55:05 -07:00
Ray Essick
790f8912a3 Merge "Revert "Preload sfplugin_ccodec for performance"" into qt-dev
am: fb4fab4fa3

Change-Id: I7be69015e447bd251edfe8595d6774327b491570
2019-07-03 16:51:28 -07:00
Matt Pietal
914de104b3 Merge "Resolver - 'Always' button broken for non VIEW cases" into qt-dev 2019-07-03 20:11:59 +00:00
TreeHugger Robot
fb4fab4fa3 Merge "Revert "Preload sfplugin_ccodec for performance"" into qt-dev 2019-07-03 19:08:42 +00:00
Ray Essick
4a0199a899 Revert "Preload sfplugin_ccodec for performance"
This reverts commit 30da74bda4.

Reason for revert: occasional audio race, losing volume control for device

Bug: 133186424
Bug: 135763139
Change-Id: I3aca2780dfcf80cfe0095af2a40496f3af0733cd
2019-07-03 18:48:16 +00:00
Matt Pietal
a310c1fa3a Resolver - 'Always' button broken for non VIEW cases
Users are incorrectly being directed to the settings app when
selecting 'Always', making them unable to actually open an app through
the resolver.

Bug: 132071949
Test: Steps are reported in b/136451610
Change-Id: I11775d7b0b780195f08273ad2b90b8ecd2ee1db4
2019-07-03 09:12:56 -04:00
Hui Yu
cb99610483 Move reading time field to inside HistoryItem.readFromParcel().
Also HistoryItem does not need to implement Parcelable interface,
just like other batterystats classes, readFromParcel() and
writeToParcel() are pair of symmetric methods, but those classes do
not implement Parcelable interface because readFromParcel() is not a
method of readFromParcel() interface.

Change-Id: I5ac974c9903c5639a6bb52fc0a53367f92187af0
Fix: 135442392
Test: reboot device and "adb shell dumpsys batterystats"
2019-07-02 21:57:24 +00:00
Winson Chung
98b75b7ce8 Merge "Check that alpha is zero instead of transparent color to decide scrim" into qt-dev am: 1abc45038b am: a5c11b4ae4
am: ed586b2c53

Change-Id: Iff2d3ecd045f6a7be23638b4407f85d2fdcafb6e
2019-07-02 13:12:32 -07:00
Ray Essick
6844778e39 Merge "Preload sfplugin_ccodec for performance" into qt-dev am: 878a6b2015 am: 0ef82ad076
am: b816bc76c6

Change-Id: I1f562a4c91ef6d5d803ddb8513f5a8b1c4bd86cc
2019-07-02 12:33:27 -07:00
Winson Chung
ed586b2c53 Merge "Check that alpha is zero instead of transparent color to decide scrim" into qt-dev am: 1abc45038b
am: a5c11b4ae4

Change-Id: I1590888f5fc01c2feed7e7af9c0d08ba12d729c4
2019-07-02 12:06:03 -07:00
Ray Essick
b816bc76c6 Merge "Preload sfplugin_ccodec for performance" into qt-dev am: 878a6b2015
am: 0ef82ad076

Change-Id: Ia00336a9c12a1082607f59145201db26624261ba
2019-07-02 11:58:58 -07:00
Matt Pietal
24df27b6e2 Merge "Sharesheet - Fix regression in direct share sorting" into qt-dev am: ac1c8ddcc3
am: 3d1f220698

Change-Id: Idb5ab5b887e89fe08c670cb14a76471662b68b22
2019-07-02 11:36:13 -07:00
Winson Chung
1f5a4106d8 Merge "Check that alpha is zero instead of transparent color to decide scrim" into qt-dev
am: 1abc45038b

Change-Id: I53601e0d7d9f747a339f7db3a2d36a1dffa5bb38
2019-07-02 11:20:08 -07:00
Winson Chung
a5c11b4ae4 Merge "Check that alpha is zero instead of transparent color to decide scrim" into qt-dev
am: 1abc45038b

Change-Id: I0c9ef5ebce04c7a477b55570c4b39f71e8bba14d
2019-07-02 11:17:22 -07:00
Ray Essick
0ef82ad076 Merge "Preload sfplugin_ccodec for performance" into qt-dev
am: 878a6b2015

Change-Id: Idae0ffb08ba0027b94bb0ff55f70af6dca7e2bd3
2019-07-02 10:59:30 -07:00
Matt Pietal
1861a11b43 Merge "Sharesheet - Fix regression in direct share sorting" into qt-dev
am: ac1c8ddcc3

Change-Id: I7abc46fe03e5476ce129e4fb9712ed0200cd978b
2019-07-02 10:45:43 -07:00
Ray Essick
80643498fe Merge "Preload sfplugin_ccodec for performance" into qt-dev
am: 878a6b2015

Change-Id: I2b88849d2b3df487d949054f30a69858e5c7ca08
2019-07-02 10:38:59 -07:00
Winson Chung
1abc45038b Merge "Check that alpha is zero instead of transparent color to decide scrim" into qt-dev 2019-07-02 17:37:34 +00:00
Matt Pietal
3d1f220698 Merge "Sharesheet - Fix regression in direct share sorting" into qt-dev
am: ac1c8ddcc3

Change-Id: Ib664b368f34d3ee936444ce784326300ef260372
2019-07-02 10:26:37 -07:00
Ray Essick
878a6b2015 Merge "Preload sfplugin_ccodec for performance" into qt-dev 2019-07-02 17:10:33 +00:00
shawnlin
a741dca7fc Remove the server side flag of clockface blacklist
am: 9e89ef2a2e

Change-Id: I857e1e6d8c4126f52091fafa429c1697b5ca7787
2019-07-02 08:34:16 -07:00
Robin Lee
6f3ca53561 Merge "Focus content or button on AlertController" 2019-07-02 12:59:35 +00:00
shawnlin
eecbda50a3 [DO NOT MERGE] Remove the server side flag of clockface blacklist
Bug: 136090066
Test: atest com.android.keyguard.clock.ClockManagerTest
Change-Id: I7aa2c2deb690a3c8a5648754eeb6ae10ed0af0d8
Merged-In: I7aa2c2deb690a3c8a5648754eeb6ae10ed0af0d8
2019-07-02 11:47:07 +00:00
shawnlin
9e89ef2a2e Remove the server side flag of clockface blacklist
Bug: 136090066
Test: atest com.android.keyguard.clock.ClockManagerTest
Change-Id: I7aa2c2deb690a3c8a5648754eeb6ae10ed0af0d8
2019-07-02 06:10:57 +00:00
Winson Chung
ffc70a68c0 Check that alpha is zero instead of transparent color to decide scrim
Bug: 136370711
Test: atest EnsureBarContrastTest
Change-Id: I45c4a81d5e7fe6f99615efca528a623f3830f16a
2019-07-01 22:46:07 +00:00
Matt Pietal
e967cb3ad2 Sharesheet - Fix regression in direct share sorting
When mutiple apps share shortcuts and are given to the UI to display,
the ranked order from both the App Prediction Service and the legacy
ranker is inadvertently being discarded. This means that targets the
user almost never uses will now be shown as high priority, causing
confusion and pretty horrible user experience.

Address the issue by adding in a score for shortcuts, based on the
index in the ordered list.

Bug: 136201796
Test: atest ChooserActivityTest and manually compare results from
      AppPredictionService to verify order is consistent
Change-Id: I1fe2c2d2e13195f6f6c3a5818fade4844c15488e
2019-07-01 20:55:52 +00:00
Matt Pietal
bdbeea28d2 Sharesheet - Fix regression in direct share sorting
When mutiple apps share shortcuts and are given to the UI to display,
the ranked order from both the App Prediction Service and the legacy
ranker is inadvertently being discarded. This means that targets the
user almost never uses will now be shown as high priority, causing
confusion and pretty horrible user experience.

Address the issue by adding in a score for shortcuts, based on the
index in the ordered list.

Bug: 136201796
Test: atest ChooserActivityTest and manually compare results from
      AppPredictionService to verify order is consistent
Change-Id: I1fe2c2d2e13195f6f6c3a5818fade4844c15488e
2019-07-01 16:52:52 -04:00
Mathew Inwood
46f7f16a4d Merge "Restore some greylist entries." into qt-dev am: f76bdce6e0 am: 13ffa87a6d
am: 89f02cc81c

Change-Id: Ib5bc4e76d81ad69f7c3293e6cb72393e1aee7ed9
2019-06-28 09:36:40 -07:00
Matt Pietal
1c8b96048e Merge "Resolver - Improve flow for Intent URL handling" into qt-dev am: d73543b588 am: 1437b43eb6
am: 861c5782b7

Change-Id: Ieb63107a6202590104c57bfe08b6f4b61645fef0
2019-06-28 09:35:49 -07:00
Mathew Inwood
89f02cc81c Merge "Restore some greylist entries." into qt-dev am: f76bdce6e0
am: 13ffa87a6d

Change-Id: I4c92e5685804a5b03510ab5b9396c0dc6f4aad46
2019-06-28 08:49:28 -07:00
Matt Pietal
861c5782b7 Merge "Resolver - Improve flow for Intent URL handling" into qt-dev am: d73543b588
am: 1437b43eb6

Change-Id: Iea3b2f52e8d466eab71e0bff13b00c674794d7af
2019-06-28 08:45:13 -07:00