Commit Graph

419920 Commits

Author SHA1 Message Date
TreeHugger Robot
21de89ccc6 Merge "DO NOT MERGE Set app op mode to allowed when granting permissions to reset state." into qt-r1-dev 2019-07-23 21:52:30 +00:00
TreeHugger Robot
9b5cfc03b0 Merge "Import translations. DO NOT MERGE" into qt-r1-dev 2019-07-23 21:43:49 +00:00
TreeHugger Robot
85a56ba185 Merge "Import translations. DO NOT MERGE" into qt-r1-dev 2019-07-23 21:20:08 +00:00
Selim Cinek
fc039930d1 Merge "Improved the heads up experience when notifications were blocked" into qt-r1-dev 2019-07-23 20:25:35 +00:00
TreeHugger Robot
31c862e17e Merge "Don't unfreeze too early" into qt-r1-dev 2019-07-23 20:22:34 +00:00
Hai Zhang
ac743cb54e DO NOT MERGE Set app op mode to allowed when granting permissions to reset state.
We grant GRANTED_BY_DEFAULT permissions again when user clears data
for a package to reset its state, but the app op mode needs to be
granted as well.

Fixes: 137723522
Test: presubmit & manual
Change-Id: Ibbbbff9e5d8161538637a4c542d7c0bc92a90501
2019-07-23 20:17:51 +00:00
Bill Yi
cca78a72f8 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I9ef7742eaa85199f18abe62e7b122eee9a8bc27e
2019-07-23 13:09:00 -07:00
Bill Yi
9977f99aa5 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Icda8f9f62161a32ea41f73e62d74feb8e14afc72
2019-07-23 13:05:07 -07:00
Robert Snoeberger
cc52759d2c Merge "Don't animate clock when turning screen off." into qt-r1-dev 2019-07-23 18:12:40 +00:00
Hai Zhang
e524e8e22d Merge "Fix permission javadoc about whitelisting." into qt-dev
am: 4918e711d3

Change-Id: I28a53f02f8cfc41c8ce6e23976f7efd4fdb3fa90
2019-07-23 10:55:56 -07:00
Dave Mankoff
74ddd19d88 [automerger skipped] Merge "Add cleanup method to FalsingManager to prevent memory leaks." into qt-dev
am: f0fb6e1b29 -s ours
am skip reason: change_id I2b52d018d478dbcad4ecb7d8a5b361638d5c5877 with SHA1 4c5a13ebd9 is in history

Change-Id: I26a7f122c7bc1dd51d7602d580a5e77058839894
2019-07-23 10:52:16 -07:00
TreeHugger Robot
4918e711d3 Merge "Fix permission javadoc about whitelisting." into qt-dev 2019-07-23 17:16:14 +00:00
Dave Mankoff
f0fb6e1b29 Merge "Add cleanup method to FalsingManager to prevent memory leaks." into qt-dev 2019-07-23 17:10:26 +00:00
Paul Crowley
0555f98949 fsync directories as well as files
When we create a new file, that file can be lost in a crash unless the
containing directory is synced.

Bug: 130637124
Bug: 137666560
Test: ensure pattern setting still works.
Change-Id: I5ec05a98cb5077950d1a4214aca6801c73450b62
2019-07-23 09:27:45 +00:00
Selim Cinek
b765c60568 Merge "Fixed a bug with the animation of the notification background" into qt-dev
am: 5958b7c77b

Change-Id: I523abfa025e8c25c6fa7e198e172ae2b4db08158
2019-07-22 18:17:15 -07:00
TreeHugger Robot
5958b7c77b Merge "Fixed a bug with the animation of the notification background" into qt-dev 2019-07-23 00:57:58 +00:00
Selim Cinek
8ee02b1e7d Improved the heads up experience when notifications were blocked
When notifications were blocked due to proximity, the heads
up would never show until unlocked. We're now showing it
when the screen turns on.
This also avoids the header to be shown while the
notifications are fully collapsed, since that was the
only element that changed before.

Fixes: 	137711785
Test: get hun in pocket, pull out, observe notification visible
Change-Id: I9c3d0cdc341eb2d95bcb76099e59b0d561f81210
2019-07-22 17:52:56 -07:00
TreeHugger Robot
8b3386567f Merge "SoundTriggerHelper: fix power save mode listener" into qt-r1-dev 2019-07-23 00:48:37 +00:00
Mehdi Alizadeh
1051afbb38 Merge "Removes auto-switch from gesture nav when default home app changes" into qt-r1-dev 2019-07-22 23:17:48 +00:00
Kevin Hufnagle
d60190de6c Merge "docs: Added protection level to permissions" into qt-dev
am: b920689346

Change-Id: I8c683819d96879f94d15224148cdc8f4643c17cc
2019-07-22 15:29:26 -07:00
Kevin Hufnagle
21083088e9 Merge "docs: Fixed link in setCurrentTab() description" into qt-dev
am: 2839f24e64

Change-Id: I4d888ec589953a02238520de0594d751fda3e6d0
2019-07-22 15:23:56 -07:00
Kevin Hufnagle
b920689346 Merge "docs: Added protection level to permissions" into qt-dev 2019-07-22 22:02:55 +00:00
Kevin Hufnagle
2839f24e64 Merge "docs: Fixed link in setCurrentTab() description" into qt-dev 2019-07-22 22:01:49 +00:00
TreeHugger Robot
2738aa3f79 Merge "Fixed that silent notifications weren't showing on AOD" into qt-r1-dev 2019-07-22 21:51:11 +00:00
TreeHugger Robot
a2bee96aac Merge "Import translations. DO NOT MERGE" into qt-r1-dev 2019-07-22 21:12:34 +00:00
Hai Zhang
f2cf8d1bc3 Fix permission javadoc about whitelisting.
Fixes: 138122977
Test: presubmit
Change-Id: I8dec56e4385877789ea3504bc1efbe59ad0ddbb7
2019-07-22 21:06:40 +00:00
Robert Snoeberger
dc8fee7ea1 Don't animate clock when turning screen off.
This change stops the animation because there isn't a
transition from the no-header state to the music header
state when turning the screen off (to AOD). Since there
isn't a transition, there isn't an animation.

This assumes that there isn't a transition from unlocked to
lock screen. If there is, then there would be an animation
of the music going away while arriving at the lock screen.

Fixes: 137383007
Test: Checked repro steps in bug, clock doesn't animate.
Test: Also checked repro steps when audio is paused, clock doesn't
animate.
Test: atest KeyguardSliceProviderTest.java

Change-Id: If39777340b72bc623d6690bc4f784c7f5c26ea8d
2019-07-22 16:36:03 -04:00
Bill Yi
ae841ab54e [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: bde6a92a55 -s ours
am skip reason: subject contains skip directive

Change-Id: I2b84532c9db62f7155bd4683d9b0b02484f93271
2019-07-22 12:33:23 -07:00
Bill Yi
27c67b2bf1 [automerger skipped] Import translations. DO NOT MERGE
am: 09da14be40 -s ours
am skip reason: subject contains skip directive

Change-Id: I4c14d343f3b05b4b292b3e7497af042141bf8c98
2019-07-22 12:21:56 -07:00
John Reck
5ab5cd7aa2 Merge "Increase dequeueBuffer timeout" into qt-r1-dev 2019-07-22 19:18:38 +00:00
TreeHugger Robot
bde6a92a55 Merge "Import translations. DO NOT MERGE" into qt-dev 2019-07-22 19:08:22 +00:00
TreeHugger Robot
1b7a70123b Merge "Import translations. DO NOT MERGE" into qt-r1-dev 2019-07-22 19:03:31 +00:00
Bill Yi
09da14be40 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I8688211f4bb949f51359257a442b81d62e7057bf
2019-07-22 11:01:57 -07:00
Bill Yi
75093f4f5d Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I9e12ebb9c597b7393a32d78a7b15c830326c2915
2019-07-22 11:00:54 -07:00
Nick Cook
82252f17d3 Merge "docs: Fix broken link." into qt-dev
am: 2aec022fd2

Change-Id: I52cd7a41c34a1f44b427029c651c29912b36da93
2019-07-22 10:43:27 -07:00
Bill Yi
0e0c3b6070 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ia5f78bd2c1d3037818b43b010b5c55c233ff1820
2019-07-22 10:27:08 -07:00
Bill Yi
db1d195e1e Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I681ca87322a0adb4033884519eb6168470a433c9
2019-07-22 10:24:23 -07:00
Nick Cook
2aec022fd2 Merge "docs: Fix broken link." into qt-dev 2019-07-22 17:24:07 +00:00
Dave Mankoff
73d48ab970 Add cleanup method to FalsingManager to prevent memory leaks.
When the FalsingManager gets reloaded (due to plugins) it can
leak its listeners and callbacks. This change fixes that.

This is a CP of http://ag/8668802.

Bug: 136351609
Test: manual
Change-Id: I7ea8384678b60e78ed384e19bbd7932722fe2b9c
Merged-In: I2b52d018d478dbcad4ecb7d8a5b361638d5c5877
2019-07-22 10:50:22 -04:00
TreeHugger Robot
6de7a3a3dd Merge "Add calling package verification for ATM binder calls" into qt-r1-dev 2019-07-22 06:07:43 +00:00
Bill Yi
d2b7ca5bad [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 69d1c9c037 -s ours
am skip reason: subject contains skip directive

Change-Id: I1d0cbda4c87504e483c07fe00330fbff15de4a84
2019-07-20 23:41:36 -07:00
Bill Yi
b198566155 [automerger skipped] Import translations. DO NOT MERGE
am: 82f1099361 -s ours
am skip reason: subject contains skip directive

Change-Id: I3a6fe7660b8cd24c8069820a7a738a084fe896ae
2019-07-20 23:38:09 -07:00
TreeHugger Robot
69d1c9c037 Merge "Import translations. DO NOT MERGE" into qt-dev 2019-07-21 06:24:29 +00:00
Bill Yi
15fd49ceb0 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: If28671c4e7d65d7bd9d79effac18e791fe151028
2019-07-20 21:47:56 -07:00
Bill Yi
82f1099361 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I9041213adcd88452a12b56e110017a314f7a8139
2019-07-20 21:30:49 -07:00
Bill Yi
e3f111ad7e Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I5bc0c666b5733a049ecffef86891a1d564bfdfc8
2019-07-20 10:14:43 -07:00
Selim Cinek
31ebb40789 Fixed that silent notifications weren't showing on AOD
Because we were listening to the tuning value but not
actually handling the null default value, the visibility
of the silent icons would be wrong by default.
Additionally, the whole settings check isn't actually
needed since we are already limited to the visible
notifications in the notification list and therefore
the setting is already automatically applied.

Fixes: 137977737
Test: atest SystemUItests
Change-Id: I93e23b08525c6bb8d2219a4bdaa0bbc64ce55d8d
2019-07-19 18:29:56 -07:00
Selim Cinek
1ebcfb66c9 Merge "Fixed a crash with the headsUpManager" into qt-dev
am: fcd42e9249

Change-Id: I82fedec3d4d6f297a022f42fe29e52bffbdc222a
2019-07-19 17:39:24 -07:00
Lucas Dupin
6fa0743097 Merge "Use binned brightness sensor instead of prox" into qt-dev
am: cdc566dfd6

Change-Id: I85007cffbac76c4cf9e66228ec3abfd4c8e8067d
2019-07-19 17:34:17 -07:00
Selim Cinek
893a9dfa10 Fixed a bug with the animation of the notification background
The position of the background could be 0 and therefore the
background could fly over the whole screen.
We're now positioning the top section at the start
of the first visible section.

Fixes: 137885070
Test: atest SystemUiTests
Change-Id: I6720b570f5cd209249b90681cdf6c6a56cf0194e
2019-07-19 17:33:22 -07:00