Commit Graph

371744 Commits

Author SHA1 Message Date
Nicolas Geoffray
07b341e33c Merge "Add two wake lock APIs to light grey." into pi-dev
am: b88b59fdee

Change-Id: Iffc1122e6f122a7be23a60622dbb8734b2ac7aa2
2018-05-17 03:36:52 -07:00
Nicolas Geoffray
b88b59fdee Merge "Add two wake lock APIs to light grey." into pi-dev 2018-05-17 10:24:49 +00:00
Abodunrinwa Toki
402a57bac2 Merge "Use FLAG_UPDATE_CURRENT for TC PendingIntents." into pi-dev
am: 2085646c7d

Change-Id: I9d1e0082911fcad4d729c8eace3b960bf6af0d2d
2018-05-17 03:24:22 -07:00
TreeHugger Robot
2085646c7d Merge "Use FLAG_UPDATE_CURRENT for TC PendingIntents." into pi-dev 2018-05-17 10:11:19 +00:00
Nicolas Geoffray
1a934f9f2e Merge "Add more APIs to light grey." into pi-dev
am: 2891fe6c61

Change-Id: I6a5adb83f866914959cd0db1a1dbc779e601014a
2018-05-17 01:58:38 -07:00
Nicolas Geoffray
2891fe6c61 Merge "Add more APIs to light grey." into pi-dev 2018-05-17 08:44:35 +00:00
Nicolas Geoffray
4a08d4d605 Add two wake lock APIs to light grey.
bug: 73171118
Test: m
Change-Id: I30f453c62a066dbd39b3c9d7a1ba29d892ff52a6
2018-05-17 09:10:14 +01:00
Suprabh Shukla
5e0fad3ce6 Merge "Adding MANAGE_APP_OPS_MODES to FrameworksServicesTests" into pi-dev
am: 4ac4ef7c9e

Change-Id: I9eeccd25c3d5eb5378a131c8785a67a8f2f44467
2018-05-17 00:08:32 -07:00
Anarghya Mitra
49b36b5fcc Merge "Change status bar icons upon capability changes in the default network." into pi-dev
am: ceeba4f6d6

Change-Id: I811a18f21270e30dcf8fff6912bc4da2a9bb8db2
2018-05-16 23:59:39 -07:00
TreeHugger Robot
4ac4ef7c9e Merge "Adding MANAGE_APP_OPS_MODES to FrameworksServicesTests" into pi-dev 2018-05-17 06:56:40 +00:00
TreeHugger Robot
ceeba4f6d6 Merge "Change status bar icons upon capability changes in the default network." into pi-dev 2018-05-17 06:46:39 +00:00
Dieter Hsu
a30db99a93 Merge "Trigger action for app ops icon for keyboard navigation" into pi-dev
am: 7f91c59b3e

Change-Id: I8f03a5ed789794ac7825654e11aba9d438cfa005
2018-05-16 23:14:20 -07:00
Dieter Hsu
7f91c59b3e Merge "Trigger action for app ops icon for keyboard navigation" into pi-dev 2018-05-17 06:04:13 +00:00
Dieter Hsu
3a9b5a98dc Trigger action for app ops icon for keyboard navigation
Bug: 79671932
Test: manually check talkback, switch access and kb navigation
Change-Id: I8a2ed0fc8e6b565e923954fa87e61a20c83438c0
2018-05-17 06:03:58 +00:00
Anarghya Mitra
678722f9d0 Change status bar icons upon capability changes in the default network.
SysUI status bar updates currently happen upon receiving either the
CONNECTIVITY_ACTION broadcast (which is deprecated) and
INET_CONDITION_ACTION broadcast (which is sent upon validation state
change of networks only).

This leads to status bar showing stale connectivity state. The correct
fix for this is to listen to changes in network state by registering
NetworkCallbacks (see more details in http://b/79286300#comment9).

In the P timeframe, not listening to the broadcasts completely is out of
scope. So this CL just listens for changing network capabilities of the
default data network, which should fix all the cases where the
broadcasts are not getting sent.

Later, when we stop relying on the broadcasts, we will also have to
override onAvailable and onLost (and perhaps the other callbacks too).

Test: runtest --path frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
Bug: 71904788
Change-Id: I2e58b9cfceb9937a0b54874dee116ead5339b37b
2018-05-16 22:23:56 -07:00
Tracy Zhou
afbdcdee24 Merge "Add contentDescription to close button of recents onboarding tip view." into pi-dev
am: c6b368795f

Change-Id: I5fad432f25af34d8b435a4e42488e69cf01aa25b
2018-05-16 22:16:52 -07:00
Wale Ogunwale
a0f7325823 Merge "Adde back check to make sure Activity.recreate() is called on main thread." into pi-dev
am: 5f8e42f7f0

Change-Id: I9c110947941b4ccb9404b350eb507ec30e701ffc
2018-05-16 22:10:57 -07:00
TreeHugger Robot
c6b368795f Merge "Add contentDescription to close button of recents onboarding tip view." into pi-dev 2018-05-17 05:04:38 +00:00
TreeHugger Robot
5f8e42f7f0 Merge "Adde back check to make sure Activity.recreate() is called on main thread." into pi-dev 2018-05-17 05:01:33 +00:00
Nathan Harold
23d103bc00 Merge "Add toString() method to PhysicalChannelConfig" into pi-dev
am: 89a48a509e

Change-Id: I04a47606699837e0b6c2c2079d0cafdb1f22dc77
2018-05-16 22:00:17 -07:00
TreeHugger Robot
89a48a509e Merge "Add toString() method to PhysicalChannelConfig" into pi-dev 2018-05-17 04:45:41 +00:00
Tracy Zhou
7b7f6fcb5b Add contentDescription to close button of recents onboarding tip view.
Change-Id: I4fe8a7fce78ca7d572a5fc4259c0329963a0e461
Fixes: 79689820
Test: N/A
2018-05-16 20:50:23 -07:00
lpeter
2fdc1b8b13 Merge "[IdleController] Support dock scenario on idle or active judgement" into pi-dev
am: 86b2581c16

Change-Id: I11655b619b9ac5bce4819d20f550eb75769d5630
2018-05-16 20:16:38 -07:00
TreeHugger Robot
86b2581c16 Merge "[IdleController] Support dock scenario on idle or active judgement" into pi-dev 2018-05-17 02:56:42 +00:00
Lei Yu
bdb15b7538 Merge "Add config config_smart_battery_available" into pi-dev
am: 3a7fc6e5dc

Change-Id: I7c61c545f3067d82be5c9e8ac7140a22a6ee9a4f
2018-05-16 19:55:23 -07:00
Eric Schwarzenbach
3beeae4298 Merge "Add constant for PhysicalChannelConfig UNSOL" am: 6ca9d3d97e
am: a5b52f17bf

Change-Id: I8e168b55a38e8035a7951f6d8a5b6a78967523e8
2018-05-16 19:51:06 -07:00
TreeHugger Robot
3a7fc6e5dc Merge "Add config config_smart_battery_available" into pi-dev 2018-05-17 02:43:22 +00:00
Eric Schwarzenbach
a5b52f17bf Merge "Add constant for PhysicalChannelConfig UNSOL"
am: 6ca9d3d97e

Change-Id: Iede552d63ec1ee1285f6e60ca1da11f20477cf2e
2018-05-16 19:42:41 -07:00
Tracy Zhou
b86987fc05 Merge "Count app launch correctly." into pi-dev
am: 8b49b9f736

Change-Id: Iefd6df6894ff099d72458510ec650a79e2af029b
2018-05-16 19:25:40 -07:00
lpeter
318abc9324 [IdleController] Support dock scenario on idle or active judgement
In the current design, IdleController of Job service considers devices as ‘idle’ after 71 minutes of screen off. But under docking use scenario, devices screen might remain on for a very long time and it’s not necessary implying the device being interactive with users.
So create a mechanism for device to enter the ‘idle’ state that JobScheduler can kick off idle tasks.

Bug: 79183658
Test: atest DeviceStatesTest
Change-Id: I5b307ca51e28ffca63f79a9c43984c3b76e51629
2018-05-17 02:23:02 +00:00
Jorim Jaggi
fcabe1c2a0 Merge "Track launch time per windowingMode" into pi-dev
am: db712bec4a

Change-Id: I5ec7d45a01e4b076f75d47d7459ad5d380d5e608
2018-05-16 19:20:45 -07:00
Jorim Jaggi
30f325cfa6 Only WTF when trying to use remote animation in ActivityOptions
am: 084c7064d8

Change-Id: I263b92034312d2afc28315af298b97ba86f3bfd0
2018-05-16 19:14:27 -07:00
TreeHugger Robot
8b49b9f736 Merge "Count app launch correctly." into pi-dev 2018-05-17 02:12:23 +00:00
Wale Ogunwale
7471767e7e Merge "Hide overlay windows when requesting media projection permission." into pi-dev
am: 645c8671ed

Change-Id: I1cf49eb224601996acbf2a295646265820b9c641
2018-05-16 19:11:23 -07:00
Jorim Jaggi
db712bec4a Merge "Track launch time per windowingMode" into pi-dev 2018-05-17 01:59:17 +00:00
Jorim Jaggi
084c7064d8 Only WTF when trying to use remote animation in ActivityOptions
There is a legitimate use case when sending a PendingIntent from
within system_server, for example AlarmManager. However, we used
to WTF always in this case.

To fix this, we only WTF when trying to use a remote animation
that originates from within system_server.

Test: Boots, open apps
Change-Id: I7bafae9f899cbb8966cf22166270000ce887baba
Fixes: 79417917
2018-05-17 01:58:32 +00:00
TreeHugger Robot
645c8671ed Merge "Hide overlay windows when requesting media projection permission." into pi-dev 2018-05-17 01:56:42 +00:00
Selim Cinek
2a29d773fa Merge "Removing notifications that were kept around longer on click" into pi-dev
am: 88bac47c75

Change-Id: I4517ac7febce28f240aad25a420175c4191184b3
2018-05-16 18:53:16 -07:00
Lucas Dupin
9295f72894 Merge "Do not reset security message when pattern resumes" into pi-dev
am: 25e3827517

Change-Id: I7b261b4da6209274a477148d51bcff07ca27331a
2018-05-16 18:46:50 -07:00
Selim Cinek
991c9f1af0 Merge "Fixed an issue where icons could remain white" into pi-dev
am: 5f259a7d90

Change-Id: Ibeb41d63c789d99329b5cee98c21eb2e7ada2fb9
2018-05-16 18:36:48 -07:00
Selim Cinek
88bac47c75 Merge "Removing notifications that were kept around longer on click" into pi-dev 2018-05-17 01:35:27 +00:00
Selim Cinek
4ffeb99c7d Merge "Removing unused invert helpers" into pi-dev
am: 25185596cf

Change-Id: I2eddd097a0173983a9d5e15b2be8c53947f2d6cb
2018-05-16 18:32:34 -07:00
TreeHugger Robot
25e3827517 Merge "Do not reset security message when pattern resumes" into pi-dev 2018-05-17 01:28:36 +00:00
Selim Cinek
5f259a7d90 Merge "Fixed an issue where icons could remain white" into pi-dev 2018-05-17 01:22:41 +00:00
Selim Cinek
25185596cf Merge "Removing unused invert helpers" into pi-dev 2018-05-17 01:22:41 +00:00
hjchangliao
c8d48b58dd Merge "Add new method refreshSummary(Preference)" into pi-dev
am: 0da4fbe5f4

Change-Id: I8f60fb98e141efe4052fdb97510901e5efe5d379
2018-05-16 18:15:29 -07:00
Treehugger Robot
6ca9d3d97e Merge "Add constant for PhysicalChannelConfig UNSOL" 2018-05-17 01:08:13 +00:00
Christopher Tate
711b58695d Merge "Don't crash apps unfairly under FAS" into pi-dev
am: 7450f0c0b2

Change-Id: I6ebb5a5e53cd614c0111d556dde8930028c264f0
2018-05-16 18:05:45 -07:00
Lei Yu
12adf9d6d7 Add config config_smart_battery_available
The default value is false, we can override it in overlay.

Bug: 79698191
Test: Build
Change-Id: I177e1c144f222ee32acce483f52d33910692ac3b
2018-05-16 17:57:22 -07:00
Suprabh Shukla
9e41b7fd19 Adding MANAGE_APP_OPS_MODES to FrameworksServicesTests
UPDATE_APP_OPS_STATS lost the privilege to change app ops modes, so we
need to add this permission to the tests.

Test: atest com.android.server.job.BackgroundRestrictionsTest

Fixes: 79887147
Change-Id: I085c522cf3969a4cd7de7c47209eb83225b34254
2018-05-16 17:54:47 -07:00