Commit Graph

34031 Commits

Author SHA1 Message Date
Tony Mak
b40480ab54 Merge "Fix setBluetoothContactSharingDisabled does not persist" into nyc-dev
am: 4936753d9f

* commit '4936753d9f46366f8331410baa423b27612b9968':
  Fix setBluetoothContactSharingDisabled does not persist
2016-02-29 21:51:41 +00:00
Tony Mak
4936753d9f Merge "Fix setBluetoothContactSharingDisabled does not persist" into nyc-dev 2016-02-29 21:46:16 +00:00
Tony Mak
e9aa6ec1cf Fix setBluetoothContactSharingDisabled does not persist
The default value of bluetotoh contact sharing is true.
So we should save when it is false.

Bug: 27410265
Change-Id: Icaf4ceeda09eca46d160acfecc53834819b66a18
2016-02-29 21:32:47 +00:00
Svet Ganov
d4011c4b3e Fix uninstalling apps with damaged/gone APK files
am: 6ac25c5641

* commit '6ac25c5641f7ce1ccb5387e69210d0d3d21b515d':
  Fix uninstalling apps with damaged/gone APK files
2016-02-29 21:17:20 +00:00
Svet Ganov
6ac25c5641 Fix uninstalling apps with damaged/gone APK files
bug:27394497

Change-Id: I0d0317f2d7168be4412a24d34a9f23f04c6d8601
2016-02-29 12:44:44 -08:00
Jeff Sharkey
0341827f77 Merge "Delay migration until after user is prepared." into nyc-dev
am: b7cdf1da0a

* commit 'b7cdf1da0a1f88ee89ab339a6c0b5e1b088050a6':
  Delay migration until after user is prepared.
2016-02-29 19:32:45 +00:00
Jeff Sharkey
ca6abfd9d6 Delay migration until after user is prepared.
We don't have a vold connection early in the PackageManagerService
constructor, so we can only migrate the system user at boot.  We now
migrate other users only after they're explicitly unlocked by
UserManagerService.

Bug: 27330415
Change-Id: I29f21714acf65a598b8df496af0f7d2cb1d247c4
2016-02-29 12:07:14 -07:00
Jeff Sharkey
8e4c3dde60 Merge "Avoid NPE when deleting package during boot." into nyc-dev
am: b39a4cdd64

* commit 'b39a4cdd64edd3a9c3072408ae17ca343098ef87':
  Avoid NPE when deleting package during boot.
2016-02-28 00:29:03 +00:00
Jeff Sharkey
b15a71913e Avoid NPE when deleting package during boot.
Bug: 27314561
Change-Id: I7cf854a9db6224ad927ca8c9b4c2641b2841fe7e
2016-02-27 17:24:26 -07:00
Jeff Sharkey
917fe2f8a5 Merge "When system server goes down, crash apps more." into nyc-dev
am: 004bf6ade3

* commit '004bf6ade3e7e400c896541cce0e513eef179738':
  When system server goes down, crash apps more.
2016-02-28 00:24:21 +00:00
Jeff Sharkey
f8880561e6 When system server goes down, crash apps more.
Similar to first patch, but now using new "rethrowFromSystemServer()"
method which internally translates DeadObjectException into
DeadSystemException.  New logic over in Log.printlns() now
suppresses the DeadSystemException stack traces, since they're
misleading and just added pressure to the precious log buffer space.

Add some extra RuntimeInit checks to suppress logging-about-logging
when the system server is dead.

Bug: 27364859
Change-Id: I05316b3e8e42416b30a56a76c09cd3113a018123
2016-02-27 17:17:01 -07:00
Andy Hung
5bf89b5616 Merge "Make master mono controlled through settings" into nyc-dev
am: 2362bdf2c7

* commit '2362bdf2c73b24ff3589ecd670c3bde366cde45e':
  Make master mono controlled through settings
2016-02-27 02:53:54 +00:00
Andy Hung
2362bdf2c7 Merge "Make master mono controlled through settings" into nyc-dev 2016-02-27 02:50:07 +00:00
Chong Zhang
f2d60644a0 Merge "Do not apply stack bounds if the window is above lockscreen" into nyc-dev
am: 6f9e1039d5

* commit '6f9e1039d582c1e2aef27f13551d152420c02f48':
  Do not apply stack bounds if the window is above lockscreen
2016-02-27 00:58:55 +00:00
Chong Zhang
6f9e1039d5 Merge "Do not apply stack bounds if the window is above lockscreen" into nyc-dev 2016-02-27 00:53:48 +00:00
Felipe Leme
fc1eea773e Merge "Add pre-defined apps to the restrict background whitelist." into nyc-dev
am: bb6939e42a

* commit 'bb6939e42a4fc220229b392e605e02d006881152':
  Add pre-defined apps to the restrict background whitelist.
2016-02-27 00:27:14 +00:00
Chong Zhang
bcb8d82513 Do not apply stack bounds if the window is above lockscreen
bug: 27208572
Change-Id: I4cd3af47474c93180d95a2f51ac7b52a21ddd999
2016-02-26 16:23:04 -08:00
Felipe Leme
bb6939e42a Merge "Add pre-defined apps to the restrict background whitelist." into nyc-dev 2016-02-27 00:21:58 +00:00
Muyuan Li
1673ab1ead Merge "Allows components to register shortcut key." into nyc-dev
am: 187b9b9e5b

* commit '187b9b9e5bb3c6a83a26f2ece23a6cfa16614d03':
  Allows components to register shortcut key.
2016-02-26 22:50:25 +00:00
Jean-Michel Trivi
957a6cfd6d Merge "Audio record notification: report audio device information" into nyc-dev
am: 768d81374b

* commit '768d81374ba50d215064ca11ed3ca34cf46d087c':
  Audio record notification: report audio device information
2016-02-26 22:42:26 +00:00
Muyuan Li
187b9b9e5b Merge "Allows components to register shortcut key." into nyc-dev 2016-02-26 22:40:36 +00:00
Jean-Michel Trivi
768d81374b Merge "Audio record notification: report audio device information" into nyc-dev 2016-02-26 22:37:34 +00:00
Muyuan Li
94ce94e960 Allows components to register shortcut key.
The registered shortcut will be called from PhoneWindowManager,
before dispatching

Change-Id: If26128939b45a639c8895719a7a23ca433f39fd9
(cherry picked from commit 4da863c5a8872dcabb179a978a2b2157d9081679)
2016-02-26 22:30:34 +00:00
Sandra Kwan
b874ae51bd Merge "AccountManager: fix residue data when authenticator is uninstalled." into nyc-dev
am: 6fe181abd2

* commit '6fe181abd22a9a1d1701256daa06f01b5cfc1cab':
  AccountManager: fix residue data when authenticator is uninstalled.
2016-02-26 21:57:05 +00:00
Sandra Kwan
6fe181abd2 Merge "AccountManager: fix residue data when authenticator is uninstalled." into nyc-dev 2016-02-26 21:51:49 +00:00
Felipe Leme
a9505cc39b Add pre-defined apps to the restrict background whitelist.
System config can defined apps to be automatically whitelisted for
restricted background data, but the user can remove the whitelist.

Implementation-wise, NPMS now keeps a list of
<revoked-restrict-background> UIDs in the netpolicy.xml file, and when
it starts it compares the UIDs returned by SystemConfig against this
list, and only whitelist them if they are not revoked. The
revoked-restrict-background is then updated as users change the
whitelist status of UIDs.

BUG: 27366993

Change-Id: I427024fd058924fc9831e409da6636e1bf8e4219
2016-02-26 13:37:21 -08:00
Wale Ogunwale
12d5e0e9f3 Merge "Clear starting window request if remove is requested before it is added" into nyc-dev
am: 503d1ccce9

* commit '503d1ccce940e45a2f16bfe5f5a088692a740b52':
  Clear starting window request if remove is requested before it is added
2016-02-26 21:25:48 +00:00
Wale Ogunwale
503d1ccce9 Merge "Clear starting window request if remove is requested before it is added" into nyc-dev 2016-02-26 21:22:11 +00:00
Phil Weaver
66ac6a67d5 Merge "Control magnification only with the setting." into nyc-dev
am: 8c8e55904a

* commit '8c8e55904a8f9c5694bdcbc587fb140159060c90':
  Control magnification only with the setting.
2016-02-26 21:05:38 +00:00
Julia Reynolds
2b53b701d8 Merge "Api review: NotificationManager" into nyc-dev
am: 01e81117a9

* commit '01e81117a9bc86849f0bf20d7729c8f8101b0baf':
  Api review: NotificationManager
2016-02-26 21:03:47 +00:00
Phil Weaver
8c8e55904a Merge "Control magnification only with the setting." into nyc-dev 2016-02-26 20:57:46 +00:00
Julia Reynolds
01e81117a9 Merge "Api review: NotificationManager" into nyc-dev 2016-02-26 20:56:27 +00:00
Jorim Jaggi
b6b9eee960 Merge "App transition delay tracking" into nyc-dev
am: a8914a0096

* commit 'a8914a00969b6942211d29fd923b0692a1b70f9a':
  App transition delay tracking
2016-02-26 20:56:03 +00:00
Jorim Jaggi
a8914a0096 Merge "App transition delay tracking" into nyc-dev 2016-02-26 20:51:40 +00:00
Julia Reynolds
0edb50c4bf Api review: NotificationManager
Bug: 27365672
Change-Id: Ic0fd82fb9442d10d6b308182a3859497aa882d07
2016-02-26 15:44:41 -05:00
Phil Weaver
6cb67af65f Control magnification only with the setting.
Don't turn off magnification if gestures are enabled.

Bug: 26571116
Change-Id: I8dafcd4eef50bfa8f9474bf98637f8e54f3527e1
2016-02-26 11:34:35 -08:00
Jorim Jaggi
275561a746 App transition delay tracking
Add TRON logging for all kinds aspects when we execute an app transition.

Bug: 27295491
Change-Id: Icb0cbdb92d4d5fbfedadd40a017a50eb217058aa
2016-02-26 14:15:00 -05:00
Jean-Michel Trivi
8ab728093e Audio record notification: report audio device information
Support querying the AudioDeviceInfo in AudioRecordConfiguration.
When AudioService (through RecordingActivityMonitor) receives
  a recording event on an existing session, report it as an
  update if the recording configuration has changed.

Bug 22876530

Change-Id: I1b72c08aa0589077fe8ad254087965e6384ce50a
2016-02-26 11:11:30 -08:00
Dianne Hackborn
387ae4971d Merge "Work on issue #26390161: Throttle syncs/jobs when system is low on RAM" into nyc-dev
am: 77ca74d941

* commit '77ca74d941eb4addd7051c747362bace0746b7a7':
  Work on issue #26390161: Throttle syncs/jobs when system is low on RAM
2016-02-26 18:47:53 +00:00
Sandra Kwan
1c9026de57 AccountManager: fix residue data when authenticator is uninstalled.
Bug: 20447341
Change-Id: Ie7bbc0300e1f902f18a826ef45b9cbae445651ec
2016-02-26 10:46:32 -08:00
Dianne Hackborn
77ca74d941 Merge "Work on issue #26390161: Throttle syncs/jobs when system is low on RAM" into nyc-dev 2016-02-26 18:44:55 +00:00
Christopher Tate
095a8e4437 Merge "Don\'t use Settings for storing the backup enable state" into nyc-dev
am: 067a86270b

* commit '067a86270b20978c8f0ef40fa7f370a3e76d079f':
  Don't use Settings for storing the backup enable state
2016-02-26 18:06:48 +00:00
Chris Tate
067a86270b Merge "Don't use Settings for storing the backup enable state" into nyc-dev 2016-02-26 18:03:40 +00:00
Wale Ogunwale
f40c11b11f Clear starting window request if remove is requested before it is added
It is possible the add starting window to be scheduled and a remove request
come in before it is actually added. In this case we want to prevent the
addition of the starting window by clearing the AppWindowToken.startingData.

Bug: 26659857
Change-Id: I3ef6ea81d555e81b62e894003aadcc51d281b1ad
2016-02-26 08:25:25 -08:00
Julia Reynolds
cb64b53fd3 Merge "Introduce IMPORTANCE_MIN." into nyc-dev
am: abf11299b7

* commit 'abf11299b78596e4ed4e0dcb4bacb6ff6318b010':
  Introduce IMPORTANCE_MIN.
2016-02-26 16:19:07 +00:00
Julia Reynolds
f0f629ffe4 Introduce IMPORTANCE_MIN.
Allow HUNs for >= IMPORTANCE_HIGH.
Allow full screen intents for IMPORTANCE_MAX.

Bug: 22960980
Bug: 26918284
Change-Id: Id4d2b90ea2e21563dbc716db411060d826e73699
2016-02-26 10:54:08 -05:00
Andy Hung
7b98e9a7e5 Make master mono controlled through settings
Bug: 15283594
Change-Id: I94a84a3ad3bbb0c1179726a4ecc68b7df033af58
2016-02-25 18:34:50 -08:00
Jim Miller
6e11ac7d75 Merge "Fix permission check in hasEnrolledFingerprints()" into nyc-dev
am: 76e2334270

* commit '76e2334270fbf309daa1c7f6ef1d6081009cf32b':
  Fix permission check in hasEnrolledFingerprints()
2016-02-26 01:58:20 +00:00
Christopher Tate
c899e796dc Merge "Tidy up stale lock wallpaper state in set-both operation" into nyc-dev
am: 5a85aff8a0

* commit '5a85aff8a0c03e8eb6597bb104a130b938f8f69d':
  Tidy up stale lock wallpaper state in set-both operation
2016-02-26 01:56:10 +00:00
Christopher Tate
50f56607d5 Don't use Settings for storing the backup enable state
Bug 19678828

Change-Id: Ieb572bcb2e8fe4d03f654dd52596c8dc4fdd72a9
2016-02-25 17:49:41 -08:00