1. 15 Sep, 2015 1 commit
    • Svet Ganov's avatar
      Use unique preference key. · 7445ca72
      Svet Ganov authored
      The UI code was wrongly using UID as the key - it is not
      unique - resulting in keeping only one app per UID in the
      UI and not showing permission controls for the other apps
      in this UID. This change uses the unique package plus UID
      as the preference key.
      
      bug:23937944
      
      Change-Id: I859afcf3ec8efdcb62d0e9dacd19f771436da084
      7445ca72
  2. 02 Sep, 2015 1 commit
    • Svetoslav's avatar
      Display properly runtime permissions without a corresponding app op. · ca0a235f
      Svetoslav authored
      We added the GET_ACCOUNTS permission to the contacts group
      but it does not have an app op. The UI code was written with
      the assumption that all runtime permissions have an app op
      and was not showing the contacts group if the only requested
      permission from that group was GET_ACCOUNTS.
      
      bug:23726958
      
      Change-Id: Iad5493297901c3f1144f4d58a3dad3f022c593a1
      ca0a235f
  3. 31 Aug, 2015 2 commits
  4. 29 Aug, 2015 1 commit
  5. 27 Aug, 2015 2 commits
  6. 26 Aug, 2015 1 commit
  7. 25 Aug, 2015 2 commits
    • Svet Ganov's avatar
      Protect permission dialog from type jack attacks · 0d93cfb9
      Svet Ganov authored
      Limit the app name in the permissions dialog to prevent a
      bad app with a very long name to trick the user about the
      purpose of this dialog. Also wrap the label with
      BidiFormatter to protect against bidi override attacks.
      
      bug:23516019
      
      Change-Id: Iba819d384864a004eefc2d2154dbfed3ef3b81c1
      0d93cfb9
    • Benjamin Franz's avatar
      Always set permission policy to fixed · e8bec6ae
      Benjamin Franz authored
      Bug: 23408576
      Change-Id: I981810de6f5b49b94371606cc5cf7baf51375485
      e8bec6ae
  8. 22 Aug, 2015 1 commit
  9. 21 Aug, 2015 9 commits
  10. 20 Aug, 2015 4 commits
    • Svet Ganov's avatar
      Show multi-permission UI in the requested order. · e721a317
      Svet Ganov authored
      Apps can request several permissions at once but the UI was
      not shown in the request order. This is problematic since
      apps may show on board UI stating which permissions will be
      requested.
      
      bug:23314383
      
      Change-Id: Iffd0f4fd7df04aeece3995290a7798a559430304
      e721a317
    • Svet Ganov's avatar
      Grant only requested permissions not the whole group. · 57ba2c69
      Svet Ganov authored
      The policy for an app requesting permissions is that only the requested permissions
      are granted not the whole groups to which these permissions belong. There was a
      regression where we granted the whole group not only the requested permissions. If
      an app has a permission in a group already granted, now per policy a subsequent
      request from the same group is followed by an auto grant.
      
      bug:23370436
      
      Change-Id: Icce6377d60187f6f153d10d646cd8c9878dd6fab
      57ba2c69
    • Svet Ganov's avatar
      Show multi-permission UI in the requested order. · dda78230
      Svet Ganov authored
      Apps can request several permissions at once but the UI was
      not shown in the request order. This is problematic since
      apps may show on board UI stating which permissions will be
      requested.
      
      bug:23314383
      
      Change-Id: Iffd0f4fd7df04aeece3995290a7798a559430304
      dda78230
    • Svet Ganov's avatar
      Grant only requested permissions not the whole group. · e899d8d4
      Svet Ganov authored
      The policy for an app requesting permissions is that only the requested permissions
      are granted not the whole groups to which these permissions belong. There was a
      regression where we granted the whole group not only the requested permissions. If
      an app has a permission in a group already granted, now per policy a subsequent
      request from the same group is followed by an auto grant.
      
      bug:23370436
      
      Change-Id: Icce6377d60187f6f153d10d646cd8c9878dd6fab
      e899d8d4
  11. 12 Aug, 2015 1 commit
  12. 11 Aug, 2015 3 commits
  13. 08 Aug, 2015 2 commits
  14. 07 Aug, 2015 5 commits
  15. 05 Aug, 2015 2 commits
  16. 04 Aug, 2015 1 commit
  17. 03 Aug, 2015 1 commit
  18. 01 Aug, 2015 1 commit