Todd Kennedy
d65fc9c460
am d8b47855: save "retain loader" state DO NOT MERGE
...
* commit 'd8b47855a316700751f7daead0b180005853be33':
save "retain loader" state DO NOT MERGE
2015-09-22 07:27:18 +00:00
Todd Kennedy
d8b47855a3
save "retain loader" state DO NOT MERGE
...
We cannot pull the "retain loader" state from the Activity; an Activity may
not always be hosting a Fragment. Instead, save the "retain loader" state
inside the individual fragments.
Bug: 23838271
Change-Id: I8358183a7689b5a571ea7be03d769186b2812600
(cherry picked from commit c5ac16f531 )
2015-09-22 07:19:14 +00:00
Alex Hills
d04c6d19a5
resolved conflicts for 693e11e5 to mnc-dr-dev-plus-aosp
...
Change-Id: I701841759a80f434a09b086492e817ca23a6a2e6
2015-09-14 17:03:58 -04:00
Alexander Hills
6a261fd653
Merge "Cherry-pick system theme rebase to fix square UI on round watches" into cw-e-dev
2015-09-14 18:34:32 +00:00
Alan Viverette
3d2337eeb5
Cherry-pick system theme rebase to fix square UI on round watches
...
Our system themes were based on configurations that were added post-
init of the system theme.
I96e695441543379e4d5fdf3cc6f18d9e6cf953b4 broke this, because there
was a race condition in the code for rebasing themes
If8fecde76d62738a8e55eddf898eafc468afdba2 (the cherry-picked commit)
fixes the race condition and adds the rebasing back in.
This change cherry picks If8fecde76d62738a8e55eddf898eafc468afdba2.
Bug:23387146
Change-Id: I0725028e48599fc6cd9731ae16c71474dd5827e5
2015-09-14 10:56:02 -04:00
Gus Prevas
94a4764649
am 27cb5670: am 3d1115db: Merge "Fixes cloned notification actions missing icon." into cw-e-dev
...
* commit '27cb56703d350b441a2e9efc55bd16dd5b1528e7':
Fixes cloned notification actions missing icon.
2015-09-10 19:54:13 +00:00
Gus Prevas
3d1115dba5
Merge "Fixes cloned notification actions missing icon." into cw-e-dev
2015-09-10 19:40:19 +00:00
Gus Prevas
f5bff46f6a
Fixes cloned notification actions missing icon.
...
This change modifies the Notification.Action constructor
to populate the deprecated "icon" field based on the provided icon.
This field is still used by NotificationCompatApi20
to create a NotificationCompatBase.Action from a Notification.Action.
Bug: 23348968
Bug: 22591778
Change-Id: I3576038384d2baa12c4c75bc4124e3859aacbd13
2015-09-10 13:13:45 -04:00
Svetoslav Ganov
5f677b114c
am 4f1bd159: am db4efcfa: am f57d9856: am 4f7d0bc7: Merge "Add get_accounts app op" into mnc-dev
...
* commit '4f1bd159d9042106d112cbf579c2daf82842f375':
Add get_accounts app op
2015-09-09 02:08:18 +00:00
Svetoslav Ganov
db4efcfa8d
am f57d9856: am 4f7d0bc7: Merge "Add get_accounts app op" into mnc-dev
...
* commit 'f57d98564b26953b722ab0e14222f50e6515f36d':
Add get_accounts app op
2015-09-09 01:51:37 +00:00
Svetoslav Ganov
f57d98564b
am 4f7d0bc7: Merge "Add get_accounts app op" into mnc-dev
...
* commit '4f7d0bc7af5fbb65796d24b130b7e9e63107bc5d':
Add get_accounts app op
2015-09-09 01:42:56 +00:00
Svetoslav
ce852ddcec
Add get_accounts app op
...
For each runtime permission we have an app op to toggle the
permission for legacy apps as they cannot handle permission
revocations. We were lacking an app op for get_accounts
which prevented the user from controlling access to accounts
regardelss that they change the state of the permission
toggle in the UI. Even worse the permission UI is written
with the assumption that every runtime permission has an
app op and as a result revoking the contacts group (if the
app requests the get_accounts permission) is reset back to
allowed in the UI.
bug:23854618
Change-Id: I9e3f9bfeb320bed561d718db99ee285915d5701b
2015-09-08 17:54:37 -07:00
Todd Kennedy
dde3fd6585
am f7bf24ad: am 9fe274d6: am 9e25e164: am e7078e18: Merge "Ensure host is set before onInflate()" into mnc-dev
...
* commit 'f7bf24ad1d780b326287409f37e0e8c03115f60d':
Ensure host is set before onInflate()
2015-08-31 23:14:54 +00:00
Todd Kennedy
9fe274d638
am 9e25e164: am e7078e18: Merge "Ensure host is set before onInflate()" into mnc-dev
...
* commit '9e25e1645f5e436c88ceab7d7eaf9f21c7fa845b':
Ensure host is set before onInflate()
2015-08-31 22:57:52 +00:00
Todd Kennedy
9e25e1645f
am e7078e18: Merge "Ensure host is set before onInflate()" into mnc-dev
...
* commit 'e7078e181cd00d20ce7764efa9835e2604a3cb83':
Ensure host is set before onInflate()
2015-08-31 22:45:23 +00:00
Todd Kennedy
0aa69b7dc5
Ensure host is set before onInflate()
...
Bug: 22512520
Change-Id: I70f3b3c3234d7015880e0b83ae13f6fbe218f19a
2015-08-31 14:10:04 -07:00
Adrian Roos
bcc26c0201
am 69fd61cb: am a8bbebd4: am b5e47228: Add StrongAuthTracker
...
* commit '69fd61cb9a487e5993098c93113d86c4fb32c304':
Add StrongAuthTracker
2015-08-22 00:40:47 +00:00
Adrian Roos
a8bbebd426
am b5e47228: Add StrongAuthTracker
...
* commit 'b5e4722891e7bbf2fffcd995af02838667a3abab':
Add StrongAuthTracker
2015-08-22 00:16:48 +00:00
Adrian Roos
b5e4722891
Add StrongAuthTracker
...
Bug: 22846469
Bug: 22115393
Change-Id: I6ef5322d02e540fc043e7f20d3aabf595ce7c224
2015-08-21 13:28:00 -07:00
Esteban Talavera
12e42ba225
am 31638de3: am 07b36bd3: am aed1c9fb: am 5d467ac5: Merge "Remove uids with empty history from NetworkStats uid enumeration" into mnc-dev
...
* commit '31638de30564d5b5fdc4177227cdab6df681ecfc':
Remove uids with empty history from NetworkStats uid enumeration
2015-08-17 15:14:04 +00:00
Esteban Talavera
07b36bd3bf
am aed1c9fb: am 5d467ac5: Merge "Remove uids with empty history from NetworkStats uid enumeration" into mnc-dev
...
* commit 'aed1c9fbc5c4f77bfc8c44fb7bd87bbdb6dc0174':
Remove uids with empty history from NetworkStats uid enumeration
2015-08-17 15:00:04 +00:00
Esteban Talavera
5d467ac54a
Merge "Remove uids with empty history from NetworkStats uid enumeration" into mnc-dev
2015-08-17 14:47:49 +00:00
Svetoslav Ganov
f64014195b
am 340314fd: am 7c3d595a: am 4b655fd1: am b045331f: Merge "Add GTS test to ensure valid default permission grants - framework" into mnc-dev
...
* commit '340314fd0306f24fe8e4047b8feede071aadfb97':
Add GTS test to ensure valid default permission grants - framework
2015-08-14 15:36:40 +00:00
Zoltan Szatmary-Ban
887cffea24
Remove uids with empty history from NetworkStats uid enumeration
...
Bug: 23018174
Change-Id: I1a482280599e0f5da18a208e727653d4bd4107ec
2015-08-14 16:21:52 +01:00
Svetoslav Ganov
7c3d595a3d
am 4b655fd1: am b045331f: Merge "Add GTS test to ensure valid default permission grants - framework" into mnc-dev
...
* commit '4b655fd193992afff948df513c7b9b9a0389972e':
Add GTS test to ensure valid default permission grants - framework
2015-08-14 15:19:47 +00:00
Svetoslav Ganov
b045331fcb
Merge "Add GTS test to ensure valid default permission grants - framework" into mnc-dev
2015-08-14 15:06:16 +00:00
Jeff Sharkey
e7ed65eb45
am 4efd3f26: am d28991a5: am b6f5bcd0: am cfcf6af9: Merge "Method to show DialogFragment allowing state loss." into mnc-dev
...
* commit '4efd3f26ac515f85adde2979ec1d8d68218fc470':
Method to show DialogFragment allowing state loss.
2015-08-14 03:19:00 +00:00
Jeff Sharkey
d28991a5e4
am b6f5bcd0: am cfcf6af9: Merge "Method to show DialogFragment allowing state loss." into mnc-dev
...
* commit 'b6f5bcd0c64676ad2dfddc9dcf4c4320fafb9d3a':
Method to show DialogFragment allowing state loss.
2015-08-14 01:35:40 +00:00
Jeff Sharkey
063f850060
Method to show DialogFragment allowing state loss.
...
Same as show(), but allowing state loss.
Bug: 22867250
Change-Id: Ib779d8a3febc70ad47a9c1a9099d858707bad733
2015-08-13 16:57:29 -07:00
Svet Ganov
52153f4c05
Add GTS test to ensure valid default permission grants - framework
...
The platform grants runtime permissions by default to apps on the
system image that provide core device use cases which a user expects
to work out-of-the-box. We are now adding a test to ensure that
OEMs cannot pregrant premissions on non approved components.
bug:23043018
Change-Id: Id76717cce0ee59678956bd0be347d3c045fe4c51
2015-08-12 21:57:59 -07:00
Alan Viverette
4304d9ac96
am b2087fa8: am f3d04cbf: am bb03bf05: am 105febd2: Merge "Don\'t re-wrap alert dialog context" into mnc-dev
...
* commit 'b2087fa81ccbf4214de31b324ff0106f2363d02d':
Don't re-wrap alert dialog context
2015-08-11 20:02:36 +00:00
Alan Viverette
f3d04cbfe6
am bb03bf05: am 105febd2: Merge "Don\'t re-wrap alert dialog context" into mnc-dev
...
* commit 'bb03bf055437c21180026b8c8227c52ca2809286':
Don't re-wrap alert dialog context
2015-08-11 19:48:00 +00:00
Alan Viverette
105febd2cf
Merge "Don't re-wrap alert dialog context" into mnc-dev
2015-08-11 19:34:27 +00:00
Alan Viverette
93d9e26ffb
Don't re-wrap alert dialog context
...
Bug: 23038618
Change-Id: Iafe3a45096153d9fe656ad930cc3978d8fab1968
2015-08-11 15:02:42 -04:00
Alan Viverette
3e384531be
am 1743988c: am 6c3a468c: am e720297f: am b4eb0640: Merge "Avoid use-after-free race condition when rebasing theme" into mnc-dev
...
* commit '1743988cd7647af8c64c961d4ca5e9d4b4b7bc00':
Avoid use-after-free race condition when rebasing theme
2015-08-11 18:53:13 +00:00
Alan Viverette
6c3a468cf3
am e720297f: am b4eb0640: Merge "Avoid use-after-free race condition when rebasing theme" into mnc-dev
...
* commit 'e720297fd89d39325a34f0d8f54e55971aec7269':
Avoid use-after-free race condition when rebasing theme
2015-08-11 18:38:21 +00:00
Alan Viverette
b4eb06402f
Merge "Avoid use-after-free race condition when rebasing theme" into mnc-dev
2015-08-11 18:24:04 +00:00
Alan Viverette
c12ec70def
Avoid use-after-free race condition when rebasing theme
...
... by never rebasing the theme. We don't need to do this unless the
system theme is configuration-dependent, which it is not currently.
Bug: 22943781
Change-Id: I96e695441543379e4d5fdf3cc6f18d9e6cf953b4
2015-08-11 10:26:08 -04:00
Esteban Talavera
6f4de12870
am 84bd2172: am 8e85fdfe: am 467951ee: am 4dbb37ae: Merge "Update setApplicationRestrictions documentation" into mnc-dev
...
* commit '84bd2172ea42dc6681bcf4f96e19a3f5fd928b41':
Update setApplicationRestrictions documentation
2015-08-11 10:30:33 +00:00
Esteban Talavera
8e85fdfe46
am 467951ee: am 4dbb37ae: Merge "Update setApplicationRestrictions documentation" into mnc-dev
...
* commit '467951eebbc6525b40a6b569c401849fe2394c1d':
Update setApplicationRestrictions documentation
2015-08-11 10:16:36 +00:00
Esteban Talavera
4dbb37ae95
Merge "Update setApplicationRestrictions documentation" into mnc-dev
2015-08-11 09:40:57 +00:00
Esteban Talavera
6b8e06495b
Update setApplicationRestrictions documentation
...
From M we support nested Bundles in the input parameter
Bug: 23076454
Change-Id: I9c27d19ccfbc713ca757cbdde7ea9fbbc3839302
2015-08-10 18:04:10 +01:00
Dianne Hackborn
0385e3e908
am 8e63bbfd: am efa4dee1: am 977d421a: am f0e5501e: Merge "Fix issue #22989030 : Separate battery whitelists" into mnc-dev
...
* commit '8e63bbfd00ee27fcdbb04cfc0cf96ccdb2c50cc5':
Fix issue #22989030 : Separate battery whitelists
2015-08-07 22:30:17 +00:00
Dianne Hackborn
efa4dee126
am 977d421a: am f0e5501e: Merge "Fix issue #22989030 : Separate battery whitelists" into mnc-dev
...
* commit '977d421af9466ed6cd83630f6ba91c873f501e5b':
Fix issue #22989030 : Separate battery whitelists
2015-08-07 22:13:02 +00:00
Dianne Hackborn
f0e5501e09
Merge "Fix issue #22989030 : Separate battery whitelists" into mnc-dev
2015-08-07 21:58:38 +00:00
Matthew Williams
b244ed0353
am b64f25ad: am 253f2c33: am 2327dd3f: am 9d929558: Merge "Correctly skip files that are excluded from restore" into mnc-dev
...
* commit 'b64f25ad97a92be4dcf8844c79c218ae9c1e0af4':
Correctly skip files that are excluded from restore
2015-08-07 21:53:21 +00:00
Matthew Williams
253f2c334e
am 2327dd3f: am 9d929558: Merge "Correctly skip files that are excluded from restore" into mnc-dev
...
* commit '2327dd3f808c871f9e89772f06152052f6c74957':
Correctly skip files that are excluded from restore
2015-08-07 21:37:33 +00:00
Matthew Williams
9d92955894
Merge "Correctly skip files that are excluded from restore" into mnc-dev
2015-08-07 21:25:31 +00:00
Dianne Hackborn
4a503b1ece
Fix issue #22989030 : Separate battery whitelists
...
We now have a new whitelist you can put apps in, which
opts them out of the old battery saver mode and new app idle,
but doesn't keep them from going in to doze. This is for a few
special cases that we had previously whitelisted for battery saver,
and inherited to the new modes... ultimately we should figure out
how to get these apps out of the whitelist completely, but this
will help for now.
Apps in this new whitelist are not shown in the UI, because they
are still significantly restricted by not being able to operate
normally in doze. This also means they are still visible in the
list of all apps for the user to be able to put them on/off the
complete whitelist if that is what they really want.
In the course of doing this, I needed to clean up code in the
network policy manager to better separate management of the
two firewall rules that now have different whitelists applied
to them. This also hopefully just generally simplifies and cleans
up that code. Hopefully!
Change-Id: I92e15f2f85899571dd8b049b5e3eb1354f55f353
2015-08-07 14:23:32 -07:00
Svetoslav Ganov
9bf912c1cf
am 5ed03384: am 1f514608: am 5a624aad: am 38d30dc5: Merge "Immediately kill a shared user process on a permission revocation." into mnc-dev
...
* commit '5ed0338499b4f6cb8fd9eeedae7c89133c02d247':
Immediately kill a shared user process on a permission revocation.
2015-08-07 15:55:55 +00:00