Commit Graph

48491 Commits

Author SHA1 Message Date
Jason Monk
bb7ed9b7b9 am 6424ef60: am b0e12ac7: am 16224288: Merge "Add constants for permissions granted status api" into mnc-dev
* commit '6424ef60b396ff9473f25b97397103ac1d47508f':
  Add constants for permissions granted status api
2015-05-26 17:06:07 +00:00
Jason Monk
6424ef60b3 am b0e12ac7: am 16224288: Merge "Add constants for permissions granted status api" into mnc-dev
* commit 'b0e12ac758e4770635cf13d97e97c37b7f5ec812':
  Add constants for permissions granted status api
2015-05-26 16:53:35 +00:00
Jason Monk
1622428879 Merge "Add constants for permissions granted status api" into mnc-dev 2015-05-26 16:32:57 +00:00
dcashman
cd04644aac am e6a269ca: am df382c91: am b7b7b5ec: Merge "Set error code on failed keyset manifest parsing." into mnc-dev
* commit 'e6a269ca6b086f781c7ca023cb64c7365c02d773':
  Set error code on failed keyset manifest parsing.
2015-05-26 15:28:01 +00:00
dcashman
e6a269ca6b am df382c91: am b7b7b5ec: Merge "Set error code on failed keyset manifest parsing." into mnc-dev
* commit 'df382c9118249b22816212832aee7fd730b046f9':
  Set error code on failed keyset manifest parsing.
2015-05-26 15:17:39 +00:00
dcashman
b7b7b5ece8 Merge "Set error code on failed keyset manifest parsing." into mnc-dev 2015-05-26 14:57:27 +00:00
Jason Monk
9cfa0cc51e Add constants for permissions granted status api
Bug: 21078474
Change-Id: I6b0bcf0c11258ae263eb08366c14f9298798afdb
2015-05-26 10:26:18 -04:00
Selim Cinek
8c6da7edb2 am 23eba390: am 3b8389a2: am 912696e7: Merge "Fixed logspam and handling subwindows with the input consumer" into mnc-dev
* commit '23eba39055f45a95ba4cb889f5499392a038b12b':
  Fixed logspam and handling subwindows with the input consumer
2015-05-26 08:06:34 +00:00
Selim Cinek
23eba39055 am 3b8389a2: am 912696e7: Merge "Fixed logspam and handling subwindows with the input consumer" into mnc-dev
* commit '3b8389a2f00f34cf3e47e3ccdffa70d55a7dc7f7':
  Fixed logspam and handling subwindows with the input consumer
2015-05-26 07:54:39 +00:00
Selim Cinek
912696e797 Merge "Fixed logspam and handling subwindows with the input consumer" into mnc-dev 2015-05-26 07:34:18 +00:00
Svet Ganov
30bc4f9203 am 0f292360: am 43e181d0: am a7590243: Merge "Hide pakcage installer system APIs." into mnc-dev
* commit '0f292360f87736c2d79671a915f8fa6ef993afbd':
  Hide pakcage installer system APIs.
2015-05-23 21:07:21 +00:00
Svet Ganov
0f292360f8 am 43e181d0: am a7590243: Merge "Hide pakcage installer system APIs." into mnc-dev
* commit '43e181d0fb9fb91db20fdb54a33ad9b33d7f19c9':
  Hide pakcage installer system APIs.
2015-05-23 20:55:51 +00:00
Svet Ganov
a759024394 Merge "Hide pakcage installer system APIs." into mnc-dev 2015-05-23 20:31:55 +00:00
Svet Ganov
0b316706b1 Hide pakcage installer system APIs.
Change-Id: If5245ed2be7a3ebb50a7af924be85894314f6f47
2015-05-23 13:25:11 -07:00
Selim Cinek
d6623618b2 Fixed logspam and handling subwindows with the input consumer
Bug: 21402648
Change-Id: I4c1c73487dfd19ba452ff2077d8541547f149c3b
2015-05-23 01:57:41 +00:00
Dianne Hackborn
08e14da78d am a597200a: am 54d803c0: am dd5ee4b8: Merge "Revert "resolved conflicts for merge of 47249f2a to mnc-dev"" into mnc-dev
* commit 'a597200a60a8b2ab63498700a0b7b0a9ea948c93':
  Revert "resolved conflicts for merge of 47249f2a to mnc-dev"
2015-05-23 01:09:15 +00:00
Dianne Hackborn
a597200a60 am 54d803c0: am dd5ee4b8: Merge "Revert "resolved conflicts for merge of 47249f2a to mnc-dev"" into mnc-dev
* commit '54d803c0274137998c7dbb9d7b8af58de13be5b6':
  Revert "resolved conflicts for merge of 47249f2a to mnc-dev"
2015-05-23 00:58:27 +00:00
Simranjit Singh Kohli
94083dacd9 am be134e31: am c2e945ba: am aefdaa5c: Merge "[ChooseAccount/AccountManager.newChooseAccountIntent Bug Fixes]" into mnc-dev
* commit 'be134e31008bb8017f683f553cefeef16fab86dd':
  [ChooseAccount/AccountManager.newChooseAccountIntent Bug Fixes]
2015-05-23 00:57:51 +00:00
Simranjit Singh Kohli
be134e3100 am c2e945ba: am aefdaa5c: Merge "[ChooseAccount/AccountManager.newChooseAccountIntent Bug Fixes]" into mnc-dev
* commit 'c2e945ba37ecb09c640de88abbcc60f5ad76efb8':
  [ChooseAccount/AccountManager.newChooseAccountIntent Bug Fixes]
2015-05-23 00:44:24 +00:00
Amith Yamasani
2c38ca0443 am fa41be53: am 031f1bc9: am 7870550a: Merge "Add getPermissionGrantState method in device policy" into mnc-dev
* commit 'fa41be53ee9f6c9209f71c0b652df45db49f8ae8':
  Add getPermissionGrantState method in device policy
2015-05-23 00:39:36 +00:00
Dianne Hackborn
dd5ee4b890 Merge "Revert "resolved conflicts for merge of 47249f2a to mnc-dev"" into mnc-dev 2015-05-23 00:34:35 +00:00
Amith Yamasani
fa41be53ee am 031f1bc9: am 7870550a: Merge "Add getPermissionGrantState method in device policy" into mnc-dev
* commit '031f1bc9ee6d79591e4bf2c4c30d616e87fc6f6b':
  Add getPermissionGrantState method in device policy
2015-05-23 00:26:32 +00:00
Simranjit Singh Kohli
aefdaa5cbd Merge "[ChooseAccount/AccountManager.newChooseAccountIntent Bug Fixes]" into mnc-dev 2015-05-23 00:20:40 +00:00
Simranjit Singh Kohli
734f8fb69d [ChooseAccount/AccountManager.newChooseAccountIntent Bug Fixes]
Fixing lots of bugs related to the ChooseAccount Activities.
1. Fix jank which is seen when no accounts are present on the device.
2. After addition of the account, return to the user.
3. Don't crash when the user provides null to allowableAccountTypes.
4. Updated documentation of AccountManager#newChooseAccountIntent.
5. Fix NPE.

Bug: 13104800
Bug: 17926560
Bug: 9626001

Change-Id: I0d1913e46560cfb458526a7c930a38049602d8f1
2015-05-22 17:19:21 -07:00
Yin-Chia Yeh
89617b1cdc am 7247c6d1: am 5c4def8a: am 5cf9d8ac: Merge "Camera: update available LSC map mode key type" into mnc-dev
* commit '7247c6d10ffa741bbe2ddc115326d8c4f4e98adc':
  Camera: update available LSC map mode key type
2015-05-23 00:09:31 +00:00
Amith Yamasani
7870550a1b Merge "Add getPermissionGrantState method in device policy" into mnc-dev 2015-05-23 00:05:47 +00:00
Yin-Chia Yeh
7247c6d10f am 5c4def8a: am 5cf9d8ac: Merge "Camera: update available LSC map mode key type" into mnc-dev
* commit '5c4def8acda8124da2637a590bcf4ee0cd2ecd3c':
  Camera: update available LSC map mode key type
2015-05-22 23:55:12 +00:00
Yin-Chia Yeh
5cf9d8ac94 Merge "Camera: update available LSC map mode key type" into mnc-dev 2015-05-22 23:40:33 +00:00
Yin-Chia Yeh
656931d36d Camera: update available LSC map mode key type
Bug: 21403373
Change-Id: I37101e2d0ef5cb8d66676dcdb16938ac8fe85c64
2015-05-22 16:37:27 -07:00
Dianne Hackborn
4bb6b751fb Revert "resolved conflicts for merge of 47249f2a to mnc-dev"
This reverts commit c7becb7ee7, reversing
changes made to 8562b08f04.
2015-05-22 16:34:44 -07:00
dcashman
5db0cd49e8 Set error code on failed keyset manifest parsing.
Bug: 21403585
Change-Id: I6f8e0766d373b1b0451b2abef7af6cbb089e4e0c
2015-05-22 15:52:43 -07:00
Yin-Chia Yeh
e3919e6a6f am bf1bc14d: am d310d94f: am 9fbdc874: Merge "Camera2: update FpsRange requirement" into mnc-dev
* commit 'bf1bc14d4c92f40d5aa9b9ba0b30e43e2d0a723c':
  Camera2: update FpsRange requirement
2015-05-22 22:29:27 +00:00
Yin-Chia Yeh
bf1bc14d4c am d310d94f: am 9fbdc874: Merge "Camera2: update FpsRange requirement" into mnc-dev
* commit 'd310d94f77fcb2da8057cfd948cb2f453a1f2398':
  Camera2: update FpsRange requirement
2015-05-22 22:10:29 +00:00
Adam Powell
45dc1fc691 am aa66b15a: am 369e6074: am 94518a4c: Merge "Restore app expectations around drawable visibility change timing" into mnc-dev
* commit 'aa66b15a43d4089d1b3e0b26383558815bb8d9ce':
  Restore app expectations around drawable visibility change timing
2015-05-22 21:42:46 +00:00
Dianne Hackborn
a8ce9e8363 am 271e92c1: am da517da8: am fa4d547d: Merge "Improve reporting to apps of transaction too large failures." into mnc-dev
* commit '271e92c1975da9cd6e1a062db1221f9004b9ea86':
  Improve reporting to apps of transaction too large failures.
2015-05-22 21:42:19 +00:00
Chien-Yu Chen
cdd306f807 am 5fd20f21: am 6c474a7e: am f5b1e39c: Merge "Camera2: Implement toString() for camera2 params" into mnc-dev
* commit '5fd20f21315ddc8cf2ad20f85e990e742189880d':
  Camera2: Implement toString() for camera2 params
2015-05-22 21:41:36 +00:00
Chris Craik
25b2cc5b8a am f6576379: am 36dd6e63: am 33416a93: Merge "Disable density scaling for HW canvas" into mnc-dev
* commit 'f6576379331d670f3a548e9db8e904827e9de5b0':
  Disable density scaling for HW canvas
2015-05-22 21:41:01 +00:00
Yin-Chia Yeh
9fbdc87422 Merge "Camera2: update FpsRange requirement" into mnc-dev 2015-05-22 20:57:08 +00:00
Amith Yamasani
184b3753de Add getPermissionGrantState method in device policy
This is to have a way to query what permission state was set by
the profile owner.

Bug: 21356830
Change-Id: Ie396e946b4285267c1d95f82b9d9765b43697d3c
2015-05-22 13:55:57 -07:00
Yin-Chia Yeh
5855162f80 Camera2: update FpsRange requirement
Codegen doc update only.

Bug:13639914
Change-Id: Id8a4a237c409725831a65b4f134422cd261cad52
2015-05-22 13:50:10 -07:00
Adam Powell
aa66b15a43 am 369e6074: am 94518a4c: Merge "Restore app expectations around drawable visibility change timing" into mnc-dev
* commit '369e607472bd7341f2407cddee3a0079da862e2d':
  Restore app expectations around drawable visibility change timing
2015-05-22 20:17:15 +00:00
Adam Powell
94518a4c35 Merge "Restore app expectations around drawable visibility change timing" into mnc-dev 2015-05-22 19:48:54 +00:00
Dianne Hackborn
271e92c197 am da517da8: am fa4d547d: Merge "Improve reporting to apps of transaction too large failures." into mnc-dev
* commit 'da517da8d9292cf12465545528ad6e11bbc79d0a':
  Improve reporting to apps of transaction too large failures.
2015-05-22 19:17:36 +00:00
Dianne Hackborn
fa4d547d58 Merge "Improve reporting to apps of transaction too large failures." into mnc-dev 2015-05-22 18:52:41 +00:00
Chien-Yu Chen
5fd20f2131 am 6c474a7e: am f5b1e39c: Merge "Camera2: Implement toString() for camera2 params" into mnc-dev
* commit '6c474a7e915dad90d0c4f76c6bbc50f40020b506':
  Camera2: Implement toString() for camera2 params
2015-05-22 18:32:43 +00:00
Stuart Scott
94b038bbb2 Network Reset should have a lockdown like Factory Reset.
bug:20332322
Change-Id: I7c61a011d11e89513757f112abf320bb2a785edb
2015-05-22 11:29:28 -07:00
Adam Powell
eb2b0af22c Restore app expectations around drawable visibility change timing
When we update drawable visibility has changed to be part of
View.onVisibilityChanged instead of an overload of
setVisibility. While this covers more cases that we were previously
missing, it also means that we now set drawable visibility from the
View constructor via the call chain view.setFlags to
view.onVisibilityChanged to drawable.setVisibility, resulting in us
passing a 'this' pointer all over before the object is fully
initialized. (i.e. a Bad Thing.)

In general we've gotten away with playing fast and loose with this
sort of thing as a part of view inflation - calling various non-final
setters that may invoke callbacks as needed rather than initializing
view fields directly. Unfortunately it also means that we can cause a
lot of hard to trace bugs and in the long run we should try to clean
up as much of it as we can.

In this case, some apps were expecting inflation to have finished
completely before any drawable visibility changed. If a view's
visibility changes but it's not attached to a window, does it make a
callback?

The fix: no. We won't dispatch onVisibilityChanged to detached views,
but we will dispatch it when a view becomes attached.

Also fix a bug where we could end up telling a view its visibility
changed to (INVISIBLE | GONE), which just doesn't make any sense.

Bug 20103422

Change-Id: Ifba54c36114e85cf64869afcca766c30d601a16c
2015-05-22 11:21:17 -07:00
Chris Craik
f657637933 am 36dd6e63: am 33416a93: Merge "Disable density scaling for HW canvas" into mnc-dev
* commit '36dd6e63fe520666272af1f9784adc4a450112e3':
  Disable density scaling for HW canvas
2015-05-22 18:20:09 +00:00
Chien-Yu Chen
f5b1e39c2e Merge "Camera2: Implement toString() for camera2 params" into mnc-dev 2015-05-22 18:15:05 +00:00
Chris Craik
33416a9363 Merge "Disable density scaling for HW canvas" into mnc-dev 2015-05-22 17:57:08 +00:00