204255 Commits

Author SHA1 Message Date
Shirish Kalele
1451df2816 am 027e3b7f: Merge "Fix check for caller being the active network scorer" into mnc-dev
* commit '027e3b7f51cd172dae89f69cc358363b0cf20f5f':
  Fix check for caller being the active network scorer
2015-08-07 20:30:38 +00:00
Shirish Kalele
027e3b7f51 Merge "Fix check for caller being the active network scorer" into mnc-dev 2015-08-07 20:25:06 +00:00
Nicolas Prévot
d63cb33774 am 288e82f8: Merge "Keep intent verification status of system apps when uninstalling them." into mnc-dev
* commit '288e82f8f67db894c43bf4ea659ca832f979c65a':
  Keep intent verification status of system apps when uninstalling them.
2015-08-07 19:33:23 +00:00
Julia Reynolds
936d2022e1 am 9dc4d50b: Merge "Update Navigation bar assets." into mnc-dev
* commit '9dc4d50be1db82359050fd082828680bde44b9fd':
  Update Navigation bar assets.
2015-08-07 19:24:45 +00:00
Nicolas Prévot
288e82f8f6 Merge "Keep intent verification status of system apps when uninstalling them." into mnc-dev 2015-08-07 19:23:52 +00:00
Julia Reynolds
9dc4d50be1 Merge "Update Navigation bar assets." into mnc-dev 2015-08-07 19:19:02 +00:00
Jason Monk
59769181a5 am 69ed3308: Merge "Allow system to disable lockscreen" into mnc-dev
* commit '69ed33087d77e32a1f1475adf00b9d87580960aa':
  Allow system to disable lockscreen
2015-08-07 18:47:06 +00:00
Jason Monk
69ed33087d Merge "Allow system to disable lockscreen" into mnc-dev 2015-08-07 18:40:19 +00:00
Amith Yamasani
d512325aaa am 1fbc1b3b: Merge "Fix partial user cleanup on restart" into mnc-dev
* commit '1fbc1b3b4b742cdba25d32d65a9813933a37005f':
  Fix partial user cleanup on restart
2015-08-07 18:28:09 +00:00
Amith Yamasani
1fbc1b3b4b Merge "Fix partial user cleanup on restart" into mnc-dev 2015-08-07 18:21:30 +00:00
Chris Tate
d39fb4afb1 am c376afb4: Merge "Wait a bit longer for wifi to shut down before rewriting the config" into mnc-dev
* commit 'c376afb472d1d4f0fba4a03ac4cf05b498866d64':
  Wait a bit longer for wifi to shut down before rewriting the config
2015-08-07 18:20:36 +00:00
Dianne Hackborn
0e8b4fa0ec am 3d06ea03: Merge "Debugging for issue #22556778: Starting under voice control not allowed" into mnc-dev
* commit '3d06ea0349d6afb4248ab47151424bf64cdf5a2d':
  Debugging for issue #22556778: Starting under voice control not allowed
2015-08-07 18:16:13 +00:00
Chris Tate
c376afb472 Merge "Wait a bit longer for wifi to shut down before rewriting the config" into mnc-dev 2015-08-07 18:15:19 +00:00
Nicolas Prevot
b5ab2ffc21 Keep intent verification status of system apps when uninstalling them.
When creating a work profile, system apps are uninstalled and then
sometimes reinstalled.
In the process, they lose their intent verification status.

BUG:22943461
Change-Id:I5b008c6de2125f190063b08908076a649067c60d
2015-08-07 19:13:01 +01:00
Amith Yamasani
a7892486c2 Fix partial user cleanup on restart
Internal volume was not available during PackageManagerService creation,
which resulted in a zombie user's folder not being cleaned after a reboot.

Add the internal volume earlier in the boot cycle so that it can be accessed
for user cleanup.

Bug: 22483086
Change-Id: I8f3ffbb25f3902d00a96d1ee2d7a79373c5e35b7
2015-08-07 11:09:05 -07:00
Dianne Hackborn
3d06ea0349 Merge "Debugging for issue #22556778: Starting under voice control not allowed" into mnc-dev 2015-08-07 18:06:01 +00:00
Julia Reynolds
ae4b8deada Update Navigation bar assets.
Bug: 22855920
Change-Id: I2d66bb087b092cdb6280e78c064f32ae9e42ad61
2015-08-07 13:59:46 -04:00
Christopher Tate
907e01eb70 Wait a bit longer for wifi to shut down before rewriting the config
We've seen case of it taking longer than 1500ms for the wifi system to
actually shut down after the triggering settings element is written,
so extend the wait time a bit.  We've seen it take more than 1500ms
but not more than 2500ms, so that's the new heuristic.

This will of course all become happily obsolete once we start
applying restored AP definitions programmatically rather than by
filesystem-level operations.

Bug 22979342

Change-Id: I6acf1baac23d4100124093128b82abf242b11a0e
2015-08-07 10:57:01 -07:00
Dianne Hackborn
74aefdf28f Debugging for issue #22556778: Starting under voice control not allowed
Better error messages in log to explain what is going on.

Change-Id: Ie686a323ceedd42453b6581fe79653b407d49ee5
2015-08-07 10:37:21 -07:00
Dianne Hackborn
207c6908cb am 53d6cddb: Merge "Fix issue #22846750: Starting Screenie Now On Tap crashes USA Today" into mnc-dev
* commit '53d6cddb4137c7b5648fc069adcc0cf6c501a6c4':
  Fix issue #22846750: Starting Screenie Now On Tap crashes USA Today
2015-08-07 17:26:11 +00:00
Dianne Hackborn
53d6cddb41 Merge "Fix issue #22846750: Starting Screenie Now On Tap crashes USA Today" into mnc-dev 2015-08-07 17:18:11 +00:00
Michael Wright
56700e24b4 am d7255cfb: Merge "DO NOT MERGE. Add new media navigation keys." into mnc-dev
* commit 'd7255cfb1cf8dc7249632d93d68daac8cc2c7b9c':
  DO NOT MERGE. Add new media navigation keys.
2015-08-07 16:57:44 +00:00
Michael Wright
d7255cfb1c Merge "DO NOT MERGE. Add new media navigation keys." into mnc-dev 2015-08-07 16:52:27 +00:00
Svetoslav Ganov
c9d5027798 am 38d30dc5: Merge "Immediately kill a shared user process on a permission revocation." into mnc-dev
* commit '38d30dc547825bdde2756f588692063a28749e8d':
  Immediately kill a shared user process on a permission revocation.
2015-08-07 15:33:57 +00:00
Svetoslav Ganov
38d30dc547 Merge "Immediately kill a shared user process on a permission revocation." into mnc-dev 2015-08-07 15:27:49 +00:00
Jason Monk
0607e7857c am 77566dd1: Merge "Use BluetoothController for status bar icon status" into mnc-dev
* commit '77566dd1e15353eb062503767c6e4a354303fd09':
  Use BluetoothController for status bar icon status
2015-08-07 14:44:12 +00:00
Jason Monk
77566dd1e1 Merge "Use BluetoothController for status bar icon status" into mnc-dev 2015-08-07 14:38:29 +00:00
Michael Wright
600b984760 DO NOT MERGE. Add new media navigation keys.
Bug: 22059484
Change-Id: Ifd8fd18178fed45ead2980b957dd1d177e40f165
2015-08-07 14:46:05 +01:00
Jason Monk
b978ce7f25 Allow system to disable lockscreen
Even when there is a pin.

Bug: 22920549
Change-Id: Ib84e1c3ac67be0318d4186c66ee582a49969e373
2015-08-07 09:21:51 -04:00
Dianne Hackborn
6ff55fcb85 Fix issue #22846750: Starting Screenie Now On Tap crashes USA Today
Try to deal well with badly behaving old apps.

Change-Id: Ibc41e5867869463fbf91f3e411c69677909fedad
2015-08-06 22:54:46 -07:00
Svetoslav
aa41add33b Immediately kill a shared user process on a permission revocation.
1. When a permission is revoked we kill the app immediately but do
   not do an immediate kill for shared uid processes. This fixes it.

2. Remove system APIs that are used only by the package installer.

bug:22984670

Change-Id: I3d4ae52ea8679f894aa7c5972941263903479183
2015-08-06 18:47:41 -07:00
Jeff Davidson
393a27c89c am 1d7c3254: Merge "Correctly propagate permissions when uninstalling updates." into mnc-dev
* commit '1d7c32548c30c62a35c54a624f89d5f9db31b9d4':
  Correctly propagate permissions when uninstalling updates.
2015-08-07 01:44:16 +00:00
Jeff Davidson
1d7c32548c Merge "Correctly propagate permissions when uninstalling updates." into mnc-dev 2015-08-07 01:39:14 +00:00
Wale Ogunwale
6b41590115 am a0ef49c4: Look for recent tasks in live stacks.
* commit 'a0ef49c44f7d845e3465591ea977d0c9996c4e5e':
  Look for recent tasks in live stacks.
2015-08-07 01:14:14 +00:00
Wale Ogunwale
a0ef49c44f Look for recent tasks in live stacks.
It is possible for a tasks not to have been saved to the
persisted recent list yet for various reasons. This causes
some external calls to fail when they are trying to do
an operation on a task with a given id. We now use the
stack supervisor look-up for a task id that checks
everywhere a task might be including live stack. It this
fails then the task truly doesn't exist.

Bug: 22924782
Change-Id: I57c3df41d0b4f3ee3c5ae9b7d01eeb2b352062b4
2015-08-07 00:26:01 +00:00
Deepanshu Gupta
5cb02008f9 am 8f26616d: Merge "LayoutLib: Switch SimpleDateFormat to icu." into mnc-dev
* commit '8f26616d1a1765267d6a3ba09e7ac1bd6edeca67':
  LayoutLib: Switch SimpleDateFormat to icu.
2015-08-06 23:33:43 +00:00
Deepanshu Gupta
8f26616d1a Merge "LayoutLib: Switch SimpleDateFormat to icu." into mnc-dev 2015-08-06 23:26:01 +00:00
Deepanshu Gupta
1cf52f6be9 am 385ce0a3: Merge "Replace Locale.getDefault with custom impl." into mnc-dev
* commit '385ce0a31dbdd4b4b1865755dbc4af157f72481c':
  Replace Locale.getDefault with custom impl.
2015-08-06 23:15:59 +00:00
Deepanshu Gupta
385ce0a31d Merge "Replace Locale.getDefault with custom impl." into mnc-dev 2015-08-06 23:08:46 +00:00
Deepanshu Gupta
b556decf75 LayoutLib: Switch SimpleDateFormat to icu.
Use ICU's implementation of SimpleDateFormat in LayoutLib. The format
patterns used are not supported by java.text.SimpleDateFormat.

The change required adding a mechanism for promoting visibility of
fields in the framework in the create tool.
TODO: Add additional tests in the create tool for this new
functionality.

Change-Id: Id0f4be41f9731c42a28919c32cc5ef271a656982
2015-08-06 16:04:04 -07:00
Deepanshu Gupta
82c7fdb1f6 Replace Locale.getDefault with custom impl.
In LayoutLib the default locale should always be the locale set the
rendering params. This change replaces all calls to Locale.getDefault in
the framework with calls to AndroidLocale.getDefault() which tries to
find the locale from the current context, but falls back to the original
call.

Change-Id: I496b35dcfc17fd61fedee21c7495541ab870b1fc
2015-08-06 16:03:19 -07:00
Andres Morales
84fd6e9733 am 85c73c40: Merge "[UserManager] expose method to retrieve credential owner" into mnc-dev
* commit '85c73c40d1fd76e8a7bbd90ab80458082764c1c3':
  [UserManager] expose method to retrieve credential owner
2015-08-06 22:31:04 +00:00
Andres Morales
85c73c40d1 Merge "[UserManager] expose method to retrieve credential owner" into mnc-dev 2015-08-06 22:22:17 +00:00
Winson Chung
342b20447a am bb55aa1a: Merge "Fixing issue with empty Recents screen." into mnc-dev
* commit 'bb55aa1a93cee91a40b6f5941675682cb6f8a83b':
  Fixing issue with empty Recents screen.
2015-08-06 21:52:19 +00:00
Winson Chung
bb55aa1a93 Merge "Fixing issue with empty Recents screen." into mnc-dev 2015-08-06 21:44:17 +00:00
Wei Jia
7e75886299 am a89e9f6d: Merge "MediaSync: fix API comments." into mnc-dev
* commit 'a89e9f6d3207527888d7fab191ddbe92ff68fc79':
  MediaSync: fix API comments.
2015-08-06 21:37:49 +00:00
Wei Jia
a89e9f6d32 Merge "MediaSync: fix API comments." into mnc-dev 2015-08-06 21:31:22 +00:00
Jason Monk
7036436014 Use BluetoothController for status bar icon status
Bug: 22819904
Change-Id: I6ca11c57431f8e930a47144090158363175a3b99
2015-08-06 16:43:59 -04:00
Jeff Sharkey
3d4f4b33fd am cb54ffb2: Merge "Protect runtime storage mount points." into mnc-dev
* commit 'cb54ffb2cb9583eaf6b58dcc636681c4e4e07a7d':
  Protect runtime storage mount points.
2015-08-06 19:58:04 +00:00
Shirish Kalele
4cab12d91d Fix check for caller being the active network scorer
Compare caller and scorer uids to decide if caller is the
active scorer instead of calling AppOps.checkPackage().

Bug: 23000690
Change-Id: I64285f965716f3aceb24f193d86ab9d6be7202c5
2015-08-06 12:53:59 -07:00