Commit Graph

241946 Commits

Author SHA1 Message Date
Wale Ogunwale
ae30f308ee Allow pinned activities to finish immediately
Pinned activities are normally in the paused state so when finishing
they can finish immediately as there might not be additional transition
in the system to finish them.

Bug: 28434641
Bug: 28350881
Change-Id: I5f1eaf0969a7eb08292cb9cc123bf8c0fddc9ea8
2016-05-02 10:56:57 -07:00
Nadia Benbernou
f4810f5506 Merge "Add api to WearableExtender for setting and getting the dismissal id. Bug:27696581" into nyc-dev 2016-05-02 14:15:46 +00:00
Lorenzo Colitti
4a992cbde8 Merge changes I86257bc8,I5c2221c5 into nyc-dev
* changes:
  Use Netd's binder interface to set resolver configuration.
  Add Gservices settings for resolver configuration.
2016-05-02 12:49:19 +00:00
Pierre Imai
bd8759bdd1 Use Netd's binder interface to set resolver configuration.
BUG: 25731675
Change-Id: I86257bc84371832466161e5357ae173c305a7d18
2016-05-02 08:29:21 +00:00
Pierre Imai
8e48e67827 Add Gservices settings for resolver configuration.
BUG: 25731675

Change-Id: I5c2221c5a2478fe2fa0fdf9ceeb13a932d758d33
2016-05-02 08:26:09 +00:00
Janis Danisevskis
e0e6cf8e87 Merge "Clarifies that filesystem permission 0700 is not enforced as an invariant" into mnc-mr-docs am: 73813c06cd am: d92fe240b9
am: 38d54f72e3

* commit '38d54f72e3795eb67eceacf5325b14a13492b25d':
  Clarifies that filesystem permission 0700 is not enforced as an invariant

Change-Id: I12d68857f2fed0bb62b040df4193fc00cc97f500
2016-05-02 08:12:08 +00:00
Janis Danisevskis
38d54f72e3 Merge "Clarifies that filesystem permission 0700 is not enforced as an invariant" into mnc-mr-docs am: 73813c06cd
am: d92fe240b9

* commit 'd92fe240b9811bd1b20af0b744f1aa727c80b97c':
  Clarifies that filesystem permission 0700 is not enforced as an invariant

Change-Id: I7371da3bffa54b8904bd18d52b9803fb45afa31e
2016-05-02 08:08:03 +00:00
Janis Danisevskis
d92fe240b9 Merge "Clarifies that filesystem permission 0700 is not enforced as an invariant" into mnc-mr-docs
am: 73813c06cd

* commit '73813c06cd59a94fe53483b657fa58e954c97551':
  Clarifies that filesystem permission 0700 is not enforced as an invariant

Change-Id: I92bcad43201a90273af9428a1a0a97e7e66b03bb
2016-05-02 08:03:54 +00:00
Janis Danisevskis
73813c06cd Merge "Clarifies that filesystem permission 0700 is not enforced as an invariant" into mnc-mr-docs 2016-05-02 07:53:53 +00:00
Seigo Nonaka
9d430f5189 Merge "Add missing theme entries to Holo.Light" into nyc-dev 2016-05-02 02:55:13 +00:00
TreeHugger Robot
6d1a776c26 Merge "Address review comments on ag/962875." into nyc-dev 2016-04-30 09:19:51 +00:00
TreeHugger Robot
e7fefcb565 Merge "Set ActivityInfo.resizeMode to RESIZE_MODE_RESIZEABLE by default" into nyc-dev 2016-04-30 03:29:27 +00:00
TreeHugger Robot
4f928358d2 Merge "BatteryStats: Reset per-User Bluetooth and Modem controller activity" into nyc-dev 2016-04-30 03:26:38 +00:00
TreeHugger Robot
3cb7f6bdcd Merge "BatteryStats: Keep track of coulomb counter" into nyc-dev 2016-04-30 02:21:38 +00:00
Adam Lesinski
1a2b39e61c BatteryStats: Reset per-User Bluetooth and Modem controller activity
Bug:28469956
Change-Id: I4db68ecc5b7bde8dd552caadee489b7bad3d6cbc
2016-04-29 17:56:58 -07:00
Adam Lesinski
926969b411 BatteryStats: Keep track of coulomb counter
Bug:27174034
Change-Id: Ica66817faa20b9788536f28f0e593483f033904b
2016-04-29 17:40:11 -07:00
TreeHugger Robot
3c6736b078 Merge "VideoCapabilities: account for block size for getAchievableRates" into nyc-dev 2016-04-30 00:36:53 +00:00
Wale Ogunwale
8f6c925ae7 Set ActivityInfo.resizeMode to RESIZE_MODE_RESIZEABLE by default
Previous assumption was ActivityInfo was completely initialized in
PackageParser, but that isn't the case with the ResolverActivity
whose ActivityInfo in populated in PackageManagerService.
This was causing the device to exist multi-window mode since
the default ActivityInfo.resizeMode was 0 (RESIZE_MODE_UNRESIZEABLE).

Bug: 28378995
Change-Id: I46e58d434f2a0274c461a8ff00b59ed3d2a1dd52
2016-04-29 16:46:47 -07:00
Carlos Valdivia
4ba55dc462 Merge "Insulate the account.db from updates." into nyc-dev 2016-04-29 23:02:39 +00:00
Jeff Sharkey
9a977b7d45 Merge "Flag to mark foreground jobs, fix data saver." into nyc-dev 2016-04-29 22:53:22 +00:00
TreeHugger Robot
8e060d31d1 Merge "touch less, tap more." into nyc-dev 2016-04-29 22:07:50 +00:00
Svetoslav Ganov
0e9e5ea586 Merge "Only platform defined permissions need a review." into nyc-dev 2016-04-29 21:39:45 +00:00
TreeHugger Robot
3c37f6ed06 Merge "Fix DirectReply taking too long in HUNs" into nyc-dev 2016-04-29 21:32:50 +00:00
TreeHugger Robot
47d849da9f Merge "DirectReply: Send button was wrongly actionable on empty field" into nyc-dev 2016-04-29 21:31:30 +00:00
Raph Levien
398342f9b6 Merge "Patch fontchain_lint to exclude modern_pentathlon." into nyc-dev 2016-04-29 21:25:20 +00:00
Doug Felt
ce51db00ec Patch fontchain_lint to exclude modern_pentathlon.
Fix build breakage.
Bug: 28426800

Change-Id: Idcc8f1b66014b25758c163d908d34f06011d9927
2016-04-29 14:17:57 -07:00
Chris Tate
46286e1824 Merge "Don't wedge full data backups by blocking the data consumer thread" into nyc-dev 2016-04-29 21:00:50 +00:00
TreeHugger Robot
3446a6ef71 Merge "Fix ViewRoot inset adjustment after initial setup." into nyc-dev 2016-04-29 20:37:33 +00:00
Chris Wren
9f7c3b5a53 touch less, tap more.
Bug: 26715804
Change-Id: Ifd8480e8c6f62036723510070d7222cd688c8b81
2016-04-29 16:31:49 -04:00
Daniel Estrada Alva
5fb90f91b7 Merge "Fix build break due to 32/64 bit compilation." into nyc-dev 2016-04-29 20:29:34 +00:00
Chong Zhang
cd2b4303ce Merge "Do not change surface properties when waiting for transition to ready" into nyc-dev 2016-04-29 20:11:55 +00:00
destradaa
3cd7305f99 Fix build break due to 32/64 bit compilation.
Change-Id: I9aba08a5fd512c52c9d0c9d4853c72a3e81a22cd
2016-04-29 13:11:33 -07:00
TreeHugger Robot
f8ab95d13a Merge "Adding null check on VolumeInfo" into nyc-dev 2016-04-29 20:11:20 +00:00
Deepanshu Gupta
4c5e7a740a Merge "Add namespace before attr name in defPropMap" into nyc-dev 2016-04-29 20:06:01 +00:00
Deepanshu Gupta
2385e2184a Merge "Revert "Switch LayoutLib to Java 8"" into nyc-dev 2016-04-29 20:05:39 +00:00
Svet Ganov
3d92f4ea37 Only platform defined permissions need a review.
The only permissions a user can control for a legacy app in
runtime style without crashing the app are the ones defined
by the platform because we have app ops only for these and
also we contorl the access to data guarded by them.

bug:27102458

Change-Id: Ifd1350d056b4fe29739ab8fdc5cbea89fa2e4037
2016-04-29 12:56:45 -07:00
Jeff Sharkey
1b6519bd87 Flag to mark foreground jobs, fix data saver.
When a job will eventually run in the foreground, the internal
scheduling needs to ignore any background network restrictions when
satisfying constraints.  This also means the job should ignore the
current device doze state, since the requesting app could get the
same behavior by starting their own foreground service.

Always dispatch network policy changes to ConnectivityService first
to ensure that it has up-to-date information.  Fix bugs around data
saver that were causing networks to not be marked as BLOCKED for
background apps; before this fix apps would have been spinning in
internal connectivity loops, thinking that the network was actually
connected when the kernel was actually blocking their traffic.

Offer new ConnectivityService method overloads to ignore the blocked
state for a specific UID.

Print unsatisfied job constraints to aid debugging.

Bug: 26571724
Change-Id: Iaaa17933e6dc1bf6d3dff26d0bfc12222e51e241
2016-04-29 13:44:07 -06:00
Daniel Estrada Alva
60f2c17e27 Merge "Fixes on handling messages from apps to host." into nyc-dev 2016-04-29 19:24:18 +00:00
Andrii Kulian
099347936b Merge "Fix crash loop when activity controller was set" into nyc-dev 2016-04-29 19:20:17 +00:00
Julia Reynolds
e0c73c3fce Merge "Less clipping." into nyc-dev 2016-04-29 19:12:14 +00:00
Jason Monk
0f11729d3d Merge "Fix QS Edit flashing on exit" into nyc-dev 2016-04-29 19:04:19 +00:00
Jason Monk
63554eda8d Fix QS Edit flashing on exit
Always save tile specs after move and don't trigger an entire data
set changed because we are aware of all changes.

Change-Id: Ic75b9ea8ed9b7d1a11d02f9af7858f3d040ec074
Fixes: 28334197
2016-04-29 14:58:29 -04:00
Julia Reynolds
e377b956a8 Less clipping.
Bug: 28385494
Change-Id: Ic28041621e5574e003b46aa84e8b69dc3472506d
2016-04-29 14:54:09 -04:00
Adrian Roos
c721fcc526 Fix DirectReply taking too long in HUNs
The HUN logic delays removing notifications for a second or
two, but this makes Direct Reply stick around too long after
sending. To prevent this, cancel notifications in the sending
state immediately.

Change-Id: I9e655bb17674265761e1f6cc25acb2fb9f0c72a6
Fixes: 28421972
2016-04-29 11:28:40 -07:00
TreeHugger Robot
3b016f5445 Merge "close a potential race condition in registerAsSystemService" into nyc-dev 2016-04-29 18:25:06 +00:00
Robert Carr
1bccabf3c4 Fix ViewRoot inset adjustment after initial setup.
If the insets change, "mWidth/mHeight" won't change
as it's based on the window frame (not the surface size),
we need to track when the insets change and call
HardwareRenderer.setup with the new values.

Bug: 28257246
Bug: 28368990
Change-Id: Ida304b57c4671d010d1cf7b370674c9453841c97
2016-04-29 11:13:57 -07:00
Carlos Valdivia
a46b112d04 Insulate the account.db from updates.
I think we were getting accounts uninstalled on android devices when
SyncManagers called validateAccounts() while GmsCore was updating.

I try to prevent this by not removing accounts unless the data directory
has actually been removed (which shouldn't happen during updates).

Bug: 25611016
Change-Id: Ib526b3000ad741815d48fd020af2cc19d6205166
2016-04-29 11:03:43 -07:00
Jason Monk
ede4fcea6b Merge "Don't show data disabled icon when user isn't setup" into nyc-dev 2016-04-29 17:55:59 +00:00
Adrian Roos
6db43cb1d8 DirectReply: Send button was wrongly actionable on empty field
Change-Id: I672d897d42ef340e84d9dc938e6edf26e2b8d9c3
Fixes: 28420826
2016-04-29 10:50:25 -07:00
Amanda Kassay
a5d3e91cef Merge "Update studio_tos modal with correct id. b/28425669" into mnc-mr-docs am: 8d21a984a6 am: 935c4835ac
am: a7700c08fc

* commit 'a7700c08fc15d03efeaae39b093c4585a669208e':
  Update studio_tos modal with correct id. b/28425669

Change-Id: I08a5dd9daaa66717212aa553babe9701fadb17bf
2016-04-29 17:39:04 +00:00