Commit Graph

47827 Commits

Author SHA1 Message Date
Amith Yamasani
550b4e9a1f am ec2f3d50: am db8d9ea0: am a5b2684c: Merge "Rename *AppIdle to *AppInactive per api-council" into mnc-dev
* commit 'ec2f3d50124e51bd9915b4fc0cf28f82a10495a4':
  Rename *AppIdle to *AppInactive per api-council
2015-05-11 16:46:03 +00:00
Paul McLean
92940e95e7 am 9feba6e7: am 7238cdc3: am 1c82b221: Merge "Changes as per API council review." into mnc-dev
* commit '9feba6e7744d5235f81fc9e5be0e8f3d149ad599':
  Changes as per API council review.
2015-05-11 16:12:41 +00:00
Amith Yamasani
a5b2684c25 Merge "Rename *AppIdle to *AppInactive per api-council" into mnc-dev 2015-05-11 16:11:14 +00:00
Paul McLean
1c82b221d4 Merge "Changes as per API council review." into mnc-dev 2015-05-11 15:39:29 +00:00
Nick Kralevich
03db3f99cc am 0ca72da6: am f1a904fd: am d9c7f245: UsbManager / UsbService / UsbDeviceManager: delete unused code
* commit '0ca72da655d50b0ba5fda49560b8ba15325c225f':
  UsbManager / UsbService / UsbDeviceManager: delete unused code
2015-05-11 05:45:08 +00:00
Nick Kralevich
d9c7f24569 UsbManager / UsbService / UsbDeviceManager: delete unused code
These functions are never called.

Change-Id: Ic436e1036bed717d2c64701fddd9a810abb9443e
2015-05-10 21:57:56 -07:00
Jeff Sharkey
69fe6b50d2 am 10b247e6: am 6221dae2: am fced534d: Fix devices with primary physical storage.
* commit '10b247e6d5d375398e9c1f824933b86022e9d751':
  Fix devices with primary physical storage.
2015-05-10 22:31:25 +00:00
Jeff Sharkey
fced534dec Fix devices with primary physical storage.
Always assume the factory-reset default primary storage before parsing
storage settings.  Without this, we'd always default to picking
internal emulated storage during first boot or upgrade.

Bump version code to re-evaluate this for devices that default to
physical storage as primary.

Also restrict available move targets when storage is physical, since
we can't really translate between multi-user and non-multi-user aware
storage.

Bug: 20836019
Change-Id: I186ded1aa3dd9cea67497a4f53b0973031174ccd
2015-05-10 14:53:37 -07:00
Alan Viverette
1c9c4b2967 am 155a9aef: am 98c664a9: am f659a56c: Merge "Replace usages of deprecated version of TextView.setTextAppearance()" into mnc-dev
* commit '155a9aef7f1a9edf25398e9630023d68f5354353':
  Replace usages of deprecated version of TextView.setTextAppearance()
2015-05-09 00:52:08 +00:00
Fyodor Kupolov
b1910fd37b am 31dfbcbb: am 9e175200: am 220eef4a: Merge "Disable multi-user background recording" into mnc-dev
* commit '31dfbcbb973b91828c6fb9d2e47919716b9fbbfd':
  Disable multi-user background recording
2015-05-09 00:52:03 +00:00
Alan Viverette
f659a56c30 Merge "Replace usages of deprecated version of TextView.setTextAppearance()" into mnc-dev 2015-05-09 00:20:04 +00:00
Alan Viverette
bb98ebd6b1 Replace usages of deprecated version of TextView.setTextAppearance()
Change-Id: Ie501affe2e3a275d3172ce8ed584ba1cd5494da8
2015-05-08 17:17:44 -07:00
Fyodor Kupolov
b501330a1b Disable multi-user background recording
On user switch, kill existing processes of the background user with
android.permission.RECORD_AUDIO permission. Home activity should not be
killed to avoid an expensive restart of the home launcher, when the
user switches back.

Introduced DISALLOW_RECORD_AUDIO user restriction, which is enabled for the
background user, and removed for the foreground user.

Introduced a concept of system controlled user restriction, which can only
be set by the system, rather than device administrator.

Bug: 20346194
Change-Id: Ic942fd565e80d14424230dae612965a8e229c4ef
2015-05-08 17:17:16 -07:00
Fyodor Kupolov
a39b5ff076 am 8bc22f52: am 85dbc345: am 4f434a04: Merge "Remove restrictions PIN functionality" into mnc-dev
* commit '8bc22f521872d64af1c61c1d0845ae562cc5cb8f':
  Remove restrictions PIN functionality
2015-05-08 23:42:34 +00:00
Fyodor Kupolov
4f434a0470 Merge "Remove restrictions PIN functionality" into mnc-dev 2015-05-08 23:10:31 +00:00
Paul McLean
e3383cc453 Changes as per API council review.
Bug: 20887665
Change-Id: I1da7a2c69d8cf20682c767294b1647beef33f90c
2015-05-08 15:55:18 -07:00
John Spurlock
4a86635c6c am d60c7431: am 022ed34c: am 4755cb3e: Merge "Zen: Tweak default automatic rules." into mnc-dev
* commit 'd60c74312e9091f2378bd582dfd56e4b53cdb8cd':
  Zen: Tweak default automatic rules.
2015-05-08 22:53:36 +00:00
John Spurlock
35686d9bff am 22b5f2ac: am a7b4cc0d: am d89a6b2a: Merge "Zen: Simplify notification policy api, add zenmode api." into mnc-dev
* commit '22b5f2ac11e769315fa47915217fe546e467cab5':
  Zen: Simplify notification policy api, add zenmode api.
2015-05-08 22:53:29 +00:00
Craig Lafayette
f9c256e7d7 am 211a6d93: am 98950e44: am ed1ef7d4: Merge "DeviceInitializerStatus API review changes" into mnc-dev
* commit '211a6d93f027050239e9937cbc463877fce2e016':
  DeviceInitializerStatus API review changes
2015-05-08 22:30:14 +00:00
Chad Brubaker
54aa83d3e9 am dcf8c5eb: am 47814acc: am f8a96d16: Merge "Cleanup keystore password changing and unlocking" into mnc-dev
* commit 'dcf8c5eb6c479b7d29f98bd8401b7183e65b7a13':
  Cleanup keystore password changing and unlocking
2015-05-08 22:30:04 +00:00
Mady Mellor
f01b6562ec am 435bbcaf: am e2698b7d: am db9629ee: Merge "Fix: Hard to modify multi-line selection." into mnc-dev
* commit '435bbcaf2c08add8ebc26e4d70f44ad28037cfea':
  Fix: Hard to modify multi-line selection.
2015-05-08 22:29:57 +00:00
John Spurlock
4755cb3e5d Merge "Zen: Tweak default automatic rules." into mnc-dev 2015-05-08 22:29:12 +00:00
John Spurlock
d89a6b2abc Merge "Zen: Simplify notification policy api, add zenmode api." into mnc-dev 2015-05-08 22:28:51 +00:00
Craig Lafayette
ed1ef7d4eb Merge "DeviceInitializerStatus API review changes" into mnc-dev 2015-05-08 22:12:58 +00:00
Chad Brubaker
f8a96d1629 Merge "Cleanup keystore password changing and unlocking" into mnc-dev 2015-05-08 21:51:25 +00:00
Richard Uhler
6dff55cd21 am 07084f1c: am dd4f57bb: am 26211059: Merge "Add \'App Summary\' section to meminfo." into mnc-dev
* commit '07084f1c7dde4654433aba8efc86a75c5c115dd2':
  Add 'App Summary' section to meminfo.
2015-05-08 21:47:56 +00:00
Glenn Kasten
e12c0c310a am a97439cb: am 3b6f0e53: am d7b69c2e: Merge "Add feature for pro audio" into mnc-dev
* commit 'a97439cb8802499a48265e6aa690b7c6c3642154':
  Add feature for pro audio
2015-05-08 21:47:51 +00:00
Alan Viverette
c1306ec7ab am 829410a4: am 4db1aca5: am f93bba5b: Merge "Allow ContextImpl.setTheme(int) to be called after getTheme()" into mnc-dev
* commit '829410a4c3af11f99f33d4d367a2d87199f0a8e6':
  Allow ContextImpl.setTheme(int) to be called after getTheme()
2015-05-08 21:47:46 +00:00
Mady Mellor
db9629eec4 Merge "Fix: Hard to modify multi-line selection." into mnc-dev 2015-05-08 21:45:36 +00:00
John Spurlock
cb9aa20bdd Zen: Tweak default automatic rules.
- Add a new default rule for calendar events.
 - Rename all default rules to singular form. i.e. Weekend/Weeknight/Event

Bug: 20064962
Change-Id: Iee13238e0479fd2a05abdef4a5584455dcdd0c53
2015-05-08 17:35:22 -04:00
Dianne Hackborn
cc1b7d06dc am a0f5356f: am 396345ca: am ed9af066: Merge "Fix issue #20655182: API Review: ViewAssistStructure" into mnc-dev
* commit 'a0f5356fdc84f5bf05677ae773bf168dc5349b7c':
  Fix issue #20655182: API Review: ViewAssistStructure
2015-05-08 21:14:38 +00:00
Richard Uhler
262110591e Merge "Add 'App Summary' section to meminfo." into mnc-dev 2015-05-08 21:11:45 +00:00
Glenn Kasten
d7b69c2eca Merge "Add feature for pro audio" into mnc-dev 2015-05-08 21:11:08 +00:00
Alan Viverette
f93bba5b79 Merge "Allow ContextImpl.setTheme(int) to be called after getTheme()" into mnc-dev 2015-05-08 21:10:03 +00:00
George Mount
2898b77ab1 am 17d085a9: am b9deb734: am 180fd278: Merge "Don\'t call updateDisplayListIfDirty outside draw." into mnc-dev
* commit '17d085a94ce3d3694e2705b6eeb646e671055fa8':
  Don't call updateDisplayListIfDirty outside draw.
2015-05-08 21:01:29 +00:00
Dianne Hackborn
ed9af066b2 Merge "Fix issue #20655182: API Review: ViewAssistStructure" into mnc-dev 2015-05-08 20:42:12 +00:00
George Mount
180fd27832 Merge "Don't call updateDisplayListIfDirty outside draw." into mnc-dev 2015-05-08 20:30:08 +00:00
Craig Lafayette
09c601e763 am 7e0a8d46: am e4d44eb4: am 4ca9955d: Merge "DevicePolicyManager API review changes" into mnc-dev
* commit '7e0a8d464350d00e2cd142fc36268ad74f7bafd7':
  DevicePolicyManager API review changes
2015-05-08 20:27:40 +00:00
Amith Yamasani
e5f330456b Rename *AppIdle to *AppInactive per api-council
Change to setAppInactive and isAppInactive in a few places.

Bug: 20823737
Change-Id: Ie57dbc0dd2842e771bb5fd9f69b8041aacaa005c
2015-05-08 13:20:22 -07:00
Craig Lafayette
4ca9955d39 Merge "DevicePolicyManager API review changes" into mnc-dev 2015-05-08 19:55:34 +00:00
Richard Uhler
c14b9cf628 Add 'App Summary' section to meminfo.
The 'App Summary' section is shown by default when other memory
details are shown. This adds a new meminfo flag '-s' to show only the
App Summary section.

Change-Id: I66913673cd3afca873a8b13e45abe071d4c57b82
2015-05-08 19:47:52 +00:00
Alan Viverette
446ca82c93 am 6b226120: am f86e1967: am f4cf03dc: Merge "Use correct array index for Theme.getTheme()" into mnc-dev
* commit '6b226120d20dfd8b4f74f1cb6cd88d393166fa92':
  Use correct array index for Theme.getTheme()
2015-05-08 18:50:25 +00:00
Adam Powell
248706bad4 am 1e15e957: am bc5ee42f: am 5b56159b: Merge "Add Build.VERSION.PREVIEW_SDK_INT" into mnc-dev
* commit '1e15e957cc9dc1109b9c7c6ac3d6d8f64b73bf53':
  Add Build.VERSION.PREVIEW_SDK_INT
2015-05-08 18:32:22 +00:00
Alan Viverette
f4cf03dcca Merge "Use correct array index for Theme.getTheme()" into mnc-dev 2015-05-08 18:15:48 +00:00
Chad Brubaker
a91a850419 Cleanup keystore password changing and unlocking
Add KeyStore.onUserPasswordChanged for the lockscreen to call when
the user changes their password. Keystore will then handle the logic of
deleting keys. Instead of calling Keystore.password_uid for both
unlocking and password changes the behavior has been split into
Keystore.unlock and onUserPasswordChanged.

Change-Id: I324914c00195d762cbaa8c63084e41fa796b7df8
2015-05-08 11:11:43 -07:00
Alan Viverette
ac67409582 Use correct array index for Theme.getTheme()
Change-Id: Ic462a7b8a81bb87bf08136bb30e3432f10269918
2015-05-08 11:04:47 -07:00
Adam Powell
5b56159b8e Merge "Add Build.VERSION.PREVIEW_SDK_INT" into mnc-dev 2015-05-08 17:59:31 +00:00
John Spurlock
807749301f Zen: Simplify notification policy api, add zenmode api.
- Remove the concept of a notification policy management token
   in favor of a simple grant/deny per app.  Currently, all requests
   are immediately granted.
 - Add zen mode getter/setting, limit to apps that have been granted
   policy access.
 - Add intent for zen mode changes.
 - Public name for zen mode = "interruption filter", moved from
   NotificationListenerService to NotificationManager.
 - Add settings metadata for new DND access Settings screen.
 - Add the split sender settings for calls vs messages to the public
   Policy api.
 - This change is meant to finalize the public api, persisting
   granted app status and showing the user-visible dialog will be
   done as followups.

Bug: 18298798
Change-Id: I511be98d69939f057c0c7dc1a6dfe63d1c468193
2015-05-08 13:34:30 -04:00
Glenn Kasten
cdcb57791f Add feature for pro audio
The specification for CDD is in progress

Bug: 20877157
Change-Id: Iaf37b2ccb21562170a080b53668a41b85c410241
2015-05-08 10:09:22 -07:00
Erik Kline
3629b4d65d am 3d85fcbf: am 15748d35: am a0698b61: Merge "Optionally add a default MOBILE request." into mnc-dev
* commit '3d85fcbfb01cc611697d79a18b91107ede563767':
  Optionally add a default MOBILE request.
2015-05-08 16:58:21 +00:00