Commit Graph

253881 Commits

Author SHA1 Message Date
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
Eric Schmidt
408f5c345b docs: Fixed language directory issue. am: e9d0adb735 -s ours am: 192688f756
am: 7c540b370d

Change-Id: I01ecfc47340f9899ebc691f4d69fb06d289c50b1
2016-09-14 21:14:57 +00:00
Eric Schmidt
7c540b370d docs: Fixed language directory issue. am: e9d0adb735 -s ours
am: 192688f756

Change-Id: I4900273d9cbd543ad0e22870f02f548816e0af71
2016-09-14 21:07:40 +00:00
Eric Schmidt
192688f756 docs: Fixed language directory issue.
am: e9d0adb735  -s ours

Change-Id: Icdffa01fe8ee2a9683cee436a2822a243d915c12
2016-09-14 20:58:45 +00:00
Jean-Michel Trivi
17d2440090 MediaScanner: check build fingerprint for system sound scan
Always scan notification, ringtones and alarm files under /system
  when the build fingerprint has changed since the last scan,
  because the dates on those files is not set correctly
  (by design), and hence cannot be trusted in the date-based
  scanning logic.
Remove some dead code

Bug 30476971

Change-Id: I638c787dc177f7f5fb17c1c2a576be190c1c85f9
2016-09-14 12:48:50 -07:00
Mady Mellor
be9d8e62c6 Merge "Improve swiping to reveal gear for ongoing notifications with time check" into nyc-mr1-dev 2016-09-14 19:34:34 +00:00
Ajay Panicker
85bc33a8f4 [DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed
Bug: 28672558
Change-Id: I4bc14bd7f098e34012c2ae1eeba2d439145901f0
2016-09-14 19:17:49 +00:00
Eric Schmidt
e9d0adb735 docs: Fixed language directory issue.
Bug: 31096141
Change-Id: Ibc6789f0381b25ec1449e2b180f20c96cb38a0e3
2016-09-14 12:03:51 -07:00
Mady Mellor
9a20c64d0a Merge "Fix notification being slided over with the gear not showing" into nyc-mr1-dev 2016-09-14 18:51:55 +00:00
Julia Reynolds
98a448633c Non-blockable notification packages.
Adds a resource for listing packages whose notifications users
cannot block.

Bug: 31404047
Change-Id: I6247f0826fe1c2cf080b33fea6b7fdcf1e9f0cc6
2016-09-14 17:56:42 +00:00
Rubin Xu
b0c59bb504 Merge "Allow direct-boot aware activity to show before profile is unlocked" into nyc-mr1-dev 2016-09-14 16:39:10 +00:00
TreeHugger Robot
713b4f65d2 Merge "Parse -1 as WARNING_DISABLED in NetworkPolicyManager." into nyc-mr1-dev 2016-09-14 16:24:22 +00:00
Mady Mellor
32c638a597 Fix notification being slided over with the gear not showing
If a notification is updated to be non-dismissable it gets "snapped back"
into place, if the notification was slid over to show the gear when this
happens it'll snap back to the gear. If the screen is turned off during
this time, the notification tries to reset itself back over the gear.

The translation animator was not cancelled in the reset method, so the gear
visibility would get reset, but the translation animation to snap back
into position would continue. This results in the notification being slid
over but the gear being invisible.

The fix is to simply cancel the animator when the translation is reset.

Bug: 31437688
Change-Id: Icb9d777e30ee3a5578c49475b89f6d46c1096053
2016-09-14 08:58:25 -07:00
Yuqian Li
83427ff222 Ignore HasAlphaLayer flag to fix b/30929229
BUG:30929229
Change-Id: Iebadc6b3d224efa0554cbbb99ea43f871c28722b
2016-09-14 11:44:10 -04:00
Jason Monk
d67fbe6201 Change bang to x for indication of no internet
Bug: 31271895
Change-Id: I14f71974f0549991d448fe68b30573d2ae033b19
2016-09-14 15:18:29 +00:00
TreeHugger Robot
5db4e723cd Merge "Fixed NPE when pause is complete on a dead app." into nyc-mr1-dev 2016-09-14 13:50:00 +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
Vladislav Kuzkokov
5a122a1ce9 Add DevicePolicyManager.setBackupServiceEnabled as hidden API.
BUG=28628532

Change-Id: I48c3423734e54b6a4d70e58d50c98c3e17790e0d
(based on a820252460)
2016-09-14 12:01:56 +02:00
TreeHugger Robot
4efd735a76 Merge "Add test coverage for background networks." into nyc-mr1-dev 2016-09-14 03:17:47 +00:00
Kevin Hufnagle
3b63a38d36 docs: Updated Android logo on "Brand Guidelines" page
Bug: 25457428
Change-Id: Iae7e39de54e797d9c6e91db36c1f9011f143857e
2016-09-13 19:06:20 -07:00
Eric Laurent
383dc532f3 AudioService: restore A2DP/wired headset auto selection
Restore automatic routing behavior when wired headset or BT headset
is connected.
This behavior was changed by commit 0234587b
This change mostly reverts 0234587b but keeps public methods
setBluetoothA2dpOn() and isBluetoothA2dpOn() deprecated with
stub implementations.

Bug: 30963785
Bug: 31424965
Change-Id: I90ea04584df595a778993595ad0076fef809ed98
2016-09-13 18:36:09 -07:00
TreeHugger Robot
febb0200ba Merge "OtaDexoptService: Add tron logging" into nyc-mr1-dev 2016-09-14 01:21:24 +00:00
Dirk Dougherty
7d47b55cc0 Add build target for generating navtree json with all inherited members.
Change-Id: I142e848b5288d92e14445025705ea7596e635b6b
2016-09-13 16:44:25 -07:00
Wale Ogunwale
e852400e1b Fixed NPE when pause is complete on a dead app.
Cause by trying to stop freezing the screen on an activity
record whose refrence we already set to null because the app
is dead. WM will no longer freeze the screen for a dead app.

Bug: 31441504
Change-Id: I6617a5536bce5748b2f4559428ee856f54f0ab81
2016-09-13 23:42:39 +00:00
Andreas Gampe
77cc8172d3 OtaDexoptService: Add tron logging
Log key properties of A/B OTA dexopting.

Bug: 31458900
Change-Id: Iba1e5a40ff8b4998d4d876800ee59940f01afb6e
2016-09-13 16:16:36 -07:00
Adrian Roos
dab1516994 Allow dismissing ImmersiveModeCling without touch
The immersive mode confirmation was not dismissable
without touching it because it wasn't focusable.

Change-Id: I89cdb7d4bd44e302859e731034c4395529f5e5fc
Fixes: 30469869
2016-09-13 15:55:06 -07:00
Phil Weaver
82f050f736 Merge "Strengthen language about use of a11y API." into nyc-mr1-dev 2016-09-13 22:17:03 +00:00
Chris Craik
58427a62ac Slow RecyclerView item binding benchmark
bug:27106058
bug:31063101

Change-Id: Ib903a31be707ba16fccf95cbbe24cd0f0b3baee3
2016-09-13 14:45:53 -07:00
TreeHugger Robot
510a91a9e6 Merge "Improved logging." into nyc-mr1-dev 2016-09-13 21:44:03 +00:00
Phil Weaver
87d96992ea Fix bug in magnification coordinate calculation.
We were checking if a coordinate was inside its window before
compensating for magnification.

Bug: 31054088
Change-Id: I4993d84e877fcf3d01382b3cf1c10e2fab58dbba
2016-09-13 14:34:22 -07:00
Ajay Panicker
786e2694b1 [DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed
Bug: 28672558
Change-Id: I4bc14bd7f098e34012c2ae1eeba2d439145901f0
2016-09-13 21:09:44 +00:00
John Reck
d1b55a555d Ensure munmap matches mmap am: aa394dd42c am: 068403a842 am: d073e28853 am: c9cf811b50 am: b74a6f60d1
am: bd56ed1485

Change-Id: I5447edc0cb13c6a1b02d09e26b49dec4c205fac2
2016-09-13 20:51:48 +00:00
John Reck
bd56ed1485 Ensure munmap matches mmap am: aa394dd42c am: 068403a842 am: d073e28853 am: c9cf811b50
am: b74a6f60d1

Change-Id: I76f992080c2a7be15bf2518f2d914cb82f3aa30f
2016-09-13 20:47:01 +00:00
John Reck
b74a6f60d1 Ensure munmap matches mmap am: aa394dd42c am: 068403a842 am: d073e28853
am: c9cf811b50

Change-Id: I83e3e2d4279c8075283fb0f54521ef015ef9c596
2016-09-13 20:35:19 +00:00
John Reck
c9cf811b50 Ensure munmap matches mmap am: aa394dd42c am: 068403a842
am: d073e28853

Change-Id: I2acfdb7c623470b678b59228dfdc3aafaf2b3179
2016-09-13 20:28:18 +00:00
Bert McMeen
1c3bccceb2 Docs: Preview 3 - Update to bridging of notifications
Bug: 31181082
Change-Id: Id7c77de123b709e218f62ead30a3429d5ec31430
2016-09-13 13:26:07 -07:00
John Reck
d073e28853 Ensure munmap matches mmap am: aa394dd42c
am: 068403a842

Change-Id: I527102b95f239c307cdea2a8bb6dcc6d032e21be
2016-09-13 20:21:50 +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
TreeHugger Robot
c4cea1e0d6 Merge "Extend apn retry configurability to more apn types" into nyc-mr1-dev 2016-09-13 20:14:50 +00:00
John Reck
068403a842 Ensure munmap matches mmap
am: aa394dd42c

Change-Id: I80dbf9a859693cbd90aa472b04ae58d4d081d735
2016-09-13 20:13:27 +00:00
Jason Monk
6ee69994fd Merge "Start Neko job service after reboot (if needed)" into nyc-mr1-dev 2016-09-13 20:07:40 +00:00
Andrew Sapperstein
b04d40e026 Merge "Use DeviceDefault.Settings.Dark for systemui_theme" into nyc-mr1-dev 2016-09-13 19:32:33 +00:00
TreeHugger Robot
6b3965a5df Merge "enable instant apps" into nyc-mr1-dev 2016-09-13 19:22:33 +00:00
Makoto Onuki
c8c3329dd9 Don't update publisher version code without scanning manifest
- It was (theoretically) possible for shortcut manager to update
the version code for a publisher package without rescanning manifest
shortcuts, if backup happens right after unlocking a user before
SM searches for updated packages.  If it happens, then SM will not
scan the manifest for this package until it's updated next time.

So don't refresh the version code during backup, which we only
have to do for launchers but not publishers.

- Also fix the owner-user-id for launchers.  (Luckily it's not causing
any issues.)

Bug 31402152

Change-Id: I5d898eb3882b74edaca8b2d5f960849370ffc23b
2016-09-13 11:23:39 -07: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
TreeHugger Robot
843c66d466 Merge "Add optional logging to investigate URI grants." into nyc-mr1-dev 2016-09-13 17:29:52 +00:00
Fan Zhang
da71ca08ef Parse -1 as WARNING_DISABLED in NetworkPolicyManager.
Bug: 26934313
Bug: 31437693
Test: Flashed phone with new config (-1) and verified data warning is
disabled out of box.
Change-Id: Iabdfb9d0625698d525d7537a93b936df505bd0ab
2016-09-13 09:54:58 -07:00
Jack Yu
c1f0e87051 Extend apn retry configurability to more apn types
Extend apn retry configurability to more apn types so
we can control each APN retry behavior. Made mms apn retry
pattern same as default apn.

bug: 31381899
Change-Id: I070d0da97fb1844a1b4e9a6f1eff8d37995cec50
2016-09-13 16:49:59 +00:00
Andreas Gampe
67ce5f0c90 Merge changes from topic 'installd_delete_odex' into nyc-mr1-dev
* changes:
  OtaDexopt: Downgrade apps when low on space
  Installer: Support delete_odex command
2016-09-13 16:37:49 +00:00
TreeHugger Robot
886a45acfe Merge "ApfFilter: take into account IPv4 subnet prefix" into nyc-mr1-dev 2016-09-13 16:28:26 +00:00