Commit Graph

242623 Commits

Author SHA1 Message Date
Phil Weaver
83fec00697 Fix a race in settings update.
Need to invalidate caching before notifying of changes.

Bug: 28621277
Change-Id: I2820b15d2364ecaad7666a820c0c7280ac6b7b4c
2016-05-11 10:55:29 -07:00
Paul Crowley
f829c1463b Merge "Revert "Two phases to set the password for disk encryption"" into nyc-dev 2016-05-10 21:07:59 +00:00
Antonio Cansado
dc5f558640 Merge "Addressing API council comments on NetworkStatsManager." into nyc-dev 2016-05-10 20:58:33 +00:00
Paul Crowley
a1eb750e75 Revert "Two phases to set the password for disk encryption"
This reverts commit 17e5dce511.

Bug: 28694324
Change-Id: I6d89bc26cb429b195c9bcf640666c495617257b7
2016-05-10 20:36:56 +00:00
Amith Yamasani
0df1ca8ab3 Merge "Fix the issue that App crash on startForeground" into nyc-dev 2016-05-10 20:31:47 +00:00
Sudheer Shanka
0e351a945b Merge "Update docs for DELETE_PACKAGES permission." into nyc-dev 2016-05-10 20:28:37 +00:00
Antonio Cansado
6965c1869a Addressing API council comments on NetworkStatsManager.
Callbacks
 - DataUsageCallback renamed to UsageCallback
 - DataUsagePolicy removed; passing in params directly to register method
 - making it an abstract class
 - passing in (networkType, subscriberId) that reached its threshold
 - renaming onLimitReached to onThresholdReached to match existing naming
 - only monitor single network,subscriberId
 - no monitoring of specific uids; using device or user wide instead

Tags
 - only owner uid can read its tags
 - exposing only TAG_NONE to match service side

BUG: 27530098

Change-Id: I2b2664da71806868a1e937d2bf4d1f234637509b
2016-05-10 13:24:16 -07:00
Phil Weaver
cdaaaaad90 Merge "Reduce cost of a11y services with magnification." into nyc-dev 2016-05-10 20:18:12 +00:00
Paul Crowley
fcc38e6c35 Merge "Hide notification before tie managed profile lock" into nyc-dev 2016-05-10 20:12:41 +00:00
Andreas Gampe
a8f51e3e46 Merge "Frameworks/base: Shorten system property" into nyc-dev 2016-05-10 19:55:43 +00:00
Andreas Gampe
eff0639345 Frameworks/base: Shorten system property
Otherwise it's too long.

Bug: 26877591
Change-Id: I741186a9fbea6ee50df6cef58d528ec58662c772
2016-05-10 12:52:53 -07:00
TreeHugger Robot
4b8ab89eca Merge "Don't even try adjusting when dock is minimized" into nyc-dev 2016-05-10 19:47:41 +00:00
TreeHugger Robot
6e2b3d158a Merge "Simplify permitted-path construction" into nyc-dev 2016-05-10 19:17:03 +00:00
Ricky Wai
8481258303 Hide notification before tie managed profile lock
We should hide the notification asap before setting
managed profile lock, to reduce the time that user is unlocked
while the notification is still showing.

Bug: 28689675
Change-Id: I289302302e3079726998adefebe2e8b113b2e52a
2016-05-10 20:11:59 +01:00
Svetoslav Ganov
01da140ace Merge "Don't throw runtime exceptions for permission flags" into nyc-dev 2016-05-10 18:52:17 +00:00
Cheryl Potter
0158baf9fb docs: Add redirects for deleted files on AS devsite b/28679461 am: bc753be9e3 am: 90f143e1f3
am: 9f2b8642a8

* commit '9f2b8642a8d496cceb0e0ab3ed0f67ae7f357ae0':
  docs: Add redirects for deleted files on AS devsite b/28679461

Change-Id: I3a1ae7b5c76cb6395ea2bfbfe8cea223fecf653a
2016-05-10 18:37:18 +00:00
Cheryl Potter
9f2b8642a8 docs: Add redirects for deleted files on AS devsite b/28679461 am: bc753be9e3
am: 90f143e1f3

* commit '90f143e1f384ae37878e46997e43b171384c421d':
  docs: Add redirects for deleted files on AS devsite b/28679461

Change-Id: I9e5c8225010dbfa631c6f51fad094def57e4db15
2016-05-10 18:34:39 +00:00
Cheryl Potter
90f143e1f3 docs: Add redirects for deleted files on AS devsite b/28679461
am: bc753be9e3

* commit 'bc753be9e3838cedfb2b45ef2076cc71f2cbe9b5':
  docs: Add redirects for deleted files on AS devsite b/28679461

Change-Id: I196bb7059c78439d051a5e3e9daac0033e4c6595
2016-05-10 18:32:01 +00:00
Jorim Jaggi
1ae68bfd59 Don't even try adjusting when dock is minimized
Bug: 28652219
Change-Id: I61fa515ec945e1da6b9e7a53766abea2fb1e606e
2016-05-10 18:25:45 +00:00
Cheryl Potter
bc753be9e3 docs: Add redirects for deleted files on AS devsite
b/28679461

Change-Id: I825cf17a4065b1af67fa1792cf66e50c30208e17
2016-05-10 11:06:25 -07:00
Narayan Kamath
6795f0ba19 Merge "Use MetricsLogger.histogram for optimizing app statistics." into nyc-dev 2016-05-10 17:56:22 +00:00
Chong Zhang
0a872f0b12 Merge "Make sure preserved surface is removed when it's no longer needed" into nyc-dev 2016-05-10 17:53:27 +00:00
TreeHugger Robot
8eb290150c Merge "Fixed logic error when calculating window touch exclude region." into nyc-dev 2016-05-10 17:52:29 +00:00
Dimitry Ivanov
eb96b00382 Simplify permitted-path construction
The white list of permitted directories is applied for every
classloader namespace by libnativeloader. LoadedApk no longer
needs to do that.

Add mDataDir to permitted paths in the case if for any reason
it is outside of the whitelisted dirs.

Bug: http://b/28639227
Change-Id: I5b61ac64e281ecee3e3e9b1fe56cf04dc6ee7b25
2016-05-10 10:51:40 -07:00
TreeHugger Robot
046f2c80ae Merge "Keep RemoteInputView visible when focused" into nyc-dev 2016-05-10 17:41:59 +00:00
Benoit Lamarche
1100edb83f Merge "Set jack.assert.policy value to 'always'" into nyc-dev 2016-05-10 16:28:29 +00:00
Wale Ogunwale
e4dd964531 Fixed logic error when calculating window touch exclude region.
Problem was introduced in ag/960365. We need to properly set the
temp variable to the current task bounds before trying to use it.

Bug: 26962445
Change-Id: I3cded03582e1379e16fa48f69da6ceadb92d8d4b
2016-05-10 08:39:01 -07:00
Svetoslav Ganov
7e01af4243 Don't throw runtime exceptions for permission flags
We were thrwing undocumented runtime exception when
one gets the permission flags - now we just return
default result of the package is gone.

bug:28657926

Change-Id: I42554a86b9304ff83fe9385f3eea930b8ebf0c63
2016-05-10 15:34:36 +00:00
Jason Monk
4691e24d0b Merge "Fix accessibility order in nav bar" into nyc-dev 2016-05-10 15:26:36 +00:00
Jason Monk
c62cf80faa Fix accessibility order in nav bar
Change-Id: I2e90dee8e50b0642f39258fe3d04ded2f0bb8961
Fixes: 28281859
2016-05-10 11:19:48 -04:00
Ruben Brunk
aaabcce6d4 Merge "Set notification listener defaults for system VrListeners." into nyc-dev 2016-05-10 14:54:46 +00:00
Narayan Kamath
966210b721 Use MetricsLogger.histogram for optimizing app statistics.
bug: 28528058
bug: 28544474
Change-Id: Icbe26e9699eade08725e38914f07d7584e77b608
2016-05-10 15:53:29 +01:00
TreeHugger Robot
9bfc33f8ae Merge "Patrially revert 4ec026930bfbbb5d8923f359c8." into nyc-dev 2016-05-10 14:45:36 +00:00
Delphine Martin
2a6b5c63c0 Set jack.assert.policy value to 'always'
The policy value 'enable' does not exist anymore
and was replaced by 'always'

Change-Id: I233a555821a84d917e3b3ec923b5baffc18bd2d2
2016-05-10 14:42:33 +00:00
Baligh Uddin
fc41735835 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-05-10 13:45:26 +00:00
Narayan Kamath
3496fdbd2f Patrially revert 4ec026930b.
In preparation for using MetricsLogger.histogram / count. The main
purpose of this change is to remove the (now bogus) action IDs
associated with this logging.

bug: 28528058
bug: 28544474

Change-Id: Id79de2d34c3f937a327ac21d44e55c18047bce85
2016-05-10 14:26:46 +01:00
TreeHugger Robot
9b40edab61 Merge "Revert "Enable profile merging for post-OTA package verification"" into nyc-dev 2016-05-10 12:09:26 +00:00
TreeHugger Robot
eaeb3a21ae Merge "Add a command to print package dexopt status." into nyc-dev 2016-05-10 09:35:51 +00:00
Janis Danisevskis
8f6c64d459 Merge "Updates training/camera/photobasics.jd with FileProvider details" into nyc-dev 2016-05-10 09:12:49 +00:00
Narayan Kamath
88eea9e580 Add a command to print package dexopt status.
Can be invoked like so :

$adb shell dumpsys package dexopt
$adb shell dumpsys package dexopt <packageName>

bug: 27494108
Change-Id: Ie91f744aeac772e0e22abc9c805df9290a4e2418
2016-05-10 08:51:56 +00:00
Guang Zhu
875e99443f Merge "Revert "Persist settings on a dedicated background thread"" into nyc-dev 2016-05-10 07:03:07 +00:00
Guang Zhu
5537ce1f94 Revert "Persist settings on a dedicated background thread"
Bug: 25472484

This reverts commit 82b8c92b97.

Change-Id: I1a8c2e186ad74d78f1c82fe508c6f71c438177dc
2016-05-10 07:02:42 +00:00
Joe Fernandez
b31c073689 docs: Wear F Preview page infrastructure am: 9ccfe2553b
am: 1b99b2ce92

* commit '1b99b2ce927ec16ade8f05f607eb190dc91b2548':
  docs: Wear F Preview page infrastructure

Change-Id: I2ac0d97023fad2c20f67f96d89921c19b7c72270
2016-05-10 06:00:16 +00:00
Joe Fernandez
1b99b2ce92 docs: Wear F Preview page infrastructure
am: 9ccfe2553b

* commit '9ccfe2553bb0f2cf5ae6f493f12042cf9fa1eba2':
  docs: Wear F Preview page infrastructure

Change-Id: I7665b4ecbd3c46a8ea7eb1a675933f43243911cc
2016-05-10 05:54:38 +00:00
Joe Fernandez
9ccfe2553b docs: Wear F Preview page infrastructure
- add new landing page for F Preview
- add new supporting pages for F Preview
- Update TOC file to list new pages

b/28004352

Change-Id: I3a4de8b3c756f1bbee91e136d67a413a5953277a
2016-05-09 22:37:15 -07:00
Andreas Gampe
a2723ca88c Merge "Frameworks/base: Make profile buffer adjustable" into nyc-dev 2016-05-10 04:15:13 +00:00
Andreas Gampe
0f03a01ca3 Frameworks/base: Make profile buffer adjustable
Add a debug system property to change the profile buffer size.

Bug: 26877591
Change-Id: Idd13f2bc6563fd88daadd1d6679f3243dab1a0ef
2016-05-09 21:05:12 -07:00
Svet Ganov
82b8c92b97 Persist settings on a dedicated background thread
Settings were persisted on the system background thread but during
first boot the device is under heavy load and persisting settings
competes with other system components using the shared background
thread. As a result persisting settings can be delayed much longer
than the expected 200ms. This can cause issues with setup wizard
being skipped/went over and its component disaabled being persisted
but the setting whether the device is provisioned not being
persisted - now if the device boots it will have no SUW but also
the home button would be missing. Generally, we need a tansactional
abstraction in the system process to peform all delayed operations
atomically.

bug:25472484

Change-Id: Icf38e72403b190a8fa9d0554b8dd83ce78da3bc8
2016-05-10 03:39:55 +00:00
TreeHugger Robot
c26aabadc3 Merge "Remove replaced window if we aren't animating its exit." into nyc-dev 2016-05-10 03:31:33 +00:00
Selim Cinek
9688c2edc9 Merge "Fixed a memory leak with notification children" into nyc-dev 2016-05-10 03:03:09 +00:00