Commit Graph

419541 Commits

Author SHA1 Message Date
yj81.kwon
b2f088409b Merge "[wm]: Fixed TaskPositioner leak" into qt-dev
am: 050d6df74c

Change-Id: Ife9c5d5da6fae4d40183a6a56a71165001bf6674
2019-05-20 04:54:49 -07:00
Zimuzo Ezeozue
29d9b1d9b2 Merge "Fix handling multiple staged rollback sessions ready signal" into qt-dev
am: b6c55dfa54

Change-Id: Ieb53ea67b9358dcdf732bf2959b4d015f1975441
2019-05-20 04:50:33 -07:00
Steve Elliott
50ad8d1014 Merge "Fix dropped rotation events when unlocking orientation" into qt-dev
am: a129679d8f

Change-Id: I8157397d55189dee92fc8a63b6908fe0827594e8
2019-05-20 04:46:07 -07:00
Winson Chung
eb84644abd Merge "Fix issue with wrong user task being resolved" into qt-dev
am: 84ac023b8a

Change-Id: If206c986e5bbb1aa53ecf9e5dabcc481b066cd93
2019-05-20 04:41:41 -07:00
Josh Tsuji
ab26236c60 Merge "Revert "Align bubble behavior with DND settings."" into qt-dev
am: 7c36e75d6b

Change-Id: I580ac6c2f243ab044b9acc3b0eb3a965624e2f0d
2019-05-20 04:36:33 -07:00
Govinda Wasserman
6d055c6063 Merge "Adds a PhoneStateMonitor to the AssistManager" into qt-dev
am: 5d9fede666

Change-Id: I34731c170afb7c09421959fe07c8e06909bdde16
2019-05-20 04:31:42 -07:00
Bill Yi
ee507cda32 [automerger skipped] Import translations. DO NOT MERGE am: d1ab5aced6 -s ours
am: 162dbaa3e4 -s ours
am skip reason: subject contains skip directive

Change-Id: I8ec59729ae9ac9d335c9ea12c30160b7493f6ee1
2019-05-20 04:27:16 -07:00
Kweku Adams
fc215094d0 Merge "Add throttling by job run session." into qt-dev
am: faeb669165

Change-Id: I88ea68db19c32ddc79a9d95c764b546a2f2d2e26
2019-05-20 04:26:37 -07:00
Bill Yi
afd4ef1d08 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 3b7a08e360 -s ours
am skip reason: subject contains skip directive

Change-Id: Id3eeed6a368072136959013b03f8dc1a6cf79793
2019-05-20 04:22:24 -07:00
Winson Chung
e6cdb8e39a Merge "Ensure that we use the current user context when adding nav mode listeners" into qt-dev
am: d76c0d751a

Change-Id: I0c05912150f179db80fc88a392ed9a406c6fff01
2019-05-20 04:21:46 -07:00
Beverly
b56307ac12 Merge "Allow updates to importance of default apps" into qt-dev
am: ad204b6edc

Change-Id: I4cbdee6661883bec8653da5b1f020f357db794d5
2019-05-20 04:17:18 -07:00
Matt Casey
d7ed2f7241 Merge "Remove assist status stuff from StatusBar." into qt-dev
am: a3e45d5d26

Change-Id: I1d2c0472bdae7d9b5d188887bedf03cba4938876
2019-05-20 04:12:26 -07:00
Jiyong Park
ff7b4c700f Merge "Add workaround for b/124210145" into qt-dev
am: a8cf106193

Change-Id: I393606e9962aa494dff32ab64cab35333acdd37a
2019-05-20 03:59:22 -07:00
TreeHugger Robot
050d6df74c Merge "[wm]: Fixed TaskPositioner leak" into qt-dev 2019-05-19 23:12:25 +00:00
Zimuzo Ezeozue
b6c55dfa54 Merge "Fix handling multiple staged rollback sessions ready signal" into qt-dev 2019-05-19 18:33:45 +00:00
TreeHugger Robot
a129679d8f Merge "Fix dropped rotation events when unlocking orientation" into qt-dev 2019-05-19 14:23:32 +00:00
Steve Elliott
e05817ff03 Fix dropped rotation events when unlocking orientation
When unlocking orientation on the same frame as a rotation takes place
(example: orientation is locked to landscape, but phone is physically
oriented to portrait), onConfigurationChange is not invoked, and so
Global Actions is positioned as if it were in the locked orientation,
even though it has been rotated.

We work around this by post()ing the rotation unlock, so that it
happens on the next frame, at which point onConfigurationChange is
correctly invoked and the layout is re-oriented properly.

Fixes: 132581161
Test: manual
Change-Id: I1c11844e24bea115f9f44560fef8db863d19d7af
2019-05-19 09:04:39 -04:00
Winson Chung
84ac023b8a Merge "Fix issue with wrong user task being resolved" into qt-dev 2019-05-19 03:54:23 +00:00
Josh Tsuji
7c36e75d6b Merge "Revert "Align bubble behavior with DND settings."" into qt-dev 2019-05-19 03:11:35 +00:00
TreeHugger Robot
5d9fede666 Merge "Adds a PhoneStateMonitor to the AssistManager" into qt-dev 2019-05-18 18:26:13 +00:00
Bill Yi
162dbaa3e4 [automerger skipped] Import translations. DO NOT MERGE
am: d1ab5aced6 -s ours
am skip reason: subject contains skip directive

Change-Id: I0c65f5c6aaf40e69e29bba12f8aa470169e12302
2019-05-18 07:57:23 -07:00
Kweku Adams
faeb669165 Merge "Add throttling by job run session." into qt-dev 2019-05-18 14:38:56 +00:00
TreeHugger Robot
3b7a08e360 Merge "Import translations. DO NOT MERGE" into qt-dev 2019-05-18 14:27:54 +00:00
Winson Chung
2bc60c0477 Fix issue with wrong user task being resolved
- Setup wizard used to finish itself and start home automatically, but now
  we have the Tips app show afterwards which requires the user to swipe
  up to go home as a part of learning the gesture. Previously that would
  have created the home task for the secondary user and subsequent swipes
  would work, but in the new flow, the creation of the secondary user
  home task would never happen because the recents animation logic tries
  to find the primary user's home task. This is only an issue on the first
  launch for the secondary user, subsequent launches after completing SUW
  will start home as a part of switching users.

  This change ensures that we account for the user when trying to resolve
  an existing target activity.

Bug: 132410734
Test: atest RecentsAnimationTest
Change-Id: If14ad535948c5aadd83af528592b320dba62c40e
2019-05-18 14:25:10 +00:00
Winson Chung
d76c0d751a Merge "Ensure that we use the current user context when adding nav mode listeners" into qt-dev 2019-05-18 14:24:16 +00:00
Zimuzo
8d231b4c6d Fix handling multiple staged rollback sessions ready signal
After we stage a session for rollback, we need to wait for the
session to be ready and then reboot. To ensure we don't miss the
ready signal, we register a BroadcastReceiver to listen to session changes
and also check for session ready right away. This caused a race condition
where we may handle post-ready twice. This caused a crash because we
attempt to unregister the receiver twice, it's also a problem because
we could log the same event twice.

Now, we store the rollback ids we are about to handle and ensure we never
handle post-ready more than once.

Test: Manual test && atest StagedRollbackTest
Bug: 132866890
Change-Id: I5187ff20fb83b29f7a00a28bf6ad8105ca4f0067
2019-05-18 12:31:07 +01:00
TreeHugger Robot
ad204b6edc Merge "Allow updates to importance of default apps" into qt-dev 2019-05-18 09:25:23 +00:00
Matt Casey
a3e45d5d26 Merge "Remove assist status stuff from StatusBar." into qt-dev 2019-05-18 09:21:58 +00:00
Fabian Kozynski
a0051f6902 Merge "Add DeviceConfig flags to Privacy Indicators" into qt-dev
am: 9faaa2733a

Change-Id: I551a9bdf1d246408f1e8bad8cea04201d3392db1
2019-05-17 23:32:50 -07:00
TreeHugger Robot
a8cf106193 Merge "Add workaround for b/124210145" into qt-dev 2019-05-18 06:16:21 +00:00
TreeHugger Robot
9faaa2733a Merge "Add DeviceConfig flags to Privacy Indicators" into qt-dev 2019-05-18 06:14:40 +00:00
Jeff Sharkey
b270eabe36 Merge "Aggresive performance optimizations." into qt-dev
am: 433b7fc88b

Change-Id: Iae7e2135360590f7246aea640fadd95ff0cad4c4
2019-05-17 23:12:40 -07:00
Richard Uhler
17b89c58a8 Merge "Add watchdog triggered staged rollback test" into qt-dev
am: 7364b0e889

Change-Id: I99894d979515c1c9df634c894082a8e3069aa1b6
2019-05-17 23:04:48 -07:00
Jeff Sharkey
433b7fc88b Merge "Aggresive performance optimizations." into qt-dev 2019-05-18 05:48:35 +00:00
Jeff Sharkey
b66f4f4bad Aggresive performance optimizations.
Now that we have LocalCallingIdentity, we can start caching it in
very narrow cases.  We must be careful to not cache too long, since
any changes to granted permissions for the UID mean we need to
re-evaluate any cached answers.

The best middle-ground for this in the Q release is to use an active
camera session as a proxy for when we should create a cache object
and then later invalidate it.  (It's very unlikely that a user
changes permissions while actively using the camera, and this is
a strong signal that the caller is sensitive to performance.)

Many other sprinkled optimizations to avoid extra binder calls into
the OS, such as aggressively caching VolumeInfo related details.

Track IDs that are owned by each LocalCallingIdentity, to speed up
all future security checks.

Dispatch all change notifications asynchronously, and delay them by
several seconds while the camera is being actively used, to give
more important foreground work a fighting chance.  Invalidate
thumbnails asynchronously.

Optimizations to ModernMediaScanner where it's safe to skip the
"reconcile" and "clean" steps when we're focused on a single file
that we successfully scanned.

Local tests show this CL improves performance of a test app that
takes 100 rapid shots by 45%.  (All the collective optimizations
done so far this week add up to a 70% improvement.)

Bug: 130758409
Test: atest --test-mapping packages/providers/MediaProvider
Exempt-From-Owner-Approval: trivial manifest change
Change-Id: I38cc826af47d41219ef44eae6fbd293caa0c01d5
2019-05-18 05:48:21 +00:00
TreeHugger Robot
7364b0e889 Merge "Add watchdog triggered staged rollback test" into qt-dev 2019-05-18 05:44:20 +00:00
Bill Yi
d1ab5aced6 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ie71c6b1ae7229c5b77a93235ce1e596ce7185f57
2019-05-17 22:07:53 -07:00
Wei Wang
c1833d2165 Merge "StatsCompanionService: register thermal event on all types" into qt-dev
am: ab3e8c74c0

Change-Id: Ie53c54d48d22b3a4bba35857073283de2a4f4451
2019-05-17 21:49:36 -07:00
Bill Yi
779b9af4c8 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I474bf516ef1703354dfc47007c50c934b5825cf4
2019-05-17 21:44:54 -07:00
Susi Kharraz-Post
74954a7229 Merge "Fixing the metrics_constants jump" into qt-dev
am: c29e230514

Change-Id: I0a72a3f4409fa50041fee6edbd86d6712b555429
2019-05-17 21:43:33 -07:00
TreeHugger Robot
ab3e8c74c0 Merge "StatsCompanionService: register thermal event on all types" into qt-dev 2019-05-18 04:20:00 +00:00
TreeHugger Robot
c29e230514 Merge "Fixing the metrics_constants jump" into qt-dev 2019-05-18 04:15:20 +00:00
Philip P. Moltmann
1b166fb9d2 Merge "Revert "Reset system fixed to clean storage perm model 2"" into qt-dev
am: 901516cb6c

Change-Id: I15f51c0f17789a4066231d59dc206038cec2c646
2019-05-17 20:27:23 -07:00
Sal Savage
7791962a5a Merge "Add timestamp and read status extra constants to MAP Client" into qt-dev
am: c28d4714f2

Change-Id: Ic2d71936b91fbc8dc94487bcbebd7a69f647ef3a
2019-05-17 20:21:24 -07:00
Edward Cunningham
ce4786b305 Merge "Make package whitelist the last check in activity starter." into qt-dev
am: 52981d54de

Change-Id: Ic54fc8a4851cb69aa9cfb17bc1c362c9303bbd9e
2019-05-17 20:16:09 -07:00
Philip P. Moltmann
901516cb6c Merge "Revert "Reset system fixed to clean storage perm model 2"" into qt-dev 2019-05-18 02:33:23 +00:00
Sal Savage
c28d4714f2 Merge "Add timestamp and read status extra constants to MAP Client" into qt-dev 2019-05-18 02:22:38 +00:00
TreeHugger Robot
52981d54de Merge "Make package whitelist the last check in activity starter." into qt-dev 2019-05-18 02:18:29 +00:00
Jack Yu
ecd2dceca4 [automerger skipped] Merge "Fixed concurrent access network registration info" am: 9e02ea4763
am: 3469404de1 -s ours
am skip reason: change_id Ic10931b7fab998bfebe09d316a2d87886222dae3 with SHA1 4c11809764 is in history

Change-Id: Ie66d2848b4bcde00c01648c6f7ca565accb8baee
2019-05-17 19:14:02 -07:00
Josh Tsuji
890a79599e Revert "Align bubble behavior with DND settings."
This reverts commit 7aa18112b5.

Reason for revert: b/132891091

Bug: 132891091
Change-Id: I7775bfe2d0c65908f0f6ec14e52beaf58528e19a
2019-05-18 01:56:48 +00:00