Commit Graph

61507 Commits

Author SHA1 Message Date
Hugo Benichi
9ae080aa9d Support ignoring penalty for bad wifi networks am: c8e9e1229a am: c53b5964f8
am: edabb8e617

Change-Id: Ib9a60eb528eb62ebf26d5d5a1941bfed0bb21163
2016-09-15 15:36:58 +00:00
Hugo Benichi
edabb8e617 Support ignoring penalty for bad wifi networks am: c8e9e1229a
am: c53b5964f8

Change-Id: Ideee96cc5fc1631cfbc90cd9a59f34a2d5fde160
2016-09-15 15:30:26 +00:00
Hugo Benichi
c53b5964f8 Support ignoring penalty for bad wifi networks
am: c8e9e1229a

Change-Id: I6666ee45e9a08c02444c6268b2232bbe8aa2adec
2016-09-15 15:23:57 +00:00
Hugo Benichi
c8e9e1229a Support ignoring penalty for bad wifi networks
This patch adds a way to configure devices so that a validated network
that becomes unvalidated is not penalized in the network scoring and
selection logic.

The intent is to prevent devices configured to do so from switching to a
lower scoring network such as cellular networks when a higher scoring
network such as wifi networks loses internet connectivity.

Bug: 31075769
Change-Id: Ie7e0f2607d214a178367fedfbef6c44768fa00a4
2016-09-15 18:34:13 +09:00
Hongming Jin
afe9a6c768 Only return password for account session flow if the caller is signed with system key and have get_password permission. am: 9342e137c6 am: 8b75ebf0bb
am: adc906206a

Change-Id: I3c9aee82df05e9a74eed960c1d03ea5d9fe477d7
2016-09-14 23:44:52 +00:00
Hongming Jin
adc906206a Only return password for account session flow if the caller is signed with system key and have get_password permission. am: 9342e137c6
am: 8b75ebf0bb

Change-Id: I95794bb5269c849fe740576a344e43da4306ac56
2016-09-14 23:32:29 +00:00
Hongming Jin
914e549bce Only return password for account session flow if the caller is signed with system key and have get_password permission. am: 9342e137c6
am: 57e38003e8

Change-Id: Iaa63cf3bc288803e92a81386f03d1151d78e6b02
2016-09-14 23:32:11 +00:00
Hongming Jin
8b75ebf0bb Only return password for account session flow if the caller is signed with system key and have get_password permission.
am: 9342e137c6

Change-Id: I932c85bdc302899b42342d3efc249a5420da764c
2016-09-14 23:23:05 +00:00
Hongming Jin
57e38003e8 Only return password for account session flow if the caller is signed with system key and have get_password permission.
am: 9342e137c6

Change-Id: I10134040a7596000e768433943979c9af790e582
2016-09-14 23:23:05 +00:00
Hongming Jin
9342e137c6 Only return password for account session flow if the caller is signed
with system key and have get_password permission.

Bug: 30455516
Change-Id: I78484c59e4de1dff685ab91a0a8e7a756fffd9bf
2016-09-14 14:15:56 -07:00
Rubin Xu
4daa1b7df4 Allow direct-boot aware activity to show before profile is unlocked am: 89927b3cd9
am: df5e18245f

Change-Id: I38cb058bf7cf58c0553a2addfc68517244c87df7
2016-09-14 17:53:40 +00:00
Rubin Xu
df5e18245f Allow direct-boot aware activity to show before profile is unlocked
am: 89927b3cd9

Change-Id: Ia4fd5feb1e2b5efbe52fde21ec871cf4f679330e
2016-09-14 17:30:09 +00:00
Rubin Xu
89927b3cd9 Allow direct-boot aware activity to show before profile is unlocked
Work profile challenge is shown by intercepting normal activity launching and
replacing it with the confirm credential activity. For direct boot aware
activities, they should be able to be displayed when the work profile is
still locked, so add a conditional in the activity intercepting logic to bypass
work challenge in this case.

Also launching work profile activities from notification is handled specially
in order to avoid dismissing the notification if the work challenge is canceled,
so add similar logic there to allow direct boot aware activity to go through.

Bug: 30296144
Change-Id: Ib6395271cee2d4781009bb08d50351d73824de0c
2016-09-14 11:59:56 +01:00
Phil Weaver
f5b9956bdb Strengthen language about use of a11y API. am: 752047dd3d
am: 8f27aabc12

Change-Id: I6c5195bf391bdc3dd374c818b4303ecc4c0bf016
2016-09-13 22:29:29 +00:00
Phil Weaver
8f27aabc12 Strengthen language about use of a11y API.
am: 752047dd3d

Change-Id: I30567206c699d7fd1fc537a3ec0d635fab73799d
2016-09-13 22:25:43 +00:00
Phil Weaver
82f050f736 Merge "Strengthen language about use of a11y API." into nyc-mr1-dev 2016-09-13 22:17:03 +00:00
liulvping
9eadea585c Merge "fix NullPointerException in RegisteredServicesCache" am: 4b1a8f46d6 am: 506bf0741a
am: 5f4f8d2441

Change-Id: Iedcf57ee7856fb9abac459230e686a351370543d
2016-09-13 21:15:51 +00:00
liulvping
5f4f8d2441 Merge "fix NullPointerException in RegisteredServicesCache" am: 4b1a8f46d6
am: 506bf0741a

Change-Id: I0ec538fc78a512441517d1205ac3d34232ce992e
2016-09-13 21:10:22 +00:00
liulvping
506bf0741a Merge "fix NullPointerException in RegisteredServicesCache"
am: 4b1a8f46d6

Change-Id: I1ba9512647d515aedbaf09eb2d7ac524477e5296
2016-09-13 21:04:55 +00:00
Treehugger Robot
4b1a8f46d6 Merge "fix NullPointerException in RegisteredServicesCache" 2016-09-13 20:57:11 +00:00
Wale Ogunwale
f872ce62c4 Immediately deliver new intent to paused activity in docked stack am: 826c706156
am: 35871b76b3

Change-Id: I987f75b6c8055da5f43880419c4be72d1479ee93
2016-09-13 20:30:34 +00:00
Wale Ogunwale
35871b76b3 Immediately deliver new intent to paused activity in docked stack
am: 826c706156

Change-Id: Iba980390fba4946ef8e28da99821fed3d731d4e4
2016-09-13 20:22:32 +00:00
TreeHugger Robot
03cf624491 Merge "Immediately deliver new intent to paused activity in docked stack" into nyc-mr1-dev 2016-09-13 20:16:15 +00:00
Wale Ogunwale
826c706156 Immediately deliver new intent to paused activity in docked stack
When the docked stack is minimized and we are unminimizing it
due to a request to start it's currently paused top activity,
it is possible for the new intent not do be delivered immediately
because it isn't resumed due to another activity been launched in
the system (Recents) which is resumed instead. So, the user won't
see the effect of the new intent until they touch the docked activity
causing it to get the new intent and resume.
We now deliver new intents to the top activity in the docked stack if
it is in a minimized state. Then on the client side we temporarily
resume the activity and pause it again to guarantee onResume is called
after onNewIntent.

Bug: 31371093
Change-Id: Ib1764ccf5efc9d6498ce6cc8a34236c79fc07dad
2016-09-13 10:38:30 -07:00
Lorenzo Colitti
9ba472d619 Add a NET_CAPABILITY_FOREGROUND capability. am: f0e9a33435
am: aaec66110d

Change-Id: I78d6aa21f8e4c6bbd9cefb4a36f1b77f4bbe4104
2016-09-13 16:23:10 +00:00
Lorenzo Colitti
aaec66110d Add a NET_CAPABILITY_FOREGROUND capability.
am: f0e9a33435

Change-Id: If6ebd0023998d713f885db208fa9fe1c7b334478
2016-09-13 16:17:03 +00:00
Lorenzo Colitti
f0e9a33435 Add a NET_CAPABILITY_FOREGROUND capability.
Bug: 23113288
Change-Id: I90cb9ffb5751f0d9ec822933f37680c401e49966
2016-09-13 12:02:13 +09:00
Alan Viverette
24e9362289 Cancel pending selection before filtering input am: 57fe701ddf
am: 1fd7fadfe4

Change-Id: I66956f1c2b2c7ebb10e8d893e09cee6112c33c4a
2016-09-12 22:14:54 +00:00
Alan Viverette
1fd7fadfe4 Cancel pending selection before filtering input
am: 57fe701ddf

Change-Id: I54c33948716e7b37976c65b0f822d626a518b03a
2016-09-12 22:08:43 +00:00
TreeHugger Robot
a4e2b2a1c1 Merge "Cancel pending selection before filtering input" into nyc-mr1-dev 2016-09-12 21:57:15 +00:00
Robert Carr
5f09d331f3 PopupWindow: Don't ignore top decorations in getMaxAvailableHeight. am: 701d73084d
am: 5712f5474a

Change-Id: Ief4d42a0b35774dcc93b4493a743d89d71cd3cb4
2016-09-12 21:32:11 +00:00
Robert Carr
5712f5474a PopupWindow: Don't ignore top decorations in getMaxAvailableHeight.
am: 701d73084d

Change-Id: Ie8fba517534ca2bd2324b3d88e05b8854700bcc4
2016-09-12 21:26:11 +00:00
Rob Carr
33c879fe14 Merge "PopupWindow: Don't ignore top decorations in getMaxAvailableHeight." into nyc-mr1-dev 2016-09-12 18:43:42 +00:00
Lorenzo Colitti
4c698d3eed Add a background NetworkRequest type for mobile data always on. am: 3d4a10617c
am: 9396da4e10

Change-Id: I4b0e05e8bb87e37bf2564fd255b8be7a2b20118a
2016-09-12 13:48:53 +00:00
Lorenzo Colitti
9396da4e10 Add a background NetworkRequest type for mobile data always on.
am: 3d4a10617c

Change-Id: I489fea5d8ae635be5cdbe79b2f891efd72d9b941
2016-09-12 13:38:23 +00:00
Lorenzo Colitti
d6feb60383 Merge changes I40f73526,Ia08900c5 into nyc-mr1-dev
* changes:
  Add a background NetworkRequest type for mobile data always on.
  Rematch requests first and listens second.
2016-09-12 13:30:21 +00:00
Bryce Lee
9b2027a71c Support telecom related operations for watch back button usage.
am: db776ce7f9

Change-Id: I713a2c9b5c1a1bfb5bd498997ff6680f1e89764d
2016-09-11 01:13:11 +00:00
Bryce Lee
a480d0d81f Merge "Support telecom related operations for watch back button usage." into cw-f-dev 2016-09-11 01:07:10 +00:00
Svet Ganov
c78be8772a [DO NOT MERGE] Don't show account access request UI until app launched. am: d63cde7ba4
am: 99d29ddf42

Change-Id: I1e6977d2478bf695d9840a72cba6e0e1b600b1e6
2016-09-10 01:01:50 +00:00
Aurimas Liutikas
6386de2524 Fix SearchView measure for UNSPECIFIED height. am: f6a50be25c
am: edaac91993

Change-Id: I57f3e96c94803d4dbc7b57fd0feb5a80a8253906
2016-09-10 00:55:19 +00:00
Svet Ganov
99d29ddf42 [DO NOT MERGE] Don't show account access request UI until app launched.
am: d63cde7ba4

Change-Id: I06a6b98c9c4a1cd67ed155d42cf4fe5149015675
2016-09-10 00:54:43 +00:00
Svetoslav Ganov
32ce3c8797 Merge "[DO NOT MERGE] Don't show account access request UI until app launched." into nyc-mr1-dev 2016-09-10 00:36:21 +00:00
Aurimas Liutikas
edaac91993 Fix SearchView measure for UNSPECIFIED height.
am: f6a50be25c

Change-Id: If436923fe690252efb224a072ac0c79ddb9d58d9
2016-09-10 00:29:07 +00:00
Svet Ganov
171b77b91e [DO NOT MERGE] Backup account access grants am: 72ed12c55f
am: 0dc4ff0753

Change-Id: Ic6ad395f958b2e09d66467f41bd40e84c34851b9
2016-09-10 00:28:50 +00:00
Svet Ganov
0dc4ff0753 [DO NOT MERGE] Backup account access grants
am: 72ed12c55f

Change-Id: I80029a2db1cbddc22ae545879fd757446610e154
2016-09-10 00:20:52 +00:00
TreeHugger Robot
fceb3598f9 Merge "Fix SearchView measure for UNSPECIFIED height." into nyc-mr1-dev 2016-09-10 00:18:51 +00:00
TreeHugger Robot
ae9fa16bd0 Merge "[DO NOT MERGE] Backup account access grants" into nyc-mr1-dev 2016-09-10 00:04:28 +00:00
Aurimas Liutikas
f6a50be25c Fix SearchView measure for UNSPECIFIED height.
Previously it would almost always force SearchView to become 0
when height mode was UNSPECIFIED.

Bug: 31302290
Change-Id: Icd2116b84951b1b967666147dbc5762d996408e6
2016-09-09 15:32:55 -07:00
Svet Ganov
d63cde7ba4 [DO NOT MERGE] Don't show account access request UI until app launched.
Sync adapters that don't have account access cannot run until
the user explicitly approves in the UI. This is spammy given
the user may not use the app right away. This change doesn't
show the notificaiton until the app has run.

bug:31162498

Change-Id: I1f4f2d2e9426f78763590e8aa542b94d6e93e488
2016-09-09 15:13:07 -07:00
Todd Kennedy
792cac6fd6 Add filter ordering am: c2e96d45d2
am: cdda4eed12

Change-Id: I6c4782393a5f694cba8238a05e60939169bd464f
2016-09-09 20:08:58 +00:00